Struct xiangyun::rand::base::BaseRand
[−]
[src]
pub struct BaseRand { /* fields omitted */ }
Methods
impl BaseRand
[src]
fn new() -> Self
fn srand(&mut self, seed: usize)
fn set_function(&mut self, style: &str)
fn lazy_srand(&mut self)
fn rand(&mut self) -> usize
fn get_seed(&self) -> usize
Trait Implementations
impl Copy for BaseRand
[src]
impl Clone for BaseRand
[src]
fn clone(&self) -> BaseRand
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more