#[repr(C)]pub struct Rela {
pub r_offset: u64,
pub r_info: u64,
pub r_addend: i64,
}
Expand description
Relocation with an explicit addend
Fields§
§r_offset: u64
Address
r_info: u64
Relocation type and symbol index
r_addend: i64
Addend
Trait Implementations§
Source§impl Plain for Rela
impl Plain for Rela
fn from_bytes(bytes: &[u8]) -> Result<&Self, Error>where
Self: Sized,
fn slice_from_bytes(bytes: &[u8]) -> Result<&[Self], Error>where
Self: Sized,
fn slice_from_bytes_len(bytes: &[u8], len: usize) -> Result<&[Self], Error>where
Self: Sized,
fn from_mut_bytes(bytes: &mut [u8]) -> Result<&mut Self, Error>where
Self: Sized,
fn slice_from_mut_bytes(bytes: &mut [u8]) -> Result<&mut [Self], Error>where
Self: Sized,
fn slice_from_mut_bytes_len(
bytes: &mut [u8],
len: usize,
) -> Result<&mut [Self], Error>where
Self: Sized,
fn copy_from_bytes(&mut self, bytes: &[u8]) -> Result<(), Error>
Source§impl<'a> TryIntoCtx<Endian> for &'a Rela
impl<'a> TryIntoCtx<Endian> for &'a Rela
Source§impl TryIntoCtx<Endian> for Rela
impl TryIntoCtx<Endian> for Rela
impl Copy for Rela
impl StructuralPartialEq for Rela
Auto Trait Implementations§
impl Freeze for Rela
impl RefUnwindSafe for Rela
impl Send for Rela
impl Sync for Rela
impl Unpin for Rela
impl UnwindSafe for Rela
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more