pub struct Intersections {
pub points: Vec<Intersection>,
pub overlap: bool,
}Expand description
Result of intersecting two curves.
Fields§
§points: Vec<Intersection>Isolated intersection points (for overlaps: the overlap endpoints).
overlap: boolThe curves share a stretch of positive length (collinear or co-circular overlap).
Trait Implementations§
Source§impl Clone for Intersections
impl Clone for Intersections
Source§fn clone(&self) -> Intersections
fn clone(&self) -> Intersections
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 moreSource§impl Debug for Intersections
impl Debug for Intersections
Source§impl Default for Intersections
impl Default for Intersections
Source§fn default() -> Intersections
fn default() -> Intersections
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for Intersections
impl<'de> Deserialize<'de> for Intersections
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 Intersections
impl PartialEq for Intersections
Source§fn eq(&self, other: &Intersections) -> bool
fn eq(&self, other: &Intersections) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for Intersections
impl Serialize for Intersections
impl StructuralPartialEq for Intersections
Auto Trait Implementations§
impl Freeze for Intersections
impl RefUnwindSafe for Intersections
impl Send for Intersections
impl Sync for Intersections
impl Unpin for Intersections
impl UnsafeUnpin for Intersections
impl UnwindSafe for Intersections
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