Trait bms_rs::parse::rng::Rng [−][src]
pub trait Rng {
fn gen(&mut self, range: RangeInclusive<u32>) -> u32;
}
Expand description
A random generator for parsing BMS.
Required methods
fn gen(&mut self, range: RangeInclusive<u32>) -> u32
fn gen(&mut self, range: RangeInclusive<u32>) -> u32
Generates a random integer within the range
. Returning the number outside the range will result weird.