[][src]Struct moore_vhdl::ty2::TypeArena

pub struct TypeArena<'t> {
    pub integer_basetype: Arena<IntegerBasetype>,
    pub integer_subtype: Arena<IntegerSubtype<'t>>,
    pub floating_basetype: Arena<FloatingBasetype>,
    pub floating_subtype: Arena<FloatingSubtype<'t>>,
    pub enum_basetype: Arena<EnumBasetype>,
    pub enum_subtype: Arena<EnumSubtype<'t>>,
    pub physical_basetype: Arena<PhysicalBasetype>,
    pub physical_subtype: Arena<PhysicalSubtype<'t>>,
    pub access: Arena<AccessType<'t>>,
}

An arena to allocate types nodes into.

Fields

integer_basetype: Arena<IntegerBasetype>integer_subtype: Arena<IntegerSubtype<'t>>floating_basetype: Arena<FloatingBasetype>floating_subtype: Arena<FloatingSubtype<'t>>enum_basetype: Arena<EnumBasetype>enum_subtype: Arena<EnumSubtype<'t>>physical_basetype: Arena<PhysicalBasetype>physical_subtype: Arena<PhysicalSubtype<'t>>access: Arena<AccessType<'t>>

Implementations

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

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

Create a new arena.

Trait Implementations

impl<'a, 't> Alloc<'a, 'a, AccessType<'t>> for TypeArena<'t> where
    't: 'a, 
[src]

impl<'a, 't> Alloc<'a, 'a, EnumBasetype> for TypeArena<'t> where
    't: 'a, 
[src]

impl<'a, 't> Alloc<'a, 'a, FloatingBasetype> for TypeArena<'t> where
    't: 'a, 
[src]

impl<'a, 't> Alloc<'a, 'a, IntegerBasetype> for TypeArena<'t> where
    't: 'a, 
[src]

impl<'a, 't> Alloc<'a, 'a, PhysicalBasetype> for TypeArena<'t> where
    't: 'a, 
[src]

impl<'a, 't> Alloc<'a, 'a, ScalarSubtype<'t, dyn EnumType + 't, usize>> for TypeArena<'t> where
    't: 'a, 
[src]

impl<'a, 't> Alloc<'a, 'a, ScalarSubtype<'t, dyn FloatingType + 't, f64>> for TypeArena<'t> where
    't: 'a, 
[src]

impl<'a, 't> Alloc<'a, 'a, ScalarSubtype<'t, dyn IntegerType + 't, BigInt>> for TypeArena<'t> where
    't: 'a, 
[src]

impl<'a, 't> Alloc<'a, 'a, ScalarSubtype<'t, dyn PhysicalType + 't, BigInt>> for TypeArena<'t> where
    't: 'a, 
[src]

impl<'t> AllocOwned<'t, 't, dyn Type + 't> for TypeArena<'t>[src]

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

Auto Trait Implementations

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

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

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

impl<'t> Unpin for TypeArena<'t>

impl<'t> !UnwindSafe for TypeArena<'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.