Rng

Trait Rng 

Source
pub trait Rng {
    // Required method
    fn rand_usize(&mut self, high: usize) -> usize;
}
Expand description

Trait for random number generator used in intersect_ze for approximate median calculation

Required Methods§

Source

fn rand_usize(&mut self, high: usize) -> usize

Returns a random usize between 0 (inclusive) and high (exclusive)

Implementors§

Source§

impl<R> Rng for R
where R: Rng,

Available on crate feature rand-crate only.