pub enum Monotonicity {
NonMonotonic,
Weak,
Strict,
}
Expand description
Possible types of monotonicity.
Variants§
NonMonotonic
Not monotonic at all.
Weak
Weakly monotonic (function may increase or stay the same).
Strict
Strictly monotonic (function always increases).
Auto Trait Implementations§
impl RefUnwindSafe for Monotonicity
impl Send for Monotonicity
impl Sync for Monotonicity
impl Unpin for Monotonicity
impl UnwindSafe for Monotonicity
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