[][src]Trait object::read::macho::Nlist

pub trait Nlist: Debug + Pod {
    type Word: Into<u64>;
    type Endian: Endian;
    pub fn n_strx(&self, endian: Self::Endian) -> u32;
pub fn n_type(&self) -> u8;
pub fn n_sect(&self) -> u8;
pub fn n_desc(&self, endian: Self::Endian) -> u16;
pub fn n_value(&self, endian: Self::Endian) -> Self::Word; pub fn name<'data>(
        &self,
        endian: Self::Endian,
        strings: StringTable<'data>
    ) -> Result<&'data [u8]> { ... }
pub fn is_definition(&self) -> bool { ... } }

A trait for generic access to Nlist32 and Nlist64.

Associated Types

type Word: Into<u64>[src]

type Endian: Endian[src]

Loading content...

Required methods

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

pub fn n_type(&self) -> u8[src]

pub fn n_sect(&self) -> u8[src]

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

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

Loading content...

Provided methods

pub fn name<'data>(
    &self,
    endian: Self::Endian,
    strings: StringTable<'data>
) -> Result<&'data [u8]>
[src]

pub fn is_definition(&self) -> bool[src]

Return true if the symbol is a definition of a function or data object.

Loading content...

Implementors

impl<Endian: Endian> Nlist for Nlist32<Endian>[src]

type Word = u32

type Endian = Endian

impl<Endian: Endian> Nlist for Nlist64<Endian>[src]

type Word = u64

type Endian = Endian

Loading content...