Trait sp_arithmetic::traits::Bounded
source · pub trait Bounded {
// Required methods
fn min_value() -> Self;
fn max_value() -> Self;
}
Expand description
Numbers which have upper and lower bounds
pub trait Bounded {
// Required methods
fn min_value() -> Self;
fn max_value() -> Self;
}
Numbers which have upper and lower bounds