#[non_exhaustive]#[repr(u8)]pub enum GameModIntermode {
Show 66 variants
AccuracyChallenge,
AdaptiveSpeed,
Alternate,
ApproachDifferent,
Autopilot,
Autoplay,
BarrelRoll,
Blinds,
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,
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
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
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,
§type Archived = GameModIntermode
type Archived = GameModIntermode
The archived representation of this type. Read more
§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§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.
§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: ?Sized> CheckBytes<__C> for GameModIntermodewhere
UnknownMod: CheckBytes<__C>,
impl<__C: ?Sized> CheckBytes<__C> for GameModIntermodewhere
UnknownMod: CheckBytes<__C>,
§type Error = EnumCheckError<u8>
type Error = EnumCheckError<u8>
The error that may result from checking the type.
source§unsafe fn check_bytes<'__bytecheck>(
value: *const Self,
context: &mut __C,
) -> Result<&'__bytecheck Self, EnumCheckError<u8>>
unsafe fn check_bytes<'__bytecheck>( value: *const Self, context: &mut __C, ) -> Result<&'__bytecheck Self, EnumCheckError<u8>>
Checks whether the given pointer points to a valid value within the
given context. Read more
source§impl Clone for GameModIntermode
impl Clone for GameModIntermode
source§fn clone(&self) -> GameModIntermode
fn clone(&self) -> GameModIntermode
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 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::Error>
fn deserialize( &self, deserializer: &mut __D, ) -> Result<GameModIntermode, __D::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§fn eq(&self, other: &GameModIntermode) -> bool
fn eq(&self, other: &GameModIntermode) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd for GameModIntermode
impl PartialOrd for GameModIntermode
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moresource§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
§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 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
§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,
§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 more§type MetadataResolver = ()
type MetadataResolver = ()
The resolver for the metadata of this type. Read more
source§unsafe fn resolve_metadata(
&self,
_: usize,
_: <T as ArchiveUnsized>::MetadataResolver,
_: *mut <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata,
)
unsafe fn resolve_metadata( &self, _: usize, _: <T as ArchiveUnsized>::MetadataResolver, _: *mut <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata, )
Creates the archived version of the metadata for this value at the given position and writes
it to the given output. Read more
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> CallHasher for T
impl<T> CallHasher for T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)source§impl<F, W, T, D> Deserialize<With<T, W>, D> for F
impl<F, W, T, D> Deserialize<With<T, W>, D> for F
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>
Gets the layout of the type.