[][src]Struct rand::distributions::DistIter

pub struct DistIter<D, R, T> { /* fields omitted */ }

An iterator that generates random values of T with distribution D, using R as the source of randomness.

This struct is created by the sample_iter method on Distribution. See its documentation for more.

Trait Implementations

impl<D, R, T> Iterator for DistIter<D, R, T> where
    D: Distribution<T>,
    R: Rng
[src]

type Item = T

The type of the elements being iterated over.

impl<D: Debug, R: Debug, T: Debug> Debug for DistIter<D, R, T>[src]

impl<D, R, T> FusedIterator for DistIter<D, R, T> where
    D: Distribution<T>,
    R: Rng
[src]

Auto Trait Implementations

impl<D, R, T> Unpin for DistIter<D, R, T> where
    D: Unpin,
    R: Unpin,
    T: Unpin

impl<D, R, T> Sync for DistIter<D, R, T> where
    D: Sync,
    R: Sync,
    T: Sync

impl<D, R, T> Send for DistIter<D, R, T> where
    D: Send,
    R: Send,
    T: Send

impl<D, R, T> UnwindSafe for DistIter<D, R, T> where
    D: UnwindSafe,
    R: UnwindSafe,
    T: UnwindSafe

impl<D, R, T> RefUnwindSafe for DistIter<D, R, T> where
    D: RefUnwindSafe,
    R: RefUnwindSafe,
    T: RefUnwindSafe

Blanket Implementations

impl<I> IteratorRandom for I where
    I: Iterator
[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<I> IntoIterator for I where
    I: Iterator
[src]

type Item = <I as Iterator>::Item

The type of the elements being iterated over.

type IntoIter = I

Which kind of iterator are we turning this into?

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> FromCast<T> for T

impl<T, U> Cast<U> for T where
    U: FromCast<T>, 

impl<T> FromBits<T> for T

impl<T, U> IntoBits<U> for T where
    U: FromBits<T>, 

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,