Struct rand::distributions::uniform::UniformDuration[][src]

pub struct UniformDuration { /* fields omitted */ }

The back-end implementing UniformSampler for Duration.

Unless you are implementing UniformSampler for your own types, this type should not be used directly, use Uniform instead.

Trait Implementations

impl Clone for UniformDuration
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for UniformDuration
[src]

impl Debug for UniformDuration
[src]

Formats the value using the given formatter. Read more

impl UniformSampler for UniformDuration
[src]

The type sampled by this implementation.

Construct self, with inclusive lower bound and exclusive upper bound [low, high). Read more

Construct self, with inclusive bounds [low, high]. Read more

Sample a value.

Sample a single value uniformly from a range with inclusive lower bound and exclusive upper bound [low, high). Read more

Auto Trait Implementations

impl Send for UniformDuration

impl Sync for UniformDuration