#[non_exhaustive]#[repr(u8)]pub enum GameModIntermode {
Show 68 variants
AccuracyChallenge,
AdaptiveSpeed,
Alternate,
ApproachDifferent,
Autopilot,
Autoplay,
BarrelRoll,
Blinds,
Bloom,
Bubbles,
Cinema,
Classic,
ConstantSpeed,
Cover,
Daycore,
Deflate,
Depth,
DifficultyAdjust,
DoubleTime,
DualStages,
Easy,
EightKeys,
FadeIn,
FiveKeys,
Flashlight,
FloatingFruits,
FourKeys,
FreezeFrame,
Grow,
HalfTime,
HardRock,
Hidden,
HoldOff,
Invert,
Magnetised,
Mirror,
Muted,
Nightcore,
NineKeys,
NoFail,
NoRelease,
NoScope,
OneKey,
Perfect,
Random,
Relax,
Repel,
ScoreV2,
SevenKeys,
SingleTap,
SixKeys,
SpinIn,
SpunOut,
StrictTracking,
SuddenDeath,
Swap,
Synesthesia,
TargetPractice,
TenKeys,
ThreeKeys,
TouchDevice,
Traceable,
Transform,
TwoKeys,
Wiggle,
WindDown,
WindUp,
Unknown(UnknownMod),
}
Expand description
A single game mod when the mode is ignored
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
AccuracyChallenge
AdaptiveSpeed
Alternate
ApproachDifferent
Autopilot
Autoplay
BarrelRoll
Blinds
Bloom
Bubbles
Cinema
Classic
ConstantSpeed
Cover
Daycore
Deflate
Depth
DifficultyAdjust
DoubleTime
DualStages
Easy
EightKeys
FadeIn
FiveKeys
Flashlight
FloatingFruits
FourKeys
FreezeFrame
Grow
HalfTime
HardRock
Hidden
HoldOff
Invert
Magnetised
Mirror
Muted
Nightcore
NineKeys
NoFail
NoRelease
NoScope
OneKey
Perfect
Random
Relax
Repel
ScoreV2
SevenKeys
SingleTap
SixKeys
SpinIn
SpunOut
StrictTracking
SuddenDeath
Swap
Synesthesia
TargetPractice
TenKeys
ThreeKeys
TouchDevice
Traceable
Transform
TwoKeys
Wiggle
WindDown
WindUp
Unknown(UnknownMod)
Implementations§
Source§impl GameModIntermode
impl GameModIntermode
Sourcepub const fn acronym(&self) -> Acronym
pub const fn acronym(&self) -> Acronym
The Acronym
of this GameModIntermode
Sourcepub const fn bits(self) -> Option<u32>
pub const fn bits(self) -> Option<u32>
Bit value of the GameModIntermode
Sourcepub const fn kind(&self) -> GameModKind
pub const fn kind(&self) -> GameModKind
The GameModKind
of this GameModIntermode
Sourcepub fn from_acronym(acronym: Acronym) -> Self
pub fn from_acronym(acronym: Acronym) -> Self
Parse an Acronym
into a GameModIntermode
Sourcepub const fn try_from_bits(bits: u32) -> Option<Self>
pub const fn try_from_bits(bits: u32) -> Option<Self>
Try to convert bitvalues into a GameModIntermode
Trait Implementations§
Source§impl Archive for GameModIntermodewhere
UnknownMod: Archive,
impl Archive for GameModIntermodewhere
UnknownMod: Archive,
Source§type Archived = GameModIntermode
type Archived = GameModIntermode
The archived representation of this type. Read more
Source§type Resolver = GameModIntermodeResolver
type Resolver = GameModIntermodeResolver
The resolver for this type. It must contain all the additional
information from serializing needed to make the archived type from
the normal type.
Source§fn resolve(&self, resolver: Self::Resolver, out: Place<Self::Archived>)
fn resolve(&self, resolver: Self::Resolver, out: Place<Self::Archived>)
Creates the archived version of this value at the given position and
writes it to the given output. Read more
Source§const COPY_OPTIMIZATION: CopyOptimization<Self> = _
const COPY_OPTIMIZATION: CopyOptimization<Self> = _
An optimization flag that allows the bytes of this type to be copied
directly to a writer instead of calling
serialize
. Read moreSource§impl BitOr<GameModIntermode> for GameModsIntermode
impl BitOr<GameModIntermode> for GameModsIntermode
Source§fn bitor(self, rhs: GameModIntermode) -> Self::Output
fn bitor(self, rhs: GameModIntermode) -> Self::Output
Adds a GameModIntermode
to the GameModsIntermode
.
Source§type Output = GameModsIntermode
type Output = GameModsIntermode
The resulting type after applying the
|
operator.Source§impl BitOrAssign<GameModIntermode> for GameModsIntermode
impl BitOrAssign<GameModIntermode> for GameModsIntermode
Source§fn bitor_assign(&mut self, rhs: GameModIntermode)
fn bitor_assign(&mut self, rhs: GameModIntermode)
Adds a GameModIntermode
to the GameModsIntermode
.
Source§impl<__C: Fallible + ?Sized> CheckBytes<__C> for GameModIntermode
impl<__C: Fallible + ?Sized> CheckBytes<__C> for GameModIntermode
Source§impl Clone for GameModIntermode
impl Clone for GameModIntermode
Source§fn clone(&self) -> GameModIntermode
fn clone(&self) -> GameModIntermode
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for GameModIntermode
impl Debug for GameModIntermode
Source§impl<'de> Deserialize<'de> for GameModIntermode
Available on crate feature serde
only.
impl<'de> Deserialize<'de> for GameModIntermode
Available on crate feature
serde
only.Source§fn deserialize<D: Deserializer<'de>>(d: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(d: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
Source§impl<__D: Fallible + ?Sized> Deserialize<GameModIntermode, __D> for Archived<GameModIntermode>
impl<__D: Fallible + ?Sized> Deserialize<GameModIntermode, __D> for Archived<GameModIntermode>
Source§fn deserialize(
&self,
deserializer: &mut __D,
) -> Result<GameModIntermode, <__D as Fallible>::Error>
fn deserialize( &self, deserializer: &mut __D, ) -> Result<GameModIntermode, <__D as Fallible>::Error>
Deserializes using the given deserializer
Source§impl Display for GameModIntermode
impl Display for GameModIntermode
Source§impl From<&GameModIntermode> for GameModIntermode
impl From<&GameModIntermode> for GameModIntermode
Source§fn from(gamemod: &GameModIntermode) -> Self
fn from(gamemod: &GameModIntermode) -> Self
Converts to this type from the input type.
Source§impl From<GameMod> for GameModIntermode
impl From<GameMod> for GameModIntermode
Source§impl From<GameModIntermode> for GameModsIntermode
impl From<GameModIntermode> for GameModsIntermode
Source§fn from(gamemod: GameModIntermode) -> Self
fn from(gamemod: GameModIntermode) -> Self
Converts to this type from the input type.
Source§impl Hash for GameModIntermode
impl Hash for GameModIntermode
Source§impl Ord for GameModIntermode
impl Ord for GameModIntermode
Source§impl PartialEq for GameModIntermode
impl PartialEq for GameModIntermode
Source§impl PartialOrd for GameModIntermode
impl PartialOrd for GameModIntermode
Source§impl<__S: Fallible + ?Sized> Serialize<__S> for GameModIntermodewhere
UnknownMod: Serialize<__S>,
impl<__S: Fallible + ?Sized> Serialize<__S> for GameModIntermodewhere
UnknownMod: Serialize<__S>,
Source§impl Serialize for GameModIntermode
Available on crate feature serde
only.
impl Serialize for GameModIntermode
Available on crate feature
serde
only.Source§impl Sub<GameModIntermode> for GameModsIntermode
impl Sub<GameModIntermode> for GameModsIntermode
Source§fn sub(self, rhs: GameModIntermode) -> Self::Output
fn sub(self, rhs: GameModIntermode) -> Self::Output
Removes a GameModIntermode
from the GameModsIntermode
Source§type Output = GameModsIntermode
type Output = GameModsIntermode
The resulting type after applying the
-
operator.Source§impl SubAssign<GameModIntermode> for GameModsIntermode
impl SubAssign<GameModIntermode> for GameModsIntermode
Source§fn sub_assign(&mut self, rhs: GameModIntermode)
fn sub_assign(&mut self, rhs: GameModIntermode)
Removes a GameModIntermode
from the GameModsIntermode
impl Copy for GameModIntermode
impl Eq for GameModIntermode
impl Portable for GameModIntermodewhere
UnknownMod: Portable,
impl StructuralPartialEq for GameModIntermode
Auto Trait Implementations§
impl Freeze for GameModIntermode
impl RefUnwindSafe for GameModIntermode
impl Send for GameModIntermode
impl Sync for GameModIntermode
impl Unpin for GameModIntermode
impl UnwindSafe for GameModIntermode
Blanket Implementations§
Source§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
Source§type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
Source§fn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata,
) -> <T as Pointee>::Metadata
fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata
Converts some archived metadata to the pointer metadata for itself.
Source§impl<T> ArchiveUnsized for Twhere
T: Archive,
impl<T> ArchiveUnsized for Twhere
T: Archive,
Source§type Archived = <T as Archive>::Archived
type Archived = <T as Archive>::Archived
The archived counterpart of this type. Unlike
Archive
, it may be
unsized. Read moreSource§fn archived_metadata(
&self,
) -> <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata
fn archived_metadata( &self, ) -> <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata
Creates the archived version of the metadata for this value.
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> LayoutRaw for T
impl<T> LayoutRaw for T
Source§fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
Returns the layout of the type.
Source§impl<T, N1, N2> Niching<NichedOption<T, N1>> for N2
impl<T, N1, N2> Niching<NichedOption<T, N1>> for N2
Source§unsafe fn is_niched(niched: *const NichedOption<T, N1>) -> bool
unsafe fn is_niched(niched: *const NichedOption<T, N1>) -> bool
Returns whether the given value has been niched. Read more
Source§fn resolve_niched(out: Place<NichedOption<T, N1>>)
fn resolve_niched(out: Place<NichedOption<T, N1>>)
Writes data to
out
indicating that a T
is niched.