Struct windows::Win32::System::Com::IMallocSpy_Vtbl
#[repr(C)]pub struct IMallocSpy_Vtbl {Show 13 fields
pub base__: IUnknown_Vtbl,
pub PreAlloc: unsafe extern "system" fn(_: *mut c_void, _: usize) -> usize,
pub PostAlloc: unsafe extern "system" fn(_: *mut c_void, _: *const c_void) -> *mut c_void,
pub PreFree: unsafe extern "system" fn(_: *mut c_void, _: *const c_void, _: BOOL) -> *mut c_void,
pub PostFree: unsafe extern "system" fn(_: *mut c_void, _: BOOL),
pub PreRealloc: unsafe extern "system" fn(_: *mut c_void, _: *const c_void, _: usize, _: *mut *mut c_void, _: BOOL) -> usize,
pub PostRealloc: unsafe extern "system" fn(_: *mut c_void, _: *const c_void, _: BOOL) -> *mut c_void,
pub PreGetSize: unsafe extern "system" fn(_: *mut c_void, _: *const c_void, _: BOOL) -> *mut c_void,
pub PostGetSize: unsafe extern "system" fn(_: *mut c_void, _: usize, _: BOOL) -> usize,
pub PreDidAlloc: unsafe extern "system" fn(_: *mut c_void, _: *const c_void, _: BOOL) -> *mut c_void,
pub PostDidAlloc: unsafe extern "system" fn(_: *mut c_void, _: *const c_void, _: BOOL, _: i32) -> i32,
pub PreHeapMinimize: unsafe extern "system" fn(_: *mut c_void),
pub PostHeapMinimize: unsafe extern "system" fn(_: *mut c_void),
}
Fields§
§base__: IUnknown_Vtbl
§PreAlloc: unsafe extern "system" fn(_: *mut c_void, _: usize) -> usize
§PostAlloc: unsafe extern "system" fn(_: *mut c_void, _: *const c_void) -> *mut c_void
§PreFree: unsafe extern "system" fn(_: *mut c_void, _: *const c_void, _: BOOL) -> *mut c_void
§PostFree: unsafe extern "system" fn(_: *mut c_void, _: BOOL)
§PreRealloc: unsafe extern "system" fn(_: *mut c_void, _: *const c_void, _: usize, _: *mut *mut c_void, _: BOOL) -> usize
§PostRealloc: unsafe extern "system" fn(_: *mut c_void, _: *const c_void, _: BOOL) -> *mut c_void
§PreGetSize: unsafe extern "system" fn(_: *mut c_void, _: *const c_void, _: BOOL) -> *mut c_void
§PostGetSize: unsafe extern "system" fn(_: *mut c_void, _: usize, _: BOOL) -> usize
§PreDidAlloc: unsafe extern "system" fn(_: *mut c_void, _: *const c_void, _: BOOL) -> *mut c_void
§PostDidAlloc: unsafe extern "system" fn(_: *mut c_void, _: *const c_void, _: BOOL, _: i32) -> i32
§PreHeapMinimize: unsafe extern "system" fn(_: *mut c_void)
§PostHeapMinimize: unsafe extern "system" fn(_: *mut c_void)
Implementations§
§impl IMallocSpy_Vtbl
impl IMallocSpy_Vtbl
pub const fn new<Identity, const OFFSET: isize>() -> IMallocSpy_Vtblwhere
Identity: IMallocSpy_Impl + IUnknownImpl,
pub fn matches(iid: &GUID) -> bool
Auto Trait Implementations§
impl Freeze for IMallocSpy_Vtbl
impl RefUnwindSafe for IMallocSpy_Vtbl
impl Send for IMallocSpy_Vtbl
impl Sync for IMallocSpy_Vtbl
impl Unpin for IMallocSpy_Vtbl
impl UnwindSafe for IMallocSpy_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