FixedNumberVariance

Trait FixedNumberVariance 

Source
pub trait FixedNumberVariance<T: Float> {
    // Required method
    fn upto_delta(&self, upto: T) -> T;
}
Expand description

Fixed value value variator(s).

Required Methods§

Source

fn upto_delta(&self, upto: T) -> T

Take a number and alter it ± by [0 .. upto], and return result.

Implementations on Foreign Types§

Source§

impl FixedNumberVariance<f32> for f32

Source§

fn upto_delta(&self, upto: Self) -> Self

Source§

impl FixedNumberVariance<f64> for f64

Source§

fn upto_delta(&self, upto: Self) -> Self

Implementors§