Enum rosu_pp::any::DifficultyAttributes
source · pub enum DifficultyAttributes {
Osu(OsuDifficultyAttributes),
Taiko(TaikoDifficultyAttributes),
Catch(CatchDifficultyAttributes),
Mania(ManiaDifficultyAttributes),
}
Expand description
The result of a difficulty calculation based on the mode.
Variants§
Osu(OsuDifficultyAttributes)
osu!standard difficulty calculation result.
Taiko(TaikoDifficultyAttributes)
osu!taiko difficulty calculation result.
Catch(CatchDifficultyAttributes)
osu!catch difficulty calculation result.
Mania(ManiaDifficultyAttributes)
osu!mania difficulty calculation result.
Implementations§
source§impl DifficultyAttributes
impl DifficultyAttributes
sourcepub fn performance<'a>(self) -> Performance<'a>
pub fn performance<'a>(self) -> Performance<'a>
Returns a builder for performance calculation.
Trait Implementations§
source§impl Clone for DifficultyAttributes
impl Clone for DifficultyAttributes
source§fn clone(&self) -> DifficultyAttributes
fn clone(&self) -> DifficultyAttributes
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 DifficultyAttributes
impl Debug for DifficultyAttributes
source§impl From<PerformanceAttributes> for DifficultyAttributes
impl From<PerformanceAttributes> for DifficultyAttributes
source§fn from(attrs: PerformanceAttributes) -> Self
fn from(attrs: PerformanceAttributes) -> Self
Converts to this type from the input type.
source§impl<'a> IntoPerformance<'a> for DifficultyAttributes
impl<'a> IntoPerformance<'a> for DifficultyAttributes
fn into_performance(self) -> Performance<'a>
source§impl PartialEq for DifficultyAttributes
impl PartialEq for DifficultyAttributes
source§fn eq(&self, other: &DifficultyAttributes) -> bool
fn eq(&self, other: &DifficultyAttributes) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DifficultyAttributes
Auto Trait Implementations§
impl Freeze for DifficultyAttributes
impl RefUnwindSafe for DifficultyAttributes
impl Send for DifficultyAttributes
impl Sync for DifficultyAttributes
impl Unpin for DifficultyAttributes
impl UnwindSafe for DifficultyAttributes
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