[−][src]Struct moore_vhdl::konst2::ConstArena
An arena to allocate constant values into.
Fields
integer: Arena<IntegerConst<'t>>
floating: Arena<FloatingConst<'t>>
Implementations
impl<'t> ConstArena<'t>
[src]
pub fn new() -> ConstArena<'t>
[src]
Create a new arena.
Trait Implementations
impl<'a, 't> Alloc<'a, 'a, FloatingConst<'t>> for ConstArena<'t> where
't: 'a,
[src]
't: 'a,
fn alloc(&'a self, value: FloatingConst<'t>) -> &'a mut FloatingConst<'t>
[src]
impl<'a, 't> Alloc<'a, 'a, IntegerConst<'t>> for ConstArena<'t> where
't: 'a,
[src]
't: 'a,
fn alloc(&'a self, value: IntegerConst<'t>) -> &'a mut IntegerConst<'t>
[src]
impl<'t> AllocOwned<'t, 't, dyn Const2<'t> + 't> for ConstArena<'t>
[src]
fn alloc_owned(&'t self, value: OwnedConst<'t>) -> &'t dyn Const2<'t>
[src]
fn maybe_alloc(&'a self, value: Cow<'t, T>) -> &'t T
[src]
fn force_alloc(&'a self, value: Cow<'_, T>) -> &'t T
[src]
impl<'t> Default for ConstArena<'t>
[src]
fn default() -> ConstArena<'t>
[src]
Auto Trait Implementations
impl<'t> !RefUnwindSafe for ConstArena<'t>
impl<'t> !Send for ConstArena<'t>
impl<'t> !Sync for ConstArena<'t>
impl<'t> Unpin for ConstArena<'t>
impl<'t> !UnwindSafe for ConstArena<'t>
Blanket Implementations
impl<T, A> AllocSelf<T> for A where
A: for<'a> Alloc<'a, 'a, T>,
[src]
A: for<'a> Alloc<'a, 'a, T>,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,