#[repr(C)]pub struct Rela {
pub r_offset: u32,
pub r_info: u32,
pub r_addend: i32,
}
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§
source§impl PartialEq for Rela
impl PartialEq for Rela
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 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