Struct rustlearn::utils::EncodableRng
[−]
[src]
pub struct EncodableRng { pub rng: StdRng, }
Wrapper for making random number generators serializable. Does no actual encoding, and merely creates a new generator on decoding.
Fields
rng: StdRng
Methods
impl EncodableRng
[src]
fn new() -> EncodableRng
Trait Implementations
impl Clone for EncodableRng
[src]
fn clone(&self) -> EncodableRng
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