Enum libmancala::Player
source · pub enum Player {
P1,
P2,
}
Expand description
Used to identify a player.
Variants
P1
Player One
P2
Player Two
Trait Implementations
impl Copy for Player
impl StructuralPartialEq for Player
Auto Trait Implementations
impl RefUnwindSafe for Player
impl Send for Player
impl Sync for Player
impl Unpin for Player
impl UnwindSafe for Player
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more