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