Enum prologin::state::Player
[−]
[src]
pub enum Player {
Moi,
Toi,
}Variants
MoiToi
Methods
impl Player[src]
impl PlayerTrait Implementations
impl Clone for Player[src]
impl Clone for Playerfn clone(&self) -> Player[src]
fn clone(&self) -> PlayerReturns 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 Playerimpl Debug for Player[src]
impl Debug for Playerfn fmt(&self, __arg_0: &mut Formatter) -> Result[src]
fn fmt(&self, __arg_0: &mut Formatter) -> ResultFormats 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) -> &TPerforms the indexing (container[index]) operation.
impl<T> IndexMut<Player> for PlayerLocal<T>[src]
impl<T> IndexMut<Player> for PlayerLocal<T>