Struct windows_sys::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,
}
Expand description
Required features: ‘Gaming_Input’
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 Copy 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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more