Enum battleship_bot::Player
source · pub enum Player {
P1,
P2,
}
Variants§
Implementations§
Trait Implementations§
source§impl PartialEq for Player
impl PartialEq for Player
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§
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