Struct moore_vhdl::hir::AllocContext [−][src]
pub struct AllocContext<'t> {
pub sess: &'t dyn SessionContext,
pub arenas: &'t Arenas2<'t>,
pub scope: &'t ScopeData<'t>,
}
Expand description
A context for HIR node construction.
Fields
sess: &'t dyn SessionContext
arenas: &'t Arenas2<'t>
scope: &'t ScopeData<'t>
Implementations
Create a subscope and return a new context for that scope.
Trait Implementations
Emit a diagnostic message.
Define a new name in the scope.
Import a definition into the scope.
Import an entire scope into the scope.
Check if a verbosity option is set.
Auto Trait Implementations
impl<'t> !RefUnwindSafe for AllocContext<'t>
impl<'t> !Send for AllocContext<'t>
impl<'t> !Sync for AllocContext<'t>
impl<'t> Unpin for AllocContext<'t>
impl<'t> !UnwindSafe for AllocContext<'t>
Blanket Implementations
Mutably borrows from an owned value. Read more