TotalXp

Trait TotalXp 

Source
pub trait TotalXp: AchievementStatistic {
    // Required method
    fn total_xp(&self) -> u32;

    // Provided methods
    fn name(&self) -> &str { ... }
    fn description(&self) -> &str { ... }
    fn value(&self) -> f64 { ... }
}

Required Methods§

Source

fn total_xp(&self) -> u32

Provided Methods§

Source

fn name(&self) -> &str

Source

fn description(&self) -> &str

Source

fn value(&self) -> f64

Implementors§