Struct rand::distributions::RandSample[src]
pub struct RandSample<Sup>;
A wrapper for generating types that implement Rand via the
Sample & IndependentSample traits.
pub struct RandSample<Sup>;
A wrapper for generating types that implement Rand via the
Sample & IndependentSample traits.
impl<Sup: Rand> Sample<Sup> for RandSample<Sup>impl<Sup: Rand> IndependentSample<Sup> for RandSample<Sup>fn ind_sample<R: Rng>(&self, rng: &mut R) -> Sup
Prefix searches with a type followed by a colon (e.g.
fn:) to restrict the search to a given type.
Accepted types are: fn, mod,
struct (or str), enum,
trait, typedef (or
tdef).