Enum airmash_protocol::PlaneType
source · [−]#[non_exhaustive]
pub enum PlaneType {
Predator,
Goliath,
Mohawk,
Tornado,
Prowler,
Unknown(u8),
}
Expand description
Used to indicate the type of plane that the packet refers to.
Used in:
- TODO
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.
Predator
Goliath
Mohawk
Tornado
Prowler
Unknown(u8)
Trait Implementations
sourceimpl<'de> DeserializeV5<'de> for PlaneType
impl<'de> DeserializeV5<'de> for PlaneType
fn deserialize(de: &mut AirmashDeserializerV5<'de>) -> Result<Self, Error>
sourceimpl SerializeV5 for PlaneType
impl SerializeV5 for PlaneType
impl Copy for PlaneType
impl Eq for PlaneType
impl StructuralEq for PlaneType
impl StructuralPartialEq for PlaneType
Auto Trait Implementations
impl RefUnwindSafe for PlaneType
impl Send for PlaneType
impl Sync for PlaneType
impl Unpin for PlaneType
impl UnwindSafe for PlaneType
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more