pub enum OpMin<T> {
OpMinV,
_Marker(T),
}
Expand description
最小値を返す演算を持つ。
単位元は Max
で定義する。
Variants§
Trait Implementations§
source§impl<T: PartialEq> PartialEq<OpMin<T>> for OpMin<T>
impl<T: PartialEq> PartialEq<OpMin<T>> for OpMin<T>
impl<T> Associative for OpMin<T>where T: Ord + Eq + Sized,
impl<T> Commutative for OpMin<T>where T: Ord + Eq + Sized,
impl<T: Copy> Copy for OpMin<T>
impl<T: Eq> Eq for OpMin<T>
impl<T> StructuralEq for OpMin<T>
impl<T> StructuralPartialEq for OpMin<T>
Auto Trait Implementations§
impl<T> RefUnwindSafe for OpMin<T>where T: RefUnwindSafe,
impl<T> Send for OpMin<T>where T: Send,
impl<T> Sync for OpMin<T>where T: Sync,
impl<T> Unpin for OpMin<T>where T: Unpin,
impl<T> UnwindSafe for OpMin<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