[][src]Trait object::read::elf::Rela

pub trait Rela: Debug + Pod + Clone {
    type Word: Into<u64>;
    type Sword: Into<i64>;
    type Endian: Endian;
    pub fn r_offset(&self, endian: Self::Endian) -> Self::Word;
pub fn r_info(&self, endian: Self::Endian) -> Self::Word;
pub fn r_addend(&self, endian: Self::Endian) -> Self::Sword;
pub fn r_sym(&self, endian: Self::Endian) -> u32;
pub fn r_type(&self, endian: Self::Endian) -> u32; }

A trait for generic access to Rela32 and Rela64.

Associated Types

type Word: Into<u64>[src]

type Sword: Into<i64>[src]

type Endian: Endian[src]

Loading content...

Required methods

pub fn r_offset(&self, endian: Self::Endian) -> Self::Word[src]

pub fn r_info(&self, endian: Self::Endian) -> Self::Word[src]

pub fn r_addend(&self, endian: Self::Endian) -> Self::Sword[src]

pub fn r_sym(&self, endian: Self::Endian) -> u32[src]

pub fn r_type(&self, endian: Self::Endian) -> u32[src]

Loading content...

Implementors

impl<Endian: Endian> Rela for Rela32<Endian>[src]

type Word = u32

type Sword = i32

type Endian = Endian

impl<Endian: Endian> Rela for Rela64<Endian>[src]

type Word = u64

type Sword = i64

type Endian = Endian

Loading content...