pub trait Ranged: Sized {
const MIN: Self;
const MAX: Self;
}
Expand description
A type that has a minimum and a maximum.
Required Associated Constants§
Object Safety§
This trait is not object safe.
pub trait Ranged: Sized {
const MIN: Self;
const MAX: Self;
}
A type that has a minimum and a maximum.