pub trait CanEnter { fn can_enter(&self, coord: Coord) -> bool; fn can_step(&self, step: Step) -> bool { ... } }