Trait rustc_hir::ArenaAllocatable
source · [−]pub trait ArenaAllocatable<'tcx, C = IsNotCopy>: 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 &[u8]impl Read for &[u8]impl Write for &mut [u8]
;
}
Required Methods
source
fn allocate_on<'a>(self, arena: &'a Arena<'tcx>) -> &'a mut Self
sourcefn allocate_from_iter<'a>(