Struct windows::Gaming::Input::GamepadReading
#[repr(C)]pub struct GamepadReading {
pub Timestamp: u64,
pub Buttons: GamepadButtons,
pub LeftTrigger: f64,
pub RightTrigger: f64,
pub LeftThumbstickX: f64,
pub LeftThumbstickY: f64,
pub RightThumbstickX: f64,
pub RightThumbstickY: f64,
}
Fields§
§Timestamp: u64
§Buttons: GamepadButtons
§LeftTrigger: f64
§RightTrigger: f64
§LeftThumbstickX: f64
§LeftThumbstickY: f64
§RightThumbstickX: f64
§RightThumbstickY: f64
Trait Implementations§
§impl Clone for GamepadReading
impl Clone for GamepadReading
§impl Debug for GamepadReading
impl Debug for GamepadReading
§impl Default for GamepadReading
impl Default for GamepadReading
§impl PartialEq for GamepadReading
impl PartialEq for GamepadReading
impl Copy for GamepadReading
impl Eq for GamepadReading
Auto Trait Implementations§
impl RefUnwindSafe for GamepadReading
impl Send for GamepadReading
impl Sync for GamepadReading
impl Unpin for GamepadReading
impl UnwindSafe for GamepadReading
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