Enum airmash_protocol::FlagUpdateType [−][src]
pub enum FlagUpdateType {
Position,
Carrier,
}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
Implementors Note: This had a TODO: rev-eng
comment on it but it doesn't seem to be missing
any values.
Variants
PositionCarrier
Trait Implementations
impl Copy for FlagUpdateType[src]
impl Copy for FlagUpdateTypeimpl Clone for FlagUpdateType[src]
impl Clone for FlagUpdateTypefn clone(&self) -> FlagUpdateType[src]
fn clone(&self) -> FlagUpdateTypeReturns 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 FlagUpdateType[src]
impl Debug for FlagUpdateTypefn 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 FlagUpdateType[src]
impl Hash for FlagUpdateTypefn 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 FlagUpdateType[src]
impl Eq for FlagUpdateTypeimpl PartialEq for FlagUpdateType[src]
impl PartialEq for FlagUpdateTypefn eq(&self, other: &FlagUpdateType) -> bool[src]
fn eq(&self, other: &FlagUpdateType) -> 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 FlagUpdateType[src]
impl Component for FlagUpdateTypetype Storage = DenseVecStorage<Self>
Associated storage type for this component.
impl TryFrom<u8> for FlagUpdateType[src]
impl TryFrom<u8> for FlagUpdateTypetype 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<FlagUpdateType> for u8[src]
impl From<FlagUpdateType> for u8fn from(v: FlagUpdateType) -> Self[src]
fn from(v: FlagUpdateType) -> SelfPerforms the conversion.
impl TryFrom<u16> for FlagUpdateType[src]
impl TryFrom<u16> for FlagUpdateTypetype 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<FlagUpdateType> for u16[src]
impl From<FlagUpdateType> for u16fn from(v: FlagUpdateType) -> Self[src]
fn from(v: FlagUpdateType) -> SelfPerforms the conversion.
impl TryFrom<u32> for FlagUpdateType[src]
impl TryFrom<u32> for FlagUpdateTypetype 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<FlagUpdateType> for u32[src]
impl From<FlagUpdateType> for u32fn from(v: FlagUpdateType) -> Self[src]
fn from(v: FlagUpdateType) -> SelfPerforms the conversion.
impl TryFrom<i8> for FlagUpdateType[src]
impl TryFrom<i8> for FlagUpdateTypetype 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<FlagUpdateType> for i8[src]
impl From<FlagUpdateType> for i8fn from(v: FlagUpdateType) -> Self[src]
fn from(v: FlagUpdateType) -> SelfPerforms the conversion.
impl TryFrom<i16> for FlagUpdateType[src]
impl TryFrom<i16> for FlagUpdateTypetype 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<FlagUpdateType> for i16[src]
impl From<FlagUpdateType> for i16fn from(v: FlagUpdateType) -> Self[src]
fn from(v: FlagUpdateType) -> SelfPerforms the conversion.
impl TryFrom<i32> for FlagUpdateType[src]
impl TryFrom<i32> for FlagUpdateTypetype 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<FlagUpdateType> for i32[src]
impl From<FlagUpdateType> for i32fn from(v: FlagUpdateType) -> Self[src]
fn from(v: FlagUpdateType) -> SelfPerforms the conversion.
Auto Trait Implementations
impl Send for FlagUpdateType
impl Send for FlagUpdateTypeimpl Sync for FlagUpdateType
impl Sync for FlagUpdateType