pub trait Max<Rhs = Self> {
type Output;
fn max(self, rhs: Rhs) -> Self::Output;
}
Expand description
A type operator that returns the maximum of Self
and Rhs
.
The type of the maximum of Self
and Rhs
Method returning the maximum
sourceimpl<U, B, Ur> Max<Ur> for UInt<U, B> where
U: Unsigned,
B: Bit,
Ur: Unsigned,
UInt<U, B>: Cmp<Ur>,
UInt<U, B>: PrivateMax<Ur, <UInt<U, B> as Cmp<Ur>>::Output>,