[][src]Trait alloc_wg::alloc::BuildAlloc

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

Associated Types

type Ref: DeallocRef<BuildAlloc = Self>

Loading content...

Required methods

unsafe fn build_alloc_ref(
    &mut self,
    ptr: NonNull<u8>,
    layout: Layout
) -> Self::Ref

Loading content...

Implementations on Foreign Types

impl BuildAlloc for System[src]

type Ref = Self

Loading content...

Implementors

impl BuildAlloc for Global[src]

type Ref = Self

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

type Ref = AbortAlloc<A::Ref>

Loading content...