Trait libp2p::multihash::typenum::Max [−][src]
A type operator that returns the maximum of Self
and Rhs
.
Associated Types
Loading content...Required methods
Loading content...Implementors
impl Max<B0> for B0
[src]
impl Max<B0> for B1
[src]
impl Max<B1> for B0
[src]
impl Max<B1> for B1
[src]
impl Max<Z0> for Z0
[src]
impl<U> Max<NInt<U>> for Z0 where
U: Unsigned + NonZero,
[src]
U: Unsigned + NonZero,
impl<U> Max<PInt<U>> for Z0 where
U: Unsigned + NonZero,
[src]
U: Unsigned + NonZero,
impl<U> Max<Z0> for NInt<U> where
U: Unsigned + NonZero,
[src]
U: Unsigned + NonZero,
impl<U> Max<Z0> for PInt<U> where
U: Unsigned + NonZero,
[src]
U: Unsigned + NonZero,
impl<U> Max<U> for UTerm where
U: Unsigned,
[src]
U: Unsigned,
impl<U, B, Ur> Max<Ur> for UInt<U, B> where
B: Bit,
U: Unsigned,
Ur: Unsigned,
UInt<U, B>: Cmp<Ur>,
UInt<U, B>: PrivateMax<Ur, <UInt<U, B> as Cmp<Ur>>::Output>,
[src]
B: Bit,
U: Unsigned,
Ur: Unsigned,
UInt<U, B>: Cmp<Ur>,
UInt<U, B>: PrivateMax<Ur, <UInt<U, B> as Cmp<Ur>>::Output>,
type Output = <UInt<U, B> as PrivateMax<Ur, <UInt<U, B> as Cmp<Ur>>::Output>>::Output
pub fn max(self, rhs: Ur) -> <UInt<U, B> as Max<Ur>>::Output
[src]
impl<Ul, Ur> Max<NInt<Ur>> for NInt<Ul> where
Ul: Unsigned + NonZero + Min<Ur>,
Ur: Unsigned + NonZero,
<Ul as Min<Ur>>::Output: Unsigned,
<Ul as Min<Ur>>::Output: NonZero,
[src]
Ul: Unsigned + NonZero + Min<Ur>,
Ur: Unsigned + NonZero,
<Ul as Min<Ur>>::Output: Unsigned,
<Ul as Min<Ur>>::Output: NonZero,
type Output = NInt<<Ul as Min<Ur>>::Output>
pub fn max(self, rhs: NInt<Ur>) -> <NInt<Ul> as Max<NInt<Ur>>>::Output
[src]
impl<Ul, Ur> Max<NInt<Ur>> for PInt<Ul> where
Ul: Unsigned + NonZero,
Ur: Unsigned + NonZero,
[src]
Ul: Unsigned + NonZero,
Ur: Unsigned + NonZero,
impl<Ul, Ur> Max<PInt<Ur>> for NInt<Ul> where
Ul: Unsigned + NonZero,
Ur: Unsigned + NonZero,
[src]
Ul: Unsigned + NonZero,
Ur: Unsigned + NonZero,
impl<Ul, Ur> Max<PInt<Ur>> for PInt<Ul> where
Ul: Unsigned + NonZero + Max<Ur>,
Ur: Unsigned + NonZero,
<Ul as Max<Ur>>::Output: Unsigned,
<Ul as Max<Ur>>::Output: NonZero,
[src]
Ul: Unsigned + NonZero + Max<Ur>,
Ur: Unsigned + NonZero,
<Ul as Max<Ur>>::Output: Unsigned,
<Ul as Max<Ur>>::Output: NonZero,