☰
Unsigned
Unsigned
Implementations on Foreign Types
Wrapping<T>
u128
u16
u32
u64
u8
usize
Implementors
In num_traits::sign
Traits
Signed
Unsigned
Functions
abs
abs_sub
signum
?
Trait
num_traits
::
sign
::
Unsigned
source
·
[
−
]
pub trait Unsigned:
Num
{ }
Expand description
A trait for values which cannot be negative
Implementations on Foreign Types
§
source
§
impl
Unsigned
for
usize
source
§
impl
Unsigned
for
u8
source
§
impl
Unsigned
for
u16
source
§
impl
Unsigned
for
u32
source
§
impl
Unsigned
for
u64
source
§
impl
Unsigned
for
u128
source
§
impl<T:
Unsigned
>
Unsigned
for
Wrapping
<T>
where
Wrapping
<T>:
Num
,
Implementors
§
impl<Frac>
Unsigned
for
FixedU8
<Frac>
where
Frac:
IsLessOrEqual
<
U7
, Output =
True
> +
LeEqU8
,
impl<Frac>
Unsigned
for
FixedU16
<Frac>
where
Frac:
IsLessOrEqual
<
U15
, Output =
True
> +
LeEqU16
,
impl<Frac>
Unsigned
for
FixedU32
<Frac>
where
Frac:
IsLessOrEqual
<
U31
, Output =
True
> +
LeEqU32
,
impl<Frac>
Unsigned
for
FixedU64
<Frac>
where
Frac:
IsLessOrEqual
<
U63
, Output =
True
> +
LeEqU64
,
impl<Frac>
Unsigned
for
FixedU128
<Frac>
where
Frac:
IsLessOrEqual
<
U127
, Output =
True
> +
LeEqU128
,
impl
Unsigned
for
BigUint