Struct mer::symbol::Symbol[][src]

#[repr(C)]pub struct Symbol {
    pub name: u32,
    pub info: u8,
    pub section_table_index: u16,
    pub value: u64,
    pub size: u64,
    // some fields omitted
}

Fields

name: u32

The offset into the string table, in bytes, to the symbol name. If this is 0, the symbol doesn't have a name.

info: u8section_table_index: u16value: u64size: u64

Implementations

impl Symbol[src]

pub fn binding(&self) -> SymbolBinding[src]

pub fn symbol_type(&self) -> SymbolType[src]

pub fn name<'a>(&self, elf: &'a Elf<'_>) -> Option<&'a str>[src]

Trait Implementations

impl<'a> TryFromCtx<'a, Endian, [u8]> for Symbol where
    Symbol: 'a, 
[src]

type Error = Error

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.