pub struct LineIntersection2 {
pub point: Point2f,
pub left_t: f32,
pub right_t: f32,
}Expand description
Intersection details for two finite 2D line segments.
Fields§
§point: Point2fIntersection point.
left_t: f32Parametric position on the left segment in [0, 1].
right_t: f32Parametric position on the right segment in [0, 1].
Trait Implementations§
Source§impl Clone for LineIntersection2
impl Clone for LineIntersection2
Source§fn clone(&self) -> LineIntersection2
fn clone(&self) -> LineIntersection2
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for LineIntersection2
Source§impl Debug for LineIntersection2
impl Debug for LineIntersection2
Source§impl<'de> Deserialize<'de> for LineIntersection2
impl<'de> Deserialize<'de> for LineIntersection2
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for LineIntersection2
impl PartialEq for LineIntersection2
Source§fn eq(&self, other: &LineIntersection2) -> bool
fn eq(&self, other: &LineIntersection2) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for LineIntersection2
impl Serialize for LineIntersection2
impl StructuralPartialEq for LineIntersection2
Auto Trait Implementations§
impl Freeze for LineIntersection2
impl RefUnwindSafe for LineIntersection2
impl Send for LineIntersection2
impl Sync for LineIntersection2
impl Unpin for LineIntersection2
impl UnsafeUnpin for LineIntersection2
impl UnwindSafe for LineIntersection2
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