pub struct ValidatedThresholdSet { /* private fields */ }Expand description
A strictly-ordered pair of thresholds (high_end < medium_end) used by
classify.
The smart constructor panics at construction time if the invariant is
violated, so callers that hold a ValidatedThresholdSet are guaranteed
strict ordering.
Implementations§
Trait Implementations§
Source§impl Clone for ValidatedThresholdSet
impl Clone for ValidatedThresholdSet
impl Copy for ValidatedThresholdSet
Auto Trait Implementations§
impl Freeze for ValidatedThresholdSet
impl RefUnwindSafe for ValidatedThresholdSet
impl Send for ValidatedThresholdSet
impl Sync for ValidatedThresholdSet
impl Unpin for ValidatedThresholdSet
impl UnsafeUnpin for ValidatedThresholdSet
impl UnwindSafe for ValidatedThresholdSet
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