NumberTypeExt

Trait NumberTypeExt 

Source
pub trait NumberTypeExt {
    // Required method
    fn min_max(&self) -> (f64, f64);
}
Expand description

Extends the NumberType with convenience methods

Required Methods§

Source

fn min_max(&self) -> (f64, f64)

Returns the minimum and maximum information as a tuple of f64 If there is no minimum or maximum, the minimum f64 or maximum f64 values are used.

Implementations on Foreign Types§

Source§

impl NumberTypeExt for NumberType

Source§

fn min_max(&self) -> (f64, f64)

Implementors§