[][src]Struct gluon_base::ast::ArenaRef

pub struct ArenaRef<'a, 'ast, Id>(_, _);

Implementations

impl<'a, 'ast, Id> ArenaRef<'a, 'ast, Id>[src]

pub fn alloc<T>(self, value: T) -> &'ast mut T where
    T: AstAlloc<'ast, Id> + 'ast, 
[src]

pub fn alloc_extend<T>(self, iter: impl IntoIterator<Item = T>) -> &'ast mut [T] where
    T: AstAlloc<'ast, Id> + 'ast, 
[src]

Trait Implementations

impl<'a, 'ast, Id> Clone for ArenaRef<'a, 'ast, Id>[src]

impl<'a, 'ast, Id> Copy for ArenaRef<'a, 'ast, Id>[src]

impl<'ast, Id, '_> TypeContext<Id, AstType<'ast, Id>> for ArenaRef<'_, 'ast, Id>[src]

Auto Trait Implementations

impl<'a, 'ast, Id> !RefUnwindSafe for ArenaRef<'a, 'ast, Id>

impl<'a, 'ast, Id> !Send for ArenaRef<'a, 'ast, Id>

impl<'a, 'ast, Id> !Sync for ArenaRef<'a, 'ast, Id>

impl<'a, 'ast, Id> Unpin for ArenaRef<'a, 'ast, Id> where
    'ast: 'a, 

impl<'a, 'ast, Id> !UnwindSafe for ArenaRef<'a, 'ast, Id>

Blanket Implementations

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

impl<Id> AsId<Id> for Id where
    Id: ?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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.