pub trait AllocatorImplExt: AllocatorImpl {
// Provided methods
fn parent_alloc(
&self,
size: usize,
params: Option<&AllocationParams>,
) -> Result<Memory, BoolError> { ... }
fn parent_free(&self, memory: Memory) { ... }
}
Provided Methods§
fn parent_alloc( &self, size: usize, params: Option<&AllocationParams>, ) -> Result<Memory, BoolError>
fn parent_free(&self, memory: Memory)
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.