UnsignedNum

Trait UnsignedNum 

Source
pub trait UnsignedNum:
    Copy
    + Debug
    + Hash
    + NumCast
    + Ord
    + Unsigned { }
Expand description

Marker trait for an unsigned number type castable to/from unsigned primitives

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<U> UnsignedNum for U
where U: Copy + Debug + Hash + NumCast + Ord + Unsigned,