Struct libp2p::multiaddr::multihash::typenum::uint::UTerm [−][src]
The terminating type for UInt
; it always comes after the most significant
bit. UTerm
by itself represents zero, which is aliased to U0
.
Implementations
impl UTerm
[src][−]
Trait Implementations
impl Add<B0> for UTerm
[src][+]
impl Add<B1> for UTerm
[src][+]
impl<U> Add<U> for UTerm where
U: Unsigned,
[src][+]
U: Unsigned,
impl<U, B> Add<UTerm> for UInt<U, B> where
B: Bit,
U: Unsigned,
[src][+]
B: Bit,
U: Unsigned,
impl<T> ArrayLength<T> for UTerm
[src]
type ArrayType
impl<T> ArrayLength<T> for UTerm
[src]
type ArrayType
impl<Ur> BitAnd<Ur> for UTerm where
Ur: Unsigned,
[src][+]
Ur: Unsigned,
impl<U> BitOr<U> for UTerm where
U: Unsigned,
[src][+]
U: Unsigned,
impl<B, U> BitOr<UTerm> for UInt<U, B> where
B: Bit,
U: Unsigned,
[src][+]
B: Bit,
U: Unsigned,
impl<Ur> BitXor<Ur> for UTerm where
Ur: Unsigned,
[src][+]
Ur: Unsigned,
impl Clone for UTerm
[src][+]
impl<U, B> Cmp<UInt<U, B>> for UTerm where
B: Bit,
U: Unsigned,
[src][+]
B: Bit,
U: Unsigned,
type Output = Less
pub fn compare<IM>(&self, &UInt<U, B>) -> <UTerm as Cmp<UInt<U, B>>>::Output where
IM: InternalMarker,
[src]
IM: InternalMarker,
impl<U, B> Cmp<UTerm> for UInt<U, B> where
B: Bit,
U: Unsigned,
[src][+]
B: Bit,
U: Unsigned,
type Output = Greater
pub fn compare<IM>(&self, &UTerm) -> <UInt<U, B> as Cmp<UTerm>>::Output where
IM: InternalMarker,
[src]
IM: InternalMarker,
impl Cmp<UTerm> for UTerm
[src][+]
type Output = Equal
pub fn compare<IM>(&self, &UTerm) -> <UTerm as Cmp<UTerm>>::Output where
IM: InternalMarker,
[src]
IM: InternalMarker,
impl Copy for UTerm
[src]
impl Debug for UTerm
[src][+]
impl Default for UTerm
[src][+]
impl<Ur, Br> Div<UInt<Ur, Br>> for UTerm where
Ur: Unsigned,
Br: Bit,
[src][+]
Ur: Unsigned,
Br: Bit,
impl Eq for UTerm
[src]
impl Gcd<UTerm> for UTerm
[src]
gcd(0, 0) = 0
impl<X> Gcd<UTerm> for X where
X: Unsigned + NonZero,
[src]
X: Unsigned + NonZero,
gcd(x, 0) = x
type Output = X
The greatest common divisor.
impl<Y> Gcd<Y> for UTerm where
Y: Unsigned + NonZero,
[src]
Y: Unsigned + NonZero,
gcd(0, y) = y
type Output = Y
The greatest common divisor.
impl<I> GetBit<I> for UTerm
[src][+]
impl<Un, Bn> GetBit<UTerm> for UInt<Un, Bn> where
Bn: Copy,
[src][+]
Bn: Copy,
impl Hash for UTerm
[src][+]
impl Len for UTerm
[src][+]
impl<U> Max<U> for UTerm where
U: Unsigned,
[src][+]
U: Unsigned,
impl<U> Min<U> for UTerm where
U: Unsigned,
[src][+]
U: Unsigned,
impl Mul<B0> for UTerm
[src][+]
impl Mul<B1> for UTerm
[src][+]
impl<U> Mul<U> for UTerm where
U: Unsigned,
[src][+]
U: Unsigned,
impl<U, B> Mul<UTerm> for UInt<U, B> where
B: Bit,
U: Unsigned,
[src][+]
B: Bit,
U: Unsigned,
impl Ord for UTerm
[src][+]
impl<Ur, Br> PartialDiv<UInt<Ur, Br>> for UTerm where
Ur: Unsigned,
Br: Bit,
[src][+]
Ur: Unsigned,
Br: Bit,
impl PartialEq<UTerm> for UTerm
[src][+]
impl PartialOrd<UTerm> for UTerm
[src][+]
impl Pow<UTerm> for u32
[src][+]
impl Pow<UTerm> for u16
[src][+]
impl Pow<UTerm> for u8
[src][+]
impl Pow<UTerm> for f32
[src][+]
impl Pow<UTerm> for f64
[src][+]
impl Pow<UTerm> for i8
[src][+]
impl Pow<UTerm> for u64
[src][+]
impl Pow<UTerm> for usize
[src][+]
impl Pow<UTerm> for i16
[src][+]
impl Pow<UTerm> for isize
[src][+]
impl Pow<UTerm> for i64
[src][+]
impl Pow<UTerm> for i32
[src][+]
impl<Ur, Br> Rem<UInt<Ur, Br>> for UTerm where
Ur: Unsigned,
Br: Bit,
[src][+]
Ur: Unsigned,
Br: Bit,
impl Shl<B0> for UTerm
[src][+]
impl Shl<B1> for UTerm
[src][+]
impl<U> Shl<U> for UTerm where
U: Unsigned,
[src][+]
U: Unsigned,
impl<U, B> Shl<UTerm> for UInt<U, B> where
B: Bit,
U: Unsigned,
[src][+]
B: Bit,
U: Unsigned,
impl Shr<B0> for UTerm
[src][+]
impl Shr<B1> for UTerm
[src][+]
impl<U> Shr<U> for UTerm where
U: Unsigned,
[src][+]
U: Unsigned,
impl<U, B> Shr<UTerm> for UInt<U, B> where
B: Bit,
U: Unsigned,
[src][+]
B: Bit,
U: Unsigned,
impl StructuralEq for UTerm
[src]
impl StructuralPartialEq for UTerm
[src]
impl Sub<B0> for UTerm
[src][+]
impl Sub<UTerm> for UTerm
[src][+]
impl Unsigned for UTerm
[src][+]
Auto Trait Implementations
impl RefUnwindSafe for UTerm
impl Send for UTerm
impl Sync for UTerm
impl Unpin for UTerm
impl UnwindSafe for UTerm
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src][+]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> CallHasher for T where
T: Hash,
[src][+]
T: Hash,
impl<T> From<T> for T
[src][+]
impl<X> Gcd<UTerm> for X where
X: Unsigned + NonZero,
[src]
X: Unsigned + NonZero,
type Output = X
The greatest common divisor.
impl<T, U> Into<U> for T where
U: From<T>,
[src][+]
U: From<T>,
impl<X, N> Pow<N> for X where
N: Unsigned,
X: Unsigned + PrivatePow<UInt<UTerm, B1>, N>,
[src][+]
N: Unsigned,
X: Unsigned + PrivatePow<UInt<UTerm, B1>, N>,
impl<T> Same<T> for T
[src]
type Output = T
Should always be Self
impl<N, I, B> SetBit<I, B> for N where
N: PrivateSetBit<I, B>,
<N as PrivateSetBit<I, B>>::Output: Trim,
[src][+]
N: PrivateSetBit<I, B>,
<N as PrivateSetBit<I, B>>::Output: Trim,
impl<T> Size for T where
T: 'static + ArrayLength<u8> + Debug + Default + Eq + Hash + Send + Sync,
[src]
T: 'static + ArrayLength<u8> + Debug + Default + Eq + Hash + Send + Sync,
impl<N> SquareRoot for N where
N: PrivateSquareRoot,
[src]
N: PrivateSquareRoot,
type Output = <N as PrivateSquareRoot>::Output
The result of the integer square root.
impl<T> ToOwned for T where
T: Clone,
[src][+]
T: Clone,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src][+]
U: Into<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src][+]
U: TryFrom<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
[src][+]
V: MultiLane<T>,