Enum geo::Closest [−][src]
Expand description
The result of trying to find the closest spot on an object to a point.
Variants
Intersection(Point<F>)
Tuple Fields
0: Point<F>
The point actually intersects with the object.
SinglePoint(Point<F>)
Tuple Fields
0: Point<F>
There is exactly one place on this object which is closest to the point.
Indeterminate
There are two or more (possibly infinite or undefined) possible points.
Implementations
Compare two Closest
s relative to p
and return a copy of the best
one.
Trait Implementations
Auto Trait Implementations
impl<F> RefUnwindSafe for Closest<F> where
F: RefUnwindSafe,
impl<F> UnwindSafe for Closest<F> where
F: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more