1 2 3 4 5 6 7 8 9 10 11 12 13
/// Defines the minimum value of a type.
#[allow(clippy::declare_interior_mutable_const)]
pub trait Min {
/// The minimum value of `Self`.
const MIN: Self;
}
/// Defines the maximum value of a type.
#[allow(clippy::declare_interior_mutable_const)]
pub trait Max {
/// The maximum value of `Self`.
const MAX: Self;
}