pub struct Class {Show 15 fields
pub primary_attribute_1: Attribute,
pub primary_attribute_2: Attribute,
pub specialization: Specialization,
pub minor_skill_1: Skill,
pub major_skill_1: Skill,
pub minor_skill_2: Skill,
pub major_skill_2: Skill,
pub minor_skill_3: Skill,
pub major_skill_3: Skill,
pub minor_skill_4: Skill,
pub major_skill_4: Skill,
pub minor_skill_5: Skill,
pub major_skill_5: Skill,
pub playable: bool,
pub auto_calc_services: Services,
}
Fields§
§primary_attribute_1: Attribute
§primary_attribute_2: Attribute
§specialization: Specialization
§minor_skill_1: Skill
§major_skill_1: Skill
§minor_skill_2: Skill
§major_skill_2: Skill
§minor_skill_3: Skill
§major_skill_3: Skill
§minor_skill_4: Skill
§major_skill_4: Skill
§minor_skill_5: Skill
§major_skill_5: Skill
§playable: bool
§auto_calc_services: Services
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Class
impl<'de> Deserialize<'de> for Class
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 Eq for Class
impl StructuralPartialEq for Class
Auto Trait Implementations§
impl Freeze for Class
impl RefUnwindSafe for Class
impl Send for Class
impl Sync for Class
impl Unpin for Class
impl UnwindSafe for Class
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