pub trait AllocatorExt: IsA<Allocator> + Sealed + 'static {
    // Provided methods
    fn alloc(
        &self,
        size: usize,
        params: Option<&AllocationParams>
    ) -> Result<Memory, BoolError> { ... }
    fn set_default(self) { ... }
}

Provided Methods§

Object Safety§

This trait is not object safe.

Implementors§