pub struct RandomTaiko {
pub seed: Option<f64>,
}Expand description
Shuffle around the colours!
Fields§
§seed: Option<f64>Use a custom seed instead of a random one
Implementations§
Source§impl RandomTaiko
impl RandomTaiko
Sourcepub const fn acronym() -> Acronym
pub const fn acronym() -> Acronym
The acronym of RandomTaiko
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 RandomTaiko
Sourcepub const fn description() -> &'static str
pub const fn description() -> &'static str
The description of RandomTaiko
Sourcepub const fn kind() -> GameModKind
pub const fn kind() -> GameModKind
The GameModKind of RandomTaiko
Sourcepub const fn bits() -> u32
pub const fn bits() -> u32
Bit value of RandomTaiko
Trait Implementations§
Source§impl Clone for RandomTaiko
impl Clone for RandomTaiko
Source§fn clone(&self) -> RandomTaiko
fn clone(&self) -> RandomTaiko
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 RandomTaiko
impl Debug for RandomTaiko
Source§impl Default for RandomTaiko
impl Default for RandomTaiko
Source§fn default() -> RandomTaiko
fn default() -> RandomTaiko
Returns the “default value” for a type. Read more
Source§impl PartialEq for RandomTaiko
impl PartialEq for RandomTaiko
Source§impl Serialize for RandomTaiko
impl Serialize for RandomTaiko
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 RandomTaiko
Auto Trait Implementations§
impl Freeze for RandomTaiko
impl RefUnwindSafe for RandomTaiko
impl Send for RandomTaiko
impl Sync for RandomTaiko
impl Unpin for RandomTaiko
impl UnwindSafe for RandomTaiko
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