Struct gluon_vm::compiler::CompiledFunction
source · 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: VmIndex
max_stack_size: VmIndex
The maximum possible number of stack slots needed for this function
id: Symbol
typ: ArcType
instructions: Vec<Instruction>
inner_functions: Vec<CompiledFunction>
strings: Vec<InternedStr>
records: Vec<Vec<Symbol>>
debug_info: DebugInfo
Implementations
Trait Implementations
sourceimpl Debug for CompiledFunction
impl Debug for CompiledFunction
sourceimpl From<CompiledFunction> for CompiledModule
impl From<CompiledFunction> for CompiledModule
sourcefn from(function: CompiledFunction) -> Self
fn from(function: CompiledFunction) -> Self
Converts to this type from the input type.
Auto Trait Implementations
impl !RefUnwindSafe for CompiledFunction
impl Send for CompiledFunction
impl Sync for CompiledFunction
impl Unpin for CompiledFunction
impl !UnwindSafe for CompiledFunction
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more