[][src]Struct gluon_vm::compiler::CompiledFunction

pub struct CompiledFunction {
    pub args: VmIndex,
    pub max_stack_size: VmIndex,
    pub id: Symbol,
    pub typ: ArcType,
    pub instructions: Vec<Instruction>,
    pub inner_functions: Vec<CompiledFunction>,
    pub strings: Vec<InternedStr>,
    pub records: Vec<Vec<Symbol>>,
    pub debug_info: DebugInfo,
}

Fields

args: VmIndexmax_stack_size: VmIndex

The maximum possible number of stack slots needed for this function

id: Symboltyp: ArcTypeinstructions: Vec<Instruction>inner_functions: Vec<CompiledFunction>strings: Vec<InternedStr>records: Vec<Vec<Symbol>>debug_info: DebugInfo

Methods

impl CompiledFunction[src]

pub fn new(
    args: VmIndex,
    id: Symbol,
    typ: ArcType,
    source_name: String
) -> CompiledFunction
[src]

Trait Implementations

impl From<CompiledFunction> for CompiledModule[src]

impl Debug for CompiledFunction[src]

Auto Trait Implementations

Blanket Implementations

impl<D, T> FromPtr for T[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> From for T[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<Choices> CoproductSubsetter for Choices[src]

type Remainder = Choices

impl<Source> Sculptor for Source[src]

type Remainder = Source

impl<T, U, I> LiftInto for T where
    U: LiftFrom<T, I>, 
[src]

impl<T> Any for T where
    T: Any
[src]