#[repr(transparent)]pub struct XPLMNavType(pub c_uint);Expand description
NAVIGATION DATABASE ACCESS
Tuple Fields§
§0: c_uintImplementations§
pub const Unknown: XPLMNavType
pub const Airport: XPLMNavType
pub const NDB: XPLMNavType
pub const VOR: XPLMNavType
pub const ILS: XPLMNavType
pub const Localizer: XPLMNavType
pub const GlideSlope: XPLMNavType
pub const OuterMarker: XPLMNavType
pub const MiddleMarker: XPLMNavType
pub const InnerMarker: XPLMNavType
pub const Fix: XPLMNavType
pub const DME: XPLMNavType
pub const LatLon: XPLMNavType
pub fn airport(&self) -> bool
pub fn ndb(&self) -> bool
pub fn vor(&self) -> bool
pub fn ils(&self) -> bool
pub fn localizer(&self) -> bool
pub fn glideslope(&self) -> bool
pub fn outer_marker(&self) -> bool
pub fn middle_marker(&self) -> bool
pub fn inner_marker(&self) -> bool
pub fn fix(&self) -> bool
pub fn dme(&self) -> bool
pub fn lat_lon(&self) -> bool
pub fn unrecognized(&self) -> c_uint
Trait Implementations§
Source§fn bitand_assign(&mut self, rhs: XPLMNavType)
fn bitand_assign(&mut self, rhs: XPLMNavType)
Performs the
&= operation. Read moreSource§fn bitor_assign(&mut self, rhs: XPLMNavType)
fn bitor_assign(&mut self, rhs: XPLMNavType)
Performs the
|= operation. Read moreSource§fn set_bit_range(&mut self, msb: usize, lsb: usize, value: T)
fn set_bit_range(&mut self, msb: usize, lsb: usize, value: T)
Set a range of bits.
Source§fn clone(&self) -> XPLMNavType
fn clone(&self) -> XPLMNavType
Returns a duplicate 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 moreAuto Trait Implementations§
Blanket Implementations§
Source§impl<T> BitMut for Twhere
T: BitRangeMut<u8>,
impl<T> BitMut for Twhere
T: BitRangeMut<u8>,
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