Struct rand::distributions::range::RangeInt [] [src]

pub struct RangeInt<X> { /* fields omitted */ }

Implementation of RangeImpl for integer types.

Trait Implementations

impl<X: Clone> Clone for RangeInt<X>
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl<X: Copy> Copy for RangeInt<X>
[src]

impl<X: Debug> Debug for RangeInt<X>
[src]

[src]

Formats the value using the given formatter. Read more

impl RangeImpl for RangeInt<i8>
[src]

The type sampled by this implementation.

[src]

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

[src]

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

[src]

Sample a value.

[src]

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

impl RangeImpl for RangeInt<i16>
[src]

The type sampled by this implementation.

[src]

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

[src]

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

[src]

Sample a value.

[src]

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

impl RangeImpl for RangeInt<i32>
[src]

The type sampled by this implementation.

[src]

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

[src]

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

[src]

Sample a value.

[src]

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

impl RangeImpl for RangeInt<i64>
[src]

The type sampled by this implementation.

[src]

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

[src]

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

[src]

Sample a value.

[src]

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

impl RangeImpl for RangeInt<isize>
[src]

The type sampled by this implementation.

[src]

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

[src]

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

[src]

Sample a value.

[src]

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

impl RangeImpl for RangeInt<u8>
[src]

The type sampled by this implementation.

[src]

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

[src]

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

[src]

Sample a value.

[src]

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

impl RangeImpl for RangeInt<u16>
[src]

The type sampled by this implementation.

[src]

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

[src]

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

[src]

Sample a value.

[src]

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

impl RangeImpl for RangeInt<u32>
[src]

The type sampled by this implementation.

[src]

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

[src]

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

[src]

Sample a value.

[src]

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

impl RangeImpl for RangeInt<u64>
[src]

The type sampled by this implementation.

[src]

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

[src]

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

[src]

Sample a value.

[src]

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

impl RangeImpl for RangeInt<usize>
[src]

The type sampled by this implementation.

[src]

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

[src]

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

[src]

Sample a value.

[src]

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

Auto Trait Implementations

impl<X> Send for RangeInt<X> where
    X: Send

impl<X> Sync for RangeInt<X> where
    X: Sync