Enum evtc::marker::SquadMarker
source · #[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<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl From<SquadMarker> for u32
impl From<SquadMarker> for u32
source§fn from(enum_value: SquadMarker) -> Self
fn from(enum_value: SquadMarker) -> Self
Converts to this type from the input type.
source§impl From<u32> for SquadMarker
impl From<u32> for SquadMarker
source§impl FromPrimitive for SquadMarker
impl FromPrimitive for SquadMarker
source§impl Hash for SquadMarker
impl Hash for SquadMarker
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§fn eq(&self, other: &SquadMarker) -> bool
fn eq(&self, other: &SquadMarker) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for SquadMarker
impl PartialOrd for SquadMarker
source§fn partial_cmp(&self, other: &SquadMarker) -> Option<Ordering>
fn partial_cmp(&self, other: &SquadMarker) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl Serialize for SquadMarker
impl Serialize 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