#[repr(u16)]pub enum BeaconType {
Show 16 variants
Null = 0,
VOR = 1,
DME = 2,
VORDME = 3,
TACAN = 4,
VORTAC = 5,
RSBN = 32,
BroadcastStation = 1_024,
Homer = 8,
AirportHomer = 4_104,
AirportHomerWithMarker = 4_136,
ILSFarHomer = 16_408,
ILSNearHomer = 16_456,
ILSLocalizer = 16_640,
ILSGlideslope = 16_896,
NauticalHomer = 32_776,
}
Variants§
Null = 0
VOR = 1
DME = 2
VORDME = 3
TACAN = 4
VORTAC = 5
RSBN = 32
BroadcastStation = 1_024
Homer = 8
AirportHomer = 4_104
AirportHomerWithMarker = 4_136
ILSFarHomer = 16_408
ILSNearHomer = 16_456
ILSLocalizer = 16_640
ILSGlideslope = 16_896
NauticalHomer = 32_776
Trait Implementations§
Source§impl Clone for BeaconType
impl Clone for BeaconType
Source§fn clone(&self) -> BeaconType
fn clone(&self) -> BeaconType
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 BeaconType
impl Debug for BeaconType
Source§impl<'de> Deserialize<'de> for BeaconType
impl<'de> Deserialize<'de> for BeaconType
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl<'lua> FromLua<'lua> for BeaconType
impl<'lua> FromLua<'lua> for BeaconType
Source§impl Hash for BeaconType
impl Hash for BeaconType
Source§impl<'lua> IntoLua<'lua> for BeaconType
impl<'lua> IntoLua<'lua> for BeaconType
Source§impl Ord for BeaconType
impl Ord for BeaconType
Source§fn cmp(&self, other: &BeaconType) -> Ordering
fn cmp(&self, other: &BeaconType) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for BeaconType
impl PartialEq for BeaconType
Source§impl PartialOrd for BeaconType
impl PartialOrd for BeaconType
Source§impl Serialize for BeaconType
impl Serialize for BeaconType
impl Copy for BeaconType
impl Eq for BeaconType
impl StructuralPartialEq for BeaconType
Auto Trait Implementations§
impl Freeze for BeaconType
impl RefUnwindSafe for BeaconType
impl Send for BeaconType
impl Sync for BeaconType
impl Unpin for BeaconType
impl UnwindSafe for BeaconType
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<'lua, T> FromLuaMulti<'lua> for Twhere
T: FromLua<'lua>,
impl<'lua, T> FromLuaMulti<'lua> for Twhere
T: FromLua<'lua>,
Source§fn from_lua_multi(values: MultiValue<'lua>, lua: &'lua Lua) -> Result<T, Error>
fn from_lua_multi(values: MultiValue<'lua>, lua: &'lua Lua) -> Result<T, Error>
Performs the conversion. Read more
fn from_lua_args( args: MultiValue<'lua>, i: usize, to: Option<&str>, lua: &'lua Lua, ) -> Result<T, Error>
unsafe fn from_stack_multi(nvals: i32, lua: &'lua Lua) -> Result<T, Error>
unsafe fn from_stack_args( nargs: i32, i: usize, to: Option<&str>, lua: &'lua Lua, ) -> Result<T, Error>
Source§impl<'lua, T> IntoLuaMulti<'lua> for Twhere
T: IntoLua<'lua>,
impl<'lua, T> IntoLuaMulti<'lua> for Twhere
T: IntoLua<'lua>,
Source§fn into_lua_multi(self, lua: &'lua Lua) -> Result<MultiValue<'lua>, Error>
fn into_lua_multi(self, lua: &'lua Lua) -> Result<MultiValue<'lua>, Error>
Performs the conversion.
unsafe fn push_into_stack_multi(self, lua: &'lua Lua) -> Result<i32, Error>
Source§impl<T> Serialize for T
impl<T> Serialize for T
fn erased_serialize(&self, serializer: &mut dyn Serializer) -> Result<(), Error>
fn do_erased_serialize( &self, serializer: &mut dyn Serializer, ) -> Result<(), ErrorImpl>
Source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self
from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self
is actually part of its subset T
(and can be converted to it).Source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset
but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self
to the equivalent element of its superset.