Struct IHostMalloc_Vtbl
#[repr(C)]pub struct IHostMalloc_Vtbl {
pub base__: IUnknown_Vtbl,
pub Alloc: unsafe extern "system" fn(_: *mut c_void, _: usize, _: EMemoryCriticalLevel, _: *mut *mut c_void) -> HRESULT,
pub DebugAlloc: unsafe extern "system" fn(_: *mut c_void, _: usize, _: EMemoryCriticalLevel, _: *const u8, _: i32, _: *mut *mut c_void) -> HRESULT,
pub Free: unsafe extern "system" fn(_: *mut c_void, _: *const c_void) -> HRESULT,
}
Fields§
§base__: IUnknown_Vtbl
§Alloc: unsafe extern "system" fn(_: *mut c_void, _: usize, _: EMemoryCriticalLevel, _: *mut *mut c_void) -> HRESULT
§DebugAlloc: unsafe extern "system" fn(_: *mut c_void, _: usize, _: EMemoryCriticalLevel, _: *const u8, _: i32, _: *mut *mut c_void) -> HRESULT
§Free: unsafe extern "system" fn(_: *mut c_void, _: *const c_void) -> HRESULT
Implementations§
§impl IHostMalloc_Vtbl
impl IHostMalloc_Vtbl
pub const fn new<Identity: IHostMalloc_Impl, const OFFSET: isize>() -> Self
pub fn matches(iid: &GUID) -> bool
Auto Trait Implementations§
impl Freeze for IHostMalloc_Vtbl
impl RefUnwindSafe for IHostMalloc_Vtbl
impl Send for IHostMalloc_Vtbl
impl Sync for IHostMalloc_Vtbl
impl Unpin for IHostMalloc_Vtbl
impl UnwindSafe for IHostMalloc_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