#[non_exhaustive]pub enum DeviceID {
GNS430(TwoSideDevice),
GNS530(TwoSideDevice),
CDU739(TwoSideDevice),
G1000Pfd(TwoSideDevice),
G1000Mfd,
CDU815(TwoSideDevice),
PrimusPfd(TwoSideDevice),
PrimusMfd(ThreeSideDevice),
PrimusRmu(TwoSideDevice),
}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.
GNS430(TwoSideDevice)
GNS530(TwoSideDevice)
CDU739(TwoSideDevice)
G1000Pfd(TwoSideDevice)
G1000Mfd
CDU815(TwoSideDevice)
PrimusPfd(TwoSideDevice)
PrimusMfd(ThreeSideDevice)
PrimusRmu(TwoSideDevice)
Trait Implementations§
Source§impl From<DeviceID> for XPLMDeviceID
impl From<DeviceID> for XPLMDeviceID
Source§impl TryFrom<XPLMDeviceID> for DeviceID
impl TryFrom<XPLMDeviceID> for DeviceID
Source§type Error = DeviceUnmatchedError
type Error = DeviceUnmatchedError
The type returned in the event of a conversion error.
Auto Trait Implementations§
impl Freeze for DeviceID
impl RefUnwindSafe for DeviceID
impl Send for DeviceID
impl Sync for DeviceID
impl Unpin for DeviceID
impl UnsafeUnpin for DeviceID
impl UnwindSafe for DeviceID
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