Struct xplane_sys::XPLMNavType
source · #[repr(transparent)]pub struct XPLMNavType(pub c_uint);
Expand description
NAVIGATION DATABASE ACCESS
Tuple Fields§
§0: c_uint
Implementations§
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 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> 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