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. This is because rand generators do not expose internal state.

Fields

Methods

impl EncodableRng
[src]

Trait Implementations

impl Clone for EncodableRng
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Default for EncodableRng
[src]

Returns the "default value" for a type. Read more

Auto Trait Implementations