pub trait Bound {
fn lower_bound() -> Self;
fn upper_bound() -> Self;
}
Expand description
Numbers which have upper and lower bounds
Required Methods
sourcefn lower_bound() -> Self
fn lower_bound() -> Self
returns the smallest finite number this type can represent
sourcefn upper_bound() -> Self
fn upper_bound() -> Self
returns the largest finite number this type can represent