[−][src]Struct gluon_base::ast::Arena
Implementations
impl<'ast, Id> Arena<'ast, Id>
[src]
pub unsafe fn new(_: &'ast InvariantLifetime<'ast>) -> Self
[src]
pub fn borrow(&'ast self) -> ArenaRef<'_, 'ast, Id>
[src]
pub fn alloc<T>(&'ast self, value: T) -> &'ast mut T where
T: AstAlloc<'ast, Id>,
[src]
T: AstAlloc<'ast, Id>,
pub fn alloc_extend<T>(
&'ast self,
iter: impl IntoIterator<Item = T>
) -> &'ast mut [T] where
T: AstAlloc<'ast, Id>,
[src]
&'ast self,
iter: impl IntoIterator<Item = T>
) -> &'ast mut [T] where
T: AstAlloc<'ast, Id>,
Auto Trait Implementations
impl<'ast, Id> !RefUnwindSafe for Arena<'ast, Id>
impl<'ast, Id> Send for Arena<'ast, Id> where
Id: Send + Sync,
Id: Send + Sync,
impl<'ast, Id> !Sync for Arena<'ast, Id>
impl<'ast, Id> Unpin for Arena<'ast, Id> where
Id: Unpin,
Id: Unpin,
impl<'ast, Id> !UnwindSafe for Arena<'ast, Id>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<Id> AsId<Id> for Id where
Id: ?Sized,
[src]
Id: ?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>,