Struct glicko2::GlickoRating
[−]
[src]
pub struct GlickoRating { pub value: f64, pub deviation: f64, }
Represents the rating of a player or team on the Glicko (not Glicko2) scale.
Glicko2 rating numbers tend to be less friendly for humans, so it's common to convert ratings to the Glicko scale before display.
Fields
value: f64
deviation: f64
Methods
impl GlickoRating
[src]
fn unrated() -> GlickoRating
[src]
Constructs a GlickoRating
using the defaults for a new (unrated) player or team.
Trait Implementations
impl Clone for GlickoRating
[src]
fn clone(&self) -> GlickoRating
[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 GlickoRating
[src]
impl Debug for GlickoRating
[src]
impl From<Glicko2Rating> for GlickoRating
[src]
fn from(rating: Glicko2Rating) -> GlickoRating
[src]
Performs the conversion.
impl Default for GlickoRating
[src]
fn default() -> GlickoRating
[src]
Returns the "default value" for a type. Read more