Struct 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
§fn default() -> GamepadReading
fn default() -> GamepadReading
Returns the “default value” for a type. Read more
§impl PartialEq for GamepadReading
impl PartialEq for GamepadReading
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