Skip to main content

UnsignedPrimitive

Trait UnsignedPrimitive 

Source
pub trait UnsignedPrimitive:
    Unsigned
    + Copy
    + Ord
    + Eq
    + Debug
    + Default
    + Add<Output = Self>
    + Sub<Output = Self>
    + Sum<Self> { }
Expand description

Built-in unsigned integer type used for exact interval measures.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl<T> UnsignedPrimitive for T
where T: Unsigned + Copy + Ord + Eq + Debug + Default + Add<Output = Self> + Sub<Output = Self> + Sum<Self>,