[][src]Trait rask_wasm_shared::alloc::MutableAlloc

pub trait MutableAlloc {
    unsafe fn alloc(&mut self, layout: Layout, init: AllocInit) -> *mut u8;
unsafe fn dealloc(&mut self, ptr: *mut u8, layout: Layout); }

Required methods

unsafe fn alloc(&mut self, layout: Layout, init: AllocInit) -> *mut u8

unsafe fn dealloc(&mut self, ptr: *mut u8, layout: Layout)

Loading content...

Implementors

impl MutableAlloc for SimpleAllocator[src]

impl<A: GlobalAlloc> MutableAlloc for A[src]

Loading content...