[][src]Trait alloc_wg::alloc::DeallocRef

pub trait DeallocRef: Sized {
    type BuildAlloc: BuildAlloc<Ref = Self>;
    fn get_build_alloc(&mut self) -> Self::BuildAlloc;
unsafe fn dealloc(&mut self, ptr: NonNull<u8>, layout: NonZeroLayout); }

Associated Types

type BuildAlloc: BuildAlloc<Ref = Self>

Loading content...

Required methods

fn get_build_alloc(&mut self) -> Self::BuildAlloc

unsafe fn dealloc(&mut self, ptr: NonNull<u8>, layout: NonZeroLayout)

Loading content...

Implementations on Foreign Types

impl DeallocRef for System[src]

type BuildAlloc = Self

Loading content...

Implementors

impl DeallocRef for Global[src]

type BuildAlloc = Self

impl<A: DeallocRef> DeallocRef for AbortAlloc<A>[src]

type BuildAlloc = AbortAlloc<A::BuildAlloc>

Loading content...