Struct stack_vm::Frame [] [src]

pub struct Frame<T> {
    pub return_address: usize,
    // some fields omitted
}

A call frame.

Contains: * A WriteManyTable for storage of local variables. * A return address - the instruction pointer for the machine to return to when returning from this call.

Fields

Methods

impl<T> Frame<T>
[src]

[src]

Creates a new call frame with the specified return address.

[src]

Return a reference to the specified local variable.

[src]

Set the value of a local variable.

Trait Implementations

impl<T: Debug> Debug for Frame<T>
[src]

[src]

Formats the value using the given formatter.