Enum prologin::state::Player
[−]
[src]
pub enum Player { Moi, Toi, }
Variants
Moi
Toi
Methods
impl Player
[src]
impl Player
Trait Implementations
impl Clone for Player
[src]
impl Clone for Player
fn clone(&self) -> Player
[src]
fn clone(&self) -> Player
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Copy for Player
[src]
impl Copy for Player
impl Debug for Player
[src]
impl Debug for Player
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl<T> Index<Player> for PlayerLocal<T>
[src]
impl<T> Index<Player> for PlayerLocal<T>
type Output = T
The returned type after indexing.
fn index(&self, player: Player) -> &T
[src]
fn index(&self, player: Player) -> &T
Performs the indexing (container[index]
) operation.
impl<T> IndexMut<Player> for PlayerLocal<T>
[src]
impl<T> IndexMut<Player> for PlayerLocal<T>