[][src]Struct glicko2::Glicko2Rating

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

The estimated skill of the team or player.

deviation: f64

The uncertainty of the rating value - a standard deviation, in statistical terms.

volatility: f64

The degree of expected fluctuation in a rating - this enhancement differentiates Glicko2 to Glicko.

Methods

impl Glicko2Rating[src]

pub fn unrated() -> Glicko2Rating[src]

Constructs a Glicko2Rating using the defaults for a new (unrated) player or team.

Trait Implementations

impl Clone for Glicko2Rating[src]

impl Copy for Glicko2Rating[src]

impl Debug for Glicko2Rating[src]

impl Default for Glicko2Rating[src]

impl From<Glicko2Rating> for GlickoRating[src]

impl From<GlickoRating> for Glicko2Rating[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.