pub struct Rating {
pub fixed: bool,
pub value: f64,
}Expand description
Represents a player’s rating. If fixed, the value is fixed and cannot be changed. If not fixed, the value is a variable and can be changed. The value is the log-performance rating of the player.
Fields§
§fixed: bool§value: f64Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Rating
impl RefUnwindSafe for Rating
impl Send for Rating
impl Sync for Rating
impl Unpin for Rating
impl UnwindSafe for Rating
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more