☰
Unsigned
Unsigned
Implementations on Foreign Types
Wrapping<T>
u128
u16
u32
u64
u8
usize
Implementors
In sp_arithmetic::traits
Traits
AtLeast32Bit
AtLeast32BitUnsigned
BaseArithmetic
Bounded
CheckedAdd
CheckedDiv
CheckedMul
CheckedNeg
CheckedRem
CheckedShl
CheckedShr
CheckedSub
Ensure
EnsureAdd
EnsureAddAssign
EnsureDiv
EnsureDivAssign
EnsureFixedPointNumber
EnsureFrom
EnsureInto
EnsureMul
EnsureMulAssign
EnsureOp
EnsureOpAssign
EnsureSub
EnsureSubAssign
IntegerSquareRoot
One
SaturatedConversion
Saturating
Signed
UniqueSaturatedFrom
UniqueSaturatedInto
Unsigned
Zero
Functions
checked_pow
ensure_pow
?
Trait
sp_arithmetic
::
traits
::
Unsigned
source
·
[
−
]
pub trait Unsigned:
Num
{ }
Expand description
A trait for values which cannot be negative
Implementations on Foreign Types
§
source
§
impl
Unsigned
for
u8
source
§
impl
Unsigned
for
u128
source
§
impl<T>
Unsigned
for
Wrapping
<T>
where T:
Unsigned
,
Wrapping
<T>:
Num
,
source
§
impl
Unsigned
for
u64
source
§
impl
Unsigned
for
u16
source
§
impl
Unsigned
for
usize
source
§
impl
Unsigned
for
u32
Implementors
§
impl
Unsigned
for
BigUint