RangeValues

Trait RangeValues 

Source
pub unsafe trait RangeValues<T: 'static + Copy + Eq + Ord + InherentLimits<T>>: ClampedInteger<T> + InherentBehavior {
    const VALID_RANGES: &'static [ValueRangeInclusive<T>];
}
Expand description

§Invariants

  • VALID_RANGES must be sorted in ascending order

Required Associated Constants§

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§