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

pub trait Rel: 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_sym(&self, endian: Self::Endian) -> u32;
fn r_type(&self, endian: Self::Endian) -> u32; }

A trait for generic access to Rel32 and Rel64.

Associated Types

type Word: Into<u64>[src]

type Sword: Into<i64>[src]

type Endian: Endian[src]

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_sym(&self, endian: Self::Endian) -> u32[src]

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

Loading content...

Implementors

impl<Endian: Endian> Rel for Rel32<Endian>[src]

type Word = u32

type Sword = i32

type Endian = Endian

impl<Endian: Endian> Rel for Rel64<Endian>[src]

type Word = u64

type Sword = i64

type Endian = Endian

Loading content...