Trait number_prefix::Amounts [] [src]

pub trait Amounts: Float + Signed {
    fn get_1000() -> Self;
    fn get_1024() -> Self;
}

Constructors for floating-point values for both the possible multipliers.

Required Methods

fn get_1000() -> Self

fn get_1024() -> Self

Implementors