Struct object::read::Symbol

source ·
pub struct Symbol<'data, 'file, R = &'data [u8]>where
    R: ReadRef<'data>,
    'data: 'file,
{ /* private fields */ }
Expand description

A symbol table entry.

Trait Implementations§

Formats the value using the given formatter. Read more
The index of the symbol.
The name of the symbol.
The name of the symbol. Read more
The address of the symbol. May be zero if the address is unknown.
The size of the symbol. May be zero if the size is unknown.
Return the kind of this symbol.
Returns the section where the symbol is defined.
Return true if the symbol is undefined.
Return true if the symbol is a definition of a function or data object that has a known address.
Return true if the symbol is common data. Read more
Return true if the symbol is weak.
Returns the symbol scope.
Return true if the symbol visible outside of the compilation unit. Read more
Return true if the symbol is only visible within the compilation unit.
Symbol flags that are specific to each file format.
Returns the section index for the section containing this symbol. Read more

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.