pub struct Incidence {
pub segment: usize,
pub location: SegmentLocation,
}Expand description
One segment through a reported point.
Fields§
§segment: usizeIndex of the segment in the input slice.
location: SegmentLocationWhere on that segment the point lies.
Trait Implementations§
impl Copy for Incidence
impl Eq for Incidence
Source§impl Ord for Incidence
impl Ord for Incidence
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for Incidence
impl PartialOrd for Incidence
impl StructuralPartialEq for Incidence
Auto Trait Implementations§
impl Freeze for Incidence
impl RefUnwindSafe for Incidence
impl Send for Incidence
impl Sync for Incidence
impl Unpin for Incidence
impl UnsafeUnpin for Incidence
impl UnwindSafe for Incidence
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