/// A trait for 32-bit random number generators.
pub trait Rng32 {
/// Generates a random `i32` value in the range [min, max].
fn randi(&mut self, min: i32, max: i32) -> i32;
/// Generates a random `f32` value in the range [min, max).
fn randf(&mut self, min: f32, max: f32) -> f32;
/// Returns a random element from a slice.
fn choice<'a, T>(&'a mut self, choices: &'a [T]) -> &'a T;
}