Skip to main content

number

Function number 

Source
pub const fn number<T: Number>() -> Number<T>
Expand description

A generator for the full range of any Number type.

This is equivalent to T::MIN..=T::MAX.