[][src]Enum riven::consts::GameMode

#[non_exhaustive]#[repr(u8)]pub enum GameMode {
    CLASSIC,
    ODIN,
    ARAM,
    TUTORIAL,
    URF,
    DOOMBOTSTEEMO,
    ONEFORALL,
    ASCENSION,
    FIRSTBLOOD,
    KINGPORO,
    SIEGE,
    ASSASSINATE,
    ARSR,
    DARKSTAR,
    STARGUARDIAN,
    PROJECT,
    GAMEMODEX,
    ODYSSEY,
}

League of Legends game mode, such as Classic, ARAM, URF, One For All, Ascension, etc.

Variants (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.
CLASSIC

Classic Summoner's Rift and Twisted Treeline games

ODIN

Dominion/Crystal Scar games

ARAM

ARAM games

TUTORIAL

Tutorial games

URF

URF games

DOOMBOTSTEEMO

Doom Bot games

ONEFORALL

One for All games

ASCENSION

Ascension games

FIRSTBLOOD

Snowdown Showdown games

KINGPORO

Legend of the Poro King games

SIEGE

Nexus Siege games

ASSASSINATE

Blood Hunt Assassin games

ARSR

All Random Summoner's Rift games

DARKSTAR

Dark Star: Singularity games

STARGUARDIAN

Star Guardian Invasion games

PROJECT

PROJECT: Hunters games

GAMEMODEX

Nexus Blitz games

ODYSSEY

Odyssey: Extraction games

Trait Implementations

impl AsRef<str> for GameMode[src]

impl Clone for GameMode[src]

impl Copy for GameMode[src]

impl Debug for GameMode[src]

impl<'de> Deserialize<'de> for GameMode[src]

impl Display for GameMode[src]

impl Eq for GameMode[src]

impl<'_derivative_strum> From<&'_derivative_strum GameMode> for &'static str[src]

impl From<GameMode> for &'static str[src]

impl FromStr for GameMode[src]

type Err = ParseError

The associated error which can be returned from parsing.

impl Hash for GameMode[src]

impl PartialEq<GameMode> for GameMode[src]

impl Serialize for GameMode[src]

impl StructuralEq for GameMode[src]

impl StructuralPartialEq for GameMode[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.