#[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.
Trait Implementations§
Source§impl<'de> DeserializeV5<'de> for PlaneType
impl<'de> DeserializeV5<'de> for PlaneType
fn deserialize(de: &mut AirmashDeserializerV5<'de>) -> Result<Self, Error>
Source§impl SerializeV5 for PlaneType
impl SerializeV5 for PlaneType
impl Copy for PlaneType
impl Eq for PlaneType
impl StructuralPartialEq for PlaneType
Auto Trait Implementations§
impl Freeze for PlaneType
impl RefUnwindSafe for PlaneType
impl Send for PlaneType
impl Sync for PlaneType
impl Unpin for PlaneType
impl UnwindSafe for PlaneType
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