Struct sc_network::multiaddr::multihash::typenum::UTerm [−][src]
pub struct UTerm;
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]
impl UTerm[src]Trait Implementations
impl<U, B> Add<UTerm> for UInt<U, B> where
B: Bit,
U: Unsigned, [src]
impl<U, B> Add<UTerm> for UInt<U, B> where
B: Bit,
U: Unsigned, [src]UInt<U, B> + UTerm = UInt<U, B>
impl<T> ArrayLength<T> for UTerm[src]
impl<T> ArrayLength<T> for UTerm[src]type ArrayType
impl<T> ArrayLength<T> for UTerm[src]
impl<T> ArrayLength<T> for UTerm[src]type ArrayType
impl<X> Gcd<UTerm> for X where
X: Unsigned + NonZero, [src]
impl<X> Gcd<UTerm> for X where
X: Unsigned + NonZero, [src]gcd(x, 0) = x
type Output = X
The greatest common divisor.
impl<Y> Gcd<Y> for UTerm where
Y: Unsigned + NonZero, [src]
impl<Y> Gcd<Y> for UTerm where
Y: Unsigned + NonZero, [src]gcd(0, y) = y
type Output = Y
The greatest common divisor.
impl<Ur, Br> PartialDiv<UInt<Ur, Br>> for UTerm where
Br: Bit,
Ur: Unsigned, [src]
impl<Ur, Br> PartialDiv<UInt<Ur, Br>> for UTerm where
Br: Bit,
Ur: Unsigned, [src]type Output = UTerm
The type of the result of the division
pub fn partial_div(
self,
UInt<Ur, Br>
) -> <UTerm as PartialDiv<UInt<Ur, Br>>>::Output[src]
self,
UInt<Ur, Br>
) -> <UTerm as PartialDiv<UInt<Ur, Br>>>::Output
impl PartialOrd<UTerm> for UTerm[src]
impl PartialOrd<UTerm> for UTerm[src]impl<U> Shl<U> for UTerm where
U: Unsigned, [src]
impl<U> Shl<U> for UTerm where
U: Unsigned, [src]Shifting left UTerm by an unsigned integer: UTerm << U = UTerm
impl<U, B> Shl<UTerm> for UInt<U, B> where
B: Bit,
U: Unsigned, [src]
impl<U, B> Shl<UTerm> for UInt<U, B> where
B: Bit,
U: Unsigned, [src]Shifting left UInt by UTerm: UInt<U, B> << UTerm = UInt<U, B>
impl<U> Shr<U> for UTerm where
U: Unsigned, [src]
impl<U> Shr<U> for UTerm where
U: Unsigned, [src]Shifting right a UTerm by an unsigned integer: UTerm >> U = UTerm
impl<U, B> Shr<UTerm> for UInt<U, B> where
B: Bit,
U: Unsigned, [src]
impl<U, B> Shr<UTerm> for UInt<U, B> where
B: Bit,
U: Unsigned, [src]Shifting right UInt by UTerm: UInt<U, B> >> UTerm = UInt<U, B>
impl Unsigned for UTerm[src]
impl Unsigned for UTerm[src]pub const U8: u8[src]
pub const U16: u16[src]
pub const U32: u32[src]
pub const U64: u64[src]
pub const USIZE: usize[src]
pub const I8: i8[src]
pub const I16: i16[src]
pub const I32: i32[src]
pub const I64: i64[src]
pub const ISIZE: isize[src]
pub fn to_u8() -> u8[src]
pub fn to_u16() -> u16[src]
pub fn to_u32() -> u32[src]
pub fn to_u64() -> u64[src]
pub fn to_usize() -> usize[src]
pub fn to_i8() -> i8[src]
pub fn to_i16() -> i16[src]
pub fn to_i32() -> i32[src]
pub fn to_i64() -> i64[src]
pub fn to_isize() -> isize[src]
impl Copy for UTerm[src]
impl Eq for UTerm[src]
impl StructuralEq for UTerm[src]
impl StructuralPartialEq for UTerm[src]
impl Zero 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> CallHasher for T where
T: Hash, [src]
impl<T> CallHasher for T where
T: Hash, [src]impl<T> CheckedConversion for T[src]
impl<T> CheckedConversion for T[src]pub fn checked_from<T>(t: T) -> Option<Self> where
Self: TryFrom<T>, [src]
Self: TryFrom<T>,
pub fn checked_into<T>(self) -> Option<T> where
Self: TryInto<T>, [src]
Self: TryInto<T>,
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized, [src]
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized, [src]pub fn equivalent(&self, key: &K) -> bool[src]
impl<X> Gcd<UTerm> for X where
X: Unsigned + NonZero, [src]
impl<X> Gcd<UTerm> for X where
X: Unsigned + NonZero, [src]type Output = X
The greatest common divisor.
impl<T> Instrument for T[src]
impl<T> Instrument for T[src]pub fn instrument(self, span: Span) -> Instrumented<Self>[src]
pub fn in_current_span(self) -> Instrumented<Self>[src]
impl<T> Instrument for T[src]
impl<T> Instrument for T[src]pub fn instrument(self, span: Span) -> Instrumented<Self>[src]
pub fn in_current_span(self) -> Instrumented<Self>[src]
impl<T, Outer> IsWrappedBy<Outer> for T where
T: From<Outer>,
Outer: AsRef<T> + AsMut<T> + From<T>, [src]
impl<T, Outer> IsWrappedBy<Outer> for T where
T: From<Outer>,
Outer: AsRef<T> + AsMut<T> + From<T>, [src]impl<T> SaturatedConversion for T[src]
impl<T> SaturatedConversion for T[src]pub fn saturated_from<T>(t: T) -> Self where
Self: UniqueSaturatedFrom<T>, [src]
Self: UniqueSaturatedFrom<T>,
pub fn saturated_into<T>(self) -> T where
Self: UniqueSaturatedInto<T>, [src]
Self: UniqueSaturatedInto<T>,
impl<N, I, B> SetBit<I, B> for N where
N: PrivateSetBit<I, B>,
<N as PrivateSetBit<I, B>>::Output: Trim, [src]
impl<N, I, B> SetBit<I, B> for N where
N: PrivateSetBit<I, B>,
<N as PrivateSetBit<I, B>>::Output: Trim, [src]impl<N> SquareRoot for N where
N: PrivateSquareRoot, [src]
impl<N> SquareRoot for N where
N: PrivateSquareRoot, [src]type Output = <N as PrivateSquareRoot>::Output
The result of the integer square root.
impl<S, T> UncheckedInto<T> for S where
T: UncheckedFrom<S>, [src]
impl<S, T> UncheckedInto<T> for S where
T: UncheckedFrom<S>, [src]pub fn unchecked_into(self) -> T[src]
impl<T, S> UniqueSaturatedInto<T> for S where
T: Bounded,
S: TryInto<T>, [src]
impl<T, S> UniqueSaturatedInto<T> for S where
T: Bounded,
S: TryInto<T>, [src]pub fn unique_saturated_into(self) -> T[src]
impl<T> WithSubscriber for T[src]
impl<T> WithSubscriber for T[src]pub fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>, [src]
S: Into<Dispatch>,
pub fn with_current_subscriber(self) -> WithDispatch<Self>[src]
impl<T> ExHashT for T where
T: Hash + Eq + Debug + Clone + Send + Sync + 'static, [src]
T: Hash + Eq + Debug + Clone + Send + Sync + 'static,
impl<T> MaybeDebug for T where
T: Debug, [src]
T: Debug,
impl<T> MaybeDebug for T where
T: Debug, [src]
T: Debug,
impl<T> MaybeHash for T where
T: Hash, [src]
T: Hash,
impl<T> MaybeHash for T where
T: Hash, [src]
T: Hash,
impl<T> MaybeRefUnwindSafe for T where
T: RefUnwindSafe, [src]
T: RefUnwindSafe,
impl<T> Member for T where
T: 'static + Send + Sync + Debug + Eq + PartialEq<T> + Clone, [src]
T: 'static + Send + Sync + Debug + Eq + PartialEq<T> + Clone,
impl<T> SimpleBitOps for T where
T: BitOr<T, Output = T> + BitXor<T, Output = T> + BitAnd<T, Output = T> + Clear, [src]
T: BitOr<T, Output = T> + BitXor<T, Output = T> + BitAnd<T, Output = T> + Clear,
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,