pub trait HasCrib { // Required methods fn crib(&self) -> &Crib; fn crib_mut(&mut self) -> &mut Crib; }
Trait for game states that contain a crib.
Immutable access to the crib.
Mutable access to the crib.