pub trait Sampler { // Required method fn sample(&self, min: Float, max: Float) -> Result<Vec<Float>>; }