pub enum Nearest {
Start,
Interior,
End,
}Expand description
Where on a segment the point nearest to a given point lies.
Variants§
Start
At the first end, which includes the projection falling on it.
Interior
Strictly between the ends: the foot of the perpendicular.
End
At the second end, which includes the projection falling on it.
Trait Implementations§
impl Copy for Nearest
impl Eq for Nearest
impl StructuralPartialEq for Nearest
Auto Trait Implementations§
impl Freeze for Nearest
impl RefUnwindSafe for Nearest
impl Send for Nearest
impl Sync for Nearest
impl Unpin for Nearest
impl UnsafeUnpin for Nearest
impl UnwindSafe for Nearest
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