Expand description
The result of trying to find the closest spot on an object to a point.
Variants
Intersection(Point<F>)
The point actually intersects with the object.
SinglePoint(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
Trait Implementations
impl<F: Copy + GeoFloat> Copy for Closest<F>
impl<F: GeoFloat> StructuralPartialEq for Closest<F>
Auto Trait Implementations
impl<F> RefUnwindSafe for Closest<F> where
F: RefUnwindSafe,
impl<F> Send for Closest<F> where
F: Send,
impl<F> Sync for Closest<F> where
F: Sync,
impl<F> Unpin for Closest<F> where
F: Unpin,
impl<F> UnwindSafe for Closest<F> where
F: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more