Struct windows::Gaming::Input::IRawGameController_Vtbl
#[repr(C)]pub struct IRawGameController_Vtbl {
pub base__: IInspectable_Vtbl,
pub AxisCount: unsafe extern "system" fn(_: *mut c_void, _: *mut i32) -> HRESULT,
pub ButtonCount: unsafe extern "system" fn(_: *mut c_void, _: *mut i32) -> HRESULT,
pub ForceFeedbackMotors: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT,
pub HardwareProductId: unsafe extern "system" fn(_: *mut c_void, _: *mut u16) -> HRESULT,
pub HardwareVendorId: unsafe extern "system" fn(_: *mut c_void, _: *mut u16) -> HRESULT,
pub SwitchCount: unsafe extern "system" fn(_: *mut c_void, _: *mut i32) -> HRESULT,
pub GetButtonLabel: unsafe extern "system" fn(_: *mut c_void, _: i32, _: *mut GameControllerButtonLabel) -> HRESULT,
pub GetCurrentReading: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut bool, _: u32, _: *mut GameControllerSwitchPosition, _: u32, _: *mut f64, _: *mut u64) -> HRESULT,
pub GetSwitchKind: unsafe extern "system" fn(_: *mut c_void, _: i32, _: *mut GameControllerSwitchKind) -> HRESULT,
}
Fields§
§base__: IInspectable_Vtbl
§AxisCount: unsafe extern "system" fn(_: *mut c_void, _: *mut i32) -> HRESULT
§ButtonCount: unsafe extern "system" fn(_: *mut c_void, _: *mut i32) -> HRESULT
§ForceFeedbackMotors: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT
§HardwareProductId: unsafe extern "system" fn(_: *mut c_void, _: *mut u16) -> HRESULT
§HardwareVendorId: unsafe extern "system" fn(_: *mut c_void, _: *mut u16) -> HRESULT
§SwitchCount: unsafe extern "system" fn(_: *mut c_void, _: *mut i32) -> HRESULT
§GetButtonLabel: unsafe extern "system" fn(_: *mut c_void, _: i32, _: *mut GameControllerButtonLabel) -> HRESULT
§GetCurrentReading: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut bool, _: u32, _: *mut GameControllerSwitchPosition, _: u32, _: *mut f64, _: *mut u64) -> HRESULT
§GetSwitchKind: unsafe extern "system" fn(_: *mut c_void, _: i32, _: *mut GameControllerSwitchKind) -> HRESULT
Auto Trait Implementations§
impl Freeze for IRawGameController_Vtbl
impl RefUnwindSafe for IRawGameController_Vtbl
impl Send for IRawGameController_Vtbl
impl Sync for IRawGameController_Vtbl
impl Unpin for IRawGameController_Vtbl
impl UnwindSafe for IRawGameController_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