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
§fn clone(&self) -> GamepadReading
fn clone(&self) -> GamepadReading
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more§impl Debug for GamepadReading
impl Debug for GamepadReading
§impl Default for GamepadReading
impl Default for GamepadReading
§impl PartialEq for GamepadReading
impl PartialEq for GamepadReading
§fn eq(&self, other: &GamepadReading) -> bool
fn eq(&self, other: &GamepadReading) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for GamepadReading
impl StructuralPartialEq for GamepadReading
Auto Trait Implementations§
impl Freeze for GamepadReading
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)