#[repr(u32)]pub enum SquadMarker {
Arrow = 0,
Circle = 1,
Heart = 2,
Square = 3,
Star = 4,
Swirl = 5,
Triangle = 6,
X = 7,
Unknown(u32),
}
Expand description
Squad marker.
Variants§
Trait Implementations§
Source§impl Clone for SquadMarker
impl Clone for SquadMarker
Source§fn clone(&self) -> SquadMarker
fn clone(&self) -> SquadMarker
Returns a copy 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 SquadMarker
impl Debug for SquadMarker
Source§impl<'de> Deserialize<'de> for SquadMarker
impl<'de> Deserialize<'de> for SquadMarker
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<SquadMarker, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<SquadMarker, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for SquadMarker
impl Display for SquadMarker
Source§impl<'_derivative_strum> From<&'_derivative_strum SquadMarker> for &'static str
impl<'_derivative_strum> From<&'_derivative_strum SquadMarker> for &'static str
Source§fn from(x: &'_derivative_strum SquadMarker) -> &'static str
fn from(x: &'_derivative_strum SquadMarker) -> &'static str
Converts to this type from the input type.
Source§impl From<SquadMarker> for &'static str
impl From<SquadMarker> for &'static str
Source§fn from(x: SquadMarker) -> &'static str
fn from(x: SquadMarker) -> &'static str
Converts to this type from the input type.
Source§impl From<u32> for SquadMarker
impl From<u32> for SquadMarker
Source§fn from(number: u32) -> SquadMarker
fn from(number: u32) -> SquadMarker
Converts to this type from the input type.
Source§impl FromPrimitive for SquadMarker
impl FromPrimitive for SquadMarker
type Primitive = u32
fn from_primitive( number: <SquadMarker as FromPrimitive>::Primitive, ) -> SquadMarker
Source§impl Hash for SquadMarker
impl Hash for SquadMarker
Source§impl IntoEnumIterator for SquadMarker
impl IntoEnumIterator for SquadMarker
type Iterator = SquadMarkerIter
fn iter() -> SquadMarkerIter ⓘ
Source§impl Ord for SquadMarker
impl Ord for SquadMarker
Source§fn cmp(&self, other: &SquadMarker) -> Ordering
fn cmp(&self, other: &SquadMarker) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for SquadMarker
impl PartialEq for SquadMarker
Source§impl PartialOrd for SquadMarker
impl PartialOrd for SquadMarker
Source§impl Serialize for SquadMarker
impl Serialize for SquadMarker
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Source§impl VariantNames for SquadMarker
impl VariantNames for SquadMarker
impl Copy for SquadMarker
impl Eq for SquadMarker
impl StructuralPartialEq for SquadMarker
Auto Trait Implementations§
impl Freeze for SquadMarker
impl RefUnwindSafe for SquadMarker
impl Send for SquadMarker
impl Sync for SquadMarker
impl Unpin for SquadMarker
impl UnwindSafe for SquadMarker
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