pub struct DistanceToSegmentResult<P, D>{
pub cut_ratio: CutRatioResult,
pub cut_point: P,
pub distance: D,
}Expand description
DistanceToSegmentResult presents the projection results of the point to the segment.
Fields§
§cut_ratio: CutRatioResult§cut_point: P§distance: DAuto Trait Implementations§
impl<P, D> Freeze for DistanceToSegmentResult<P, D>
impl<P, D> RefUnwindSafe for DistanceToSegmentResult<P, D>where
P: RefUnwindSafe,
D: RefUnwindSafe,
impl<P, D> Send for DistanceToSegmentResult<P, D>
impl<P, D> Sync for DistanceToSegmentResult<P, D>
impl<P, D> Unpin for DistanceToSegmentResult<P, D>
impl<P, D> UnwindSafe for DistanceToSegmentResult<P, D>where
P: UnwindSafe,
D: UnwindSafe,
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