trait CoordinateExtensions: Sized {
// Required methods
fn apply(&self, delta: &(isize, isize)) -> Option<Self>;
fn manhattan_distance(&self, other: &Self) -> usize;
}
Required Methods§
fn apply(&self, delta: &(isize, isize)) -> Option<Self>
fn manhattan_distance(&self, other: &Self) -> usize
Object Safety§
This trait is not object safe.