Struct goblin::elf::reloc::reloc64::Rela
[−]
[src]
#[repr(C)]pub struct Rela { pub r_offset: u64, pub r_info: u64, pub r_addend: i64, }
Relocation with an explicit addend
Fields
r_offset: u64
Address
r_info: u64
Relocation type and symbol index
r_addend: i64
Addend
Trait Implementations
impl From<Reloc> for Rela
[src]
impl Clone for Rela
[src]
fn clone(&self) -> Rela
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Copy for Rela
[src]
impl PartialEq for Rela
[src]
fn eq(&self, __arg_0: &Rela) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Rela) -> bool
This method tests for !=
.
impl Default for Rela
[src]
impl<'a> TryFromCtx<'a> for Rela where Rela: 'a
[src]
type Error = Error
fn try_from_ctx(src: &'a [u8],
(offset, ctx): (usize, Endian))
-> Result<Self, Self::Error>
(offset, ctx): (usize, Endian))
-> Result<Self, Self::Error>
impl TryIntoCtx for Rela
[src]
type Error = Error
fn try_into_ctx(self,
dst: &mut [u8],
(offset, ctx): (usize, Endian))
-> Result<(), Self::Error>
dst: &mut [u8],
(offset, ctx): (usize, Endian))
-> Result<(), Self::Error>