pub enum Closest {
Infinite,
One(Point),
Many(Vec<Point>),
}
Expand description
An enum containing the different possible solutions for
ClosestPoint::closest_point()
.
Variants§
Infinite
There are infinitely solutions.
One(Point)
There is a single closest Point
.
Many(Vec<Point>)
There are multiple closest Point
s.
Implementations§
Trait Implementations§
Source§impl FromIterator<Point2D<f64, DrawingSpace>> for Closest
impl FromIterator<Point2D<f64, DrawingSpace>> for Closest
impl StructuralPartialEq for Closest
Auto Trait Implementations§
impl Freeze for Closest
impl RefUnwindSafe for Closest
impl Send for Closest
impl Sync for Closest
impl Unpin for Closest
impl UnwindSafe for Closest
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