#[non_exhaustive]pub enum FlagUpdateType {
Position,
Carrier,
Unknown(u8),
}Expand description
Flag update type
Used to indicate whether the flag is now being carried by a player or whether the update sets the position of the flag directly.
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 Clone for FlagUpdateType
impl Clone for FlagUpdateType
Source§fn clone(&self) -> FlagUpdateType
fn clone(&self) -> FlagUpdateType
Returns a duplicate 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 FlagUpdateType
impl Debug for FlagUpdateType
Source§impl<'de> DeserializeV5<'de> for FlagUpdateType
impl<'de> DeserializeV5<'de> for FlagUpdateType
fn deserialize(de: &mut AirmashDeserializerV5<'de>) -> Result<Self, Error>
Source§impl From<FlagUpdateType> for u8
impl From<FlagUpdateType> for u8
Source§fn from(v: FlagUpdateType) -> Self
fn from(v: FlagUpdateType) -> Self
Converts to this type from the input type.
Source§impl From<u8> for FlagUpdateType
impl From<u8> for FlagUpdateType
Source§impl Hash for FlagUpdateType
impl Hash for FlagUpdateType
Source§impl PartialEq for FlagUpdateType
impl PartialEq for FlagUpdateType
Source§impl SerializeV5 for FlagUpdateType
impl SerializeV5 for FlagUpdateType
impl Copy for FlagUpdateType
impl Eq for FlagUpdateType
impl StructuralPartialEq for FlagUpdateType
Auto Trait Implementations§
impl Freeze for FlagUpdateType
impl RefUnwindSafe for FlagUpdateType
impl Send for FlagUpdateType
impl Sync for FlagUpdateType
impl Unpin for FlagUpdateType
impl UnwindSafe for FlagUpdateType
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