pub struct SBFunction {
    pub raw: SBFunctionRef,
}
Expand description

A generic function, which can be inlined or not.

Fields

raw: SBFunctionRef

The underlying raw SBFunctionRef.

Implementations

Check whether or not this is a valid SBFunction 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 of the start of this function.

Get the address of the end of this function.

Get the size of the function prologue, in bytes.

The return type for this function.

Get the top level lexical block for this function.

The language that this function was written in.

Returns true if the function was compiled with optimization.

Optimization, in this case, is meant to indicate that the debugger experience may be confusing for the user – variables optimized away, stepping jumping between source lines – and the driver may want to provide some guidance to the user about this. Returns false if unoptimized, or unknown.

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.