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

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 CompilerEnv for VmEnv
[src]

impl Debug for VmEnv
[src]

Formats the value using the given formatter. Read more

impl SerializeState<SeSeed> for VmEnv
[src]

Placeholder

impl<'de> DeserializeState<'de, DeSeed> for VmEnv
[src]

Deserializes Self using seed and the deserializer

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 KindEnv for VmEnv
[src]

Returns the kind of the type type_name

impl MetadataEnv for VmEnv
[src]

Auto Trait Implementations

impl Send for VmEnv

impl Sync for VmEnv

Blanket Implementations

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

impl<T> From for T
[src]

Performs the conversion.

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

Performs the conversion.

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

🔬 This is a nightly-only experimental API. (try_from)

Performs the conversion.

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

Immutably borrows from an owned value. Read more

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

Mutably borrows from an owned value. Read more

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

🔬 This is a nightly-only experimental API. (try_from)

Performs the conversion.

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

🔬 This is a nightly-only experimental API. (get_type_id)

this method will likely be replaced by an associated static

Gets the TypeId of self. Read more

impl<Choices> CoproductSubsetter for Choices
[src]

Extract a subset of the possible types in a coproduct (or get the remaining possibilities) Read more

impl<Source> Sculptor for Source
[src]

Consumes the current HList and returns an HList with the requested shape. Read more

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

Performs the indexed conversion.

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

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

impl<T> TypecheckEnv for T where
    T: PrimitiveEnv + MetadataEnv
[src]