pub trait NonPov: Sized {
type Output: Pov<Output = Self>;
// Required method
fn pov(self, pov: Player) -> Self::Output;
// Provided method
fn flip(self) -> Self { ... }
}
Expand description
Trait to convert an absolute outcome to a relative one.
Required Associated Types§
Required Methods§
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.