pub trait Allocatable<T, P: MemPool> where
    Self: Sized
{ unsafe fn alloc(size: usize, j: &Journal<P>) -> Self; unsafe fn alloc_zeroed(size: usize, j: &Journal<P>) -> Self; fn as_ref(&self) -> &T; fn as_mut(&mut self) -> &mut T; }

Required Methods

Implementors