Struct windows::Gaming::Input::Custom::ICustomGameControllerFactory_Vtbl
#[repr(C)]pub struct ICustomGameControllerFactory_Vtbl {
pub base__: IInspectable_Vtbl,
pub CreateGameController: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *mut *mut c_void) -> HRESULT,
pub OnGameControllerAdded: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void) -> HRESULT,
pub OnGameControllerRemoved: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void) -> HRESULT,
}
Fields§
§base__: IInspectable_Vtbl
§CreateGameController: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *mut *mut c_void) -> HRESULT
§OnGameControllerAdded: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void) -> HRESULT
§OnGameControllerRemoved: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void) -> HRESULT
Implementations§
§impl ICustomGameControllerFactory_Vtbl
impl ICustomGameControllerFactory_Vtbl
pub const fn new<Identity, const OFFSET: isize>() -> ICustomGameControllerFactory_Vtblwhere
Identity: ICustomGameControllerFactory_Impl + IUnknownImpl,
pub fn matches(iid: &GUID) -> bool
Auto Trait Implementations§
impl Freeze for ICustomGameControllerFactory_Vtbl
impl RefUnwindSafe for ICustomGameControllerFactory_Vtbl
impl Send for ICustomGameControllerFactory_Vtbl
impl Sync for ICustomGameControllerFactory_Vtbl
impl Unpin for ICustomGameControllerFactory_Vtbl
impl UnwindSafe for ICustomGameControllerFactory_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