pub trait ArenaAllocatable<'a>: Sized {
    // Required methods
    fn alloc_into(self, allocator: &'a Allocator<'a>) -> &'a Self;
    fn alloc_iter_into(
        iter: impl IntoIterator<Item = Self>,
        allocator: &'a Allocator<'a>
    ) -> &'a [Self];
}

Required Methods§

source

fn alloc_into(self, allocator: &'a Allocator<'a>) -> &'a Self

source

fn alloc_iter_into( iter: impl IntoIterator<Item = Self>, allocator: &'a Allocator<'a> ) -> &'a [Self]

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<'a> ArenaAllocatable<'a> for Expr<'a>

source§

impl<'a> ArenaAllocatable<'a> for Alternative<'a>

source§

impl<'a> ArenaAllocatable<'a> for LetBinding<'a>