pub struct Intersection {
pub point: Point,
pub t_a: f64,
pub t_b: f64,
}Expand description
One intersection point with the parameters on both curves.
Fields§
§point: PointIntersection point.
t_a: f64Parameter on the first curve.
t_b: f64Parameter on the second curve.
Trait Implementations§
Source§impl Clone for Intersection
impl Clone for Intersection
Source§fn clone(&self) -> Intersection
fn clone(&self) -> Intersection
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 Intersection
Source§impl Debug for Intersection
impl Debug for Intersection
Source§impl<'de> Deserialize<'de> for Intersection
impl<'de> Deserialize<'de> for Intersection
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 Intersection
impl PartialEq for Intersection
Source§fn eq(&self, other: &Intersection) -> bool
fn eq(&self, other: &Intersection) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for Intersection
impl Serialize for Intersection
impl StructuralPartialEq for Intersection
Auto Trait Implementations§
impl Freeze for Intersection
impl RefUnwindSafe for Intersection
impl Send for Intersection
impl Sync for Intersection
impl Unpin for Intersection
impl UnsafeUnpin for Intersection
impl UnwindSafe for Intersection
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