pub struct Include { /* private fields */ }Expand description
Loads a module by name into the VM
Implementations§
Trait Implementations§
Source§impl From<Include> for HirElement
impl From<Include> for HirElement
Source§fn from(include: Include) -> HirElement
fn from(include: Include) -> HirElement
Converts to this type from the input type.
Source§impl HirLowering for Include
impl HirLowering for Include
fn lower<'hir, 'lir>(&'hir self, runtime: &mut HirLoweringRuntime<'lir>)where
'hir: 'lir,
Auto Trait Implementations§
impl Freeze for Include
impl !RefUnwindSafe for Include
impl !Send for Include
impl !Sync for Include
impl Unpin for Include
impl UnsafeUnpin for Include
impl !UnwindSafe for Include
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more