Struct windows::Win32::System::Com::IMalloc_Vtbl
#[repr(C)]pub struct IMalloc_Vtbl {
pub base__: IUnknown_Vtbl,
pub Alloc: unsafe extern "system" fn(_: *mut c_void, _: usize) -> *mut c_void,
pub Realloc: unsafe extern "system" fn(_: *mut c_void, _: *const c_void, _: usize) -> *mut c_void,
pub Free: unsafe extern "system" fn(_: *mut c_void, _: *const c_void),
pub GetSize: unsafe extern "system" fn(_: *mut c_void, _: *const c_void) -> usize,
pub DidAlloc: unsafe extern "system" fn(_: *mut c_void, _: *const c_void) -> i32,
pub HeapMinimize: unsafe extern "system" fn(_: *mut c_void),
}
Fields§
§base__: IUnknown_Vtbl
§Alloc: unsafe extern "system" fn(_: *mut c_void, _: usize) -> *mut c_void
§Realloc: unsafe extern "system" fn(_: *mut c_void, _: *const c_void, _: usize) -> *mut c_void
§Free: unsafe extern "system" fn(_: *mut c_void, _: *const c_void)
§GetSize: unsafe extern "system" fn(_: *mut c_void, _: *const c_void) -> usize
§DidAlloc: unsafe extern "system" fn(_: *mut c_void, _: *const c_void) -> i32
§HeapMinimize: unsafe extern "system" fn(_: *mut c_void)
Implementations§
§impl IMalloc_Vtbl
impl IMalloc_Vtbl
pub const fn new<Identity, const OFFSET: isize>() -> IMalloc_Vtblwhere
Identity: IMalloc_Impl + IUnknownImpl,
pub fn matches(iid: &GUID) -> bool
Auto Trait Implementations§
impl Freeze for IMalloc_Vtbl
impl RefUnwindSafe for IMalloc_Vtbl
impl Send for IMalloc_Vtbl
impl Sync for IMalloc_Vtbl
impl Unpin for IMalloc_Vtbl
impl UnwindSafe for IMalloc_Vtbl
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