pub enum Discipline {
Armorsmith,
Artificer,
Chef,
Huntsman,
Jeweler,
Leatherworker,
Scribe,
Tailor,
Weaponsmith,
Homesteader,
}Variants§
Trait Implementations§
Source§impl Clone for Discipline
impl Clone for Discipline
Source§fn clone(&self) -> Discipline
fn clone(&self) -> Discipline
Returns a duplicate 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 Discipline
impl Debug for Discipline
Source§impl<'de> Deserialize<'de> for Discipline
impl<'de> Deserialize<'de> for Discipline
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 Discipline
impl Ord for Discipline
Source§fn cmp(&self, other: &Discipline) -> Ordering
fn cmp(&self, other: &Discipline) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for Discipline
impl PartialEq for Discipline
Source§impl PartialOrd for Discipline
impl PartialOrd for Discipline
Source§impl Serialize for Discipline
impl Serialize for Discipline
impl Eq for Discipline
impl StructuralPartialEq for Discipline
Auto Trait Implementations§
impl Freeze for Discipline
impl RefUnwindSafe for Discipline
impl Send for Discipline
impl Sync for Discipline
impl Unpin for Discipline
impl UnwindSafe for Discipline
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more