Struct windows::Gaming::Input::IGameController_Vtbl
#[repr(C)]pub struct IGameController_Vtbl {
pub base__: IInspectable_Vtbl,
pub HeadsetConnected: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *mut EventRegistrationToken) -> HRESULT,
pub RemoveHeadsetConnected: unsafe extern "system" fn(_: *mut c_void, _: EventRegistrationToken) -> HRESULT,
pub HeadsetDisconnected: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *mut EventRegistrationToken) -> HRESULT,
pub RemoveHeadsetDisconnected: unsafe extern "system" fn(_: *mut c_void, _: EventRegistrationToken) -> HRESULT,
pub UserChanged: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *mut EventRegistrationToken) -> HRESULT,
pub RemoveUserChanged: unsafe extern "system" fn(_: *mut c_void, _: EventRegistrationToken) -> HRESULT,
pub Headset: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT,
pub IsWireless: unsafe extern "system" fn(_: *mut c_void, _: *mut bool) -> HRESULT,
pub User: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT,
}
Fields§
§base__: IInspectable_Vtbl
§HeadsetConnected: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *mut EventRegistrationToken) -> HRESULT
§RemoveHeadsetConnected: unsafe extern "system" fn(_: *mut c_void, _: EventRegistrationToken) -> HRESULT
§HeadsetDisconnected: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *mut EventRegistrationToken) -> HRESULT
§RemoveHeadsetDisconnected: unsafe extern "system" fn(_: *mut c_void, _: EventRegistrationToken) -> HRESULT
§UserChanged: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *mut EventRegistrationToken) -> HRESULT
§RemoveUserChanged: unsafe extern "system" fn(_: *mut c_void, _: EventRegistrationToken) -> HRESULT
§Headset: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT
§IsWireless: unsafe extern "system" fn(_: *mut c_void, _: *mut bool) -> HRESULT
§User: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT
Implementations§
§impl IGameController_Vtbl
impl IGameController_Vtbl
pub const fn new<Identity, const OFFSET: isize>() -> IGameController_Vtblwhere
Identity: IGameController_Impl + IUnknownImpl,
pub fn matches(iid: &GUID) -> bool
Auto Trait Implementations§
impl Freeze for IGameController_Vtbl
impl RefUnwindSafe for IGameController_Vtbl
impl Send for IGameController_Vtbl
impl Sync for IGameController_Vtbl
impl Unpin for IGameController_Vtbl
impl UnwindSafe for IGameController_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