#[repr(C)]pub struct DelegateVtbl {
pub base: IUnknownVtbl,
pub invoke: unsafe extern "system" fn(*mut c_void, *mut c_void, *mut c_void) -> Hresult,
}Expand description
The vtable of a WinRT delegate: IUnknown plus a single Invoke.
Delegates are not IInspectable, so Invoke sits at slot three rather than
six — the one place in this crate where FIRST_METHOD does not apply.
Fields§
§base: IUnknownVtbl§invoke: unsafe extern "system" fn(*mut c_void, *mut c_void, *mut c_void) -> HresultAuto Trait Implementations§
impl Freeze for DelegateVtbl
impl RefUnwindSafe for DelegateVtbl
impl Send for DelegateVtbl
impl Sync for DelegateVtbl
impl Unpin for DelegateVtbl
impl UnsafeUnpin for DelegateVtbl
impl UnwindSafe for DelegateVtbl
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