#[repr(C)]pub struct IMallocVtbl {
pub parent: IUnknownVtbl,
pub Alloc: unsafe extern "system" fn(This: *mut IMalloc, cb: SIZE_T) -> *mut c_void,
pub Realloc: unsafe extern "system" fn(This: *mut IMalloc, pv: *mut c_void, cb: SIZE_T) -> *mut c_void,
pub Free: unsafe extern "system" fn(This: *mut IMalloc, pv: *mut c_void),
pub GetSize: unsafe extern "system" fn(This: *mut IMalloc, pv: *mut c_void) -> SIZE_T,
pub DidAlloc: unsafe extern "system" fn(This: *mut IMalloc, pv: *mut c_void) -> c_int,
pub HeapMinimize: unsafe extern "system" fn(This: *mut IMalloc),
}
Fields§
§parent: IUnknownVtbl
§Alloc: unsafe extern "system" fn(This: *mut IMalloc, cb: SIZE_T) -> *mut c_void
§Realloc: unsafe extern "system" fn(This: *mut IMalloc, pv: *mut c_void, cb: SIZE_T) -> *mut c_void
§Free: unsafe extern "system" fn(This: *mut IMalloc, pv: *mut c_void)
§GetSize: unsafe extern "system" fn(This: *mut IMalloc, pv: *mut c_void) -> SIZE_T
§DidAlloc: unsafe extern "system" fn(This: *mut IMalloc, pv: *mut c_void) -> c_int
§HeapMinimize: unsafe extern "system" fn(This: *mut IMalloc)
Auto Trait Implementations§
impl Freeze for IMallocVtbl
impl RefUnwindSafe for IMallocVtbl
impl Send for IMallocVtbl
impl Sync for IMallocVtbl
impl Unpin for IMallocVtbl
impl UnwindSafe for IMallocVtbl
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more