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

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> Debug for DistIter<D, R, T> where
    D: Debug,
    R: Debug,
    T: Debug
[src]

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

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.

Auto Trait Implementations

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

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

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

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

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

Blanket Implementations

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

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

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

impl<T> From<T> for T[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<I> IteratorRandom for I where
    I: Iterator
[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<V, T> VZip<V> for T where
    V: MultiLane<T>,