#[non_exhaustive]#[repr(u16)]pub enum SimulationControlsUsage {
Show 55 variants
Undefined,
FlightSimulationDevice,
AutomobileSimulationDevice,
TankSimulationDevice,
SpaceshipSimulationDevice,
SubmarineSimulationDevice,
SailingSimulationDevice,
MotorcycleSimulationDevice,
SportsSimulationDevice,
AirplaneSimulationDevice,
HelicopterSimulationDevice,
MagicCarpetSimulationDevice,
BicycleSimulationDevice,
Reserved0D_1F(u16),
FlightControlStick = 32,
FlightStick,
CyclicControl,
CyclicTrim,
FlightYoke,
TrackControl,
Reserved26_AF(u16),
Aileron = 176,
AileronTrim,
AntiTorqueControl,
AutopilotEnable,
ChaffRelease,
CollectiveControl,
DiveBrake,
ElectronicCountermeasures,
Elevator,
ElevatorTrim,
Rudder,
Throttle,
FlightCommunications,
FlareRelease,
LandingGear,
ToeBrake,
Trigger,
WeaponsArm,
WeaponsSelect,
WingFlaps,
Accelerator,
Brake,
Clutch,
Shifter,
Steering,
TurretDirection,
BarrelElevation,
DivePlane,
Ballast,
BicycleCrank,
HandleBars,
FrontBrake,
RearBrake,
ReservedD1_FFFF(u16),
}Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Undefined
FlightSimulationDevice
AutomobileSimulationDevice
TankSimulationDevice
SpaceshipSimulationDevice
SubmarineSimulationDevice
SailingSimulationDevice
MotorcycleSimulationDevice
SportsSimulationDevice
AirplaneSimulationDevice
HelicopterSimulationDevice
MagicCarpetSimulationDevice
BicycleSimulationDevice
Reserved0D_1F(u16)
FlightControlStick = 32
FlightStick
CyclicControl
CyclicTrim
FlightYoke
TrackControl
Reserved26_AF(u16)
Aileron = 176
AileronTrim
AntiTorqueControl
AutopilotEnable
ChaffRelease
CollectiveControl
DiveBrake
ElectronicCountermeasures
Elevator
ElevatorTrim
Rudder
Throttle
FlightCommunications
FlareRelease
LandingGear
ToeBrake
Trigger
WeaponsArm
WeaponsSelect
WingFlaps
Accelerator
Brake
Clutch
Shifter
Steering
TurretDirection
BarrelElevation
DivePlane
Ballast
BicycleCrank
HandleBars
FrontBrake
RearBrake
ReservedD1_FFFF(u16)
Trait Implementations§
Source§impl Clone for SimulationControlsUsage
impl Clone for SimulationControlsUsage
Source§fn clone(&self) -> SimulationControlsUsage
fn clone(&self) -> SimulationControlsUsage
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for SimulationControlsUsage
Source§impl Debug for SimulationControlsUsage
impl Debug for SimulationControlsUsage
Source§impl Default for SimulationControlsUsage
impl Default for SimulationControlsUsage
Source§fn default() -> SimulationControlsUsage
fn default() -> SimulationControlsUsage
Returns the “default value” for a type. Read more
impl Eq for SimulationControlsUsage
Source§impl<T> From<T> for SimulationControlsUsage
impl<T> From<T> for SimulationControlsUsage
Source§impl Hash for SimulationControlsUsage
impl Hash for SimulationControlsUsage
Source§impl Ord for SimulationControlsUsage
impl Ord for SimulationControlsUsage
Source§fn cmp(&self, other: &SimulationControlsUsage) -> Ordering
fn cmp(&self, other: &SimulationControlsUsage) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for SimulationControlsUsage
impl PartialEq for SimulationControlsUsage
Source§fn eq(&self, other: &SimulationControlsUsage) -> bool
fn eq(&self, other: &SimulationControlsUsage) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for SimulationControlsUsage
impl PartialOrd for SimulationControlsUsage
impl StructuralPartialEq for SimulationControlsUsage
Auto Trait Implementations§
impl Freeze for SimulationControlsUsage
impl RefUnwindSafe for SimulationControlsUsage
impl Send for SimulationControlsUsage
impl Sync for SimulationControlsUsage
impl Unpin for SimulationControlsUsage
impl UnsafeUnpin for SimulationControlsUsage
impl UnwindSafe for SimulationControlsUsage
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