#[repr(u16)]pub enum Team {
ZERO = 0,
BLUE = 100,
RED = 200,
OTHER = 300,
}
Expand description
League of Legends team.
Variants§
ZERO = 0
Team ID zero for 2v2v2v2 Arena CHERRY
game mode. (TODO: SUBJECT TO CHANGE?)
BLUE = 100
Blue team (bottom left on Summoner’s Rift).
RED = 200
Red team (top right on Summoner’s Rift).
OTHER = 300
“killerTeamId” when Baron Nashor spawns and kills Rift Herald.
Trait Implementations§
source§impl<'de> Deserialize<'de> for Team
impl<'de> Deserialize<'de> for Team
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 Ord for Team
impl Ord for Team
source§impl PartialEq for Team
impl PartialEq for Team
source§impl PartialOrd for Team
impl PartialOrd for Team
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl TryFrom<u16> for Team
impl TryFrom<u16> for Team
§type Error = TryFromPrimitiveError<Team>
type Error = TryFromPrimitiveError<Team>
The type returned in the event of a conversion error.
source§impl TryFromPrimitive for Team
impl TryFromPrimitive for Team
impl Copy for Team
impl Eq for Team
impl StructuralPartialEq for Team
Auto Trait Implementations§
impl Freeze for Team
impl RefUnwindSafe for Team
impl Send for Team
impl Sync for Team
impl Unpin for Team
impl UnwindSafe for Team
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> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
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.