Enum xplane_sys::XPLMDeviceID
source · #[non_exhaustive]#[repr(u32)]pub enum XPLMDeviceID {
Show 18 variants
device_GNS430_Pilot = 0,
device_GNS430_Copilot = 1,
device_GNS530_Pilot = 2,
device_GNS530_Copilot = 3,
device_CDU739_Pilot = 4,
device_CDU739_Copilot = 5,
device_G1000_PFD_Pilot = 6,
G1000_MFD = 7,
device_G1000_PFD_Copilot = 8,
device_CDU815_Pilot = 9,
device_CDU815_Copilot = 10,
device_Primus_PFD_Pilot = 11,
device_Primus_PFD_Copilot = 12,
device_Primus_MFD_Pilot = 13,
device_Primus_MFD_Copilot = 14,
device_Primus_MFD_Center = 15,
device_Primus_RMU_Pilot = 16,
device_Primus_RMU_Copilot = 17,
}Expand description
AVIONICS API
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.
device_GNS430_Pilot = 0
device_GNS430_Copilot = 1
device_GNS530_Pilot = 2
device_GNS530_Copilot = 3
device_CDU739_Pilot = 4
device_CDU739_Copilot = 5
device_G1000_PFD_Pilot = 6
G1000_MFD = 7
device_G1000_PFD_Copilot = 8
device_CDU815_Pilot = 9
device_CDU815_Copilot = 10
device_Primus_PFD_Pilot = 11
device_Primus_PFD_Copilot = 12
device_Primus_MFD_Pilot = 13
device_Primus_MFD_Copilot = 14
device_Primus_MFD_Center = 15
device_Primus_RMU_Pilot = 16
device_Primus_RMU_Copilot = 17
Trait Implementations§
source§impl Clone for XPLMDeviceID
impl Clone for XPLMDeviceID
source§fn clone(&self) -> XPLMDeviceID
fn clone(&self) -> XPLMDeviceID
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 moresource§impl Debug for XPLMDeviceID
impl Debug for XPLMDeviceID
source§impl Hash for XPLMDeviceID
impl Hash for XPLMDeviceID
source§impl PartialEq for XPLMDeviceID
impl PartialEq for XPLMDeviceID
source§fn eq(&self, other: &XPLMDeviceID) -> bool
fn eq(&self, other: &XPLMDeviceID) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Copy for XPLMDeviceID
impl Eq for XPLMDeviceID
impl StructuralEq for XPLMDeviceID
impl StructuralPartialEq for XPLMDeviceID
Auto Trait Implementations§
impl RefUnwindSafe for XPLMDeviceID
impl Send for XPLMDeviceID
impl Sync for XPLMDeviceID
impl Unpin for XPLMDeviceID
impl UnwindSafe for XPLMDeviceID
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