pub enum Armor {
Mail,
Scale,
Plate,
Splint,
None,
}
Variants§
Interlocking rings of metal forming a cloth-like armor
Scale
Often metal, small rounded overlapping plates.
Plate
Large metal pieces forming entire parts
Splint
None
Nothing
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Armor
impl<'de> Deserialize<'de> for Armor
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
impl Copy for Armor
impl Eq for Armor
impl StructuralPartialEq for Armor
Auto Trait Implementations§
impl Freeze for Armor
impl RefUnwindSafe for Armor
impl Send for Armor
impl Sync for Armor
impl Unpin for Armor
impl UnwindSafe for Armor
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