[][src]Struct moore_vhdl::hir::Arenas2

pub struct Arenas2<'t> {
    pub scope_data: Arena<ScopeData<'t>>,
    pub library: Arena<Library<'t>>,
    pub package: Arena<Package2<'t>>,
    pub type_decl: Arena<TypeDecl2<'t>>,
    pub subtype_ind: Arena<SubtypeInd2<'t>>,
    pub const_decl: Arena<ConstDecl<'t>>,
    pub lit_expr: Arena<LitExpr>,
    pub package_slot: Arena<Slot<'t, Package2<'t>>>,
    pub type_decl_slot: Arena<Slot<'t, TypeDecl2<'t>>>,
    pub subtype_ind_slot: Arena<Slot<'t, SubtypeInd2<'t>>>,
    pub const_decl_slot: Arena<Slot<'t, ConstDecl<'t>>>,
}

An arena to allocate HIR nodes into.

Fields

scope_data: Arena<ScopeData<'t>>library: Arena<Library<'t>>package: Arena<Package2<'t>>type_decl: Arena<TypeDecl2<'t>>subtype_ind: Arena<SubtypeInd2<'t>>const_decl: Arena<ConstDecl<'t>>lit_expr: Arena<LitExpr>package_slot: Arena<Slot<'t, Package2<'t>>>type_decl_slot: Arena<Slot<'t, TypeDecl2<'t>>>subtype_ind_slot: Arena<Slot<'t, SubtypeInd2<'t>>>const_decl_slot: Arena<Slot<'t, ConstDecl<'t>>>

Implementations

impl<'t> Arenas2<'t>[src]

pub fn new() -> Arenas2<'t>[src]

Create a new arena.

Trait Implementations

impl<'a, 't> Alloc<'a, 'a, Library<'t>> for Arenas2<'t> where
    't: 'a, 
[src]

impl<'a, 't> Alloc<'a, 'a, LitExpr> for Arenas2<'t> where
    't: 'a, 
[src]

impl<'a, 't> Alloc<'a, 'a, Package2<'t>> for Arenas2<'t> where
    't: 'a, 
[src]

impl<'a, 't> Alloc<'a, 'a, ScopeData<'t>> for Arenas2<'t> where
    't: 'a, 
[src]

impl<'a, 't> Alloc<'a, 'a, Slot<'t, ConstDecl<'t>>> for Arenas2<'t> where
    't: 'a, 
[src]

impl<'a, 't> Alloc<'a, 'a, Slot<'t, Package2<'t>>> for Arenas2<'t> where
    't: 'a, 
[src]

impl<'a, 't> Alloc<'a, 'a, Slot<'t, SubtypeInd2<'t>>> for Arenas2<'t> where
    't: 'a, 
[src]

impl<'a, 't> Alloc<'a, 'a, Slot<'t, TypeDecl2<'t>>> for Arenas2<'t> where
    't: 'a, 
[src]

impl<'a, 't> Alloc<'a, 'a, SubtypeInd2<'t>> for Arenas2<'t> where
    't: 'a, 
[src]

impl<'a, 't> Alloc<'a, 'a, TypeDecl2<'t>> for Arenas2<'t> where
    't: 'a, 
[src]

impl<'t> Default for Arenas2<'t>[src]

Auto Trait Implementations

impl<'t> !RefUnwindSafe for Arenas2<'t>

impl<'t> !Send for Arenas2<'t>

impl<'t> !Sync for Arenas2<'t>

impl<'t> Unpin for Arenas2<'t>

impl<'t> !UnwindSafe for Arenas2<'t>

Blanket Implementations

impl<T, A> AllocSelf<T> for A where
    A: for<'a> Alloc<'a, 'a, T>, 
[src]

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

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

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

impl<T> From<T> for T[src]

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

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

type Error = Infallible

The type returned in the event of a conversion error.

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

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.