[][src]Enum riven::consts::Team

#[repr(u8)]pub enum Team {
    BLUE,
    RED,
}

League of Legends team.

Variants

BLUE

Blue team (bottom left on Summoner's Rift).

RED

Red team (top right on Summoner's Rift).

Trait Implementations

impl Clone for Team[src]

impl Copy for Team[src]

impl Debug for Team[src]

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

impl Eq for Team[src]

impl From<Team> for u8[src]

impl Hash for Team[src]

impl Ord for Team[src]

impl PartialEq<Team> for Team[src]

impl PartialOrd<Team> for Team[src]

impl Serialize for Team[src]

impl StructuralEq for Team[src]

impl StructuralPartialEq for Team[src]

impl TryFrom<u8> for Team[src]

type Error = TryFromPrimitiveError<Self>

The type returned in the event of a conversion error.

impl TryFromPrimitive for Team[src]

type Primitive = u8

Auto Trait Implementations

impl RefUnwindSafe for Team

impl Send for Team

impl Sync for Team

impl Unpin for Team

impl UnwindSafe for Team

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, 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.