Trait object::read::elf::Rela [−][src]
pub trait Rela: Debug + Pod + Clone { type Word: Into<u64>; type Sword: Into<i64>; type Endian: Endian; fn r_offset(&self, endian: Self::Endian) -> Self::Word; fn r_info(&self, endian: Self::Endian) -> Self::Word; fn r_addend(&self, endian: Self::Endian) -> Self::Sword; fn r_sym(&self, endian: Self::Endian) -> u32; fn r_type(&self, endian: Self::Endian) -> u32; }
A trait for generic access to Rela32
and Rela64
.
Associated Types
Loading content...Required methods
fn r_offset(&self, endian: Self::Endian) -> Self::Word
[src]
fn r_info(&self, endian: Self::Endian) -> Self::Word
[src]
fn r_addend(&self, endian: Self::Endian) -> Self::Sword
[src]
fn r_sym(&self, endian: Self::Endian) -> u32
[src]
fn r_type(&self, endian: Self::Endian) -> u32
[src]
Implementors
impl<Endian: Endian> Rela for Rela32<Endian>
[src]
impl<Endian: Endian> Rela for Rela32<Endian>
[src]type Word = u32
type Sword = i32
type Endian = Endian
fn r_offset(&self, endian: Self::Endian) -> Self::Word
[src]
fn r_info(&self, endian: Self::Endian) -> Self::Word
[src]
fn r_addend(&self, endian: Self::Endian) -> Self::Sword
[src]
fn r_sym(&self, endian: Self::Endian) -> u32
[src]
fn r_type(&self, endian: Self::Endian) -> u32
[src]
impl<Endian: Endian> Rela for Rela64<Endian>
[src]
impl<Endian: Endian> Rela for Rela64<Endian>
[src]