Struct glicko2::Glicko2Rating
[−]
[src]
pub struct Glicko2Rating { pub value: f64, pub deviation: f64, pub volatility: f64, }
Represents the rating of a player or team on the Glicko2 scale.
Fields
value: f64
deviation: f64
volatility: f64
Methods
impl Glicko2Rating
[src]
fn unrated() -> Glicko2Rating
[src]
Constructs a Glicko2Rating
using the defaults for a new (unrated) player or team.
Trait Implementations
impl Clone for Glicko2Rating
[src]
fn clone(&self) -> Glicko2Rating
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Copy for Glicko2Rating
[src]
impl Debug for Glicko2Rating
[src]
impl From<GlickoRating> for Glicko2Rating
[src]
fn from(rating: GlickoRating) -> Glicko2Rating
[src]
Performs the conversion.
impl Default for Glicko2Rating
[src]
fn default() -> Glicko2Rating
[src]
Returns the "default value" for a type. Read more