#[non_exhaustive]#[repr(u8)]pub enum GameMode {
Show 27 variants
UNKNOWN(String),
ARAM,
ARSR,
ASCENSION,
ASSASSINATE,
CHERRY,
CLASSIC,
DARKSTAR,
DOOMBOTSTEEMO,
FIRSTBLOOD,
GAMEMODEX,
KINGPORO,
NEXUSBLITZ,
ODIN,
ODYSSEY,
ONEFORALL,
PRACTICETOOL,
PROJECT,
SIEGE,
STARGUARDIAN,
TFT,
TUTORIAL,
TUTORIAL_MODULE_1,
TUTORIAL_MODULE_2,
TUTORIAL_MODULE_3,
ULTBOOK,
URF,
}
Expand description
League of Legends game mode, such as Classic, ARAM, URF, One For All, Ascension, etc.
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.
UNKNOWN(String)
Catch-all variant for new, unknown game modes.
ARAM
ARAM games
ARSR
All Random Summoner’s Rift games
ASCENSION
Ascension games
ASSASSINATE
Blood Hunt Assassin games
CHERRY
2v2v2v2
CLASSIC
Classic Summoner’s Rift and Twisted Treeline games
DARKSTAR
Dark Star: Singularity games
DOOMBOTSTEEMO
Doom Bot games
FIRSTBLOOD
Snowdown Showdown games
GAMEMODEX
Nexus Blitz games
KINGPORO
Legend of the Poro King games
NEXUSBLITZ
Nexus Blitz games
ODIN
Dominion/Crystal Scar games
ODYSSEY
Odyssey: Extraction games
ONEFORALL
One for All games
PRACTICETOOL
Practice tool training games.
PROJECT
PROJECT: Hunters games
SIEGE
Nexus Siege games
STARGUARDIAN
Star Guardian Invasion games
TFT
Teamfight Tactics.
TUTORIAL
Tutorial games
TUTORIAL_MODULE_1
Tutorial: Welcome to League.
TUTORIAL_MODULE_2
Tutorial: Power Up.
TUTORIAL_MODULE_3
Tutorial: Shop for Gear.
ULTBOOK
Ultimate Spellbook games
URF
URF games
Trait Implementations§
source§impl<'de> Deserialize<'de> for GameMode
impl<'de> Deserialize<'de> for GameMode
source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq for GameMode
impl PartialEq for GameMode
source§impl VariantNames for GameMode
impl VariantNames for GameMode
impl Eq for GameMode
impl StructuralPartialEq for GameMode
Auto Trait Implementations§
impl Freeze for GameMode
impl RefUnwindSafe for GameMode
impl Send for GameMode
impl Sync for GameMode
impl Unpin for GameMode
impl UnwindSafe for GameMode
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
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.