[][src]Trait balloc::AllocBound

pub trait AllocBound {
    fn try_alloc(&mut self, amount: usize) -> Result<(), AllocError>;
fn dealloc(&mut self, amount: usize); }

Required methods

fn try_alloc(&mut self, amount: usize) -> Result<(), AllocError>

fn dealloc(&mut self, amount: usize)

Loading content...

Implementations on Foreign Types

impl<B: AllocBound> AllocBound for Rc<RefCell<B>>[src]

impl<B: AllocBound + Copy> AllocBound for Rc<Cell<B>>[src]

Loading content...

Implementors

impl AllocBound for NumberBounded[src]

impl AllocBound for Unbounded[src]

Loading content...