pub trait SampleFloat {
// Required methods
fn range(&mut self, lower: Float, upper: Float) -> Float;
fn float(&mut self) -> Float;
fn normal(&mut self, mu: Float, sigma: Float) -> Float;
}Expand description
A helper trait to get feature-gated floating-point random values