Struct windows::Gaming::Input::RacingWheelReading
#[repr(C)]pub struct RacingWheelReading {
pub Timestamp: u64,
pub Buttons: RacingWheelButtons,
pub PatternShifterGear: i32,
pub Wheel: f64,
pub Throttle: f64,
pub Brake: f64,
pub Clutch: f64,
pub Handbrake: f64,
}
Fields§
§Timestamp: u64
§Buttons: RacingWheelButtons
§PatternShifterGear: i32
§Wheel: f64
§Throttle: f64
§Brake: f64
§Clutch: f64
§Handbrake: f64
Trait Implementations§
§impl Clone for RacingWheelReading
impl Clone for RacingWheelReading
§fn clone(&self) -> RacingWheelReading
fn clone(&self) -> RacingWheelReading
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 RacingWheelReading
impl Debug for RacingWheelReading
§impl Default for RacingWheelReading
impl Default for RacingWheelReading
§impl PartialEq for RacingWheelReading
impl PartialEq for RacingWheelReading
§fn eq(&self, other: &RacingWheelReading) -> bool
fn eq(&self, other: &RacingWheelReading) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for RacingWheelReading
impl StructuralPartialEq for RacingWheelReading
Auto Trait Implementations§
impl Freeze for RacingWheelReading
impl RefUnwindSafe for RacingWheelReading
impl Send for RacingWheelReading
impl Sync for RacingWheelReading
impl Unpin for RacingWheelReading
impl UnwindSafe for RacingWheelReading
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
)