Struct rand::distributions::DistMap [−][src]
pub struct DistMap<D, F, T, S> { /* fields omitted */ }
A distribution of values of type S
derived from the distribution D
by mapping its output of type T
through the closure F
.
This struct
is created by the Distribution::map
method.
See its documentation for more.
Trait Implementations
impl<D, F, T, S> Distribution<S> for DistMap<D, F, T, S> where
D: Distribution<T>,
F: Fn(T) -> S,
[src]
impl<D, F, T, S> Distribution<S> for DistMap<D, F, T, S> where
D: Distribution<T>,
F: Fn(T) -> S,
[src]Auto Trait Implementations
impl<D, F, T, S> RefUnwindSafe for DistMap<D, F, T, S> where
D: RefUnwindSafe,
F: RefUnwindSafe,
D: RefUnwindSafe,
F: RefUnwindSafe,
impl<D, F, T, S> Send for DistMap<D, F, T, S> where
D: Send,
F: Send,
D: Send,
F: Send,
impl<D, F, T, S> Sync for DistMap<D, F, T, S> where
D: Sync,
F: Sync,
D: Sync,
F: Sync,
impl<D, F, T, S> Unpin for DistMap<D, F, T, S> where
D: Unpin,
F: Unpin,
D: Unpin,
F: Unpin,
impl<D, F, T, S> UnwindSafe for DistMap<D, F, T, S> where
D: UnwindSafe,
F: UnwindSafe,
D: UnwindSafe,
F: UnwindSafe,