pub trait BlockHeader: Default + Sized {
    // Required method
    unsafe fn ref_counter_update(&self, i: RefCounterUpdate) -> isize;

    // Provided method
    unsafe fn block<T: Object, D: Dealloc>(&mut self) -> &mut Block<T, D> { ... }
}

Required Methods§

source

unsafe fn ref_counter_update(&self, i: RefCounterUpdate) -> isize

Provided Methods§

source

unsafe fn block<T: Object, D: Dealloc>(&mut self) -> &mut Block<T, D>

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl BlockHeader for Cell<isize>

source§

unsafe fn ref_counter_update(&self, val: RefCounterUpdate) -> isize

source§

impl BlockHeader for AtomicIsize

source§

unsafe fn ref_counter_update(&self, val: RefCounterUpdate) -> isize

Implementors§