[][src]Struct CCODE::IMallocVtbl

#[repr(C)]pub struct IMallocVtbl {
    pub QueryInterface: Option<unsafe extern "C" fn(This: *mut IMalloc, riid: *const IID, ppvObject: *mut *mut c_void) -> HRESULT>,
    pub AddRef: Option<unsafe extern "C" fn(This: *mut IMalloc) -> ULONG>,
    pub Release: Option<unsafe extern "C" fn(This: *mut IMalloc) -> ULONG>,
    pub Alloc: Option<unsafe extern "C" fn(This: *mut IMalloc, cb: SIZE_T) -> *mut c_void>,
    pub Realloc: Option<unsafe extern "C" fn(This: *mut IMalloc, pv: *mut c_void, cb: SIZE_T) -> *mut c_void>,
    pub Free: Option<unsafe extern "C" fn(This: *mut IMalloc, pv: *mut c_void)>,
    pub GetSize: Option<unsafe extern "C" fn(This: *mut IMalloc, pv: *mut c_void) -> SIZE_T>,
    pub DidAlloc: Option<unsafe extern "C" fn(This: *mut IMalloc, pv: *mut c_void) -> c_int>,
    pub HeapMinimize: Option<unsafe extern "C" fn(This: *mut IMalloc)>,
}

Fields

QueryInterface: Option<unsafe extern "C" fn(This: *mut IMalloc, riid: *const IID, ppvObject: *mut *mut c_void) -> HRESULT>AddRef: Option<unsafe extern "C" fn(This: *mut IMalloc) -> ULONG>Release: Option<unsafe extern "C" fn(This: *mut IMalloc) -> ULONG>Alloc: Option<unsafe extern "C" fn(This: *mut IMalloc, cb: SIZE_T) -> *mut c_void>Realloc: Option<unsafe extern "C" fn(This: *mut IMalloc, pv: *mut c_void, cb: SIZE_T) -> *mut c_void>Free: Option<unsafe extern "C" fn(This: *mut IMalloc, pv: *mut c_void)>GetSize: Option<unsafe extern "C" fn(This: *mut IMalloc, pv: *mut c_void) -> SIZE_T>DidAlloc: Option<unsafe extern "C" fn(This: *mut IMalloc, pv: *mut c_void) -> c_int>HeapMinimize: Option<unsafe extern "C" fn(This: *mut IMalloc)>

Trait Implementations

impl Clone for IMallocVtbl[src]

impl Copy for IMallocVtbl[src]

impl Debug for IMallocVtbl[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.