pub enum Distance2D {
Pythagoras,
Manhattan,
Chebyshev,
}
Expand description
Algorithms to get the distance of two points.
Variants§
Implementations§
Auto Trait Implementations§
impl Freeze for Distance2D
impl RefUnwindSafe for Distance2D
impl Send for Distance2D
impl Sync for Distance2D
impl Unpin for Distance2D
impl UnwindSafe for Distance2D
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more