Enum xiangyun::nrand::NRand
[−]
[src]
pub enum NRand { PMrand(i64), Ryus(i64), Lazy(i64), }
Variants
PMrand(i64)
Ryus(i64)
Lazy(i64)
pub enum NRand { PMrand(i64), Ryus(i64), Lazy(i64), }
PMrand(i64)
Ryus(i64)
Lazy(i64)
impl RandBasic for NRand
[src]type Style = &'static str
type Seed = i64
type Attachment = u32
type Return = i64
fn new(style: &str) -> Self
fn srand(&mut self, seed: i64)
fn lazy_srand(&mut self)
fn get_rand(&mut self, attachment: Option<u32>) -> i64
fn lazy_rand(&mut self, min: i64, max: i64) -> i64
fn lazy_randf(&mut self, min: f64, max: f64) -> f64