#[repr(u32)]pub enum School {
Alteration = 0,
Conjuration = 1,
Illusion = 2,
Destruction = 3,
Mysticism = 4,
Restoration = 5,
}
Variants§
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for School
impl<'de> Deserialize<'de> for School
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 School
impl Ord for School
source§impl PartialEq for School
impl PartialEq for School
source§impl PartialOrd for School
impl PartialOrd for School
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 School
impl Display for School
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 School
impl Eq for School
impl StructuralEq for School
impl StructuralPartialEq for School
Auto Trait Implementations§
impl RefUnwindSafe for School
impl Send for School
impl Sync for School
impl Unpin for School
impl UnwindSafe for School
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