#[non_exhaustive]pub struct SweepEvidence {
pub segments: usize,
pub events: usize,
pub crossings: usize,
}Expand description
What the sweep did, for measurement.
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.segments: usizeInput segments.
events: usizeDistinct event points swept: endpoints and proper crossings.
crossings: usizeProper crossings found between neighbouring segments.
Trait Implementations§
Source§impl Clone for SweepEvidence
impl Clone for SweepEvidence
Source§fn clone(&self) -> SweepEvidence
fn clone(&self) -> SweepEvidence
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 SweepEvidence
Source§impl Debug for SweepEvidence
impl Debug for SweepEvidence
Source§impl Default for SweepEvidence
impl Default for SweepEvidence
Source§fn default() -> SweepEvidence
fn default() -> SweepEvidence
Returns the “default value” for a type. Read more
impl Eq for SweepEvidence
Source§impl PartialEq for SweepEvidence
impl PartialEq for SweepEvidence
impl StructuralPartialEq for SweepEvidence
Auto Trait Implementations§
impl Freeze for SweepEvidence
impl RefUnwindSafe for SweepEvidence
impl Send for SweepEvidence
impl Sync for SweepEvidence
impl Unpin for SweepEvidence
impl UnsafeUnpin for SweepEvidence
impl UnwindSafe for SweepEvidence
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