#[repr(u8)]pub enum Mod {
Show 29 variants
NoFail = 0,
Easy = 1,
TouchDevice = 2,
Hidden = 3,
HardRock = 4,
SuddenDeath = 5,
DoubleTime = 6,
Relax = 7,
HalfTime = 8,
Nightcore = 9,
Flashlight = 10,
Autoplay = 11,
SpunOut = 12,
Autopilot = 13,
Perfect = 14,
Key4 = 15,
Key5 = 16,
Key6 = 17,
Key7 = 18,
Key8 = 19,
FadeIn = 20,
Random = 21,
LastMod = 22,
TargetPractice = 23,
Key9 = 24,
Coop = 25,
Key1 = 26,
Key3 = 27,
Key2 = 28,
}
Expand description
A single osu! mod.
Variants§
NoFail = 0
Easy = 1
TouchDevice = 2
Hidden = 3
HardRock = 4
SuddenDeath = 5
DoubleTime = 6
Relax = 7
HalfTime = 8
Nightcore = 9
Always goes with DoubleTime
.
Flashlight = 10
Autoplay = 11
SpunOut = 12
Autopilot = 13
Also called “Relax2”.
Perfect = 14
Key4 = 15
Key5 = 16
Key6 = 17
Key7 = 18
Key8 = 19
FadeIn = 20
Random = 21
LastMod = 22
Cinema.
TargetPractice = 23
Only on osu!cuttingedge it seems.
Key9 = 24
Coop = 25
Key1 = 26
Key3 = 27
Key2 = 28
Implementations§
Trait Implementations§
impl Copy for Mod
impl Eq for Mod
impl StructuralPartialEq for Mod
Auto Trait Implementations§
impl Freeze for Mod
impl RefUnwindSafe for Mod
impl Send for Mod
impl Sync for Mod
impl Unpin for Mod
impl UnwindSafe for Mod
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