pub enum ArmorGrade {
LightweightAlloy,
ReinforcedAlloy,
MilitaryGradeComposite,
MirroredSurfaceComposite,
ReactiveSurfaceComposite,
Unknown(u8),
UnknownString(String),
}
Variants§
LightweightAlloy
ReinforcedAlloy
MilitaryGradeComposite
MirroredSurfaceComposite
ReactiveSurfaceComposite
Unknown(u8)
Available on crate feature
allow-unknown
only.UnknownString(String)
Available on crate feature
allow-unknown
only.Trait Implementations§
Source§impl Clone for ArmorGrade
impl Clone for ArmorGrade
Source§fn clone(&self) -> ArmorGrade
fn clone(&self) -> ArmorGrade
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 ArmorGrade
impl Debug for ArmorGrade
Source§impl Display for ArmorGrade
impl Display for ArmorGrade
Source§impl From<&ArmorGrade> for ModuleClass
impl From<&ArmorGrade> for ModuleClass
Source§fn from(value: &ArmorGrade) -> Self
fn from(value: &ArmorGrade) -> Self
Converts to this type from the input type.
Source§impl From<ArmorGrade> for ModuleClass
impl From<ArmorGrade> for ModuleClass
Source§fn from(value: ArmorGrade) -> Self
fn from(value: ArmorGrade) -> Self
Converts to this type from the input type.
Source§impl FromStr for ArmorGrade
impl FromStr for ArmorGrade
Source§impl PartialEq for ArmorGrade
impl PartialEq for ArmorGrade
Source§impl Serialize for ArmorGrade
impl Serialize for ArmorGrade
Source§impl TryFrom<u8> for ArmorGrade
impl TryFrom<u8> for ArmorGrade
impl StructuralPartialEq for ArmorGrade
Auto Trait Implementations§
impl Freeze for ArmorGrade
impl RefUnwindSafe for ArmorGrade
impl Send for ArmorGrade
impl Sync for ArmorGrade
impl Unpin for ArmorGrade
impl UnwindSafe for ArmorGrade
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