Trait gluon_base::ast::AstAlloc [−][src]
pub trait AstAlloc<'ast, Id>: Sized {
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];
}