ChallengeStats

Trait ChallengeStats 

Source
pub trait ChallengeStats {
    // Required methods
    fn challenges(&self) -> usize;
    fn completed_challenges(&self) -> usize;
    fn stars(&self) -> u32;
    fn performance(&self) -> u32;
    fn solved(&self) -> bool;
}

Required Methods§

Source

fn challenges(&self) -> usize

Source

fn completed_challenges(&self) -> usize

Source

fn stars(&self) -> u32

Source

fn performance(&self) -> u32

Source

fn solved(&self) -> bool

Implementations on Foreign Types§

Source§

impl ChallengeStats for (&ChallengeConfig, &ChallengeHistory)

Implementors§