pub struct Min<T>(/* private fields */);
Expand description
Represents chmin
operation.
Trait Implementations§
Source§impl<T> Monoid for Min<T>
impl<T> Monoid for Min<T>
Source§const IS_COMMUTATIVE: bool = true
const IS_COMMUTATIVE: bool = true
If
Self::combine
is commutative, some operations can be optimized. Read moreSource§impl<T: Ord> Ord for Min<T>
impl<T: Ord> Ord for Min<T>
Source§impl<T: PartialOrd> PartialOrd for Min<T>
impl<T: PartialOrd> PartialOrd for Min<T>
impl<T: Copy> Copy for Min<T>
impl<T: Eq> Eq for Min<T>
impl<T> StructuralPartialEq for Min<T>
Auto Trait Implementations§
impl<T> Freeze for Min<T>
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