pub trait PartisanGame {
type State;
type LIter: Iterator<Item = Self::State>;
type RIter: Iterator<Item = Self::State>;
// Required methods
fn next_left(&mut self, s: &Self::State) -> Self::LIter;
fn next_right(&mut self, s: &Self::State) -> Self::RIter;
}Required Associated Types§
type State
type LIter: Iterator<Item = Self::State>
type RIter: Iterator<Item = Self::State>
Required Methods§
fn next_left(&mut self, s: &Self::State) -> Self::LIter
fn next_right(&mut self, s: &Self::State) -> Self::RIter
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".