pub struct IMallocSpy(/* private fields */);Implementations§
Source§impl IMallocSpy
impl IMallocSpy
pub unsafe fn PreAlloc(&self, cbrequest: usize) -> usize
pub unsafe fn PostAlloc(&self, pactual: *mut c_void) -> *mut c_void
pub unsafe fn PreFree<'a, T1__: IntoParam<'a, BOOL>>( &self, prequest: *mut c_void, fspyed: T1__, ) -> *mut c_void
pub unsafe fn PostFree<'a, T0__: IntoParam<'a, BOOL>>(&self, fspyed: T0__)
pub unsafe fn PreRealloc<'a, T3__: IntoParam<'a, BOOL>>( &self, prequest: *mut c_void, cbrequest: usize, ppnewrequest: *mut *mut c_void, fspyed: T3__, ) -> usize
pub unsafe fn PostRealloc<'a, T1__: IntoParam<'a, BOOL>>( &self, pactual: *mut c_void, fspyed: T1__, ) -> *mut c_void
pub unsafe fn PreGetSize<'a, T1__: IntoParam<'a, BOOL>>( &self, prequest: *mut c_void, fspyed: T1__, ) -> *mut c_void
pub unsafe fn PostGetSize<'a, T1__: IntoParam<'a, BOOL>>( &self, cbactual: usize, fspyed: T1__, ) -> usize
pub unsafe fn PreDidAlloc<'a, T1__: IntoParam<'a, BOOL>>( &self, prequest: *mut c_void, fspyed: T1__, ) -> *mut c_void
pub unsafe fn PostDidAlloc<'a, T1__: IntoParam<'a, BOOL>>( &self, prequest: *mut c_void, fspyed: T1__, factual: i32, ) -> i32
pub unsafe fn PreHeapMinimize(&self)
pub unsafe fn PostHeapMinimize(&self)
Trait Implementations§
Source§impl Clone for IMallocSpy
impl Clone for IMallocSpy
Source§fn clone(&self) -> IMallocSpy
fn clone(&self) -> IMallocSpy
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for IMallocSpy
impl Debug for IMallocSpy
Source§impl From<&IMallocSpy> for IUnknown
impl From<&IMallocSpy> for IUnknown
Source§fn from(value: &IMallocSpy) -> Self
fn from(value: &IMallocSpy) -> Self
Converts to this type from the input type.
Source§impl From<IMallocSpy> for IUnknown
impl From<IMallocSpy> for IUnknown
Source§fn from(value: IMallocSpy) -> Self
fn from(value: IMallocSpy) -> Self
Converts to this type from the input type.
Source§impl Interface for IMallocSpy
impl Interface for IMallocSpy
const IID: Guid
type Vtable = IMallocSpy_abi
Source§impl<'a> IntoParam<'a, IUnknown> for &'a IMallocSpy
impl<'a> IntoParam<'a, IUnknown> for &'a IMallocSpy
fn into_param(self) -> Param<'a, IUnknown>
Source§impl<'a> IntoParam<'a, IUnknown> for IMallocSpy
impl<'a> IntoParam<'a, IUnknown> for IMallocSpy
fn into_param(self) -> Param<'a, IUnknown>
Source§impl PartialEq for IMallocSpy
impl PartialEq for IMallocSpy
impl Eq for IMallocSpy
impl StructuralPartialEq for IMallocSpy
Auto Trait Implementations§
impl Freeze for IMallocSpy
impl RefUnwindSafe for IMallocSpy
impl !Send for IMallocSpy
impl !Sync for IMallocSpy
impl Unpin for IMallocSpy
impl UnwindSafe for IMallocSpy
Blanket Implementations§
Source§impl<T> Abi for Twhere
T: Interface,
impl<T> Abi for Twhere
T: Interface,
Source§fn set_abi(&mut self) -> *mut <T as Abi>::Abi
fn set_abi(&mut self) -> *mut <T as Abi>::Abi
Returns a pointer for setting the object’s value via an ABI call.
Source§unsafe fn from_abi(abi: <T as Abi>::Abi) -> Result<T, Error>
unsafe fn from_abi(abi: <T as Abi>::Abi) -> Result<T, Error>
Casts the ABI representation to a Rust object by taking ownership of the bits.
fn drop_param(_: &mut Param<'_, Self>)
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