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

A symbol of a MachOFile.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

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. Read more

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

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

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.