Struct moss::rand::Rand
[−]
[src]
pub struct Rand { /* fields omitted */ }
pub struct Rand { /* fields omitted */ }
impl Rand
[src]pub fn new(seed: u32) -> Rand
[src]pub fn rand(&mut self) -> u32
[src]pub fn shuffle<T>(&mut self, a: &mut [T])
[src]pub fn rand_range(&mut self, a: i32, b: i32) -> i32
[src]