pub trait Player: Sized + Eq {
// Required methods
fn count() -> usize;
fn idx(&self) -> usize;
fn next(self) -> Self;
fn previous(self) -> Self;
fn turn(self) -> Self;
}
Expand description
Represents a player.
Required Methods§
Object Safety§
This trait is not object safe.