#[non_exhaustive]pub struct SegmentIntersections {
pub points: Vec<IntersectionPoint>,
pub overlaps: Vec<SegmentOverlap>,
pub evidence: SweepEvidence,
}Expand description
The result of segment_intersections.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.points: Vec<IntersectionPoint>Every reported point, in lexicographic order (x, then y).
overlaps: Vec<SegmentOverlap>Every overlap, ordered by its lexicographically smaller end, then by where the sweep first met it.
evidence: SweepEvidenceCounters.
Trait Implementations§
Source§impl Clone for SegmentIntersections
impl Clone for SegmentIntersections
Source§fn clone(&self) -> SegmentIntersections
fn clone(&self) -> SegmentIntersections
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 SegmentIntersections
impl Debug for SegmentIntersections
Source§impl PartialEq for SegmentIntersections
impl PartialEq for SegmentIntersections
impl StructuralPartialEq for SegmentIntersections
Auto Trait Implementations§
impl Freeze for SegmentIntersections
impl RefUnwindSafe for SegmentIntersections
impl Send for SegmentIntersections
impl Sync for SegmentIntersections
impl Unpin for SegmentIntersections
impl UnsafeUnpin for SegmentIntersections
impl UnwindSafe for SegmentIntersections
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