pub struct Ratings {
pub crit: f64,
pub haste: f64,
pub mastery: f64,
pub versatility: f64,
pub leech: f64,
pub avoidance: f64,
pub speed: f64,
}Expand description
Raw secondary and tertiary stat ratings before DR conversion.
Fields§
§crit: f64§haste: f64§mastery: f64§versatility: f64§leech: f64§avoidance: f64§speed: f64Implementations§
Source§impl Ratings
impl Ratings
pub fn get(&self, key: RatingType) -> f64
pub fn set(&mut self, key: RatingType, value: f64)
pub fn add(&mut self, key: RatingType, value: f64)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Ratings
impl RefUnwindSafe for Ratings
impl Send for Ratings
impl Sync for Ratings
impl Unpin for Ratings
impl UnsafeUnpin for Ratings
impl UnwindSafe for Ratings
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more