Struct gmp::rand::RandState [] [src]

pub struct RandState { /* fields omitted */ }

Methods

impl RandState
[src]

Generate a uniform random integer in the range 0 to n-1, inclusive

Generate a uniformly distributed random integer in the range 0 to 2n−1, inclusive.

Trait Implementations

impl Drop for RandState
[src]

A method called when the value goes out of scope. Read more

impl Clone for RandState
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more