Expand description
A borrowed structure which implements CompilerEnv
, TypeEnv
and KindEnv
allowing the
typechecker and compiler to lookup things in the virtual machine.
Fields
type_infos: TypeInfos
globals: FnvMap<StdString, Global>
Implementations
Trait Implementations
sourceimpl CompilerEnv for VmEnv
impl CompilerEnv for VmEnv
sourceimpl MetadataEnv for VmEnv
impl MetadataEnv for VmEnv
fn get_metadata(&self, id: &SymbolRef) -> Option<&Metadata>
Auto Trait Implementations
impl !RefUnwindSafe for VmEnv
impl Send for VmEnv
impl Sync for VmEnv
impl Unpin for VmEnv
impl !UnwindSafe for VmEnv
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