Enum xplane_sys::XPLMNavType
source · #[non_exhaustive]#[repr(u32)]pub enum XPLMNavType {
Show 13 variants
Unknown = 0,
Airport = 1,
NDB = 2,
VOR = 4,
ILS = 8,
Localizer = 16,
GlideSlope = 32,
OuterMarker = 64,
MiddleMarker = 128,
InnerMarker = 256,
Fix = 512,
DME = 1_024,
LatLon = 2_048,
}Expand description
NAVIGATION DATABASE ACCESS
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.
Unknown = 0
Airport = 1
NDB = 2
VOR = 4
ILS = 8
Localizer = 16
GlideSlope = 32
OuterMarker = 64
MiddleMarker = 128
InnerMarker = 256
Fix = 512
DME = 1_024
LatLon = 2_048
Trait Implementations§
source§fn clone(&self) -> XPLMNavType
fn clone(&self) -> XPLMNavType
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§fn eq(&self, other: &XPLMNavType) -> bool
fn eq(&self, other: &XPLMNavType) -> bool
This method tests for
self and other values to be equal, and is used
by ==.Auto Trait Implementations§
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