Trait IMalloc_Impl
pub trait IMalloc_Impl: IUnknownImpl {
// Required methods
fn Alloc(&self, cb: usize) -> *mut c_void;
fn Realloc(&self, pv: *const c_void, cb: usize) -> *mut c_void;
fn Free(&self, pv: *const c_void);
fn GetSize(&self, pv: *const c_void) -> usize;
fn DidAlloc(&self, pv: *const c_void) -> i32;
fn HeapMinimize(&self);
}
Required Methods§
fn Alloc(&self, cb: usize) -> *mut c_void
fn Realloc(&self, pv: *const c_void, cb: usize) -> *mut c_void
fn Free(&self, pv: *const c_void)
fn GetSize(&self, pv: *const c_void) -> usize
fn DidAlloc(&self, pv: *const c_void) -> i32
fn HeapMinimize(&self)
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.