pub struct SkillLevel {
pub level: i32,
pub total_exp_required: f64,
pub unlocks: Vec<String>,
}Expand description
One tier within a Skill’s level table.
Fields§
§level: i32§total_exp_required: f64§unlocks: Vec<String>Trait Implementations§
Source§impl Clone for SkillLevel
impl Clone for SkillLevel
Source§fn clone(&self) -> SkillLevel
fn clone(&self) -> SkillLevel
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SkillLevel
impl Debug for SkillLevel
Source§impl<'de> Deserialize<'de> for SkillLevel
impl<'de> Deserialize<'de> for SkillLevel
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
Auto Trait Implementations§
impl Freeze for SkillLevel
impl RefUnwindSafe for SkillLevel
impl Send for SkillLevel
impl Sync for SkillLevel
impl Unpin for SkillLevel
impl UnsafeUnpin for SkillLevel
impl UnwindSafe for SkillLevel
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