Struct gluon_vm::vm::VmEnv[][src]

pub struct VmEnv {
    pub type_infos: TypeInfos,
    pub globals: FnvMap<StdString, Global>,
}

A borrowed structure which implements CompilerEnv, TypeEnv and KindEnv allowing the typechecker and compiler to lookup things in the virtual machine.

Fields

Methods

impl VmEnv
[src]

Trait Implementations

impl Debug for VmEnv
[src]

Formats the value using the given formatter. Read more

impl CompilerEnv for VmEnv
[src]

impl KindEnv for VmEnv
[src]

Returns the kind of the type type_name

impl TypeEnv for VmEnv
[src]

Returns the type of the value bound at id

Returns information about the type id

impl PrimitiveEnv for VmEnv
[src]

impl MetadataEnv for VmEnv
[src]

Auto Trait Implementations

impl Send for VmEnv

impl Sync for VmEnv