pub struct TargetPracticeOsu {
pub seed: Option<f64>,
pub metronome: Option<bool>,
}Expand description
Practice keeping up with the beat of the song.
Fields§
§seed: Option<f64>Use a custom seed instead of a random one
metronome: Option<bool>Whether a metronome beat should play in the background
Implementations§
Source§impl TargetPracticeOsu
impl TargetPracticeOsu
Sourcepub const fn acronym() -> Acronym
pub const fn acronym() -> Acronym
The acronym of TargetPracticeOsu
Sourcepub fn incompatible_mods() -> impl Iterator<Item = Acronym>
pub fn incompatible_mods() -> impl Iterator<Item = Acronym>
Iterator of Acronym for mods that are incompatible with TargetPracticeOsu
Sourcepub const fn description() -> &'static str
pub const fn description() -> &'static str
The description of TargetPracticeOsu
Sourcepub const fn kind() -> GameModKind
pub const fn kind() -> GameModKind
The GameModKind of TargetPracticeOsu
Sourcepub const fn bits() -> u32
pub const fn bits() -> u32
Bit value of TargetPracticeOsu
Trait Implementations§
Source§impl Clone for TargetPracticeOsu
impl Clone for TargetPracticeOsu
Source§fn clone(&self) -> TargetPracticeOsu
fn clone(&self) -> TargetPracticeOsu
Returns a duplicate 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 TargetPracticeOsu
impl Debug for TargetPracticeOsu
Source§impl Default for TargetPracticeOsu
impl Default for TargetPracticeOsu
Source§fn default() -> TargetPracticeOsu
fn default() -> TargetPracticeOsu
Returns the “default value” for a type. Read more
Source§impl PartialEq for TargetPracticeOsu
impl PartialEq for TargetPracticeOsu
Source§impl Serialize for TargetPracticeOsu
impl Serialize for TargetPracticeOsu
Source§fn serialize<S>(
&self,
s: S,
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
fn serialize<S>(
&self,
s: S,
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for TargetPracticeOsu
Auto Trait Implementations§
impl Freeze for TargetPracticeOsu
impl RefUnwindSafe for TargetPracticeOsu
impl Send for TargetPracticeOsu
impl Sync for TargetPracticeOsu
impl Unpin for TargetPracticeOsu
impl UnwindSafe for TargetPracticeOsu
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