pub enum ModuleClass {
A,
B,
C,
D,
E,
F,
G,
H,
I,
Unknown,
}
Expand description
The class of a module. Not all classes are available for every module.
Variants§
Trait Implementations§
Source§impl Clone for ModuleClass
impl Clone for ModuleClass
Source§fn clone(&self) -> ModuleClass
fn clone(&self) -> ModuleClass
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 ModuleClass
impl Debug for ModuleClass
Source§impl Display for ModuleClass
impl Display for ModuleClass
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<&ArmorModule> for ModuleClass
impl From<&ArmorModule> for ModuleClass
Source§fn from(value: &ArmorModule) -> Self
fn from(value: &ArmorModule) -> 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 From<ArmorModule> for ModuleClass
impl From<ArmorModule> for ModuleClass
Source§fn from(value: ArmorModule) -> Self
fn from(value: ArmorModule) -> Self
Converts to this type from the input type.
Source§impl FromStr for ModuleClass
impl FromStr for ModuleClass
Source§impl PartialEq for ModuleClass
impl PartialEq for ModuleClass
Source§impl Serialize for ModuleClass
impl Serialize for ModuleClass
Source§impl TryFrom<u8> for ModuleClass
impl TryFrom<u8> for ModuleClass
impl StructuralPartialEq for ModuleClass
Auto Trait Implementations§
impl Freeze for ModuleClass
impl RefUnwindSafe for ModuleClass
impl Send for ModuleClass
impl Sync for ModuleClass
impl Unpin for ModuleClass
impl UnwindSafe for ModuleClass
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