[][src]Enum riven::consts::GameType

#[repr(u8)]pub enum GameType {
    CUSTOM_GAME,
    MATCHED_GAME,
    TUTORIAL_GAME,
}

League of Legends game type: matched game, custom game, or tutorial game.

Variants

CUSTOM_GAME

Custom games

MATCHED_GAME

all other games

TUTORIAL_GAME

Tutorial games

Trait Implementations

impl AsRef<str> for GameType[src]

impl Clone for GameType[src]

impl Copy for GameType[src]

impl Debug for GameType[src]

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

impl Display for GameType[src]

impl Eq for GameType[src]

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

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

impl FromStr for GameType[src]

type Err = ParseError

The associated error which can be returned from parsing.

impl Hash for GameType[src]

impl PartialEq<GameType> for GameType[src]

impl Serialize for GameType[src]

impl StructuralEq for GameType[src]

impl StructuralPartialEq for GameType[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> Instrument for T[src]

impl<T> Instrument 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.