Enum airmash_protocol::PlaneType [−][src]
pub enum PlaneType {
Predator,
Goliath,
Mohawk,
Tornado,
Prowler,
}Used to indicate the type of plane that the packet refers to.
Used in:
- TODO
Variants
PredatorGoliathMohawkTornadoProwler
Trait Implementations
impl Copy for PlaneType[src]
impl Copy for PlaneTypeimpl Clone for PlaneType[src]
impl Clone for PlaneTypefn clone(&self) -> PlaneType[src]
fn clone(&self) -> PlaneTypeReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)Performs copy-assignment from source. Read more
impl Debug for PlaneType[src]
impl Debug for PlaneTypefn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Hash for PlaneType[src]
impl Hash for PlaneTypefn hash<__H: Hasher>(&self, state: &mut __H)[src]
fn hash<__H: Hasher>(&self, state: &mut __H)Feeds this value into the given [Hasher]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher, 1.3.0[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher, Feeds a slice of this type into the given [Hasher]. Read more
impl Eq for PlaneType[src]
impl Eq for PlaneTypeimpl PartialEq for PlaneType[src]
impl PartialEq for PlaneTypefn eq(&self, other: &PlaneType) -> bool[src]
fn eq(&self, other: &PlaneType) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Rhs) -> bool1.0.0[src]
fn ne(&self, other: &Rhs) -> boolThis method tests for !=.
impl Component for PlaneType[src]
impl Component for PlaneTypetype Storage = DenseVecStorage<Self>
Associated storage type for this component.
impl TryFrom<u8> for PlaneType[src]
impl TryFrom<u8> for PlaneTypetype Error = EnumValueOutOfRangeError<u8>
try_from)The type returned in the event of a conversion error.
fn try_from(v: u8) -> Result<Self, Self::Error>[src]
fn try_from(v: u8) -> Result<Self, Self::Error>try_from)Performs the conversion.
impl From<PlaneType> for u8[src]
impl From<PlaneType> for u8impl TryFrom<u16> for PlaneType[src]
impl TryFrom<u16> for PlaneTypetype Error = EnumValueOutOfRangeError<u16>
try_from)The type returned in the event of a conversion error.
fn try_from(v: u16) -> Result<Self, Self::Error>[src]
fn try_from(v: u16) -> Result<Self, Self::Error>try_from)Performs the conversion.
impl From<PlaneType> for u16[src]
impl From<PlaneType> for u16impl TryFrom<u32> for PlaneType[src]
impl TryFrom<u32> for PlaneTypetype Error = EnumValueOutOfRangeError<u32>
try_from)The type returned in the event of a conversion error.
fn try_from(v: u32) -> Result<Self, Self::Error>[src]
fn try_from(v: u32) -> Result<Self, Self::Error>try_from)Performs the conversion.
impl From<PlaneType> for u32[src]
impl From<PlaneType> for u32impl TryFrom<i8> for PlaneType[src]
impl TryFrom<i8> for PlaneTypetype Error = EnumValueOutOfRangeError<i8>
try_from)The type returned in the event of a conversion error.
fn try_from(v: i8) -> Result<Self, Self::Error>[src]
fn try_from(v: i8) -> Result<Self, Self::Error>try_from)Performs the conversion.
impl From<PlaneType> for i8[src]
impl From<PlaneType> for i8impl TryFrom<i16> for PlaneType[src]
impl TryFrom<i16> for PlaneTypetype Error = EnumValueOutOfRangeError<i16>
try_from)The type returned in the event of a conversion error.
fn try_from(v: i16) -> Result<Self, Self::Error>[src]
fn try_from(v: i16) -> Result<Self, Self::Error>try_from)Performs the conversion.
impl From<PlaneType> for i16[src]
impl From<PlaneType> for i16impl TryFrom<i32> for PlaneType[src]
impl TryFrom<i32> for PlaneTypetype Error = EnumValueOutOfRangeError<i32>
try_from)The type returned in the event of a conversion error.
fn try_from(v: i32) -> Result<Self, Self::Error>[src]
fn try_from(v: i32) -> Result<Self, Self::Error>try_from)Performs the conversion.
impl From<PlaneType> for i32[src]
impl From<PlaneType> for i32