pub struct Min<T>(/* private fields */);Expand description
Ensures that a value is bounded from below by some other value. E.g. For strings, ensures that the length of the string is greater than some minimum. For integer types, ensures the value is greater than some minimum.
Implementations§
Trait Implementations§
impl<T: Copy> Copy for Min<T>
Auto Trait Implementations§
impl<T> Freeze for Min<T>where
T: Freeze,
impl<T> RefUnwindSafe for Min<T>where
T: RefUnwindSafe,
impl<T> Send for Min<T>where
T: Send,
impl<T> Sync for Min<T>where
T: Sync,
impl<T> Unpin for Min<T>where
T: Unpin,
impl<T> UnwindSafe for Min<T>where
T: UnwindSafe,
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