Struct rosu_pp::taiko::TaikoDifficultyAttributes
source · pub struct TaikoDifficultyAttributes {
pub stamina: f64,
pub rhythm: f64,
pub color: f64,
pub peak: f64,
pub hit_window: f64,
pub stars: f64,
pub max_combo: u32,
pub is_convert: bool,
}
Expand description
The result of a difficulty calculation on an osu!taiko map.
Fields§
§stamina: f64
The difficulty of the stamina skill.
rhythm: f64
The difficulty of the rhythm skill.
color: f64
The difficulty of the color skill.
peak: f64
The difficulty of the hardest parts of the map.
hit_window: f64
The perceived hit window for an n300 inclusive of rate-adjusting mods (DT/HT/etc)
stars: f64
The final star rating.
max_combo: u32
The maximum combo.
is_convert: bool
Whether the Beatmap
was a convert i.e. an osu!standard map.
Implementations§
source§impl TaikoDifficultyAttributes
impl TaikoDifficultyAttributes
sourcepub const fn is_convert(&self) -> bool
pub const fn is_convert(&self) -> bool
Whether the Beatmap
was a convert i.e. an osu!standard map.
sourcepub fn performance<'a>(self) -> TaikoPerformance<'a>
pub fn performance<'a>(self) -> TaikoPerformance<'a>
Returns a builder for performance calculation.
Trait Implementations§
source§impl Clone for TaikoDifficultyAttributes
impl Clone for TaikoDifficultyAttributes
source§fn clone(&self) -> TaikoDifficultyAttributes
fn clone(&self) -> TaikoDifficultyAttributes
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for TaikoDifficultyAttributes
impl Debug for TaikoDifficultyAttributes
source§impl Default for TaikoDifficultyAttributes
impl Default for TaikoDifficultyAttributes
source§fn default() -> TaikoDifficultyAttributes
fn default() -> TaikoDifficultyAttributes
Returns the “default value” for a type. Read more
source§impl From<TaikoPerformanceAttributes> for TaikoDifficultyAttributes
impl From<TaikoPerformanceAttributes> for TaikoDifficultyAttributes
source§fn from(attributes: TaikoPerformanceAttributes) -> Self
fn from(attributes: TaikoPerformanceAttributes) -> Self
Converts to this type from the input type.
source§impl<'map> IntoModePerformance<'map, Taiko> for TaikoDifficultyAttributes
impl<'map> IntoModePerformance<'map, Taiko> for TaikoDifficultyAttributes
fn into_performance(self) -> <Taiko as IGameMode>::Performance<'map>
source§impl<'a> IntoPerformance<'a> for TaikoDifficultyAttributes
impl<'a> IntoPerformance<'a> for TaikoDifficultyAttributes
fn into_performance(self) -> Performance<'a>
source§impl PartialEq for TaikoDifficultyAttributes
impl PartialEq for TaikoDifficultyAttributes
source§fn eq(&self, other: &TaikoDifficultyAttributes) -> bool
fn eq(&self, other: &TaikoDifficultyAttributes) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for TaikoDifficultyAttributes
Auto Trait Implementations§
impl Freeze for TaikoDifficultyAttributes
impl RefUnwindSafe for TaikoDifficultyAttributes
impl Send for TaikoDifficultyAttributes
impl Sync for TaikoDifficultyAttributes
impl Unpin for TaikoDifficultyAttributes
impl UnwindSafe for TaikoDifficultyAttributes
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