Trait num::traits::BoundedExperimental
[-]
[+]
[src]
pub trait Bounded { fn min_value() -> Self; fn max_value() -> Self; }
Numbers which have upper and lower bounds
Required Methods
fn min_value() -> Self
returns the smallest finite number this type can represent
fn max_value() -> Self
returns the largest finite number this type can represent