pub struct MaxOperation<T>{ /* private fields */ }
Expand description
binary operation to select larger element
Trait Implementations§
Source§impl<T> Magma for MaxOperation<T>
impl<T> Magma for MaxOperation<T>
Source§impl<T> Unital for MaxOperation<T>
impl<T> Unital for MaxOperation<T>
impl<T> Associative for MaxOperation<T>
impl<T> Commutative for MaxOperation<T>
impl<T> Idempotent for MaxOperation<T>
Auto Trait Implementations§
impl<T> Freeze for MaxOperation<T>
impl<T> RefUnwindSafe for MaxOperation<T>
impl<T> Send for MaxOperation<T>
impl<T> Sync for MaxOperation<T>
impl<T> Unpin for MaxOperation<T>
impl<T> UnwindSafe for MaxOperation<T>
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