pub trait TwoPlayer: Player + Copy {
// Provided method
fn other(self) -> Self { ... }
}
Expand description
Represents a two player player.
This player should always be representable by a byte.
Provided Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.