Struct lldb::SBFunction[][src]

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

Construct a new Some(SBFunction) or None.

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

Performs the conversion.

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)

recently added

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.