Struct extendable_vm::CallFrame[][src]

pub struct CallFrame {
    pub chunk_id: usize,
    pub name: String,
    pub instruction_pointer: InstructionPointer,
    pub start_slot: usize,
}
Expand description

A struct that stores information about an active function call.

CallFrame stores information about a function call that has not returned yet. chunk_id is the id of the chunk that defines the function. name – the name of the function. instruction_pointer – a pointer to a certain point in code which the function is executing. start_slot – the index in the operand stack at which the call frame starts.

Fields

chunk_id: usizename: Stringinstruction_pointer: InstructionPointerstart_slot: usize

Implementations

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

Performs the conversion.

Performs the conversion.

Converts the given value to a String. 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.