NumericSize

Trait NumericSize 

Source
pub trait NumericSize:
    Clone
    + Default
    + PartialOrd
    + Num
    + Zero
    + Bounded
    + AddAssign
    + 'static { }
Expand description

Bound for objective value types (i32, f64, etc.)

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<T> NumericSize for T
where T: Clone + Default + PartialOrd + Num + Zero + Bounded + AddAssign + 'static,