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

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

Associated Types

type BuildDealloc: BuildDealloc<DeallocRef = Self>

Loading content...

Required methods

fn get_build_dealloc(&mut self) -> Self::BuildDealloc

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

Loading content...

Implementations on Foreign Types

impl DeallocRef for Global[src]

type BuildDealloc = Self

impl DeallocRef for System[src]

type BuildDealloc = Self

Loading content...

Implementors

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

type BuildDealloc = AbortAlloc<A::BuildDealloc>

Loading content...