num_traits::sign

Trait Unsigned

source
pub trait Unsigned: Num { }
Expand description

A trait for values which cannot be negative

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

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 Unsigned for usize

source§

impl<T: Unsigned> Unsigned for Wrapping<T>
where Wrapping<T>: Num,

Implementors§