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