pub struct LineIntersection {
pub line_t: f64,
pub segment_t: f64,
}
Expand description
An intersection of a Line
and a PathSeg
.
This can be generated with the PathSeg::intersect_line
method.
Fields§
§line_t: f64
The ‘time’ that the intersection occurs, on the line.
This value is in the range 0..1.
segment_t: f64
The ‘time’ that the intersection occurs, on the path segment.
This value is nominally in the range 0..1, although it may slightly exceed that range at the boundaries of segments.
Implementations§
Trait Implementations§
source§impl Clone for LineIntersection
impl Clone for LineIntersection
source§fn clone(&self) -> LineIntersection
fn clone(&self) -> LineIntersection
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for LineIntersection
impl Debug for LineIntersection
impl Copy for LineIntersection
Auto Trait Implementations§
impl Freeze for LineIntersection
impl RefUnwindSafe for LineIntersection
impl Send for LineIntersection
impl Sync for LineIntersection
impl Unpin for LineIntersection
impl UnwindSafe for LineIntersection
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)