#[repr(u32)]pub enum ArmorType {
Helmet = 0,
Cuirass = 1,
LeftPauldron = 2,
RightPauldron = 3,
Greaves = 4,
Boots = 5,
LeftGauntlet = 6,
RightGauntlet = 7,
Shield = 8,
LeftBracer = 9,
RightBracer = 10,
}
Variants§
Helmet = 0
Cuirass = 1
LeftPauldron = 2
RightPauldron = 3
Greaves = 4
Boots = 5
LeftGauntlet = 6
RightGauntlet = 7
Shield = 8
LeftBracer = 9
RightBracer = 10
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for ArmorType
impl<'de> Deserialize<'de> for ArmorType
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 Ord for ArmorType
impl Ord for ArmorType
source§impl PartialEq for ArmorType
impl PartialEq for ArmorType
source§impl PartialOrd for ArmorType
impl PartialOrd for ArmorType
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 Display for ArmorType
impl Display for ArmorType
source§fn fmt(&self, f: &mut std_fmt_Formatter<'_>) -> std_fmt_Result
fn fmt(&self, f: &mut std_fmt_Formatter<'_>) -> std_fmt_Result
Formats the value using the given formatter. Read more
impl Copy for ArmorType
impl Eq for ArmorType
impl StructuralEq for ArmorType
impl StructuralPartialEq for ArmorType
Auto Trait Implementations§
impl RefUnwindSafe for ArmorType
impl Send for ArmorType
impl Sync for ArmorType
impl Unpin for ArmorType
impl UnwindSafe for ArmorType
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