Trait rustc_middle::arena::ArenaAllocatable[][src]

pub trait ArenaAllocatable<'tcx, T = Self>: Sized {
    fn allocate_on<'a>(self, arena: &'a Arena<'tcx>) -> &'a mut Self;
fn allocate_from_iter<'a>(
        arena: &'a Arena<'tcx>,
        iter: impl IntoIterator<Item = Self>
    ) -> &'a mut [Self]; }

Required methods

Implementations on Foreign Types

Implementors