pub struct IntersectionOfSegments<Q: NewXY> {
pub point: Q,
pub u: f64,
pub t: f64,
}Expand description
An intersection of two segments u and t are where the intersection occurs
Fields§
§point: Qthe point of intersection
u: f64where along the first segment the intersection occurs
t: f64where along the second segment the intersection occurs
Trait Implementations§
Source§impl<Q: Clone + NewXY> Clone for IntersectionOfSegments<Q>
impl<Q: Clone + NewXY> Clone for IntersectionOfSegments<Q>
Source§fn clone(&self) -> IntersectionOfSegments<Q>
fn clone(&self) -> IntersectionOfSegments<Q>
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl<Q: Copy + NewXY> Copy for IntersectionOfSegments<Q>
impl<Q: NewXY> StructuralPartialEq for IntersectionOfSegments<Q>
Auto Trait Implementations§
impl<Q> Freeze for IntersectionOfSegments<Q>where
Q: Freeze,
impl<Q> RefUnwindSafe for IntersectionOfSegments<Q>where
Q: RefUnwindSafe,
impl<Q> Send for IntersectionOfSegments<Q>where
Q: Send,
impl<Q> Sync for IntersectionOfSegments<Q>where
Q: Sync,
impl<Q> Unpin for IntersectionOfSegments<Q>where
Q: Unpin,
impl<Q> UnwindSafe for IntersectionOfSegments<Q>where
Q: UnwindSafe,
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more