#[repr(C)]pub struct IUnknownVtbl {
pub QueryInterface: Option<unsafe extern "C" fn(This: *mut IUnknown, riid: *const IID, ppvObject: *mut *mut c_void) -> HRESULT>,
pub AddRef: Option<unsafe extern "C" fn(This: *mut IUnknown) -> ULONG>,
pub Release: Option<unsafe extern "C" fn(This: *mut IUnknown) -> ULONG>,
}
Fields§
§QueryInterface: Option<unsafe extern "C" fn(This: *mut IUnknown, riid: *const IID, ppvObject: *mut *mut c_void) -> HRESULT>
§AddRef: Option<unsafe extern "C" fn(This: *mut IUnknown) -> ULONG>
§Release: Option<unsafe extern "C" fn(This: *mut IUnknown) -> ULONG>
Trait Implementations§
Source§impl Clone for IUnknownVtbl
impl Clone for IUnknownVtbl
Source§fn clone(&self) -> IUnknownVtbl
fn clone(&self) -> IUnknownVtbl
Returns a copy 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 IUnknownVtbl
impl Debug for IUnknownVtbl
Source§impl Ord for IUnknownVtbl
impl Ord for IUnknownVtbl
Source§fn cmp(&self, other: &IUnknownVtbl) -> Ordering
fn cmp(&self, other: &IUnknownVtbl) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for IUnknownVtbl
impl PartialEq for IUnknownVtbl
Source§impl PartialOrd for IUnknownVtbl
impl PartialOrd for IUnknownVtbl
impl Copy for IUnknownVtbl
impl Eq for IUnknownVtbl
impl StructuralPartialEq for IUnknownVtbl
Auto Trait Implementations§
impl Freeze for IUnknownVtbl
impl RefUnwindSafe for IUnknownVtbl
impl Send for IUnknownVtbl
impl Sync for IUnknownVtbl
impl Unpin for IUnknownVtbl
impl UnwindSafe for IUnknownVtbl
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