Enum libcoinche::pos::Team
[−]
[src]
pub enum Team { T02, T13, }
One of two teams
Variants
T02
Players P0 and P2
T13
Players P1 and P3
Methods
impl Team
[src]
fn from_n(n: usize) -> Self
Return the team corresponding to the given number.
fn opponent(self) -> Team
Returns the other team
Trait Implementations
impl Encodable for Team
[src]
impl Decodable for Team
[src]
impl Debug for Team
[src]
impl Copy for Team
[src]
impl Clone for Team
[src]
fn clone(&self) -> Team
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more