Trait rustc_ast_lowering::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]
Notable traits for &mut [u8]
impl<'_> Write for &mut [u8]impl<'_> Read for &[u8]
; }

Required methods

Implementations on Foreign Types

Implementors