Struct mica::ll::bytecode::Function

source ·
pub struct Function {
    pub name: Rc<str>,
    pub parameter_count: FunctionParameterCount,
    pub kind: FunctionKind,
    pub hidden_in_stack_traces: bool,
}
Expand description

A function prototype.

Fields§

§name: Rc<str>§parameter_count: FunctionParameterCount§kind: FunctionKind§hidden_in_stack_traces: bool

Set to true if the function is to be hidden in stack traces.

This is useful for functions that are implementation details, such as trait function shims.

Trait Implementations§

Formats the value using the given formatter. 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.