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