Struct sc_network::multiaddr::multihash::typenum::UTerm [−]
pub struct UTerm;
Expand description
The terminating type for UInt; it always comes after the most significant
bit. UTerm by itself represents zero, which is aliased to U0.
Implementations
Trait Implementations
UTerm + B0 = UTerm
UTerm + B1 = UInt<UTerm, B1>
UTerm + U = U
UInt<U, B> + UTerm = UInt<U, B>
impl<T> ArrayLength<T> for UTerm
impl<T> ArrayLength<T> for UTermtype ArrayType
type ArrayTypeAssociated type representing the array type for the number
impl<T> ArrayLength<T> for UTerm
impl<T> ArrayLength<T> for UTermtype ArrayType
type ArrayTypeAssociated type representing the array type for the number
0 & X = 0
UTerm | X = X
X | UTerm = X
0 ^ X = X
Zero < Nonzero
Nonzero > Zero
Zero == Zero
Length of UTerm by itself is 0
UTerm * B0 = UTerm
UTerm * B1 = UTerm
UTerm * U = UTerm
UInt<U, B> * UTerm = UTerm
impl<Ur, Br> PartialDiv<UInt<Ur, Br>> for UTerm where
Br: Bit,
Ur: Unsigned,
impl<Ur, Br> PartialDiv<UInt<Ur, Br>> for UTerm where
Br: Bit,
Ur: Unsigned, pub fn partial_div(
self,
UInt<Ur, Br>
) -> <UTerm as PartialDiv<UInt<Ur, Br>>>::Output
pub fn partial_div(
self,
UInt<Ur, Br>
) -> <UTerm as PartialDiv<UInt<Ur, Br>>>::OutputMethod for performing the division
impl PartialOrd<UTerm> for UTerm
impl PartialOrd<UTerm> for UTermpub fn partial_cmp(&self, other: &UTerm) -> Option<Ordering>
pub fn partial_cmp(&self, other: &UTerm) -> Option<Ordering>This method returns an ordering between self and other values if one exists. Read more
This method tests less than (for self and other) and is used by the < operator. Read more
This method tests less than or equal to (for self and other) and is used by the <=
operator. Read more
This method tests greater than (for self and other) and is used by the > operator. Read more
Shifting UTerm by a 0 bit: UTerm << B0 = UTerm
Shifting UTerm by a 1 bit: UTerm << B1 = UTerm
Shifting left UTerm by an unsigned integer: UTerm << U = UTerm
Shifting left UInt by UTerm: UInt<U, B> << UTerm = UInt<U, B>
Shifting right UTerm by a 0 bit: UTerm >> B0 = UTerm
Shifting right UTerm by a 1 bit: UTerm >> B1 = UTerm
Shifting right a UTerm by an unsigned integer: UTerm >> U = UTerm
Shifting right UInt by UTerm: UInt<U, B> >> UTerm = UInt<U, B>
UTerm - B0 = Term
UTerm - UTerm = UTerm
impl StructuralEq for UTermimpl StructuralPartialEq for UTermAuto Trait Implementations
impl RefUnwindSafe for UTermimpl UnwindSafe for UTermBlanket Implementations
Mutably borrows from an owned value. Read more
impl<T> CallHasher for T where
T: Hash,
impl<T> CallHasher for T where
T: Hash, impl<T> Downcast for T where
T: Any,
impl<T> Downcast for T where
T: Any, Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can
then be further downcast into Box<ConcreteType> where ConcreteType implements Trait. Read more
pub fn into_any_rc(self: Rc<T>) -> Rc<dyn Any + 'static>
pub fn into_any_rc(self: Rc<T>) -> Rc<dyn Any + 'static>Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be
further downcast into Rc<ConcreteType> where ConcreteType implements Trait. Read more
Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s. Read more
pub fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
pub fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s. Read more
Compare self to key and return true if they are equal.
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more
impl<N, I, B> SetBit<I, B> for N where
N: PrivateSetBit<I, B>,
<N as PrivateSetBit<I, B>>::Output: Trim,
impl<N, I, B> SetBit<I, B> for N where
N: PrivateSetBit<I, B>,
<N as PrivateSetBit<I, B>>::Output: Trim, impl<N> SquareRoot for N where
N: PrivateSquareRoot,
impl<N> SquareRoot for N where
N: PrivateSquareRoot, type Output = <N as PrivateSquareRoot>::Output
type Output = <N as PrivateSquareRoot>::OutputThe result of the integer square root.
The counterpart to unchecked_from.
Consume self to return an equivalent value of T.
pub fn vzip(self) -> VAttaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more
impl<T> MaybeDebug for T where
T: Debug, impl<T> MaybeDebug for T where
T: Debug, impl<T> SimpleBitOps for T where
T: BitOr<T, Output = T> + BitXor<T, Output = T> + BitAnd<T, Output = T> + Clear,