pub trait Numeric: Copy + Clone + PartialEq + PartialOrd + Display + Add<Self, Output = Self> + Sub<Self, Output = Self> + Mul<Self, Output = Self> + Div<Self, Output = Self> {
const ZERO: Self;
const ONE: Self;
// Required method
fn rand(range: RangeInclusive<Self>) -> Self;
}Expand description
Base numeric type for array
Required Associated Constants§
Required Methods§
sourcefn rand(range: RangeInclusive<Self>) -> Self
fn rand(range: RangeInclusive<Self>) -> Self
Generate random value