pub struct SBSymbol {
    pub raw: SBSymbolRef,
}
Expand description

The symbol possibly associated with a stack frame.

Fields

raw: SBSymbolRef

The underlying raw SBSymbolRef.

Implementations

Check whether or not this is a valid SBSymbol value.

The name of this function.

The display name for the function, as it should be seen in a UI.

The mangled (linkage) name for this function.

Get the address that this symbol refers to, if present.

If the symbol has an address and the underlying value has a non-zero size, this will have the address of the end of the value.

Note: It seems unfortunate that if the underlying value is 0-sized, this will result in None rather than the same address as the start_address.

Get the size of the function prologue, in bytes.

What type of symbol is this?

Is this symbol externally visible (exported) from the module that contains it?

Is this symbol synthetically created from information in the module that contains it?

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
Executes the destructor for this type. 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 resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
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.