[][src]Struct object::Symbol

pub struct Symbol<'data> { /* fields omitted */ }

A symbol table entry.

Methods

impl<'data> Symbol<'data>[src]

pub fn kind(&self) -> SymbolKind[src]

Return the kind of this symbol.

pub fn section_index(&self) -> Option<SectionIndex>[src]

Returns the section index for the section containing this symbol.

May return None if the section is unknown or the symbol is undefined.

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

Return true if the symbol is undefined.

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

Return true if the symbol is global.

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

Return true if the symbol is local.

pub fn name(&self) -> Option<&'data str>[src]

The name of the symbol.

pub fn address(&self) -> u64[src]

The address of the symbol. May be zero if the address is unknown.

pub fn size(&self) -> u64[src]

The size of the symbol. May be zero if the size is unknown.

Trait Implementations

impl<'data> Debug for Symbol<'data>[src]

Auto Trait Implementations

impl<'data> Unpin for Symbol<'data>

impl<'data> Sync for Symbol<'data>

impl<'data> Send for Symbol<'data>

impl<'data> RefUnwindSafe for Symbol<'data>

impl<'data> UnwindSafe for Symbol<'data>

Blanket Implementations

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> Into<U> for T where
    U: From<T>, 
[src]

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

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.

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

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

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