[][src]Trait gvec::SoftAlloc

pub trait SoftAlloc {
    fn match_generation(&self, index: &GenerationalIndex) -> bool;
fn allocate(&mut self, vec_len: usize) -> GenerationalIndex;
fn deallocate(&mut self, index: &GenerationalIndex) -> Result<(), Error>; }

Required methods

fn match_generation(&self, index: &GenerationalIndex) -> bool

fn allocate(&mut self, vec_len: usize) -> GenerationalIndex

fn deallocate(&mut self, index: &GenerationalIndex) -> Result<(), Error>

Loading content...

Implementors

Loading content...