Struct wasmtime_environ::CompiledFunction[][src]

pub struct CompiledFunction {
    pub body: Vec<u8>,
    pub jt_offsets: JumpTableOffsets,
    pub unwind_info: Option<UnwindInfo>,
    pub relocations: Vec<Relocation>,
    pub address_map: FunctionAddressMap,
    pub value_labels_ranges: ValueLabelsRanges,
    pub stack_slots: StackSlots,
    pub traps: Vec<TrapInformation>,
    pub stack_maps: Vec<StackMapInformation>,
}
Expand description

Compiled function: machine code body, jump table offsets, and unwind information.

Fields

body: Vec<u8>

The machine code for this function.

jt_offsets: JumpTableOffsets

The jump tables offsets (in the body).

unwind_info: Option<UnwindInfo>

The unwind information.

relocations: Vec<Relocation>address_map: FunctionAddressMapvalue_labels_ranges: ValueLabelsRangesstack_slots: StackSlotstraps: Vec<TrapInformation>stack_maps: Vec<StackMapInformation>

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

Returns the “default value” for a type. Read more

Deserialize this value from the given Serde deserializer. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Serialize this value into the given Serde serializer. 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

Compare self to key and return true if they are equal.

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.