Trait gluon_base::ast::AstAlloc
source · pub trait AstAlloc<'ast, Id>: Sized {
// Required methods
fn alloc(self, arena: &'ast Arena<'ast, Id>) -> &'ast mut Self;
fn alloc_extend(
iter: impl IntoIterator<Item = Self>,
arena: &'ast Arena<'ast, Id>
) -> &'ast mut [Self];
}
Required Methods§
fn alloc(self, arena: &'ast Arena<'ast, Id>) -> &'ast mut Self
fn alloc_extend( iter: impl IntoIterator<Item = Self>, arena: &'ast Arena<'ast, Id> ) -> &'ast mut [Self]
Object Safety§
This trait is not object safe.