pub struct SkillProgress {
pub level: u16,
pub last_trained_tick: u64,
}Expand description
Trained skill — internal 0–1000; UI uses tiers / display level.
Fields§
§level: u16§last_trained_tick: u64Implementations§
Source§impl SkillProgress
impl SkillProgress
Sourcepub fn display_tier(&self) -> u16
pub fn display_tier(&self) -> u16
Mastery tier 0–10 (plans/11 §10). Tier 0 = untrained; tier 1 begins at internal 100.
Trait Implementations§
Source§impl Clone for SkillProgress
impl Clone for SkillProgress
Source§fn clone(&self) -> SkillProgress
fn clone(&self) -> SkillProgress
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 moreimpl Copy for SkillProgress
Source§impl Debug for SkillProgress
impl Debug for SkillProgress
Source§impl Default for SkillProgress
impl Default for SkillProgress
Source§impl<'de> Deserialize<'de> for SkillProgress
impl<'de> Deserialize<'de> for SkillProgress
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 SkillProgress
Source§impl PartialEq for SkillProgress
impl PartialEq for SkillProgress
Source§impl Serialize for SkillProgress
impl Serialize for SkillProgress
impl StructuralPartialEq for SkillProgress
Auto Trait Implementations§
impl Freeze for SkillProgress
impl RefUnwindSafe for SkillProgress
impl Send for SkillProgress
impl Sync for SkillProgress
impl Unpin for SkillProgress
impl UnsafeUnpin for SkillProgress
impl UnwindSafe for SkillProgress
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