Expand description
Relocation with an explicit addend
Fields
r_offset: u32
Address
r_info: u32
Relocation type and symbol index
r_addend: i32
Addend
Trait Implementations
sourceimpl Plain for Rela
impl Plain for Rela
fn from_bytes(bytes: &[u8]) -> Result<&Self, Error>
fn slice_from_bytes(bytes: &[u8]) -> Result<&[Self], Error>
fn slice_from_bytes_len(bytes: &[u8], len: usize) -> Result<&[Self], Error>
fn from_mut_bytes(bytes: &mut [u8]) -> Result<&mut Self, Error>
fn slice_from_mut_bytes(bytes: &mut [u8]) -> Result<&mut [Self], Error>
fn slice_from_mut_bytes_len(
bytes: &mut [u8],
len: usize
) -> Result<&mut [Self], Error>
fn copy_from_bytes(&mut self, bytes: &[u8]) -> Result<(), Error>
sourceimpl<'a> TryIntoCtx<Endian, [u8]> for &'a Rela
impl<'a> TryIntoCtx<Endian, [u8]> for &'a Rela
sourceimpl TryIntoCtx<Endian, [u8]> for Rela
impl TryIntoCtx<Endian, [u8]> for Rela
impl Copy for Rela
impl StructuralPartialEq for Rela
Auto Trait Implementations
impl RefUnwindSafe for Rela
impl Send for Rela
impl Sync for Rela
impl Unpin for Rela
impl UnwindSafe for Rela
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more