blob: d5addf8ec2b3692894e1012ead1710e6ed850575 [file] [log] [blame]
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="A generic random value distribution, implemented for many primitive types. Usually generates values with a numerically uniform distribution, and with a range appropriate to the type."><meta name="keywords" content="rust, rustlang, rust-lang, Standard"><title>Standard in rand_distr - Rust</title><link rel="preload" as="font" type="font/woff2" crossorigin href="../SourceSerif4-Regular.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../FiraSans-Regular.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../FiraSans-Medium.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../SourceCodePro-Regular.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../SourceSerif4-Bold.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../SourceCodePro-Semibold.ttf.woff2"><link rel="stylesheet" href="../normalize.css"><link rel="stylesheet" href="../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" href="../ayu.css" disabled><link rel="stylesheet" href="../dark.css" disabled><link rel="stylesheet" href="../light.css" id="themeStyle"><script id="default-settings" ></script><script src="../storage.js"></script><script defer src="sidebar-items.js"></script><script defer src="../main.js"></script><noscript><link rel="stylesheet" href="../noscript.css"></noscript><link rel="icon" href="https://www.rust-lang.org/favicon.ico"></head><body class="rustdoc struct"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle">&#9776;</button><a class="sidebar-logo" href="../rand_distr/index.html"><div class="logo-container"><img src="https://www.rust-lang.org/logos/rust-logo-128x128-blk.png" alt="logo"></div></a><h2></h2></nav><nav class="sidebar"><a class="sidebar-logo" href="../rand_distr/index.html"><div class="logo-container">
<img src="https://www.rust-lang.org/logos/rust-logo-128x128-blk.png" alt="logo"></div></a><h2 class="location"><a href="#">Standard</a></h2><div class="sidebar-elems"><section><h3><a href="#trait-implementations">Trait Implementations</a></h3><ul class="block"><li><a href="#impl-Clone-for-Standard">Clone</a></li><li><a href="#impl-Copy-for-Standard">Copy</a></li><li><a href="#impl-Debug-for-Standard">Debug</a></li><li><a href="#impl-DistString-for-Standard">DistString</a></li><li><a href="#impl-Distribution%3C%5BT%3B%200%5D%3E-for-Standard">Distribution&lt;[T; 0]&gt;</a></li><li><a href="#impl-Distribution%3C%5BT%3B%201%5D%3E-for-Standard">Distribution&lt;[T; 1]&gt;</a></li><li><a href="#impl-Distribution%3C%5BT%3B%2010%5D%3E-for-Standard">Distribution&lt;[T; 10]&gt;</a></li><li><a href="#impl-Distribution%3C%5BT%3B%2011%5D%3E-for-Standard">Distribution&lt;[T; 11]&gt;</a></li><li><a href="#impl-Distribution%3C%5BT%3B%2012%5D%3E-for-Standard">Distribution&lt;[T; 12]&gt;</a></li><li><a href="#impl-Distribution%3C%5BT%3B%2013%5D%3E-for-Standard">Distribution&lt;[T; 13]&gt;</a></li><li><a href="#impl-Distribution%3C%5BT%3B%2014%5D%3E-for-Standard">Distribution&lt;[T; 14]&gt;</a></li><li><a href="#impl-Distribution%3C%5BT%3B%2015%5D%3E-for-Standard">Distribution&lt;[T; 15]&gt;</a></li><li><a href="#impl-Distribution%3C%5BT%3B%2016%5D%3E-for-Standard">Distribution&lt;[T; 16]&gt;</a></li><li><a href="#impl-Distribution%3C%5BT%3B%2017%5D%3E-for-Standard">Distribution&lt;[T; 17]&gt;</a></li><li><a href="#impl-Distribution%3C%5BT%3B%2018%5D%3E-for-Standard">Distribution&lt;[T; 18]&gt;</a></li><li><a href="#impl-Distribution%3C%5BT%3B%2019%5D%3E-for-Standard">Distribution&lt;[T; 19]&gt;</a></li><li><a href="#impl-Distribution%3C%5BT%3B%202%5D%3E-for-Standard">Distribution&lt;[T; 2]&gt;</a></li><li><a href="#impl-Distribution%3C%5BT%3B%2020%5D%3E-for-Standard">Distribution&lt;[T; 20]&gt;</a></li><li><a href="#impl-Distribution%3C%5BT%3B%2021%5D%3E-for-Standard">Distribution&lt;[T; 21]&gt;</a></li><li><a href="#impl-Distribution%3C%5BT%3B%2022%5D%3E-for-Standard">Distribution&lt;[T; 22]&gt;</a></li><li><a href="#impl-Distribution%3C%5BT%3B%2023%5D%3E-for-Standard">Distribution&lt;[T; 23]&gt;</a></li><li><a href="#impl-Distribution%3C%5BT%3B%2024%5D%3E-for-Standard">Distribution&lt;[T; 24]&gt;</a></li><li><a href="#impl-Distribution%3C%5BT%3B%2025%5D%3E-for-Standard">Distribution&lt;[T; 25]&gt;</a></li><li><a href="#impl-Distribution%3C%5BT%3B%2026%5D%3E-for-Standard">Distribution&lt;[T; 26]&gt;</a></li><li><a href="#impl-Distribution%3C%5BT%3B%2027%5D%3E-for-Standard">Distribution&lt;[T; 27]&gt;</a></li><li><a href="#impl-Distribution%3C%5BT%3B%2028%5D%3E-for-Standard">Distribution&lt;[T; 28]&gt;</a></li><li><a href="#impl-Distribution%3C%5BT%3B%2029%5D%3E-for-Standard">Distribution&lt;[T; 29]&gt;</a></li><li><a href="#impl-Distribution%3C%5BT%3B%203%5D%3E-for-Standard">Distribution&lt;[T; 3]&gt;</a></li><li><a href="#impl-Distribution%3C%5BT%3B%2030%5D%3E-for-Standard">Distribution&lt;[T; 30]&gt;</a></li><li><a href="#impl-Distribution%3C%5BT%3B%2031%5D%3E-for-Standard">Distribution&lt;[T; 31]&gt;</a></li><li><a href="#impl-Distribution%3C%5BT%3B%2032%5D%3E-for-Standard">Distribution&lt;[T; 32]&gt;</a></li><li><a href="#impl-Distribution%3C%5BT%3B%204%5D%3E-for-Standard">Distribution&lt;[T; 4]&gt;</a></li><li><a href="#impl-Distribution%3C%5BT%3B%205%5D%3E-for-Standard">Distribution&lt;[T; 5]&gt;</a></li><li><a href="#impl-Distribution%3C%5BT%3B%206%5D%3E-for-Standard">Distribution&lt;[T; 6]&gt;</a></li><li><a href="#impl-Distribution%3C%5BT%3B%207%5D%3E-for-Standard">Distribution&lt;[T; 7]&gt;</a></li><li><a href="#impl-Distribution%3C%5BT%3B%208%5D%3E-for-Standard">Distribution&lt;[T; 8]&gt;</a></li><li><a href="#impl-Distribution%3C%5BT%3B%209%5D%3E-for-Standard">Distribution&lt;[T; 9]&gt;</a></li><li><a href="#impl-Distribution%3C()%3E-for-Standard">Distribution&lt;()&gt;</a></li><li><a href="#impl-Distribution%3C(A%2C%20B%2C%20C%2C%20D%2C%20E%2C%20F%2C%20G%2C%20H%2C%20I%2C%20J%2C%20K%2C%20L)%3E-for-Standard">Distribution&lt;(A, B, C, D, E, F, G, H, I, J, K, L)&gt;</a></li><li><a href="#impl-Distribution%3C(A%2C%20B%2C%20C%2C%20D%2C%20E%2C%20F%2C%20G%2C%20H%2C%20I%2C%20J%2C%20K)%3E-for-Standard">Distribution&lt;(A, B, C, D, E, F, G, H, I, J, K)&gt;</a></li><li><a href="#impl-Distribution%3C(A%2C%20B%2C%20C%2C%20D%2C%20E%2C%20F%2C%20G%2C%20H%2C%20I%2C%20J)%3E-for-Standard">Distribution&lt;(A, B, C, D, E, F, G, H, I, J)&gt;</a></li><li><a href="#impl-Distribution%3C(A%2C%20B%2C%20C%2C%20D%2C%20E%2C%20F%2C%20G%2C%20H%2C%20I)%3E-for-Standard">Distribution&lt;(A, B, C, D, E, F, G, H, I)&gt;</a></li><li><a href="#impl-Distribution%3C(A%2C%20B%2C%20C%2C%20D%2C%20E%2C%20F%2C%20G%2C%20H)%3E-for-Standard">Distribution&lt;(A, B, C, D, E, F, G, H)&gt;</a></li><li><a href="#impl-Distribution%3C(A%2C%20B%2C%20C%2C%20D%2C%20E%2C%20F%2C%20G)%3E-for-Standard">Distribution&lt;(A, B, C, D, E, F, G)&gt;</a></li><li><a href="#impl-Distribution%3C(A%2C%20B%2C%20C%2C%20D%2C%20E%2C%20F)%3E-for-Standard">Distribution&lt;(A, B, C, D, E, F)&gt;</a></li><li><a href="#impl-Distribution%3C(A%2C%20B%2C%20C%2C%20D%2C%20E)%3E-for-Standard">Distribution&lt;(A, B, C, D, E)&gt;</a></li><li><a href="#impl-Distribution%3C(A%2C%20B%2C%20C%2C%20D)%3E-for-Standard">Distribution&lt;(A, B, C, D)&gt;</a></li><li><a href="#impl-Distribution%3C(A%2C%20B%2C%20C)%3E-for-Standard">Distribution&lt;(A, B, C)&gt;</a></li><li><a href="#impl-Distribution%3C(A%2C%20B)%3E-for-Standard">Distribution&lt;(A, B)&gt;</a></li><li><a href="#impl-Distribution%3C(A%2C)%3E-for-Standard">Distribution&lt;(A,)&gt;</a></li><li><a href="#impl-Distribution%3CNonZeroU128%3E-for-Standard">Distribution&lt;NonZeroU128&gt;</a></li><li><a href="#impl-Distribution%3CNonZeroU16%3E-for-Standard">Distribution&lt;NonZeroU16&gt;</a></li><li><a href="#impl-Distribution%3CNonZeroU32%3E-for-Standard">Distribution&lt;NonZeroU32&gt;</a></li><li><a href="#impl-Distribution%3CNonZeroU64%3E-for-Standard">Distribution&lt;NonZeroU64&gt;</a></li><li><a href="#impl-Distribution%3CNonZeroU8%3E-for-Standard">Distribution&lt;NonZeroU8&gt;</a></li><li><a href="#impl-Distribution%3CNonZeroUsize%3E-for-Standard">Distribution&lt;NonZeroUsize&gt;</a></li><li><a href="#impl-Distribution%3COption%3CT%3E%3E-for-Standard">Distribution&lt;Option&lt;T&gt;&gt;</a></li><li><a href="#impl-Distribution%3CWrapping%3CT%3E%3E-for-Standard">Distribution&lt;Wrapping&lt;T&gt;&gt;</a></li><li><a href="#impl-Distribution%3Cbool%3E-for-Standard">Distribution&lt;bool&gt;</a></li><li><a href="#impl-Distribution%3Cchar%3E-for-Standard">Distribution&lt;char&gt;</a></li><li><a href="#impl-Distribution%3Cf32%3E-for-Standard">Distribution&lt;f32&gt;</a></li><li><a href="#impl-Distribution%3Cf64%3E-for-Standard">Distribution&lt;f64&gt;</a></li><li><a href="#impl-Distribution%3Ci128%3E-for-Standard">Distribution&lt;i128&gt;</a></li><li><a href="#impl-Distribution%3Ci16%3E-for-Standard">Distribution&lt;i16&gt;</a></li><li><a href="#impl-Distribution%3Ci32%3E-for-Standard">Distribution&lt;i32&gt;</a></li><li><a href="#impl-Distribution%3Ci64%3E-for-Standard">Distribution&lt;i64&gt;</a></li><li><a href="#impl-Distribution%3Ci8%3E-for-Standard">Distribution&lt;i8&gt;</a></li><li><a href="#impl-Distribution%3Cisize%3E-for-Standard">Distribution&lt;isize&gt;</a></li><li><a href="#impl-Distribution%3Cu128%3E-for-Standard">Distribution&lt;u128&gt;</a></li><li><a href="#impl-Distribution%3Cu16%3E-for-Standard">Distribution&lt;u16&gt;</a></li><li><a href="#impl-Distribution%3Cu32%3E-for-Standard">Distribution&lt;u32&gt;</a></li><li><a href="#impl-Distribution%3Cu64%3E-for-Standard">Distribution&lt;u64&gt;</a></li><li><a href="#impl-Distribution%3Cu8%3E-for-Standard">Distribution&lt;u8&gt;</a></li><li><a href="#impl-Distribution%3Cusize%3E-for-Standard">Distribution&lt;usize&gt;</a></li></ul><h3><a href="#synthetic-implementations">Auto Trait Implementations</a></h3><ul class="block"><li><a href="#impl-RefUnwindSafe-for-Standard">RefUnwindSafe</a></li><li><a href="#impl-Send-for-Standard">Send</a></li><li><a href="#impl-Sync-for-Standard">Sync</a></li><li><a href="#impl-Unpin-for-Standard">Unpin</a></li><li><a href="#impl-UnwindSafe-for-Standard">UnwindSafe</a></li></ul><h3><a href="#blanket-implementations">Blanket Implementations</a></h3><ul class="block"><li><a href="#impl-Any-for-Standard">Any</a></li><li><a href="#impl-Borrow%3CT%3E-for-Standard">Borrow&lt;T&gt;</a></li><li><a href="#impl-BorrowMut%3CT%3E-for-Standard">BorrowMut&lt;T&gt;</a></li><li><a href="#impl-From%3CT%3E-for-Standard">From&lt;T&gt;</a></li><li><a href="#impl-Into%3CU%3E-for-Standard">Into&lt;U&gt;</a></li><li><a href="#impl-ToOwned-for-Standard">ToOwned</a></li><li><a href="#impl-TryFrom%3CU%3E-for-Standard">TryFrom&lt;U&gt;</a></li><li><a href="#impl-TryInto%3CU%3E-for-Standard">TryInto&lt;U&gt;</a></li><li><a href="#impl-VZip%3CV%3E-for-Standard">VZip&lt;V&gt;</a></li></ul></section><h2><a href="index.html">In rand_distr</a></h2></div></nav><main><div class="width-limiter"><nav class="sub"><form class="search-form"><div class="search-container"><span></span><input class="search-input" name="search" autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"><div id="help-button" title="help" tabindex="-1"><a href="../help.html">?</a></div><div id="settings-menu" tabindex="-1"><a href="../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../wheel.svg"></a></div></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1 class="fqn">Struct <a href="index.html">rand_distr</a>::<wbr><a class="struct" href="#">Standard</a><button id="copy-path" onclick="copy_path(this)" title="Copy item path to clipboard"><img src="../clipboard.svg" width="19" height="18" alt="Copy item path"></button></h1><span class="out-of-band"><a class="srclink" href="../src/rand/distributions/mod.rs.html#218">source</a> · <a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">&#x2212;</span>]</a></span></div><div class="item-decl"><pre class="rust struct"><code>pub struct Standard;</code></pre></div><details class="rustdoc-toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>A generic random value distribution, implemented for many primitive types.
Usually generates values with a numerically uniform distribution, and with a
range appropriate to the type.</p>
<h3 id="provided-implementations"><a href="#provided-implementations">Provided implementations</a></h3>
<p>Assuming the provided <code>Rng</code> is well-behaved, these implementations
generate values with the following ranges and distributions:</p>
<ul>
<li>Integers (<code>i32</code>, <code>u32</code>, <code>isize</code>, <code>usize</code>, etc.): Uniformly distributed
over all values of the type.</li>
<li><code>char</code>: Uniformly distributed over all Unicode scalar values, i.e. all
code points in the range <code>0...0x10_FFFF</code>, except for the range
<code>0xD800...0xDFFF</code> (the surrogate code points). This includes
unassigned/reserved code points.</li>
<li><code>bool</code>: Generates <code>false</code> or <code>true</code>, each with probability 0.5.</li>
<li>Floating point types (<code>f32</code> and <code>f64</code>): Uniformly distributed in the
half-open range <code>[0, 1)</code>. See notes below.</li>
<li>Wrapping integers (<code>Wrapping&lt;T&gt;</code>), besides the type identical to their
normal integer variants.</li>
</ul>
<p>The <code>Standard</code> distribution also supports generation of the following
compound types where all component types are supported:</p>
<ul>
<li>Tuples (up to 12 elements): each element is generated sequentially.</li>
<li>Arrays (up to 32 elements): each element is generated sequentially;
see also <a href="../rand/rng/trait.Rng.html#method.fill" title="Rng::fill"><code>Rng::fill</code></a> which supports arbitrary array length for integer
and float types and tends to be faster for <code>u32</code> and smaller types.
When using <code>rustc</code> ≥ 1.51, enable the <code>min_const_gen</code> feature to support
arrays larger than 32 elements.
Note that <a href="../rand/rng/trait.Rng.html#method.fill" title="Rng::fill"><code>Rng::fill</code></a> and <code>Standard</code>’s array support are <em>not</em> equivalent:
the former is optimised for integer types (using fewer RNG calls for
element types smaller than the RNG word size), while the latter supports
any element type supported by <code>Standard</code>.</li>
<li><code>Option&lt;T&gt;</code> first generates a <code>bool</code>, and if true generates and returns
<code>Some(value)</code> where <code>value: T</code>, otherwise returning <code>None</code>.</li>
</ul>
<h3 id="custom-implementations"><a href="#custom-implementations">Custom implementations</a></h3>
<p>The <a href="struct.Standard.html" title="Standard"><code>Standard</code></a> distribution may be implemented for user types as follows:</p>
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>rand::Rng;
<span class="kw">use </span>rand::distributions::{Distribution, Standard};
<span class="kw">struct </span>MyF32 {
x: f32,
}
<span class="kw">impl </span>Distribution&lt;MyF32&gt; <span class="kw">for </span>Standard {
<span class="kw">fn </span>sample&lt;R: Rng + <span class="question-mark">?</span>Sized&gt;(<span class="kw-2">&amp;</span><span class="self">self</span>, rng: <span class="kw-2">&amp;mut </span>R) -&gt; MyF32 {
MyF32 { x: rng.gen() }
}
}</code></pre></div>
<h3 id="example-usage"><a href="#example-usage">Example usage</a></h3>
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>rand::prelude::<span class="kw-2">*</span>;
<span class="kw">use </span>rand::distributions::Standard;
<span class="kw">let </span>val: f32 = StdRng::from_entropy().sample(Standard);
<span class="macro">println!</span>(<span class="string">&quot;f32 from [0, 1): {}&quot;</span>, val);</code></pre></div>
<h2 id="floating-point-implementation"><a href="#floating-point-implementation">Floating point implementation</a></h2>
<p>The floating point implementations for <code>Standard</code> generate a random value in
the half-open interval <code>[0, 1)</code>, i.e. including 0 but not 1.</p>
<p>All values that can be generated are of the form <code>n * ε/2</code>. For <code>f32</code>
the 24 most significant random bits of a <code>u32</code> are used and for <code>f64</code> the
53 most significant bits of a <code>u64</code> are used. The conversion uses the
multiplicative method: <code>(rng.gen::&lt;$uty&gt;() &gt;&gt; N) as $ty * (ε/2)</code>.</p>
<p>See also: <a href="struct.Open01.html" title="Open01"><code>Open01</code></a> which samples from <code>(0, 1)</code>, <a href="struct.OpenClosed01.html" title="OpenClosed01"><code>OpenClosed01</code></a> which
samples from <code>(0, 1]</code> and <code>Rng::gen_range(0..1)</code> which also samples from
<code>[0, 1)</code>. Note that <code>Open01</code> uses transmute-based methods which yield 1 bit
less precision but may perform faster on some architectures (on modern Intel
CPUs all methods have approximately equal performance).</p>
</div></details><h2 id="trait-implementations" class="small-section-header">Trait Implementations<a href="#trait-implementations" class="anchor"></a></h2><div id="trait-implementations-list"><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Clone-for-Standard" class="impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/mod.rs.html#216">source</a><a href="#impl-Clone-for-Standard" class="anchor"></a><h3 class="code-header">impl Clone for <a class="struct" href="struct.Standard.html" title="struct rand_distr::Standard">Standard</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.clone" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/mod.rs.html#216">source</a><a href="#method.clone" class="anchor"></a><h4 class="code-header">fn <a class="fnname">clone</a>(&amp;self) -&gt; <a class="struct" href="struct.Standard.html" title="struct rand_distr::Standard">Standard</a></h4></section></summary><div class='docblock'>Returns a copy of the value. <a>Read more</a></div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.clone_from" class="method trait-impl has-srclink"><span class="since rightside" title="Stable since Rust version 1.0.0">1.0.0</span><a href="#method.clone_from" class="anchor"></a><h4 class="code-header">const fn <a class="fnname">clone_from</a>(&amp;mut self, source: &amp;Self)</h4></section></summary><div class='docblock'>Performs copy-assignment from <code>source</code>. <a>Read more</a></div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Debug-for-Standard" class="impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/mod.rs.html#216">source</a><a href="#impl-Debug-for-Standard" class="anchor"></a><h3 class="code-header">impl Debug for <a class="struct" href="struct.Standard.html" title="struct rand_distr::Standard">Standard</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.fmt" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/mod.rs.html#216">source</a><a href="#method.fmt" class="anchor"></a><h4 class="code-header">fn <a class="fnname">fmt</a>(&amp;self, f: &amp;mut Formatter&lt;'_&gt;) -&gt; Result&lt;(), Error&gt;</h4></section></summary><div class='docblock'>Formats the value using the given formatter. <a>Read more</a></div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-DistString-for-Standard" class="impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/other.rs.html#98">source</a><a href="#impl-DistString-for-Standard" class="anchor"></a><h3 class="code-header">impl <a class="trait" href="../rand/distributions/distribution/trait.DistString.html" title="trait rand::distributions::distribution::DistString">DistString</a> for <a class="struct" href="struct.Standard.html" title="struct rand_distr::Standard">Standard</a></h3></section></summary><div class="docblock"><p>Note: the <code>String</code> is potentially left with excess capacity; optionally the
user may call <code>string.shrink_to_fit()</code> afterwards.</p>
</div><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.append_string" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/other.rs.html#99">source</a><a href="#method.append_string" class="anchor"></a><h4 class="code-header">fn <a href="../rand/distributions/distribution/trait.DistString.html#tymethod.append_string" class="fnname">append_string</a>&lt;R&gt;(&amp;self, rng: &amp;mut R, s: &amp;mut String, len: usize)<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;R: <a class="trait" href="../rand/rng/trait.Rng.html" title="trait rand::rng::Rng">Rng</a> + ?Sized,</span></h4></section></summary><div class='docblock'>Append <code>len</code> random chars to <code>string</code></div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.sample_string" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/distribution.rs.html#203">source</a><a href="#method.sample_string" class="anchor"></a><h4 class="code-header">fn <a href="../rand/distributions/distribution/trait.DistString.html#method.sample_string" class="fnname">sample_string</a>&lt;R&gt;(&amp;self, rng: &amp;mut R, len: usize) -&gt; String<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;R: <a class="trait" href="../rand/rng/trait.Rng.html" title="trait rand::rng::Rng">Rng</a> + ?Sized,</span></h4></section></summary><div class='docblock'>Generate a <code>String</code> of <code>len</code> random chars</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Distribution%3C%5BT%3B%200%5D%3E-for-Standard" class="impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/other.rs.html#231">source</a><a href="#impl-Distribution%3C%5BT%3B%200%5D%3E-for-Standard" class="anchor"></a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;[T; 0]&gt; for <a class="struct" href="struct.Standard.html" title="struct rand_distr::Standard">Standard</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.sample-14" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/other.rs.html#231">source</a><a href="#method.sample-14" class="anchor"></a><h4 class="code-header">fn <a href="trait.Distribution.html#tymethod.sample" class="fnname">sample</a>&lt;R&gt;(&amp;self, _rng: &amp;mut R) -&gt; [T; 0]<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;R: <a class="trait" href="../rand/rng/trait.Rng.html" title="trait rand::rng::Rng">Rng</a> + ?Sized,</span></h4></section></summary><div class='docblock'>Generate a random value of <code>T</code>, using <code>rng</code> as the source of randomness.</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.sample_iter-14" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/distribution.rs.html#73-76">source</a><a href="#method.sample_iter-14" class="anchor"></a><h4 class="code-header">fn <a href="trait.Distribution.html#method.sample_iter" class="fnname">sample_iter</a>&lt;R&gt;(self, rng: R) -&gt; <a class="struct" href="struct.DistIter.html" title="struct rand_distr::DistIter">DistIter</a>&lt;Self, R, T&gt;<span class="notable-traits"><span class="notable-traits-tooltip"><span class="notable-traits-tooltiptext"><span class="docblock"><span class="notable">Notable traits for <a class="struct" href="struct.DistIter.html" title="struct rand_distr::DistIter">DistIter</a>&lt;D, R, T&gt;</span><code class="content"><span class="where fmt-newline">impl&lt;D, R, T&gt; Iterator for <a class="struct" href="struct.DistIter.html" title="struct rand_distr::DistIter">DistIter</a>&lt;D, R, T&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;D: <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;T&gt;,<br>&nbsp;&nbsp;&nbsp;&nbsp;R: <a class="trait" href="../rand/rng/trait.Rng.html" title="trait rand::rng::Rng">Rng</a>,</span></span><span class="where fmt-newline"> type <a class="associatedtype">Item</a> = T;</span></code></span></span></span></span><span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;R: <a class="trait" href="../rand/rng/trait.Rng.html" title="trait rand::rng::Rng">Rng</a>,</span></h4></section></summary><div class='docblock'>Create an iterator that generates random values of <code>T</code>, using <code>rng</code> as
the source of randomness. <a href="trait.Distribution.html#method.sample_iter">Read more</a></div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.map-14" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/distribution.rs.html#102-105">source</a><a href="#method.map-14" class="anchor"></a><h4 class="code-header">fn <a href="trait.Distribution.html#method.map" class="fnname">map</a>&lt;F, S&gt;(self, func: F) -&gt; <a class="struct" href="../rand/distributions/distribution/struct.DistMap.html" title="struct rand::distributions::distribution::DistMap">DistMap</a>&lt;Self, F, T, S&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;F: Fn(T) -&gt; S,</span></h4></section></summary><div class='docblock'>Create a distribution of values of ‘S’ by mapping the output of <code>Self</code>
through the closure <code>F</code> <a href="trait.Distribution.html#method.map">Read more</a></div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Distribution%3C%5BT%3B%201%5D%3E-for-Standard" class="impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/other.rs.html#231">source</a><a href="#impl-Distribution%3C%5BT%3B%201%5D%3E-for-Standard" class="anchor"></a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;[T; 1]&gt; for <a class="struct" href="struct.Standard.html" title="struct rand_distr::Standard">Standard</a><span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;<a class="struct" href="struct.Standard.html" title="struct rand_distr::Standard">Standard</a>: <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;T&gt;,</span></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.sample-48" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/other.rs.html#231">source</a><a href="#method.sample-48" class="anchor"></a><h4 class="code-header">fn <a href="trait.Distribution.html#tymethod.sample" class="fnname">sample</a>&lt;R&gt;(&amp;self, _rng: &amp;mut R) -&gt; [T; 1]<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;R: <a class="trait" href="../rand/rng/trait.Rng.html" title="trait rand::rng::Rng">Rng</a> + ?Sized,</span></h4></section></summary><div class='docblock'>Generate a random value of <code>T</code>, using <code>rng</code> as the source of randomness.</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.sample_iter-48" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/distribution.rs.html#73-76">source</a><a href="#method.sample_iter-48" class="anchor"></a><h4 class="code-header">fn <a href="trait.Distribution.html#method.sample_iter" class="fnname">sample_iter</a>&lt;R&gt;(self, rng: R) -&gt; <a class="struct" href="struct.DistIter.html" title="struct rand_distr::DistIter">DistIter</a>&lt;Self, R, T&gt;<span class="notable-traits"><span class="notable-traits-tooltip"><span class="notable-traits-tooltiptext"><span class="docblock"><span class="notable">Notable traits for <a class="struct" href="struct.DistIter.html" title="struct rand_distr::DistIter">DistIter</a>&lt;D, R, T&gt;</span><code class="content"><span class="where fmt-newline">impl&lt;D, R, T&gt; Iterator for <a class="struct" href="struct.DistIter.html" title="struct rand_distr::DistIter">DistIter</a>&lt;D, R, T&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;D: <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;T&gt;,<br>&nbsp;&nbsp;&nbsp;&nbsp;R: <a class="trait" href="../rand/rng/trait.Rng.html" title="trait rand::rng::Rng">Rng</a>,</span></span><span class="where fmt-newline"> type <a class="associatedtype">Item</a> = T;</span></code></span></span></span></span><span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;R: <a class="trait" href="../rand/rng/trait.Rng.html" title="trait rand::rng::Rng">Rng</a>,</span></h4></section></summary><div class='docblock'>Create an iterator that generates random values of <code>T</code>, using <code>rng</code> as
the source of randomness. <a href="trait.Distribution.html#method.sample_iter">Read more</a></div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.map-48" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/distribution.rs.html#102-105">source</a><a href="#method.map-48" class="anchor"></a><h4 class="code-header">fn <a href="trait.Distribution.html#method.map" class="fnname">map</a>&lt;F, S&gt;(self, func: F) -&gt; <a class="struct" href="../rand/distributions/distribution/struct.DistMap.html" title="struct rand::distributions::distribution::DistMap">DistMap</a>&lt;Self, F, T, S&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;F: Fn(T) -&gt; S,</span></h4></section></summary><div class='docblock'>Create a distribution of values of ‘S’ by mapping the output of <code>Self</code>
through the closure <code>F</code> <a href="trait.Distribution.html#method.map">Read more</a></div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Distribution%3C%5BT%3B%2010%5D%3E-for-Standard" class="impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/other.rs.html#231">source</a><a href="#impl-Distribution%3C%5BT%3B%2010%5D%3E-for-Standard" class="anchor"></a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;[T; 10]&gt; for <a class="struct" href="struct.Standard.html" title="struct rand_distr::Standard">Standard</a><span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;<a class="struct" href="struct.Standard.html" title="struct rand_distr::Standard">Standard</a>: <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;T&gt;,</span></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.sample-28" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/other.rs.html#231">source</a><a href="#method.sample-28" class="anchor"></a><h4 class="code-header">fn <a href="trait.Distribution.html#tymethod.sample" class="fnname">sample</a>&lt;R&gt;(&amp;self, _rng: &amp;mut R) -&gt; [T; 10]<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;R: <a class="trait" href="../rand/rng/trait.Rng.html" title="trait rand::rng::Rng">Rng</a> + ?Sized,</span></h4></section></summary><div class='docblock'>Generate a random value of <code>T</code>, using <code>rng</code> as the source of randomness.</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.sample_iter-28" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/distribution.rs.html#73-76">source</a><a href="#method.sample_iter-28" class="anchor"></a><h4 class="code-header">fn <a href="trait.Distribution.html#method.sample_iter" class="fnname">sample_iter</a>&lt;R&gt;(self, rng: R) -&gt; <a class="struct" href="struct.DistIter.html" title="struct rand_distr::DistIter">DistIter</a>&lt;Self, R, T&gt;<span class="notable-traits"><span class="notable-traits-tooltip"><span class="notable-traits-tooltiptext"><span class="docblock"><span class="notable">Notable traits for <a class="struct" href="struct.DistIter.html" title="struct rand_distr::DistIter">DistIter</a>&lt;D, R, T&gt;</span><code class="content"><span class="where fmt-newline">impl&lt;D, R, T&gt; Iterator for <a class="struct" href="struct.DistIter.html" title="struct rand_distr::DistIter">DistIter</a>&lt;D, R, T&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;D: <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;T&gt;,<br>&nbsp;&nbsp;&nbsp;&nbsp;R: <a class="trait" href="../rand/rng/trait.Rng.html" title="trait rand::rng::Rng">Rng</a>,</span></span><span class="where fmt-newline"> type <a class="associatedtype">Item</a> = T;</span></code></span></span></span></span><span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;R: <a class="trait" href="../rand/rng/trait.Rng.html" title="trait rand::rng::Rng">Rng</a>,</span></h4></section></summary><div class='docblock'>Create an iterator that generates random values of <code>T</code>, using <code>rng</code> as
the source of randomness. <a href="trait.Distribution.html#method.sample_iter">Read more</a></div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.map-28" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/distribution.rs.html#102-105">source</a><a href="#method.map-28" class="anchor"></a><h4 class="code-header">fn <a href="trait.Distribution.html#method.map" class="fnname">map</a>&lt;F, S&gt;(self, func: F) -&gt; <a class="struct" href="../rand/distributions/distribution/struct.DistMap.html" title="struct rand::distributions::distribution::DistMap">DistMap</a>&lt;Self, F, T, S&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;F: Fn(T) -&gt; S,</span></h4></section></summary><div class='docblock'>Create a distribution of values of ‘S’ by mapping the output of <code>Self</code>
through the closure <code>F</code> <a href="trait.Distribution.html#method.map">Read more</a></div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Distribution%3C%5BT%3B%2011%5D%3E-for-Standard" class="impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/other.rs.html#231">source</a><a href="#impl-Distribution%3C%5BT%3B%2011%5D%3E-for-Standard" class="anchor"></a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;[T; 11]&gt; for <a class="struct" href="struct.Standard.html" title="struct rand_distr::Standard">Standard</a><span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;<a class="struct" href="struct.Standard.html" title="struct rand_distr::Standard">Standard</a>: <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;T&gt;,</span></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.sample-40" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/other.rs.html#231">source</a><a href="#method.sample-40" class="anchor"></a><h4 class="code-header">fn <a href="trait.Distribution.html#tymethod.sample" class="fnname">sample</a>&lt;R&gt;(&amp;self, _rng: &amp;mut R) -&gt; [T; 11]<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;R: <a class="trait" href="../rand/rng/trait.Rng.html" title="trait rand::rng::Rng">Rng</a> + ?Sized,</span></h4></section></summary><div class='docblock'>Generate a random value of <code>T</code>, using <code>rng</code> as the source of randomness.</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.sample_iter-40" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/distribution.rs.html#73-76">source</a><a href="#method.sample_iter-40" class="anchor"></a><h4 class="code-header">fn <a href="trait.Distribution.html#method.sample_iter" class="fnname">sample_iter</a>&lt;R&gt;(self, rng: R) -&gt; <a class="struct" href="struct.DistIter.html" title="struct rand_distr::DistIter">DistIter</a>&lt;Self, R, T&gt;<span class="notable-traits"><span class="notable-traits-tooltip"><span class="notable-traits-tooltiptext"><span class="docblock"><span class="notable">Notable traits for <a class="struct" href="struct.DistIter.html" title="struct rand_distr::DistIter">DistIter</a>&lt;D, R, T&gt;</span><code class="content"><span class="where fmt-newline">impl&lt;D, R, T&gt; Iterator for <a class="struct" href="struct.DistIter.html" title="struct rand_distr::DistIter">DistIter</a>&lt;D, R, T&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;D: <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;T&gt;,<br>&nbsp;&nbsp;&nbsp;&nbsp;R: <a class="trait" href="../rand/rng/trait.Rng.html" title="trait rand::rng::Rng">Rng</a>,</span></span><span class="where fmt-newline"> type <a class="associatedtype">Item</a> = T;</span></code></span></span></span></span><span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;R: <a class="trait" href="../rand/rng/trait.Rng.html" title="trait rand::rng::Rng">Rng</a>,</span></h4></section></summary><div class='docblock'>Create an iterator that generates random values of <code>T</code>, using <code>rng</code> as
the source of randomness. <a href="trait.Distribution.html#method.sample_iter">Read more</a></div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.map-40" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/distribution.rs.html#102-105">source</a><a href="#method.map-40" class="anchor"></a><h4 class="code-header">fn <a href="trait.Distribution.html#method.map" class="fnname">map</a>&lt;F, S&gt;(self, func: F) -&gt; <a class="struct" href="../rand/distributions/distribution/struct.DistMap.html" title="struct rand::distributions::distribution::DistMap">DistMap</a>&lt;Self, F, T, S&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;F: Fn(T) -&gt; S,</span></h4></section></summary><div class='docblock'>Create a distribution of values of ‘S’ by mapping the output of <code>Self</code>
through the closure <code>F</code> <a href="trait.Distribution.html#method.map">Read more</a></div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Distribution%3C%5BT%3B%2012%5D%3E-for-Standard" class="impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/other.rs.html#231">source</a><a href="#impl-Distribution%3C%5BT%3B%2012%5D%3E-for-Standard" class="anchor"></a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;[T; 12]&gt; for <a class="struct" href="struct.Standard.html" title="struct rand_distr::Standard">Standard</a><span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;<a class="struct" href="struct.Standard.html" title="struct rand_distr::Standard">Standard</a>: <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;T&gt;,</span></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.sample-50" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/other.rs.html#231">source</a><a href="#method.sample-50" class="anchor"></a><h4 class="code-header">fn <a href="trait.Distribution.html#tymethod.sample" class="fnname">sample</a>&lt;R&gt;(&amp;self, _rng: &amp;mut R) -&gt; [T; 12]<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;R: <a class="trait" href="../rand/rng/trait.Rng.html" title="trait rand::rng::Rng">Rng</a> + ?Sized,</span></h4></section></summary><div class='docblock'>Generate a random value of <code>T</code>, using <code>rng</code> as the source of randomness.</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.sample_iter-50" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/distribution.rs.html#73-76">source</a><a href="#method.sample_iter-50" class="anchor"></a><h4 class="code-header">fn <a href="trait.Distribution.html#method.sample_iter" class="fnname">sample_iter</a>&lt;R&gt;(self, rng: R) -&gt; <a class="struct" href="struct.DistIter.html" title="struct rand_distr::DistIter">DistIter</a>&lt;Self, R, T&gt;<span class="notable-traits"><span class="notable-traits-tooltip"><span class="notable-traits-tooltiptext"><span class="docblock"><span class="notable">Notable traits for <a class="struct" href="struct.DistIter.html" title="struct rand_distr::DistIter">DistIter</a>&lt;D, R, T&gt;</span><code class="content"><span class="where fmt-newline">impl&lt;D, R, T&gt; Iterator for <a class="struct" href="struct.DistIter.html" title="struct rand_distr::DistIter">DistIter</a>&lt;D, R, T&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;D: <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;T&gt;,<br>&nbsp;&nbsp;&nbsp;&nbsp;R: <a class="trait" href="../rand/rng/trait.Rng.html" title="trait rand::rng::Rng">Rng</a>,</span></span><span class="where fmt-newline"> type <a class="associatedtype">Item</a> = T;</span></code></span></span></span></span><span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;R: <a class="trait" href="../rand/rng/trait.Rng.html" title="trait rand::rng::Rng">Rng</a>,</span></h4></section></summary><div class='docblock'>Create an iterator that generates random values of <code>T</code>, using <code>rng</code> as
the source of randomness. <a href="trait.Distribution.html#method.sample_iter">Read more</a></div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.map-50" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/distribution.rs.html#102-105">source</a><a href="#method.map-50" class="anchor"></a><h4 class="code-header">fn <a href="trait.Distribution.html#method.map" class="fnname">map</a>&lt;F, S&gt;(self, func: F) -&gt; <a class="struct" href="../rand/distributions/distribution/struct.DistMap.html" title="struct rand::distributions::distribution::DistMap">DistMap</a>&lt;Self, F, T, S&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;F: Fn(T) -&gt; S,</span></h4></section></summary><div class='docblock'>Create a distribution of values of ‘S’ by mapping the output of <code>Self</code>
through the closure <code>F</code> <a href="trait.Distribution.html#method.map">Read more</a></div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Distribution%3C%5BT%3B%2013%5D%3E-for-Standard" class="impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/other.rs.html#231">source</a><a href="#impl-Distribution%3C%5BT%3B%2013%5D%3E-for-Standard" class="anchor"></a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;[T; 13]&gt; for <a class="struct" href="struct.Standard.html" title="struct rand_distr::Standard">Standard</a><span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;<a class="struct" href="struct.Standard.html" title="struct rand_distr::Standard">Standard</a>: <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;T&gt;,</span></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.sample-45" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/other.rs.html#231">source</a><a href="#method.sample-45" class="anchor"></a><h4 class="code-header">fn <a href="trait.Distribution.html#tymethod.sample" class="fnname">sample</a>&lt;R&gt;(&amp;self, _rng: &amp;mut R) -&gt; [T; 13]<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;R: <a class="trait" href="../rand/rng/trait.Rng.html" title="trait rand::rng::Rng">Rng</a> + ?Sized,</span></h4></section></summary><div class='docblock'>Generate a random value of <code>T</code>, using <code>rng</code> as the source of randomness.</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.sample_iter-45" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/distribution.rs.html#73-76">source</a><a href="#method.sample_iter-45" class="anchor"></a><h4 class="code-header">fn <a href="trait.Distribution.html#method.sample_iter" class="fnname">sample_iter</a>&lt;R&gt;(self, rng: R) -&gt; <a class="struct" href="struct.DistIter.html" title="struct rand_distr::DistIter">DistIter</a>&lt;Self, R, T&gt;<span class="notable-traits"><span class="notable-traits-tooltip"><span class="notable-traits-tooltiptext"><span class="docblock"><span class="notable">Notable traits for <a class="struct" href="struct.DistIter.html" title="struct rand_distr::DistIter">DistIter</a>&lt;D, R, T&gt;</span><code class="content"><span class="where fmt-newline">impl&lt;D, R, T&gt; Iterator for <a class="struct" href="struct.DistIter.html" title="struct rand_distr::DistIter">DistIter</a>&lt;D, R, T&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;D: <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;T&gt;,<br>&nbsp;&nbsp;&nbsp;&nbsp;R: <a class="trait" href="../rand/rng/trait.Rng.html" title="trait rand::rng::Rng">Rng</a>,</span></span><span class="where fmt-newline"> type <a class="associatedtype">Item</a> = T;</span></code></span></span></span></span><span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;R: <a class="trait" href="../rand/rng/trait.Rng.html" title="trait rand::rng::Rng">Rng</a>,</span></h4></section></summary><div class='docblock'>Create an iterator that generates random values of <code>T</code>, using <code>rng</code> as
the source of randomness. <a href="trait.Distribution.html#method.sample_iter">Read more</a></div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.map-45" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/distribution.rs.html#102-105">source</a><a href="#method.map-45" class="anchor"></a><h4 class="code-header">fn <a href="trait.Distribution.html#method.map" class="fnname">map</a>&lt;F, S&gt;(self, func: F) -&gt; <a class="struct" href="../rand/distributions/distribution/struct.DistMap.html" title="struct rand::distributions::distribution::DistMap">DistMap</a>&lt;Self, F, T, S&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;F: Fn(T) -&gt; S,</span></h4></section></summary><div class='docblock'>Create a distribution of values of ‘S’ by mapping the output of <code>Self</code>
through the closure <code>F</code> <a href="trait.Distribution.html#method.map">Read more</a></div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Distribution%3C%5BT%3B%2014%5D%3E-for-Standard" class="impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/other.rs.html#231">source</a><a href="#impl-Distribution%3C%5BT%3B%2014%5D%3E-for-Standard" class="anchor"></a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;[T; 14]&gt; for <a class="struct" href="struct.Standard.html" title="struct rand_distr::Standard">Standard</a><span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;<a class="struct" href="struct.Standard.html" title="struct rand_distr::Standard">Standard</a>: <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;T&gt;,</span></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.sample-29" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/other.rs.html#231">source</a><a href="#method.sample-29" class="anchor"></a><h4 class="code-header">fn <a href="trait.Distribution.html#tymethod.sample" class="fnname">sample</a>&lt;R&gt;(&amp;self, _rng: &amp;mut R) -&gt; [T; 14]<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;R: <a class="trait" href="../rand/rng/trait.Rng.html" title="trait rand::rng::Rng">Rng</a> + ?Sized,</span></h4></section></summary><div class='docblock'>Generate a random value of <code>T</code>, using <code>rng</code> as the source of randomness.</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.sample_iter-29" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/distribution.rs.html#73-76">source</a><a href="#method.sample_iter-29" class="anchor"></a><h4 class="code-header">fn <a href="trait.Distribution.html#method.sample_iter" class="fnname">sample_iter</a>&lt;R&gt;(self, rng: R) -&gt; <a class="struct" href="struct.DistIter.html" title="struct rand_distr::DistIter">DistIter</a>&lt;Self, R, T&gt;<span class="notable-traits"><span class="notable-traits-tooltip"><span class="notable-traits-tooltiptext"><span class="docblock"><span class="notable">Notable traits for <a class="struct" href="struct.DistIter.html" title="struct rand_distr::DistIter">DistIter</a>&lt;D, R, T&gt;</span><code class="content"><span class="where fmt-newline">impl&lt;D, R, T&gt; Iterator for <a class="struct" href="struct.DistIter.html" title="struct rand_distr::DistIter">DistIter</a>&lt;D, R, T&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;D: <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;T&gt;,<br>&nbsp;&nbsp;&nbsp;&nbsp;R: <a class="trait" href="../rand/rng/trait.Rng.html" title="trait rand::rng::Rng">Rng</a>,</span></span><span class="where fmt-newline"> type <a class="associatedtype">Item</a> = T;</span></code></span></span></span></span><span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;R: <a class="trait" href="../rand/rng/trait.Rng.html" title="trait rand::rng::Rng">Rng</a>,</span></h4></section></summary><div class='docblock'>Create an iterator that generates random values of <code>T</code>, using <code>rng</code> as
the source of randomness. <a href="trait.Distribution.html#method.sample_iter">Read more</a></div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.map-29" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/distribution.rs.html#102-105">source</a><a href="#method.map-29" class="anchor"></a><h4 class="code-header">fn <a href="trait.Distribution.html#method.map" class="fnname">map</a>&lt;F, S&gt;(self, func: F) -&gt; <a class="struct" href="../rand/distributions/distribution/struct.DistMap.html" title="struct rand::distributions::distribution::DistMap">DistMap</a>&lt;Self, F, T, S&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;F: Fn(T) -&gt; S,</span></h4></section></summary><div class='docblock'>Create a distribution of values of ‘S’ by mapping the output of <code>Self</code>
through the closure <code>F</code> <a href="trait.Distribution.html#method.map">Read more</a></div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Distribution%3C%5BT%3B%2015%5D%3E-for-Standard" class="impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/other.rs.html#231">source</a><a href="#impl-Distribution%3C%5BT%3B%2015%5D%3E-for-Standard" class="anchor"></a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;[T; 15]&gt; for <a class="struct" href="struct.Standard.html" title="struct rand_distr::Standard">Standard</a><span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;<a class="struct" href="struct.Standard.html" title="struct rand_distr::Standard">Standard</a>: <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;T&gt;,</span></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.sample-43" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/other.rs.html#231">source</a><a href="#method.sample-43" class="anchor"></a><h4 class="code-header">fn <a href="trait.Distribution.html#tymethod.sample" class="fnname">sample</a>&lt;R&gt;(&amp;self, _rng: &amp;mut R) -&gt; [T; 15]<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;R: <a class="trait" href="../rand/rng/trait.Rng.html" title="trait rand::rng::Rng">Rng</a> + ?Sized,</span></h4></section></summary><div class='docblock'>Generate a random value of <code>T</code>, using <code>rng</code> as the source of randomness.</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.sample_iter-43" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/distribution.rs.html#73-76">source</a><a href="#method.sample_iter-43" class="anchor"></a><h4 class="code-header">fn <a href="trait.Distribution.html#method.sample_iter" class="fnname">sample_iter</a>&lt;R&gt;(self, rng: R) -&gt; <a class="struct" href="struct.DistIter.html" title="struct rand_distr::DistIter">DistIter</a>&lt;Self, R, T&gt;<span class="notable-traits"><span class="notable-traits-tooltip"><span class="notable-traits-tooltiptext"><span class="docblock"><span class="notable">Notable traits for <a class="struct" href="struct.DistIter.html" title="struct rand_distr::DistIter">DistIter</a>&lt;D, R, T&gt;</span><code class="content"><span class="where fmt-newline">impl&lt;D, R, T&gt; Iterator for <a class="struct" href="struct.DistIter.html" title="struct rand_distr::DistIter">DistIter</a>&lt;D, R, T&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;D: <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;T&gt;,<br>&nbsp;&nbsp;&nbsp;&nbsp;R: <a class="trait" href="../rand/rng/trait.Rng.html" title="trait rand::rng::Rng">Rng</a>,</span></span><span class="where fmt-newline"> type <a class="associatedtype">Item</a> = T;</span></code></span></span></span></span><span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;R: <a class="trait" href="../rand/rng/trait.Rng.html" title="trait rand::rng::Rng">Rng</a>,</span></h4></section></summary><div class='docblock'>Create an iterator that generates random values of <code>T</code>, using <code>rng</code> as
the source of randomness. <a href="trait.Distribution.html#method.sample_iter">Read more</a></div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.map-43" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/distribution.rs.html#102-105">source</a><a href="#method.map-43" class="anchor"></a><h4 class="code-header">fn <a href="trait.Distribution.html#method.map" class="fnname">map</a>&lt;F, S&gt;(self, func: F) -&gt; <a class="struct" href="../rand/distributions/distribution/struct.DistMap.html" title="struct rand::distributions::distribution::DistMap">DistMap</a>&lt;Self, F, T, S&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;F: Fn(T) -&gt; S,</span></h4></section></summary><div class='docblock'>Create a distribution of values of ‘S’ by mapping the output of <code>Self</code>
through the closure <code>F</code> <a href="trait.Distribution.html#method.map">Read more</a></div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Distribution%3C%5BT%3B%2016%5D%3E-for-Standard" class="impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/other.rs.html#231">source</a><a href="#impl-Distribution%3C%5BT%3B%2016%5D%3E-for-Standard" class="anchor"></a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;[T; 16]&gt; for <a class="struct" href="struct.Standard.html" title="struct rand_distr::Standard">Standard</a><span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;<a class="struct" href="struct.Standard.html" title="struct rand_distr::Standard">Standard</a>: <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;T&gt;,</span></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.sample-21" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/other.rs.html#231">source</a><a href="#method.sample-21" class="anchor"></a><h4 class="code-header">fn <a href="trait.Distribution.html#tymethod.sample" class="fnname">sample</a>&lt;R&gt;(&amp;self, _rng: &amp;mut R) -&gt; [T; 16]<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;R: <a class="trait" href="../rand/rng/trait.Rng.html" title="trait rand::rng::Rng">Rng</a> + ?Sized,</span></h4></section></summary><div class='docblock'>Generate a random value of <code>T</code>, using <code>rng</code> as the source of randomness.</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.sample_iter-21" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/distribution.rs.html#73-76">source</a><a href="#method.sample_iter-21" class="anchor"></a><h4 class="code-header">fn <a href="trait.Distribution.html#method.sample_iter" class="fnname">sample_iter</a>&lt;R&gt;(self, rng: R) -&gt; <a class="struct" href="struct.DistIter.html" title="struct rand_distr::DistIter">DistIter</a>&lt;Self, R, T&gt;<span class="notable-traits"><span class="notable-traits-tooltip"><span class="notable-traits-tooltiptext"><span class="docblock"><span class="notable">Notable traits for <a class="struct" href="struct.DistIter.html" title="struct rand_distr::DistIter">DistIter</a>&lt;D, R, T&gt;</span><code class="content"><span class="where fmt-newline">impl&lt;D, R, T&gt; Iterator for <a class="struct" href="struct.DistIter.html" title="struct rand_distr::DistIter">DistIter</a>&lt;D, R, T&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;D: <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;T&gt;,<br>&nbsp;&nbsp;&nbsp;&nbsp;R: <a class="trait" href="../rand/rng/trait.Rng.html" title="trait rand::rng::Rng">Rng</a>,</span></span><span class="where fmt-newline"> type <a class="associatedtype">Item</a> = T;</span></code></span></span></span></span><span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;R: <a class="trait" href="../rand/rng/trait.Rng.html" title="trait rand::rng::Rng">Rng</a>,</span></h4></section></summary><div class='docblock'>Create an iterator that generates random values of <code>T</code>, using <code>rng</code> as
the source of randomness. <a href="trait.Distribution.html#method.sample_iter">Read more</a></div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.map-21" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/distribution.rs.html#102-105">source</a><a href="#method.map-21" class="anchor"></a><h4 class="code-header">fn <a href="trait.Distribution.html#method.map" class="fnname">map</a>&lt;F, S&gt;(self, func: F) -&gt; <a class="struct" href="../rand/distributions/distribution/struct.DistMap.html" title="struct rand::distributions::distribution::DistMap">DistMap</a>&lt;Self, F, T, S&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;F: Fn(T) -&gt; S,</span></h4></section></summary><div class='docblock'>Create a distribution of values of ‘S’ by mapping the output of <code>Self</code>
through the closure <code>F</code> <a href="trait.Distribution.html#method.map">Read more</a></div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Distribution%3C%5BT%3B%2017%5D%3E-for-Standard" class="impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/other.rs.html#231">source</a><a href="#impl-Distribution%3C%5BT%3B%2017%5D%3E-for-Standard" class="anchor"></a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;[T; 17]&gt; for <a class="struct" href="struct.Standard.html" title="struct rand_distr::Standard">Standard</a><span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;<a class="struct" href="struct.Standard.html" title="struct rand_distr::Standard">Standard</a>: <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;T&gt;,</span></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.sample-17" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/other.rs.html#231">source</a><a href="#method.sample-17" class="anchor"></a><h4 class="code-header">fn <a href="trait.Distribution.html#tymethod.sample" class="fnname">sample</a>&lt;R&gt;(&amp;self, _rng: &amp;mut R) -&gt; [T; 17]<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;R: <a class="trait" href="../rand/rng/trait.Rng.html" title="trait rand::rng::Rng">Rng</a> + ?Sized,</span></h4></section></summary><div class='docblock'>Generate a random value of <code>T</code>, using <code>rng</code> as the source of randomness.</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.sample_iter-17" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/distribution.rs.html#73-76">source</a><a href="#method.sample_iter-17" class="anchor"></a><h4 class="code-header">fn <a href="trait.Distribution.html#method.sample_iter" class="fnname">sample_iter</a>&lt;R&gt;(self, rng: R) -&gt; <a class="struct" href="struct.DistIter.html" title="struct rand_distr::DistIter">DistIter</a>&lt;Self, R, T&gt;<span class="notable-traits"><span class="notable-traits-tooltip"><span class="notable-traits-tooltiptext"><span class="docblock"><span class="notable">Notable traits for <a class="struct" href="struct.DistIter.html" title="struct rand_distr::DistIter">DistIter</a>&lt;D, R, T&gt;</span><code class="content"><span class="where fmt-newline">impl&lt;D, R, T&gt; Iterator for <a class="struct" href="struct.DistIter.html" title="struct rand_distr::DistIter">DistIter</a>&lt;D, R, T&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;D: <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;T&gt;,<br>&nbsp;&nbsp;&nbsp;&nbsp;R: <a class="trait" href="../rand/rng/trait.Rng.html" title="trait rand::rng::Rng">Rng</a>,</span></span><span class="where fmt-newline"> type <a class="associatedtype">Item</a> = T;</span></code></span></span></span></span><span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;R: <a class="trait" href="../rand/rng/trait.Rng.html" title="trait rand::rng::Rng">Rng</a>,</span></h4></section></summary><div class='docblock'>Create an iterator that generates random values of <code>T</code>, using <code>rng</code> as
the source of randomness. <a href="trait.Distribution.html#method.sample_iter">Read more</a></div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.map-17" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/distribution.rs.html#102-105">source</a><a href="#method.map-17" class="anchor"></a><h4 class="code-header">fn <a href="trait.Distribution.html#method.map" class="fnname">map</a>&lt;F, S&gt;(self, func: F) -&gt; <a class="struct" href="../rand/distributions/distribution/struct.DistMap.html" title="struct rand::distributions::distribution::DistMap">DistMap</a>&lt;Self, F, T, S&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;F: Fn(T) -&gt; S,</span></h4></section></summary><div class='docblock'>Create a distribution of values of ‘S’ by mapping the output of <code>Self</code>
through the closure <code>F</code> <a href="trait.Distribution.html#method.map">Read more</a></div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Distribution%3C%5BT%3B%2018%5D%3E-for-Standard" class="impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/other.rs.html#231">source</a><a href="#impl-Distribution%3C%5BT%3B%2018%5D%3E-for-Standard" class="anchor"></a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;[T; 18]&gt; for <a class="struct" href="struct.Standard.html" title="struct rand_distr::Standard">Standard</a><span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;<a class="struct" href="struct.Standard.html" title="struct rand_distr::Standard">Standard</a>: <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;T&gt;,</span></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.sample-24" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/other.rs.html#231">source</a><a href="#method.sample-24" class="anchor"></a><h4 class="code-header">fn <a href="trait.Distribution.html#tymethod.sample" class="fnname">sample</a>&lt;R&gt;(&amp;self, _rng: &amp;mut R) -&gt; [T; 18]<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;R: <a class="trait" href="../rand/rng/trait.Rng.html" title="trait rand::rng::Rng">Rng</a> + ?Sized,</span></h4></section></summary><div class='docblock'>Generate a random value of <code>T</code>, using <code>rng</code> as the source of randomness.</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.sample_iter-24" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/distribution.rs.html#73-76">source</a><a href="#method.sample_iter-24" class="anchor"></a><h4 class="code-header">fn <a href="trait.Distribution.html#method.sample_iter" class="fnname">sample_iter</a>&lt;R&gt;(self, rng: R) -&gt; <a class="struct" href="struct.DistIter.html" title="struct rand_distr::DistIter">DistIter</a>&lt;Self, R, T&gt;<span class="notable-traits"><span class="notable-traits-tooltip"><span class="notable-traits-tooltiptext"><span class="docblock"><span class="notable">Notable traits for <a class="struct" href="struct.DistIter.html" title="struct rand_distr::DistIter">DistIter</a>&lt;D, R, T&gt;</span><code class="content"><span class="where fmt-newline">impl&lt;D, R, T&gt; Iterator for <a class="struct" href="struct.DistIter.html" title="struct rand_distr::DistIter">DistIter</a>&lt;D, R, T&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;D: <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;T&gt;,<br>&nbsp;&nbsp;&nbsp;&nbsp;R: <a class="trait" href="../rand/rng/trait.Rng.html" title="trait rand::rng::Rng">Rng</a>,</span></span><span class="where fmt-newline"> type <a class="associatedtype">Item</a> = T;</span></code></span></span></span></span><span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;R: <a class="trait" href="../rand/rng/trait.Rng.html" title="trait rand::rng::Rng">Rng</a>,</span></h4></section></summary><div class='docblock'>Create an iterator that generates random values of <code>T</code>, using <code>rng</code> as
the source of randomness. <a href="trait.Distribution.html#method.sample_iter">Read more</a></div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.map-24" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/distribution.rs.html#102-105">source</a><a href="#method.map-24" class="anchor"></a><h4 class="code-header">fn <a href="trait.Distribution.html#method.map" class="fnname">map</a>&lt;F, S&gt;(self, func: F) -&gt; <a class="struct" href="../rand/distributions/distribution/struct.DistMap.html" title="struct rand::distributions::distribution::DistMap">DistMap</a>&lt;Self, F, T, S&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;F: Fn(T) -&gt; S,</span></h4></section></summary><div class='docblock'>Create a distribution of values of ‘S’ by mapping the output of <code>Self</code>
through the closure <code>F</code> <a href="trait.Distribution.html#method.map">Read more</a></div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Distribution%3C%5BT%3B%2019%5D%3E-for-Standard" class="impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/other.rs.html#231">source</a><a href="#impl-Distribution%3C%5BT%3B%2019%5D%3E-for-Standard" class="anchor"></a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;[T; 19]&gt; for <a class="struct" href="struct.Standard.html" title="struct rand_distr::Standard">Standard</a><span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;<a class="struct" href="struct.Standard.html" title="struct rand_distr::Standard">Standard</a>: <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;T&gt;,</span></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.sample-2" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/other.rs.html#231">source</a><a href="#method.sample-2" class="anchor"></a><h4 class="code-header">fn <a href="trait.Distribution.html#tymethod.sample" class="fnname">sample</a>&lt;R&gt;(&amp;self, _rng: &amp;mut R) -&gt; [T; 19]<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;R: <a class="trait" href="../rand/rng/trait.Rng.html" title="trait rand::rng::Rng">Rng</a> + ?Sized,</span></h4></section></summary><div class='docblock'>Generate a random value of <code>T</code>, using <code>rng</code> as the source of randomness.</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.sample_iter-2" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/distribution.rs.html#73-76">source</a><a href="#method.sample_iter-2" class="anchor"></a><h4 class="code-header">fn <a href="trait.Distribution.html#method.sample_iter" class="fnname">sample_iter</a>&lt;R&gt;(self, rng: R) -&gt; <a class="struct" href="struct.DistIter.html" title="struct rand_distr::DistIter">DistIter</a>&lt;Self, R, T&gt;<span class="notable-traits"><span class="notable-traits-tooltip"><span class="notable-traits-tooltiptext"><span class="docblock"><span class="notable">Notable traits for <a class="struct" href="struct.DistIter.html" title="struct rand_distr::DistIter">DistIter</a>&lt;D, R, T&gt;</span><code class="content"><span class="where fmt-newline">impl&lt;D, R, T&gt; Iterator for <a class="struct" href="struct.DistIter.html" title="struct rand_distr::DistIter">DistIter</a>&lt;D, R, T&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;D: <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;T&gt;,<br>&nbsp;&nbsp;&nbsp;&nbsp;R: <a class="trait" href="../rand/rng/trait.Rng.html" title="trait rand::rng::Rng">Rng</a>,</span></span><span class="where fmt-newline"> type <a class="associatedtype">Item</a> = T;</span></code></span></span></span></span><span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;R: <a class="trait" href="../rand/rng/trait.Rng.html" title="trait rand::rng::Rng">Rng</a>,</span></h4></section></summary><div class='docblock'>Create an iterator that generates random values of <code>T</code>, using <code>rng</code> as
the source of randomness. <a href="trait.Distribution.html#method.sample_iter">Read more</a></div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.map-2" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/distribution.rs.html#102-105">source</a><a href="#method.map-2" class="anchor"></a><h4 class="code-header">fn <a href="trait.Distribution.html#method.map" class="fnname">map</a>&lt;F, S&gt;(self, func: F) -&gt; <a class="struct" href="../rand/distributions/distribution/struct.DistMap.html" title="struct rand::distributions::distribution::DistMap">DistMap</a>&lt;Self, F, T, S&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;F: Fn(T) -&gt; S,</span></h4></section></summary><div class='docblock'>Create a distribution of values of ‘S’ by mapping the output of <code>Self</code>
through the closure <code>F</code> <a href="trait.Distribution.html#method.map">Read more</a></div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Distribution%3C%5BT%3B%202%5D%3E-for-Standard" class="impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/other.rs.html#231">source</a><a href="#impl-Distribution%3C%5BT%3B%202%5D%3E-for-Standard" class="anchor"></a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;[T; 2]&gt; for <a class="struct" href="struct.Standard.html" title="struct rand_distr::Standard">Standard</a><span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;<a class="struct" href="struct.Standard.html" title="struct rand_distr::Standard">Standard</a>: <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;T&gt;,</span></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.sample-32" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/other.rs.html#231">source</a><a href="#method.sample-32" class="anchor"></a><h4 class="code-header">fn <a href="trait.Distribution.html#tymethod.sample" class="fnname">sample</a>&lt;R&gt;(&amp;self, _rng: &amp;mut R) -&gt; [T; 2]<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;R: <a class="trait" href="../rand/rng/trait.Rng.html" title="trait rand::rng::Rng">Rng</a> + ?Sized,</span></h4></section></summary><div class='docblock'>Generate a random value of <code>T</code>, using <code>rng</code> as the source of randomness.</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.sample_iter-32" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/distribution.rs.html#73-76">source</a><a href="#method.sample_iter-32" class="anchor"></a><h4 class="code-header">fn <a href="trait.Distribution.html#method.sample_iter" class="fnname">sample_iter</a>&lt;R&gt;(self, rng: R) -&gt; <a class="struct" href="struct.DistIter.html" title="struct rand_distr::DistIter">DistIter</a>&lt;Self, R, T&gt;<span class="notable-traits"><span class="notable-traits-tooltip"><span class="notable-traits-tooltiptext"><span class="docblock"><span class="notable">Notable traits for <a class="struct" href="struct.DistIter.html" title="struct rand_distr::DistIter">DistIter</a>&lt;D, R, T&gt;</span><code class="content"><span class="where fmt-newline">impl&lt;D, R, T&gt; Iterator for <a class="struct" href="struct.DistIter.html" title="struct rand_distr::DistIter">DistIter</a>&lt;D, R, T&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;D: <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;T&gt;,<br>&nbsp;&nbsp;&nbsp;&nbsp;R: <a class="trait" href="../rand/rng/trait.Rng.html" title="trait rand::rng::Rng">Rng</a>,</span></span><span class="where fmt-newline"> type <a class="associatedtype">Item</a> = T;</span></code></span></span></span></span><span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;R: <a class="trait" href="../rand/rng/trait.Rng.html" title="trait rand::rng::Rng">Rng</a>,</span></h4></section></summary><div class='docblock'>Create an iterator that generates random values of <code>T</code>, using <code>rng</code> as
the source of randomness. <a href="trait.Distribution.html#method.sample_iter">Read more</a></div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.map-32" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/distribution.rs.html#102-105">source</a><a href="#method.map-32" class="anchor"></a><h4 class="code-header">fn <a href="trait.Distribution.html#method.map" class="fnname">map</a>&lt;F, S&gt;(self, func: F) -&gt; <a class="struct" href="../rand/distributions/distribution/struct.DistMap.html" title="struct rand::distributions::distribution::DistMap">DistMap</a>&lt;Self, F, T, S&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;F: Fn(T) -&gt; S,</span></h4></section></summary><div class='docblock'>Create a distribution of values of ‘S’ by mapping the output of <code>Self</code>
through the closure <code>F</code> <a href="trait.Distribution.html#method.map">Read more</a></div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Distribution%3C%5BT%3B%2020%5D%3E-for-Standard" class="impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/other.rs.html#231">source</a><a href="#impl-Distribution%3C%5BT%3B%2020%5D%3E-for-Standard" class="anchor"></a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;[T; 20]&gt; for <a class="struct" href="struct.Standard.html" title="struct rand_distr::Standard">Standard</a><span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;<a class="struct" href="struct.Standard.html" title="struct rand_distr::Standard">Standard</a>: <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;T&gt;,</span></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.sample-27" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/other.rs.html#231">source</a><a href="#method.sample-27" class="anchor"></a><h4 class="code-header">fn <a href="trait.Distribution.html#tymethod.sample" class="fnname">sample</a>&lt;R&gt;(&amp;self, _rng: &amp;mut R) -&gt; [T; 20]<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;R: <a class="trait" href="../rand/rng/trait.Rng.html" title="trait rand::rng::Rng">Rng</a> + ?Sized,</span></h4></section></summary><div class='docblock'>Generate a random value of <code>T</code>, using <code>rng</code> as the source of randomness.</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.sample_iter-27" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/distribution.rs.html#73-76">source</a><a href="#method.sample_iter-27" class="anchor"></a><h4 class="code-header">fn <a href="trait.Distribution.html#method.sample_iter" class="fnname">sample_iter</a>&lt;R&gt;(self, rng: R) -&gt; <a class="struct" href="struct.DistIter.html" title="struct rand_distr::DistIter">DistIter</a>&lt;Self, R, T&gt;<span class="notable-traits"><span class="notable-traits-tooltip"><span class="notable-traits-tooltiptext"><span class="docblock"><span class="notable">Notable traits for <a class="struct" href="struct.DistIter.html" title="struct rand_distr::DistIter">DistIter</a>&lt;D, R, T&gt;</span><code class="content"><span class="where fmt-newline">impl&lt;D, R, T&gt; Iterator for <a class="struct" href="struct.DistIter.html" title="struct rand_distr::DistIter">DistIter</a>&lt;D, R, T&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;D: <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;T&gt;,<br>&nbsp;&nbsp;&nbsp;&nbsp;R: <a class="trait" href="../rand/rng/trait.Rng.html" title="trait rand::rng::Rng">Rng</a>,</span></span><span class="where fmt-newline"> type <a class="associatedtype">Item</a> = T;</span></code></span></span></span></span><span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;R: <a class="trait" href="../rand/rng/trait.Rng.html" title="trait rand::rng::Rng">Rng</a>,</span></h4></section></summary><div class='docblock'>Create an iterator that generates random values of <code>T</code>, using <code>rng</code> as
the source of randomness. <a href="trait.Distribution.html#method.sample_iter">Read more</a></div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.map-27" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/distribution.rs.html#102-105">source</a><a href="#method.map-27" class="anchor"></a><h4 class="code-header">fn <a href="trait.Distribution.html#method.map" class="fnname">map</a>&lt;F, S&gt;(self, func: F) -&gt; <a class="struct" href="../rand/distributions/distribution/struct.DistMap.html" title="struct rand::distributions::distribution::DistMap">DistMap</a>&lt;Self, F, T, S&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;F: Fn(T) -&gt; S,</span></h4></section></summary><div class='docblock'>Create a distribution of values of ‘S’ by mapping the output of <code>Self</code>
through the closure <code>F</code> <a href="trait.Distribution.html#method.map">Read more</a></div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Distribution%3C%5BT%3B%2021%5D%3E-for-Standard" class="impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/other.rs.html#231">source</a><a href="#impl-Distribution%3C%5BT%3B%2021%5D%3E-for-Standard" class="anchor"></a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;[T; 21]&gt; for <a class="struct" href="struct.Standard.html" title="struct rand_distr::Standard">Standard</a><span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;<a class="struct" href="struct.Standard.html" title="struct rand_distr::Standard">Standard</a>: <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;T&gt;,</span></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.sample-42" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/other.rs.html#231">source</a><a href="#method.sample-42" class="anchor"></a><h4 class="code-header">fn <a href="trait.Distribution.html#tymethod.sample" class="fnname">sample</a>&lt;R&gt;(&amp;self, _rng: &amp;mut R) -&gt; [T; 21]<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;R: <a class="trait" href="../rand/rng/trait.Rng.html" title="trait rand::rng::Rng">Rng</a> + ?Sized,</span></h4></section></summary><div class='docblock'>Generate a random value of <code>T</code>, using <code>rng</code> as the source of randomness.</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.sample_iter-42" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/distribution.rs.html#73-76">source</a><a href="#method.sample_iter-42" class="anchor"></a><h4 class="code-header">fn <a href="trait.Distribution.html#method.sample_iter" class="fnname">sample_iter</a>&lt;R&gt;(self, rng: R) -&gt; <a class="struct" href="struct.DistIter.html" title="struct rand_distr::DistIter">DistIter</a>&lt;Self, R, T&gt;<span class="notable-traits"><span class="notable-traits-tooltip"><span class="notable-traits-tooltiptext"><span class="docblock"><span class="notable">Notable traits for <a class="struct" href="struct.DistIter.html" title="struct rand_distr::DistIter">DistIter</a>&lt;D, R, T&gt;</span><code class="content"><span class="where fmt-newline">impl&lt;D, R, T&gt; Iterator for <a class="struct" href="struct.DistIter.html" title="struct rand_distr::DistIter">DistIter</a>&lt;D, R, T&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;D: <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;T&gt;,<br>&nbsp;&nbsp;&nbsp;&nbsp;R: <a class="trait" href="../rand/rng/trait.Rng.html" title="trait rand::rng::Rng">Rng</a>,</span></span><span class="where fmt-newline"> type <a class="associatedtype">Item</a> = T;</span></code></span></span></span></span><span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;R: <a class="trait" href="../rand/rng/trait.Rng.html" title="trait rand::rng::Rng">Rng</a>,</span></h4></section></summary><div class='docblock'>Create an iterator that generates random values of <code>T</code>, using <code>rng</code> as
the source of randomness. <a href="trait.Distribution.html#method.sample_iter">Read more</a></div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.map-42" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/distribution.rs.html#102-105">source</a><a href="#method.map-42" class="anchor"></a><h4 class="code-header">fn <a href="trait.Distribution.html#method.map" class="fnname">map</a>&lt;F, S&gt;(self, func: F) -&gt; <a class="struct" href="../rand/distributions/distribution/struct.DistMap.html" title="struct rand::distributions::distribution::DistMap">DistMap</a>&lt;Self, F, T, S&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;F: Fn(T) -&gt; S,</span></h4></section></summary><div class='docblock'>Create a distribution of values of ‘S’ by mapping the output of <code>Self</code>
through the closure <code>F</code> <a href="trait.Distribution.html#method.map">Read more</a></div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Distribution%3C%5BT%3B%2022%5D%3E-for-Standard" class="impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/other.rs.html#231">source</a><a href="#impl-Distribution%3C%5BT%3B%2022%5D%3E-for-Standard" class="anchor"></a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;[T; 22]&gt; for <a class="struct" href="struct.Standard.html" title="struct rand_distr::Standard">Standard</a><span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;<a class="struct" href="struct.Standard.html" title="struct rand_distr::Standard">Standard</a>: <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;T&gt;,</span></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.sample-8" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/other.rs.html#231">source</a><a href="#method.sample-8" class="anchor"></a><h4 class="code-header">fn <a href="trait.Distribution.html#tymethod.sample" class="fnname">sample</a>&lt;R&gt;(&amp;self, _rng: &amp;mut R) -&gt; [T; 22]<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;R: <a class="trait" href="../rand/rng/trait.Rng.html" title="trait rand::rng::Rng">Rng</a> + ?Sized,</span></h4></section></summary><div class='docblock'>Generate a random value of <code>T</code>, using <code>rng</code> as the source of randomness.</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.sample_iter-8" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/distribution.rs.html#73-76">source</a><a href="#method.sample_iter-8" class="anchor"></a><h4 class="code-header">fn <a href="trait.Distribution.html#method.sample_iter" class="fnname">sample_iter</a>&lt;R&gt;(self, rng: R) -&gt; <a class="struct" href="struct.DistIter.html" title="struct rand_distr::DistIter">DistIter</a>&lt;Self, R, T&gt;<span class="notable-traits"><span class="notable-traits-tooltip"><span class="notable-traits-tooltiptext"><span class="docblock"><span class="notable">Notable traits for <a class="struct" href="struct.DistIter.html" title="struct rand_distr::DistIter">DistIter</a>&lt;D, R, T&gt;</span><code class="content"><span class="where fmt-newline">impl&lt;D, R, T&gt; Iterator for <a class="struct" href="struct.DistIter.html" title="struct rand_distr::DistIter">DistIter</a>&lt;D, R, T&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;D: <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;T&gt;,<br>&nbsp;&nbsp;&nbsp;&nbsp;R: <a class="trait" href="../rand/rng/trait.Rng.html" title="trait rand::rng::Rng">Rng</a>,</span></span><span class="where fmt-newline"> type <a class="associatedtype">Item</a> = T;</span></code></span></span></span></span><span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;R: <a class="trait" href="../rand/rng/trait.Rng.html" title="trait rand::rng::Rng">Rng</a>,</span></h4></section></summary><div class='docblock'>Create an iterator that generates random values of <code>T</code>, using <code>rng</code> as
the source of randomness. <a href="trait.Distribution.html#method.sample_iter">Read more</a></div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.map-8" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/distribution.rs.html#102-105">source</a><a href="#method.map-8" class="anchor"></a><h4 class="code-header">fn <a href="trait.Distribution.html#method.map" class="fnname">map</a>&lt;F, S&gt;(self, func: F) -&gt; <a class="struct" href="../rand/distributions/distribution/struct.DistMap.html" title="struct rand::distributions::distribution::DistMap">DistMap</a>&lt;Self, F, T, S&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;F: Fn(T) -&gt; S,</span></h4></section></summary><div class='docblock'>Create a distribution of values of ‘S’ by mapping the output of <code>Self</code>
through the closure <code>F</code> <a href="trait.Distribution.html#method.map">Read more</a></div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Distribution%3C%5BT%3B%2023%5D%3E-for-Standard" class="impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/other.rs.html#231">source</a><a href="#impl-Distribution%3C%5BT%3B%2023%5D%3E-for-Standard" class="anchor"></a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;[T; 23]&gt; for <a class="struct" href="struct.Standard.html" title="struct rand_distr::Standard">Standard</a><span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;<a class="struct" href="struct.Standard.html" title="struct rand_distr::Standard">Standard</a>: <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;T&gt;,</span></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.sample-47" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/other.rs.html#231">source</a><a href="#method.sample-47" class="anchor"></a><h4 class="code-header">fn <a href="trait.Distribution.html#tymethod.sample" class="fnname">sample</a>&lt;R&gt;(&amp;self, _rng: &amp;mut R) -&gt; [T; 23]<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;R: <a class="trait" href="../rand/rng/trait.Rng.html" title="trait rand::rng::Rng">Rng</a> + ?Sized,</span></h4></section></summary><div class='docblock'>Generate a random value of <code>T</code>, using <code>rng</code> as the source of randomness.</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.sample_iter-47" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/distribution.rs.html#73-76">source</a><a href="#method.sample_iter-47" class="anchor"></a><h4 class="code-header">fn <a href="trait.Distribution.html#method.sample_iter" class="fnname">sample_iter</a>&lt;R&gt;(self, rng: R) -&gt; <a class="struct" href="struct.DistIter.html" title="struct rand_distr::DistIter">DistIter</a>&lt;Self, R, T&gt;<span class="notable-traits"><span class="notable-traits-tooltip"><span class="notable-traits-tooltiptext"><span class="docblock"><span class="notable">Notable traits for <a class="struct" href="struct.DistIter.html" title="struct rand_distr::DistIter">DistIter</a>&lt;D, R, T&gt;</span><code class="content"><span class="where fmt-newline">impl&lt;D, R, T&gt; Iterator for <a class="struct" href="struct.DistIter.html" title="struct rand_distr::DistIter">DistIter</a>&lt;D, R, T&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;D: <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;T&gt;,<br>&nbsp;&nbsp;&nbsp;&nbsp;R: <a class="trait" href="../rand/rng/trait.Rng.html" title="trait rand::rng::Rng">Rng</a>,</span></span><span class="where fmt-newline"> type <a class="associatedtype">Item</a> = T;</span></code></span></span></span></span><span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;R: <a class="trait" href="../rand/rng/trait.Rng.html" title="trait rand::rng::Rng">Rng</a>,</span></h4></section></summary><div class='docblock'>Create an iterator that generates random values of <code>T</code>, using <code>rng</code> as
the source of randomness. <a href="trait.Distribution.html#method.sample_iter">Read more</a></div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.map-47" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/distribution.rs.html#102-105">source</a><a href="#method.map-47" class="anchor"></a><h4 class="code-header">fn <a href="trait.Distribution.html#method.map" class="fnname">map</a>&lt;F, S&gt;(self, func: F) -&gt; <a class="struct" href="../rand/distributions/distribution/struct.DistMap.html" title="struct rand::distributions::distribution::DistMap">DistMap</a>&lt;Self, F, T, S&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;F: Fn(T) -&gt; S,</span></h4></section></summary><div class='docblock'>Create a distribution of values of ‘S’ by mapping the output of <code>Self</code>
through the closure <code>F</code> <a href="trait.Distribution.html#method.map">Read more</a></div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Distribution%3C%5BT%3B%2024%5D%3E-for-Standard" class="impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/other.rs.html#231">source</a><a href="#impl-Distribution%3C%5BT%3B%2024%5D%3E-for-Standard" class="anchor"></a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;[T; 24]&gt; for <a class="struct" href="struct.Standard.html" title="struct rand_distr::Standard">Standard</a><span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;<a class="struct" href="struct.Standard.html" title="struct rand_distr::Standard">Standard</a>: <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;T&gt;,</span></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.sample-66" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/other.rs.html#231">source</a><a href="#method.sample-66" class="anchor"></a><h4 class="code-header">fn <a href="trait.Distribution.html#tymethod.sample" class="fnname">sample</a>&lt;R&gt;(&amp;self, _rng: &amp;mut R) -&gt; [T; 24]<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;R: <a class="trait" href="../rand/rng/trait.Rng.html" title="trait rand::rng::Rng">Rng</a> + ?Sized,</span></h4></section></summary><div class='docblock'>Generate a random value of <code>T</code>, using <code>rng</code> as the source of randomness.</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.sample_iter-66" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/distribution.rs.html#73-76">source</a><a href="#method.sample_iter-66" class="anchor"></a><h4 class="code-header">fn <a href="trait.Distribution.html#method.sample_iter" class="fnname">sample_iter</a>&lt;R&gt;(self, rng: R) -&gt; <a class="struct" href="struct.DistIter.html" title="struct rand_distr::DistIter">DistIter</a>&lt;Self, R, T&gt;<span class="notable-traits"><span class="notable-traits-tooltip"><span class="notable-traits-tooltiptext"><span class="docblock"><span class="notable">Notable traits for <a class="struct" href="struct.DistIter.html" title="struct rand_distr::DistIter">DistIter</a>&lt;D, R, T&gt;</span><code class="content"><span class="where fmt-newline">impl&lt;D, R, T&gt; Iterator for <a class="struct" href="struct.DistIter.html" title="struct rand_distr::DistIter">DistIter</a>&lt;D, R, T&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;D: <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;T&gt;,<br>&nbsp;&nbsp;&nbsp;&nbsp;R: <a class="trait" href="../rand/rng/trait.Rng.html" title="trait rand::rng::Rng">Rng</a>,</span></span><span class="where fmt-newline"> type <a class="associatedtype">Item</a> = T;</span></code></span></span></span></span><span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;R: <a class="trait" href="../rand/rng/trait.Rng.html" title="trait rand::rng::Rng">Rng</a>,</span></h4></section></summary><div class='docblock'>Create an iterator that generates random values of <code>T</code>, using <code>rng</code> as
the source of randomness. <a href="trait.Distribution.html#method.sample_iter">Read more</a></div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.map-66" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/distribution.rs.html#102-105">source</a><a href="#method.map-66" class="anchor"></a><h4 class="code-header">fn <a href="trait.Distribution.html#method.map" class="fnname">map</a>&lt;F, S&gt;(self, func: F) -&gt; <a class="struct" href="../rand/distributions/distribution/struct.DistMap.html" title="struct rand::distributions::distribution::DistMap">DistMap</a>&lt;Self, F, T, S&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;F: Fn(T) -&gt; S,</span></h4></section></summary><div class='docblock'>Create a distribution of values of ‘S’ by mapping the output of <code>Self</code>
through the closure <code>F</code> <a href="trait.Distribution.html#method.map">Read more</a></div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Distribution%3C%5BT%3B%2025%5D%3E-for-Standard" class="impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/other.rs.html#231">source</a><a href="#impl-Distribution%3C%5BT%3B%2025%5D%3E-for-Standard" class="anchor"></a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;[T; 25]&gt; for <a class="struct" href="struct.Standard.html" title="struct rand_distr::Standard">Standard</a><span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;<a class="struct" href="struct.Standard.html" title="struct rand_distr::Standard">Standard</a>: <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;T&gt;,</span></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.sample-61" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/other.rs.html#231">source</a><a href="#method.sample-61" class="anchor"></a><h4 class="code-header">fn <a href="trait.Distribution.html#tymethod.sample" class="fnname">sample</a>&lt;R&gt;(&amp;self, _rng: &amp;mut R) -&gt; [T; 25]<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;R: <a class="trait" href="../rand/rng/trait.Rng.html" title="trait rand::rng::Rng">Rng</a> + ?Sized,</span></h4></section></summary><div class='docblock'>Generate a random value of <code>T</code>, using <code>rng</code> as the source of randomness.</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.sample_iter-61" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/distribution.rs.html#73-76">source</a><a href="#method.sample_iter-61" class="anchor"></a><h4 class="code-header">fn <a href="trait.Distribution.html#method.sample_iter" class="fnname">sample_iter</a>&lt;R&gt;(self, rng: R) -&gt; <a class="struct" href="struct.DistIter.html" title="struct rand_distr::DistIter">DistIter</a>&lt;Self, R, T&gt;<span class="notable-traits"><span class="notable-traits-tooltip"><span class="notable-traits-tooltiptext"><span class="docblock"><span class="notable">Notable traits for <a class="struct" href="struct.DistIter.html" title="struct rand_distr::DistIter">DistIter</a>&lt;D, R, T&gt;</span><code class="content"><span class="where fmt-newline">impl&lt;D, R, T&gt; Iterator for <a class="struct" href="struct.DistIter.html" title="struct rand_distr::DistIter">DistIter</a>&lt;D, R, T&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;D: <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;T&gt;,<br>&nbsp;&nbsp;&nbsp;&nbsp;R: <a class="trait" href="../rand/rng/trait.Rng.html" title="trait rand::rng::Rng">Rng</a>,</span></span><span class="where fmt-newline"> type <a class="associatedtype">Item</a> = T;</span></code></span></span></span></span><span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;R: <a class="trait" href="../rand/rng/trait.Rng.html" title="trait rand::rng::Rng">Rng</a>,</span></h4></section></summary><div class='docblock'>Create an iterator that generates random values of <code>T</code>, using <code>rng</code> as
the source of randomness. <a href="trait.Distribution.html#method.sample_iter">Read more</a></div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.map-61" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/distribution.rs.html#102-105">source</a><a href="#method.map-61" class="anchor"></a><h4 class="code-header">fn <a href="trait.Distribution.html#method.map" class="fnname">map</a>&lt;F, S&gt;(self, func: F) -&gt; <a class="struct" href="../rand/distributions/distribution/struct.DistMap.html" title="struct rand::distributions::distribution::DistMap">DistMap</a>&lt;Self, F, T, S&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;F: Fn(T) -&gt; S,</span></h4></section></summary><div class='docblock'>Create a distribution of values of ‘S’ by mapping the output of <code>Self</code>
through the closure <code>F</code> <a href="trait.Distribution.html#method.map">Read more</a></div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Distribution%3C%5BT%3B%2026%5D%3E-for-Standard" class="impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/other.rs.html#231">source</a><a href="#impl-Distribution%3C%5BT%3B%2026%5D%3E-for-Standard" class="anchor"></a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;[T; 26]&gt; for <a class="struct" href="struct.Standard.html" title="struct rand_distr::Standard">Standard</a><span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;<a class="struct" href="struct.Standard.html" title="struct rand_distr::Standard">Standard</a>: <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;T&gt;,</span></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.sample-1" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/other.rs.html#231">source</a><a href="#method.sample-1" class="anchor"></a><h4 class="code-header">fn <a href="trait.Distribution.html#tymethod.sample" class="fnname">sample</a>&lt;R&gt;(&amp;self, _rng: &amp;mut R) -&gt; [T; 26]<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;R: <a class="trait" href="../rand/rng/trait.Rng.html" title="trait rand::rng::Rng">Rng</a> + ?Sized,</span></h4></section></summary><div class='docblock'>Generate a random value of <code>T</code>, using <code>rng</code> as the source of randomness.</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.sample_iter-1" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/distribution.rs.html#73-76">source</a><a href="#method.sample_iter-1" class="anchor"></a><h4 class="code-header">fn <a href="trait.Distribution.html#method.sample_iter" class="fnname">sample_iter</a>&lt;R&gt;(self, rng: R) -&gt; <a class="struct" href="struct.DistIter.html" title="struct rand_distr::DistIter">DistIter</a>&lt;Self, R, T&gt;<span class="notable-traits"><span class="notable-traits-tooltip"><span class="notable-traits-tooltiptext"><span class="docblock"><span class="notable">Notable traits for <a class="struct" href="struct.DistIter.html" title="struct rand_distr::DistIter">DistIter</a>&lt;D, R, T&gt;</span><code class="content"><span class="where fmt-newline">impl&lt;D, R, T&gt; Iterator for <a class="struct" href="struct.DistIter.html" title="struct rand_distr::DistIter">DistIter</a>&lt;D, R, T&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;D: <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;T&gt;,<br>&nbsp;&nbsp;&nbsp;&nbsp;R: <a class="trait" href="../rand/rng/trait.Rng.html" title="trait rand::rng::Rng">Rng</a>,</span></span><span class="where fmt-newline"> type <a class="associatedtype">Item</a> = T;</span></code></span></span></span></span><span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;R: <a class="trait" href="../rand/rng/trait.Rng.html" title="trait rand::rng::Rng">Rng</a>,</span></h4></section></summary><div class='docblock'>Create an iterator that generates random values of <code>T</code>, using <code>rng</code> as
the source of randomness. <a href="trait.Distribution.html#method.sample_iter">Read more</a></div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.map-1" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/distribution.rs.html#102-105">source</a><a href="#method.map-1" class="anchor"></a><h4 class="code-header">fn <a href="trait.Distribution.html#method.map" class="fnname">map</a>&lt;F, S&gt;(self, func: F) -&gt; <a class="struct" href="../rand/distributions/distribution/struct.DistMap.html" title="struct rand::distributions::distribution::DistMap">DistMap</a>&lt;Self, F, T, S&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;F: Fn(T) -&gt; S,</span></h4></section></summary><div class='docblock'>Create a distribution of values of ‘S’ by mapping the output of <code>Self</code>
through the closure <code>F</code> <a href="trait.Distribution.html#method.map">Read more</a></div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Distribution%3C%5BT%3B%2027%5D%3E-for-Standard" class="impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/other.rs.html#231">source</a><a href="#impl-Distribution%3C%5BT%3B%2027%5D%3E-for-Standard" class="anchor"></a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;[T; 27]&gt; for <a class="struct" href="struct.Standard.html" title="struct rand_distr::Standard">Standard</a><span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;<a class="struct" href="struct.Standard.html" title="struct rand_distr::Standard">Standard</a>: <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;T&gt;,</span></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.sample-7" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/other.rs.html#231">source</a><a href="#method.sample-7" class="anchor"></a><h4 class="code-header">fn <a href="trait.Distribution.html#tymethod.sample" class="fnname">sample</a>&lt;R&gt;(&amp;self, _rng: &amp;mut R) -&gt; [T; 27]<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;R: <a class="trait" href="../rand/rng/trait.Rng.html" title="trait rand::rng::Rng">Rng</a> + ?Sized,</span></h4></section></summary><div class='docblock'>Generate a random value of <code>T</code>, using <code>rng</code> as the source of randomness.</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.sample_iter-7" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/distribution.rs.html#73-76">source</a><a href="#method.sample_iter-7" class="anchor"></a><h4 class="code-header">fn <a href="trait.Distribution.html#method.sample_iter" class="fnname">sample_iter</a>&lt;R&gt;(self, rng: R) -&gt; <a class="struct" href="struct.DistIter.html" title="struct rand_distr::DistIter">DistIter</a>&lt;Self, R, T&gt;<span class="notable-traits"><span class="notable-traits-tooltip"><span class="notable-traits-tooltiptext"><span class="docblock"><span class="notable">Notable traits for <a class="struct" href="struct.DistIter.html" title="struct rand_distr::DistIter">DistIter</a>&lt;D, R, T&gt;</span><code class="content"><span class="where fmt-newline">impl&lt;D, R, T&gt; Iterator for <a class="struct" href="struct.DistIter.html" title="struct rand_distr::DistIter">DistIter</a>&lt;D, R, T&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;D: <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;T&gt;,<br>&nbsp;&nbsp;&nbsp;&nbsp;R: <a class="trait" href="../rand/rng/trait.Rng.html" title="trait rand::rng::Rng">Rng</a>,</span></span><span class="where fmt-newline"> type <a class="associatedtype">Item</a> = T;</span></code></span></span></span></span><span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;R: <a class="trait" href="../rand/rng/trait.Rng.html" title="trait rand::rng::Rng">Rng</a>,</span></h4></section></summary><div class='docblock'>Create an iterator that generates random values of <code>T</code>, using <code>rng</code> as
the source of randomness. <a href="trait.Distribution.html#method.sample_iter">Read more</a></div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.map-7" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/distribution.rs.html#102-105">source</a><a href="#method.map-7" class="anchor"></a><h4 class="code-header">fn <a href="trait.Distribution.html#method.map" class="fnname">map</a>&lt;F, S&gt;(self, func: F) -&gt; <a class="struct" href="../rand/distributions/distribution/struct.DistMap.html" title="struct rand::distributions::distribution::DistMap">DistMap</a>&lt;Self, F, T, S&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;F: Fn(T) -&gt; S,</span></h4></section></summary><div class='docblock'>Create a distribution of values of ‘S’ by mapping the output of <code>Self</code>
through the closure <code>F</code> <a href="trait.Distribution.html#method.map">Read more</a></div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Distribution%3C%5BT%3B%2028%5D%3E-for-Standard" class="impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/other.rs.html#231">source</a><a href="#impl-Distribution%3C%5BT%3B%2028%5D%3E-for-Standard" class="anchor"></a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;[T; 28]&gt; for <a class="struct" href="struct.Standard.html" title="struct rand_distr::Standard">Standard</a><span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;<a class="struct" href="struct.Standard.html" title="struct rand_distr::Standard">Standard</a>: <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;T&gt;,</span></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.sample-35" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/other.rs.html#231">source</a><a href="#method.sample-35" class="anchor"></a><h4 class="code-header">fn <a href="trait.Distribution.html#tymethod.sample" class="fnname">sample</a>&lt;R&gt;(&amp;self, _rng: &amp;mut R) -&gt; [T; 28]<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;R: <a class="trait" href="../rand/rng/trait.Rng.html" title="trait rand::rng::Rng">Rng</a> + ?Sized,</span></h4></section></summary><div class='docblock'>Generate a random value of <code>T</code>, using <code>rng</code> as the source of randomness.</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.sample_iter-35" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/distribution.rs.html#73-76">source</a><a href="#method.sample_iter-35" class="anchor"></a><h4 class="code-header">fn <a href="trait.Distribution.html#method.sample_iter" class="fnname">sample_iter</a>&lt;R&gt;(self, rng: R) -&gt; <a class="struct" href="struct.DistIter.html" title="struct rand_distr::DistIter">DistIter</a>&lt;Self, R, T&gt;<span class="notable-traits"><span class="notable-traits-tooltip"><span class="notable-traits-tooltiptext"><span class="docblock"><span class="notable">Notable traits for <a class="struct" href="struct.DistIter.html" title="struct rand_distr::DistIter">DistIter</a>&lt;D, R, T&gt;</span><code class="content"><span class="where fmt-newline">impl&lt;D, R, T&gt; Iterator for <a class="struct" href="struct.DistIter.html" title="struct rand_distr::DistIter">DistIter</a>&lt;D, R, T&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;D: <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;T&gt;,<br>&nbsp;&nbsp;&nbsp;&nbsp;R: <a class="trait" href="../rand/rng/trait.Rng.html" title="trait rand::rng::Rng">Rng</a>,</span></span><span class="where fmt-newline"> type <a class="associatedtype">Item</a> = T;</span></code></span></span></span></span><span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;R: <a class="trait" href="../rand/rng/trait.Rng.html" title="trait rand::rng::Rng">Rng</a>,</span></h4></section></summary><div class='docblock'>Create an iterator that generates random values of <code>T</code>, using <code>rng</code> as
the source of randomness. <a href="trait.Distribution.html#method.sample_iter">Read more</a></div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.map-35" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/distribution.rs.html#102-105">source</a><a href="#method.map-35" class="anchor"></a><h4 class="code-header">fn <a href="trait.Distribution.html#method.map" class="fnname">map</a>&lt;F, S&gt;(self, func: F) -&gt; <a class="struct" href="../rand/distributions/distribution/struct.DistMap.html" title="struct rand::distributions::distribution::DistMap">DistMap</a>&lt;Self, F, T, S&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;F: Fn(T) -&gt; S,</span></h4></section></summary><div class='docblock'>Create a distribution of values of ‘S’ by mapping the output of <code>Self</code>
through the closure <code>F</code> <a href="trait.Distribution.html#method.map">Read more</a></div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Distribution%3C%5BT%3B%2029%5D%3E-for-Standard" class="impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/other.rs.html#231">source</a><a href="#impl-Distribution%3C%5BT%3B%2029%5D%3E-for-Standard" class="anchor"></a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;[T; 29]&gt; for <a class="struct" href="struct.Standard.html" title="struct rand_distr::Standard">Standard</a><span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;<a class="struct" href="struct.Standard.html" title="struct rand_distr::Standard">Standard</a>: <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;T&gt;,</span></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.sample-69" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/other.rs.html#231">source</a><a href="#method.sample-69" class="anchor"></a><h4 class="code-header">fn <a href="trait.Distribution.html#tymethod.sample" class="fnname">sample</a>&lt;R&gt;(&amp;self, _rng: &amp;mut R) -&gt; [T; 29]<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;R: <a class="trait" href="../rand/rng/trait.Rng.html" title="trait rand::rng::Rng">Rng</a> + ?Sized,</span></h4></section></summary><div class='docblock'>Generate a random value of <code>T</code>, using <code>rng</code> as the source of randomness.</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.sample_iter-69" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/distribution.rs.html#73-76">source</a><a href="#method.sample_iter-69" class="anchor"></a><h4 class="code-header">fn <a href="trait.Distribution.html#method.sample_iter" class="fnname">sample_iter</a>&lt;R&gt;(self, rng: R) -&gt; <a class="struct" href="struct.DistIter.html" title="struct rand_distr::DistIter">DistIter</a>&lt;Self, R, T&gt;<span class="notable-traits"><span class="notable-traits-tooltip"><span class="notable-traits-tooltiptext"><span class="docblock"><span class="notable">Notable traits for <a class="struct" href="struct.DistIter.html" title="struct rand_distr::DistIter">DistIter</a>&lt;D, R, T&gt;</span><code class="content"><span class="where fmt-newline">impl&lt;D, R, T&gt; Iterator for <a class="struct" href="struct.DistIter.html" title="struct rand_distr::DistIter">DistIter</a>&lt;D, R, T&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;D: <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;T&gt;,<br>&nbsp;&nbsp;&nbsp;&nbsp;R: <a class="trait" href="../rand/rng/trait.Rng.html" title="trait rand::rng::Rng">Rng</a>,</span></span><span class="where fmt-newline"> type <a class="associatedtype">Item</a> = T;</span></code></span></span></span></span><span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;R: <a class="trait" href="../rand/rng/trait.Rng.html" title="trait rand::rng::Rng">Rng</a>,</span></h4></section></summary><div class='docblock'>Create an iterator that generates random values of <code>T</code>, using <code>rng</code> as
the source of randomness. <a href="trait.Distribution.html#method.sample_iter">Read more</a></div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.map-69" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/distribution.rs.html#102-105">source</a><a href="#method.map-69" class="anchor"></a><h4 class="code-header">fn <a href="trait.Distribution.html#method.map" class="fnname">map</a>&lt;F, S&gt;(self, func: F) -&gt; <a class="struct" href="../rand/distributions/distribution/struct.DistMap.html" title="struct rand::distributions::distribution::DistMap">DistMap</a>&lt;Self, F, T, S&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;F: Fn(T) -&gt; S,</span></h4></section></summary><div class='docblock'>Create a distribution of values of ‘S’ by mapping the output of <code>Self</code>
through the closure <code>F</code> <a href="trait.Distribution.html#method.map">Read more</a></div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Distribution%3C%5BT%3B%203%5D%3E-for-Standard" class="impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/other.rs.html#231">source</a><a href="#impl-Distribution%3C%5BT%3B%203%5D%3E-for-Standard" class="anchor"></a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;[T; 3]&gt; for <a class="struct" href="struct.Standard.html" title="struct rand_distr::Standard">Standard</a><span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;<a class="struct" href="struct.Standard.html" title="struct rand_distr::Standard">Standard</a>: <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;T&gt;,</span></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.sample-20" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/other.rs.html#231">source</a><a href="#method.sample-20" class="anchor"></a><h4 class="code-header">fn <a href="trait.Distribution.html#tymethod.sample" class="fnname">sample</a>&lt;R&gt;(&amp;self, _rng: &amp;mut R) -&gt; [T; 3]<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;R: <a class="trait" href="../rand/rng/trait.Rng.html" title="trait rand::rng::Rng">Rng</a> + ?Sized,</span></h4></section></summary><div class='docblock'>Generate a random value of <code>T</code>, using <code>rng</code> as the source of randomness.</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.sample_iter-20" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/distribution.rs.html#73-76">source</a><a href="#method.sample_iter-20" class="anchor"></a><h4 class="code-header">fn <a href="trait.Distribution.html#method.sample_iter" class="fnname">sample_iter</a>&lt;R&gt;(self, rng: R) -&gt; <a class="struct" href="struct.DistIter.html" title="struct rand_distr::DistIter">DistIter</a>&lt;Self, R, T&gt;<span class="notable-traits"><span class="notable-traits-tooltip"><span class="notable-traits-tooltiptext"><span class="docblock"><span class="notable">Notable traits for <a class="struct" href="struct.DistIter.html" title="struct rand_distr::DistIter">DistIter</a>&lt;D, R, T&gt;</span><code class="content"><span class="where fmt-newline">impl&lt;D, R, T&gt; Iterator for <a class="struct" href="struct.DistIter.html" title="struct rand_distr::DistIter">DistIter</a>&lt;D, R, T&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;D: <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;T&gt;,<br>&nbsp;&nbsp;&nbsp;&nbsp;R: <a class="trait" href="../rand/rng/trait.Rng.html" title="trait rand::rng::Rng">Rng</a>,</span></span><span class="where fmt-newline"> type <a class="associatedtype">Item</a> = T;</span></code></span></span></span></span><span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;R: <a class="trait" href="../rand/rng/trait.Rng.html" title="trait rand::rng::Rng">Rng</a>,</span></h4></section></summary><div class='docblock'>Create an iterator that generates random values of <code>T</code>, using <code>rng</code> as
the source of randomness. <a href="trait.Distribution.html#method.sample_iter">Read more</a></div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.map-20" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/distribution.rs.html#102-105">source</a><a href="#method.map-20" class="anchor"></a><h4 class="code-header">fn <a href="trait.Distribution.html#method.map" class="fnname">map</a>&lt;F, S&gt;(self, func: F) -&gt; <a class="struct" href="../rand/distributions/distribution/struct.DistMap.html" title="struct rand::distributions::distribution::DistMap">DistMap</a>&lt;Self, F, T, S&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;F: Fn(T) -&gt; S,</span></h4></section></summary><div class='docblock'>Create a distribution of values of ‘S’ by mapping the output of <code>Self</code>
through the closure <code>F</code> <a href="trait.Distribution.html#method.map">Read more</a></div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Distribution%3C%5BT%3B%2030%5D%3E-for-Standard" class="impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/other.rs.html#231">source</a><a href="#impl-Distribution%3C%5BT%3B%2030%5D%3E-for-Standard" class="anchor"></a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;[T; 30]&gt; for <a class="struct" href="struct.Standard.html" title="struct rand_distr::Standard">Standard</a><span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;<a class="struct" href="struct.Standard.html" title="struct rand_distr::Standard">Standard</a>: <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;T&gt;,</span></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.sample-59" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/other.rs.html#231">source</a><a href="#method.sample-59" class="anchor"></a><h4 class="code-header">fn <a href="trait.Distribution.html#tymethod.sample" class="fnname">sample</a>&lt;R&gt;(&amp;self, _rng: &amp;mut R) -&gt; [T; 30]<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;R: <a class="trait" href="../rand/rng/trait.Rng.html" title="trait rand::rng::Rng">Rng</a> + ?Sized,</span></h4></section></summary><div class='docblock'>Generate a random value of <code>T</code>, using <code>rng</code> as the source of randomness.</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.sample_iter-59" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/distribution.rs.html#73-76">source</a><a href="#method.sample_iter-59" class="anchor"></a><h4 class="code-header">fn <a href="trait.Distribution.html#method.sample_iter" class="fnname">sample_iter</a>&lt;R&gt;(self, rng: R) -&gt; <a class="struct" href="struct.DistIter.html" title="struct rand_distr::DistIter">DistIter</a>&lt;Self, R, T&gt;<span class="notable-traits"><span class="notable-traits-tooltip"><span class="notable-traits-tooltiptext"><span class="docblock"><span class="notable">Notable traits for <a class="struct" href="struct.DistIter.html" title="struct rand_distr::DistIter">DistIter</a>&lt;D, R, T&gt;</span><code class="content"><span class="where fmt-newline">impl&lt;D, R, T&gt; Iterator for <a class="struct" href="struct.DistIter.html" title="struct rand_distr::DistIter">DistIter</a>&lt;D, R, T&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;D: <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;T&gt;,<br>&nbsp;&nbsp;&nbsp;&nbsp;R: <a class="trait" href="../rand/rng/trait.Rng.html" title="trait rand::rng::Rng">Rng</a>,</span></span><span class="where fmt-newline"> type <a class="associatedtype">Item</a> = T;</span></code></span></span></span></span><span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;R: <a class="trait" href="../rand/rng/trait.Rng.html" title="trait rand::rng::Rng">Rng</a>,</span></h4></section></summary><div class='docblock'>Create an iterator that generates random values of <code>T</code>, using <code>rng</code> as
the source of randomness. <a href="trait.Distribution.html#method.sample_iter">Read more</a></div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.map-59" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/distribution.rs.html#102-105">source</a><a href="#method.map-59" class="anchor"></a><h4 class="code-header">fn <a href="trait.Distribution.html#method.map" class="fnname">map</a>&lt;F, S&gt;(self, func: F) -&gt; <a class="struct" href="../rand/distributions/distribution/struct.DistMap.html" title="struct rand::distributions::distribution::DistMap">DistMap</a>&lt;Self, F, T, S&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;F: Fn(T) -&gt; S,</span></h4></section></summary><div class='docblock'>Create a distribution of values of ‘S’ by mapping the output of <code>Self</code>
through the closure <code>F</code> <a href="trait.Distribution.html#method.map">Read more</a></div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Distribution%3C%5BT%3B%2031%5D%3E-for-Standard" class="impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/other.rs.html#231">source</a><a href="#impl-Distribution%3C%5BT%3B%2031%5D%3E-for-Standard" class="anchor"></a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;[T; 31]&gt; for <a class="struct" href="struct.Standard.html" title="struct rand_distr::Standard">Standard</a><span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;<a class="struct" href="struct.Standard.html" title="struct rand_distr::Standard">Standard</a>: <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;T&gt;,</span></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.sample-12" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/other.rs.html#231">source</a><a href="#method.sample-12" class="anchor"></a><h4 class="code-header">fn <a href="trait.Distribution.html#tymethod.sample" class="fnname">sample</a>&lt;R&gt;(&amp;self, _rng: &amp;mut R) -&gt; [T; 31]<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;R: <a class="trait" href="../rand/rng/trait.Rng.html" title="trait rand::rng::Rng">Rng</a> + ?Sized,</span></h4></section></summary><div class='docblock'>Generate a random value of <code>T</code>, using <code>rng</code> as the source of randomness.</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.sample_iter-12" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/distribution.rs.html#73-76">source</a><a href="#method.sample_iter-12" class="anchor"></a><h4 class="code-header">fn <a href="trait.Distribution.html#method.sample_iter" class="fnname">sample_iter</a>&lt;R&gt;(self, rng: R) -&gt; <a class="struct" href="struct.DistIter.html" title="struct rand_distr::DistIter">DistIter</a>&lt;Self, R, T&gt;<span class="notable-traits"><span class="notable-traits-tooltip"><span class="notable-traits-tooltiptext"><span class="docblock"><span class="notable">Notable traits for <a class="struct" href="struct.DistIter.html" title="struct rand_distr::DistIter">DistIter</a>&lt;D, R, T&gt;</span><code class="content"><span class="where fmt-newline">impl&lt;D, R, T&gt; Iterator for <a class="struct" href="struct.DistIter.html" title="struct rand_distr::DistIter">DistIter</a>&lt;D, R, T&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;D: <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;T&gt;,<br>&nbsp;&nbsp;&nbsp;&nbsp;R: <a class="trait" href="../rand/rng/trait.Rng.html" title="trait rand::rng::Rng">Rng</a>,</span></span><span class="where fmt-newline"> type <a class="associatedtype">Item</a> = T;</span></code></span></span></span></span><span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;R: <a class="trait" href="../rand/rng/trait.Rng.html" title="trait rand::rng::Rng">Rng</a>,</span></h4></section></summary><div class='docblock'>Create an iterator that generates random values of <code>T</code>, using <code>rng</code> as
the source of randomness. <a href="trait.Distribution.html#method.sample_iter">Read more</a></div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.map-12" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/distribution.rs.html#102-105">source</a><a href="#method.map-12" class="anchor"></a><h4 class="code-header">fn <a href="trait.Distribution.html#method.map" class="fnname">map</a>&lt;F, S&gt;(self, func: F) -&gt; <a class="struct" href="../rand/distributions/distribution/struct.DistMap.html" title="struct rand::distributions::distribution::DistMap">DistMap</a>&lt;Self, F, T, S&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;F: Fn(T) -&gt; S,</span></h4></section></summary><div class='docblock'>Create a distribution of values of ‘S’ by mapping the output of <code>Self</code>
through the closure <code>F</code> <a href="trait.Distribution.html#method.map">Read more</a></div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Distribution%3C%5BT%3B%2032%5D%3E-for-Standard" class="impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/other.rs.html#231">source</a><a href="#impl-Distribution%3C%5BT%3B%2032%5D%3E-for-Standard" class="anchor"></a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;[T; 32]&gt; for <a class="struct" href="struct.Standard.html" title="struct rand_distr::Standard">Standard</a><span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;<a class="struct" href="struct.Standard.html" title="struct rand_distr::Standard">Standard</a>: <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;T&gt;,</span></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.sample-23" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/other.rs.html#231">source</a><a href="#method.sample-23" class="anchor"></a><h4 class="code-header">fn <a href="trait.Distribution.html#tymethod.sample" class="fnname">sample</a>&lt;R&gt;(&amp;self, _rng: &amp;mut R) -&gt; [T; 32]<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;R: <a class="trait" href="../rand/rng/trait.Rng.html" title="trait rand::rng::Rng">Rng</a> + ?Sized,</span></h4></section></summary><div class='docblock'>Generate a random value of <code>T</code>, using <code>rng</code> as the source of randomness.</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.sample_iter-23" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/distribution.rs.html#73-76">source</a><a href="#method.sample_iter-23" class="anchor"></a><h4 class="code-header">fn <a href="trait.Distribution.html#method.sample_iter" class="fnname">sample_iter</a>&lt;R&gt;(self, rng: R) -&gt; <a class="struct" href="struct.DistIter.html" title="struct rand_distr::DistIter">DistIter</a>&lt;Self, R, T&gt;<span class="notable-traits"><span class="notable-traits-tooltip"><span class="notable-traits-tooltiptext"><span class="docblock"><span class="notable">Notable traits for <a class="struct" href="struct.DistIter.html" title="struct rand_distr::DistIter">DistIter</a>&lt;D, R, T&gt;</span><code class="content"><span class="where fmt-newline">impl&lt;D, R, T&gt; Iterator for <a class="struct" href="struct.DistIter.html" title="struct rand_distr::DistIter">DistIter</a>&lt;D, R, T&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;D: <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;T&gt;,<br>&nbsp;&nbsp;&nbsp;&nbsp;R: <a class="trait" href="../rand/rng/trait.Rng.html" title="trait rand::rng::Rng">Rng</a>,</span></span><span class="where fmt-newline"> type <a class="associatedtype">Item</a> = T;</span></code></span></span></span></span><span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;R: <a class="trait" href="../rand/rng/trait.Rng.html" title="trait rand::rng::Rng">Rng</a>,</span></h4></section></summary><div class='docblock'>Create an iterator that generates random values of <code>T</code>, using <code>rng</code> as
the source of randomness. <a href="trait.Distribution.html#method.sample_iter">Read more</a></div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.map-23" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/distribution.rs.html#102-105">source</a><a href="#method.map-23" class="anchor"></a><h4 class="code-header">fn <a href="trait.Distribution.html#method.map" class="fnname">map</a>&lt;F, S&gt;(self, func: F) -&gt; <a class="struct" href="../rand/distributions/distribution/struct.DistMap.html" title="struct rand::distributions::distribution::DistMap">DistMap</a>&lt;Self, F, T, S&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;F: Fn(T) -&gt; S,</span></h4></section></summary><div class='docblock'>Create a distribution of values of ‘S’ by mapping the output of <code>Self</code>
through the closure <code>F</code> <a href="trait.Distribution.html#method.map">Read more</a></div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Distribution%3C%5BT%3B%204%5D%3E-for-Standard" class="impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/other.rs.html#231">source</a><a href="#impl-Distribution%3C%5BT%3B%204%5D%3E-for-Standard" class="anchor"></a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;[T; 4]&gt; for <a class="struct" href="struct.Standard.html" title="struct rand_distr::Standard">Standard</a><span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;<a class="struct" href="struct.Standard.html" title="struct rand_distr::Standard">Standard</a>: <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;T&gt;,</span></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.sample-5" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/other.rs.html#231">source</a><a href="#method.sample-5" class="anchor"></a><h4 class="code-header">fn <a href="trait.Distribution.html#tymethod.sample" class="fnname">sample</a>&lt;R&gt;(&amp;self, _rng: &amp;mut R) -&gt; [T; 4]<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;R: <a class="trait" href="../rand/rng/trait.Rng.html" title="trait rand::rng::Rng">Rng</a> + ?Sized,</span></h4></section></summary><div class='docblock'>Generate a random value of <code>T</code>, using <code>rng</code> as the source of randomness.</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.sample_iter-5" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/distribution.rs.html#73-76">source</a><a href="#method.sample_iter-5" class="anchor"></a><h4 class="code-header">fn <a href="trait.Distribution.html#method.sample_iter" class="fnname">sample_iter</a>&lt;R&gt;(self, rng: R) -&gt; <a class="struct" href="struct.DistIter.html" title="struct rand_distr::DistIter">DistIter</a>&lt;Self, R, T&gt;<span class="notable-traits"><span class="notable-traits-tooltip"><span class="notable-traits-tooltiptext"><span class="docblock"><span class="notable">Notable traits for <a class="struct" href="struct.DistIter.html" title="struct rand_distr::DistIter">DistIter</a>&lt;D, R, T&gt;</span><code class="content"><span class="where fmt-newline">impl&lt;D, R, T&gt; Iterator for <a class="struct" href="struct.DistIter.html" title="struct rand_distr::DistIter">DistIter</a>&lt;D, R, T&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;D: <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;T&gt;,<br>&nbsp;&nbsp;&nbsp;&nbsp;R: <a class="trait" href="../rand/rng/trait.Rng.html" title="trait rand::rng::Rng">Rng</a>,</span></span><span class="where fmt-newline"> type <a class="associatedtype">Item</a> = T;</span></code></span></span></span></span><span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;R: <a class="trait" href="../rand/rng/trait.Rng.html" title="trait rand::rng::Rng">Rng</a>,</span></h4></section></summary><div class='docblock'>Create an iterator that generates random values of <code>T</code>, using <code>rng</code> as
the source of randomness. <a href="trait.Distribution.html#method.sample_iter">Read more</a></div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.map-5" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/distribution.rs.html#102-105">source</a><a href="#method.map-5" class="anchor"></a><h4 class="code-header">fn <a href="trait.Distribution.html#method.map" class="fnname">map</a>&lt;F, S&gt;(self, func: F) -&gt; <a class="struct" href="../rand/distributions/distribution/struct.DistMap.html" title="struct rand::distributions::distribution::DistMap">DistMap</a>&lt;Self, F, T, S&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;F: Fn(T) -&gt; S,</span></h4></section></summary><div class='docblock'>Create a distribution of values of ‘S’ by mapping the output of <code>Self</code>
through the closure <code>F</code> <a href="trait.Distribution.html#method.map">Read more</a></div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Distribution%3C%5BT%3B%205%5D%3E-for-Standard" class="impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/other.rs.html#231">source</a><a href="#impl-Distribution%3C%5BT%3B%205%5D%3E-for-Standard" class="anchor"></a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;[T; 5]&gt; for <a class="struct" href="struct.Standard.html" title="struct rand_distr::Standard">Standard</a><span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;<a class="struct" href="struct.Standard.html" title="struct rand_distr::Standard">Standard</a>: <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;T&gt;,</span></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.sample-13" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/other.rs.html#231">source</a><a href="#method.sample-13" class="anchor"></a><h4 class="code-header">fn <a href="trait.Distribution.html#tymethod.sample" class="fnname">sample</a>&lt;R&gt;(&amp;self, _rng: &amp;mut R) -&gt; [T; 5]<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;R: <a class="trait" href="../rand/rng/trait.Rng.html" title="trait rand::rng::Rng">Rng</a> + ?Sized,</span></h4></section></summary><div class='docblock'>Generate a random value of <code>T</code>, using <code>rng</code> as the source of randomness.</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.sample_iter-13" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/distribution.rs.html#73-76">source</a><a href="#method.sample_iter-13" class="anchor"></a><h4 class="code-header">fn <a href="trait.Distribution.html#method.sample_iter" class="fnname">sample_iter</a>&lt;R&gt;(self, rng: R) -&gt; <a class="struct" href="struct.DistIter.html" title="struct rand_distr::DistIter">DistIter</a>&lt;Self, R, T&gt;<span class="notable-traits"><span class="notable-traits-tooltip"><span class="notable-traits-tooltiptext"><span class="docblock"><span class="notable">Notable traits for <a class="struct" href="struct.DistIter.html" title="struct rand_distr::DistIter">DistIter</a>&lt;D, R, T&gt;</span><code class="content"><span class="where fmt-newline">impl&lt;D, R, T&gt; Iterator for <a class="struct" href="struct.DistIter.html" title="struct rand_distr::DistIter">DistIter</a>&lt;D, R, T&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;D: <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;T&gt;,<br>&nbsp;&nbsp;&nbsp;&nbsp;R: <a class="trait" href="../rand/rng/trait.Rng.html" title="trait rand::rng::Rng">Rng</a>,</span></span><span class="where fmt-newline"> type <a class="associatedtype">Item</a> = T;</span></code></span></span></span></span><span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;R: <a class="trait" href="../rand/rng/trait.Rng.html" title="trait rand::rng::Rng">Rng</a>,</span></h4></section></summary><div class='docblock'>Create an iterator that generates random values of <code>T</code>, using <code>rng</code> as
the source of randomness. <a href="trait.Distribution.html#method.sample_iter">Read more</a></div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.map-13" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/distribution.rs.html#102-105">source</a><a href="#method.map-13" class="anchor"></a><h4 class="code-header">fn <a href="trait.Distribution.html#method.map" class="fnname">map</a>&lt;F, S&gt;(self, func: F) -&gt; <a class="struct" href="../rand/distributions/distribution/struct.DistMap.html" title="struct rand::distributions::distribution::DistMap">DistMap</a>&lt;Self, F, T, S&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;F: Fn(T) -&gt; S,</span></h4></section></summary><div class='docblock'>Create a distribution of values of ‘S’ by mapping the output of <code>Self</code>
through the closure <code>F</code> <a href="trait.Distribution.html#method.map">Read more</a></div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Distribution%3C%5BT%3B%206%5D%3E-for-Standard" class="impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/other.rs.html#231">source</a><a href="#impl-Distribution%3C%5BT%3B%206%5D%3E-for-Standard" class="anchor"></a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;[T; 6]&gt; for <a class="struct" href="struct.Standard.html" title="struct rand_distr::Standard">Standard</a><span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;<a class="struct" href="struct.Standard.html" title="struct rand_distr::Standard">Standard</a>: <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;T&gt;,</span></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.sample-58" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/other.rs.html#231">source</a><a href="#method.sample-58" class="anchor"></a><h4 class="code-header">fn <a href="trait.Distribution.html#tymethod.sample" class="fnname">sample</a>&lt;R&gt;(&amp;self, _rng: &amp;mut R) -&gt; [T; 6]<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;R: <a class="trait" href="../rand/rng/trait.Rng.html" title="trait rand::rng::Rng">Rng</a> + ?Sized,</span></h4></section></summary><div class='docblock'>Generate a random value of <code>T</code>, using <code>rng</code> as the source of randomness.</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.sample_iter-58" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/distribution.rs.html#73-76">source</a><a href="#method.sample_iter-58" class="anchor"></a><h4 class="code-header">fn <a href="trait.Distribution.html#method.sample_iter" class="fnname">sample_iter</a>&lt;R&gt;(self, rng: R) -&gt; <a class="struct" href="struct.DistIter.html" title="struct rand_distr::DistIter">DistIter</a>&lt;Self, R, T&gt;<span class="notable-traits"><span class="notable-traits-tooltip"><span class="notable-traits-tooltiptext"><span class="docblock"><span class="notable">Notable traits for <a class="struct" href="struct.DistIter.html" title="struct rand_distr::DistIter">DistIter</a>&lt;D, R, T&gt;</span><code class="content"><span class="where fmt-newline">impl&lt;D, R, T&gt; Iterator for <a class="struct" href="struct.DistIter.html" title="struct rand_distr::DistIter">DistIter</a>&lt;D, R, T&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;D: <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;T&gt;,<br>&nbsp;&nbsp;&nbsp;&nbsp;R: <a class="trait" href="../rand/rng/trait.Rng.html" title="trait rand::rng::Rng">Rng</a>,</span></span><span class="where fmt-newline"> type <a class="associatedtype">Item</a> = T;</span></code></span></span></span></span><span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;R: <a class="trait" href="../rand/rng/trait.Rng.html" title="trait rand::rng::Rng">Rng</a>,</span></h4></section></summary><div class='docblock'>Create an iterator that generates random values of <code>T</code>, using <code>rng</code> as
the source of randomness. <a href="trait.Distribution.html#method.sample_iter">Read more</a></div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.map-58" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/distribution.rs.html#102-105">source</a><a href="#method.map-58" class="anchor"></a><h4 class="code-header">fn <a href="trait.Distribution.html#method.map" class="fnname">map</a>&lt;F, S&gt;(self, func: F) -&gt; <a class="struct" href="../rand/distributions/distribution/struct.DistMap.html" title="struct rand::distributions::distribution::DistMap">DistMap</a>&lt;Self, F, T, S&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;F: Fn(T) -&gt; S,</span></h4></section></summary><div class='docblock'>Create a distribution of values of ‘S’ by mapping the output of <code>Self</code>
through the closure <code>F</code> <a href="trait.Distribution.html#method.map">Read more</a></div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Distribution%3C%5BT%3B%207%5D%3E-for-Standard" class="impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/other.rs.html#231">source</a><a href="#impl-Distribution%3C%5BT%3B%207%5D%3E-for-Standard" class="anchor"></a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;[T; 7]&gt; for <a class="struct" href="struct.Standard.html" title="struct rand_distr::Standard">Standard</a><span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;<a class="struct" href="struct.Standard.html" title="struct rand_distr::Standard">Standard</a>: <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;T&gt;,</span></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.sample-10" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/other.rs.html#231">source</a><a href="#method.sample-10" class="anchor"></a><h4 class="code-header">fn <a href="trait.Distribution.html#tymethod.sample" class="fnname">sample</a>&lt;R&gt;(&amp;self, _rng: &amp;mut R) -&gt; [T; 7]<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;R: <a class="trait" href="../rand/rng/trait.Rng.html" title="trait rand::rng::Rng">Rng</a> + ?Sized,</span></h4></section></summary><div class='docblock'>Generate a random value of <code>T</code>, using <code>rng</code> as the source of randomness.</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.sample_iter-10" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/distribution.rs.html#73-76">source</a><a href="#method.sample_iter-10" class="anchor"></a><h4 class="code-header">fn <a href="trait.Distribution.html#method.sample_iter" class="fnname">sample_iter</a>&lt;R&gt;(self, rng: R) -&gt; <a class="struct" href="struct.DistIter.html" title="struct rand_distr::DistIter">DistIter</a>&lt;Self, R, T&gt;<span class="notable-traits"><span class="notable-traits-tooltip"><span class="notable-traits-tooltiptext"><span class="docblock"><span class="notable">Notable traits for <a class="struct" href="struct.DistIter.html" title="struct rand_distr::DistIter">DistIter</a>&lt;D, R, T&gt;</span><code class="content"><span class="where fmt-newline">impl&lt;D, R, T&gt; Iterator for <a class="struct" href="struct.DistIter.html" title="struct rand_distr::DistIter">DistIter</a>&lt;D, R, T&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;D: <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;T&gt;,<br>&nbsp;&nbsp;&nbsp;&nbsp;R: <a class="trait" href="../rand/rng/trait.Rng.html" title="trait rand::rng::Rng">Rng</a>,</span></span><span class="where fmt-newline"> type <a class="associatedtype">Item</a> = T;</span></code></span></span></span></span><span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;R: <a class="trait" href="../rand/rng/trait.Rng.html" title="trait rand::rng::Rng">Rng</a>,</span></h4></section></summary><div class='docblock'>Create an iterator that generates random values of <code>T</code>, using <code>rng</code> as
the source of randomness. <a href="trait.Distribution.html#method.sample_iter">Read more</a></div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.map-10" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/distribution.rs.html#102-105">source</a><a href="#method.map-10" class="anchor"></a><h4 class="code-header">fn <a href="trait.Distribution.html#method.map" class="fnname">map</a>&lt;F, S&gt;(self, func: F) -&gt; <a class="struct" href="../rand/distributions/distribution/struct.DistMap.html" title="struct rand::distributions::distribution::DistMap">DistMap</a>&lt;Self, F, T, S&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;F: Fn(T) -&gt; S,</span></h4></section></summary><div class='docblock'>Create a distribution of values of ‘S’ by mapping the output of <code>Self</code>
through the closure <code>F</code> <a href="trait.Distribution.html#method.map">Read more</a></div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Distribution%3C%5BT%3B%208%5D%3E-for-Standard" class="impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/other.rs.html#231">source</a><a href="#impl-Distribution%3C%5BT%3B%208%5D%3E-for-Standard" class="anchor"></a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;[T; 8]&gt; for <a class="struct" href="struct.Standard.html" title="struct rand_distr::Standard">Standard</a><span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;<a class="struct" href="struct.Standard.html" title="struct rand_distr::Standard">Standard</a>: <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;T&gt;,</span></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.sample-57" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/other.rs.html#231">source</a><a href="#method.sample-57" class="anchor"></a><h4 class="code-header">fn <a href="trait.Distribution.html#tymethod.sample" class="fnname">sample</a>&lt;R&gt;(&amp;self, _rng: &amp;mut R) -&gt; [T; 8]<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;R: <a class="trait" href="../rand/rng/trait.Rng.html" title="trait rand::rng::Rng">Rng</a> + ?Sized,</span></h4></section></summary><div class='docblock'>Generate a random value of <code>T</code>, using <code>rng</code> as the source of randomness.</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.sample_iter-57" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/distribution.rs.html#73-76">source</a><a href="#method.sample_iter-57" class="anchor"></a><h4 class="code-header">fn <a href="trait.Distribution.html#method.sample_iter" class="fnname">sample_iter</a>&lt;R&gt;(self, rng: R) -&gt; <a class="struct" href="struct.DistIter.html" title="struct rand_distr::DistIter">DistIter</a>&lt;Self, R, T&gt;<span class="notable-traits"><span class="notable-traits-tooltip"><span class="notable-traits-tooltiptext"><span class="docblock"><span class="notable">Notable traits for <a class="struct" href="struct.DistIter.html" title="struct rand_distr::DistIter">DistIter</a>&lt;D, R, T&gt;</span><code class="content"><span class="where fmt-newline">impl&lt;D, R, T&gt; Iterator for <a class="struct" href="struct.DistIter.html" title="struct rand_distr::DistIter">DistIter</a>&lt;D, R, T&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;D: <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;T&gt;,<br>&nbsp;&nbsp;&nbsp;&nbsp;R: <a class="trait" href="../rand/rng/trait.Rng.html" title="trait rand::rng::Rng">Rng</a>,</span></span><span class="where fmt-newline"> type <a class="associatedtype">Item</a> = T;</span></code></span></span></span></span><span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;R: <a class="trait" href="../rand/rng/trait.Rng.html" title="trait rand::rng::Rng">Rng</a>,</span></h4></section></summary><div class='docblock'>Create an iterator that generates random values of <code>T</code>, using <code>rng</code> as
the source of randomness. <a href="trait.Distribution.html#method.sample_iter">Read more</a></div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.map-57" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/distribution.rs.html#102-105">source</a><a href="#method.map-57" class="anchor"></a><h4 class="code-header">fn <a href="trait.Distribution.html#method.map" class="fnname">map</a>&lt;F, S&gt;(self, func: F) -&gt; <a class="struct" href="../rand/distributions/distribution/struct.DistMap.html" title="struct rand::distributions::distribution::DistMap">DistMap</a>&lt;Self, F, T, S&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;F: Fn(T) -&gt; S,</span></h4></section></summary><div class='docblock'>Create a distribution of values of ‘S’ by mapping the output of <code>Self</code>
through the closure <code>F</code> <a href="trait.Distribution.html#method.map">Read more</a></div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Distribution%3C%5BT%3B%209%5D%3E-for-Standard" class="impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/other.rs.html#231">source</a><a href="#impl-Distribution%3C%5BT%3B%209%5D%3E-for-Standard" class="anchor"></a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;[T; 9]&gt; for <a class="struct" href="struct.Standard.html" title="struct rand_distr::Standard">Standard</a><span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;<a class="struct" href="struct.Standard.html" title="struct rand_distr::Standard">Standard</a>: <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;T&gt;,</span></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.sample-36" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/other.rs.html#231">source</a><a href="#method.sample-36" class="anchor"></a><h4 class="code-header">fn <a href="trait.Distribution.html#tymethod.sample" class="fnname">sample</a>&lt;R&gt;(&amp;self, _rng: &amp;mut R) -&gt; [T; 9]<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;R: <a class="trait" href="../rand/rng/trait.Rng.html" title="trait rand::rng::Rng">Rng</a> + ?Sized,</span></h4></section></summary><div class='docblock'>Generate a random value of <code>T</code>, using <code>rng</code> as the source of randomness.</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.sample_iter-36" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/distribution.rs.html#73-76">source</a><a href="#method.sample_iter-36" class="anchor"></a><h4 class="code-header">fn <a href="trait.Distribution.html#method.sample_iter" class="fnname">sample_iter</a>&lt;R&gt;(self, rng: R) -&gt; <a class="struct" href="struct.DistIter.html" title="struct rand_distr::DistIter">DistIter</a>&lt;Self, R, T&gt;<span class="notable-traits"><span class="notable-traits-tooltip"><span class="notable-traits-tooltiptext"><span class="docblock"><span class="notable">Notable traits for <a class="struct" href="struct.DistIter.html" title="struct rand_distr::DistIter">DistIter</a>&lt;D, R, T&gt;</span><code class="content"><span class="where fmt-newline">impl&lt;D, R, T&gt; Iterator for <a class="struct" href="struct.DistIter.html" title="struct rand_distr::DistIter">DistIter</a>&lt;D, R, T&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;D: <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;T&gt;,<br>&nbsp;&nbsp;&nbsp;&nbsp;R: <a class="trait" href="../rand/rng/trait.Rng.html" title="trait rand::rng::Rng">Rng</a>,</span></span><span class="where fmt-newline"> type <a class="associatedtype">Item</a> = T;</span></code></span></span></span></span><span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;R: <a class="trait" href="../rand/rng/trait.Rng.html" title="trait rand::rng::Rng">Rng</a>,</span></h4></section></summary><div class='docblock'>Create an iterator that generates random values of <code>T</code>, using <code>rng</code> as
the source of randomness. <a href="trait.Distribution.html#method.sample_iter">Read more</a></div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.map-36" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/distribution.rs.html#102-105">source</a><a href="#method.map-36" class="anchor"></a><h4 class="code-header">fn <a href="trait.Distribution.html#method.map" class="fnname">map</a>&lt;F, S&gt;(self, func: F) -&gt; <a class="struct" href="../rand/distributions/distribution/struct.DistMap.html" title="struct rand::distributions::distribution::DistMap">DistMap</a>&lt;Self, F, T, S&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;F: Fn(T) -&gt; S,</span></h4></section></summary><div class='docblock'>Create a distribution of values of ‘S’ by mapping the output of <code>Self</code>
through the closure <code>F</code> <a href="trait.Distribution.html#method.map">Read more</a></div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Distribution%3C()%3E-for-Standard" class="impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/other.rs.html#172">source</a><a href="#impl-Distribution%3C()%3E-for-Standard" class="anchor"></a><h3 class="code-header">impl <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;()&gt; for <a class="struct" href="struct.Standard.html" title="struct rand_distr::Standard">Standard</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.sample-6" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/other.rs.html#175">source</a><a href="#method.sample-6" class="anchor"></a><h4 class="code-header">fn <a href="trait.Distribution.html#tymethod.sample" class="fnname">sample</a>&lt;R&gt;(&amp;self, &amp;mut R)<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;R: <a class="trait" href="../rand/rng/trait.Rng.html" title="trait rand::rng::Rng">Rng</a> + ?Sized,</span></h4></section></summary><div class='docblock'>Generate a random value of <code>T</code>, using <code>rng</code> as the source of randomness.</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.sample_iter-6" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/distribution.rs.html#73-76">source</a><a href="#method.sample_iter-6" class="anchor"></a><h4 class="code-header">fn <a href="trait.Distribution.html#method.sample_iter" class="fnname">sample_iter</a>&lt;R&gt;(self, rng: R) -&gt; <a class="struct" href="struct.DistIter.html" title="struct rand_distr::DistIter">DistIter</a>&lt;Self, R, T&gt;<span class="notable-traits"><span class="notable-traits-tooltip"><span class="notable-traits-tooltiptext"><span class="docblock"><span class="notable">Notable traits for <a class="struct" href="struct.DistIter.html" title="struct rand_distr::DistIter">DistIter</a>&lt;D, R, T&gt;</span><code class="content"><span class="where fmt-newline">impl&lt;D, R, T&gt; Iterator for <a class="struct" href="struct.DistIter.html" title="struct rand_distr::DistIter">DistIter</a>&lt;D, R, T&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;D: <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;T&gt;,<br>&nbsp;&nbsp;&nbsp;&nbsp;R: <a class="trait" href="../rand/rng/trait.Rng.html" title="trait rand::rng::Rng">Rng</a>,</span></span><span class="where fmt-newline"> type <a class="associatedtype">Item</a> = T;</span></code></span></span></span></span><span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;R: <a class="trait" href="../rand/rng/trait.Rng.html" title="trait rand::rng::Rng">Rng</a>,</span></h4></section></summary><div class='docblock'>Create an iterator that generates random values of <code>T</code>, using <code>rng</code> as
the source of randomness. <a href="trait.Distribution.html#method.sample_iter">Read more</a></div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.map-6" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/distribution.rs.html#102-105">source</a><a href="#method.map-6" class="anchor"></a><h4 class="code-header">fn <a href="trait.Distribution.html#method.map" class="fnname">map</a>&lt;F, S&gt;(self, func: F) -&gt; <a class="struct" href="../rand/distributions/distribution/struct.DistMap.html" title="struct rand::distributions::distribution::DistMap">DistMap</a>&lt;Self, F, T, S&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;F: Fn(T) -&gt; S,</span></h4></section></summary><div class='docblock'>Create a distribution of values of ‘S’ by mapping the output of <code>Self</code>
through the closure <code>F</code> <a href="trait.Distribution.html#method.map">Read more</a></div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Distribution%3C(A%2C%20B%2C%20C%2C%20D%2C%20E%2C%20F%2C%20G%2C%20H%2C%20I%2C%20J%2C%20K%2C%20L)%3E-for-Standard" class="impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/other.rs.html#190">source</a><a href="#impl-Distribution%3C(A%2C%20B%2C%20C%2C%20D%2C%20E%2C%20F%2C%20G%2C%20H%2C%20I%2C%20J%2C%20K%2C%20L)%3E-for-Standard" class="anchor"></a><h3 class="code-header">impl&lt;A, B, C, D, E, F, G, H, I, J, K, L&gt; <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;(A, B, C, D, E, F, G, H, I, J, K, L)&gt; for <a class="struct" href="struct.Standard.html" title="struct rand_distr::Standard">Standard</a><span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;<a class="struct" href="struct.Standard.html" title="struct rand_distr::Standard">Standard</a>: <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;A&gt; + <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;B&gt; + <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;C&gt; + <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;D&gt; + <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;E&gt; + <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;F&gt; + <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;G&gt; + <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;H&gt; + <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;I&gt; + <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;J&gt; + <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;K&gt; + <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;L&gt;,</span></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.sample-49" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/other.rs.html#190">source</a><a href="#method.sample-49" class="anchor"></a><h4 class="code-header">fn <a href="trait.Distribution.html#tymethod.sample" class="fnname">sample</a>&lt;R&gt;(&amp;self, _rng: &amp;mut R) -&gt; (A, B, C, D, E, F, G, H, I, J, K, L)<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;R: <a class="trait" href="../rand/rng/trait.Rng.html" title="trait rand::rng::Rng">Rng</a> + ?Sized,</span></h4></section></summary><div class='docblock'>Generate a random value of <code>T</code>, using <code>rng</code> as the source of randomness.</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.sample_iter-49" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/distribution.rs.html#73-76">source</a><a href="#method.sample_iter-49" class="anchor"></a><h4 class="code-header">fn <a href="trait.Distribution.html#method.sample_iter" class="fnname">sample_iter</a>&lt;R&gt;(self, rng: R) -&gt; <a class="struct" href="struct.DistIter.html" title="struct rand_distr::DistIter">DistIter</a>&lt;Self, R, T&gt;<span class="notable-traits"><span class="notable-traits-tooltip"><span class="notable-traits-tooltiptext"><span class="docblock"><span class="notable">Notable traits for <a class="struct" href="struct.DistIter.html" title="struct rand_distr::DistIter">DistIter</a>&lt;D, R, T&gt;</span><code class="content"><span class="where fmt-newline">impl&lt;D, R, T&gt; Iterator for <a class="struct" href="struct.DistIter.html" title="struct rand_distr::DistIter">DistIter</a>&lt;D, R, T&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;D: <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;T&gt;,<br>&nbsp;&nbsp;&nbsp;&nbsp;R: <a class="trait" href="../rand/rng/trait.Rng.html" title="trait rand::rng::Rng">Rng</a>,</span></span><span class="where fmt-newline"> type <a class="associatedtype">Item</a> = T;</span></code></span></span></span></span><span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;R: <a class="trait" href="../rand/rng/trait.Rng.html" title="trait rand::rng::Rng">Rng</a>,</span></h4></section></summary><div class='docblock'>Create an iterator that generates random values of <code>T</code>, using <code>rng</code> as
the source of randomness. <a href="trait.Distribution.html#method.sample_iter">Read more</a></div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.map-49" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/distribution.rs.html#102-105">source</a><a href="#method.map-49" class="anchor"></a><h4 class="code-header">fn <a href="trait.Distribution.html#method.map" class="fnname">map</a>&lt;F, S&gt;(self, func: F) -&gt; <a class="struct" href="../rand/distributions/distribution/struct.DistMap.html" title="struct rand::distributions::distribution::DistMap">DistMap</a>&lt;Self, F, T, S&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;F: Fn(T) -&gt; S,</span></h4></section></summary><div class='docblock'>Create a distribution of values of ‘S’ by mapping the output of <code>Self</code>
through the closure <code>F</code> <a href="trait.Distribution.html#method.map">Read more</a></div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Distribution%3C(A%2C%20B%2C%20C%2C%20D%2C%20E%2C%20F%2C%20G%2C%20H%2C%20I%2C%20J%2C%20K)%3E-for-Standard" class="impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/other.rs.html#189">source</a><a href="#impl-Distribution%3C(A%2C%20B%2C%20C%2C%20D%2C%20E%2C%20F%2C%20G%2C%20H%2C%20I%2C%20J%2C%20K)%3E-for-Standard" class="anchor"></a><h3 class="code-header">impl&lt;A, B, C, D, E, F, G, H, I, J, K&gt; <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;(A, B, C, D, E, F, G, H, I, J, K)&gt; for <a class="struct" href="struct.Standard.html" title="struct rand_distr::Standard">Standard</a><span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;<a class="struct" href="struct.Standard.html" title="struct rand_distr::Standard">Standard</a>: <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;A&gt; + <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;B&gt; + <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;C&gt; + <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;D&gt; + <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;E&gt; + <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;F&gt; + <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;G&gt; + <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;H&gt; + <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;I&gt; + <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;J&gt; + <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;K&gt;,</span></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.sample-9" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/other.rs.html#189">source</a><a href="#method.sample-9" class="anchor"></a><h4 class="code-header">fn <a href="trait.Distribution.html#tymethod.sample" class="fnname">sample</a>&lt;R&gt;(&amp;self, _rng: &amp;mut R) -&gt; (A, B, C, D, E, F, G, H, I, J, K)<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;R: <a class="trait" href="../rand/rng/trait.Rng.html" title="trait rand::rng::Rng">Rng</a> + ?Sized,</span></h4></section></summary><div class='docblock'>Generate a random value of <code>T</code>, using <code>rng</code> as the source of randomness.</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.sample_iter-9" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/distribution.rs.html#73-76">source</a><a href="#method.sample_iter-9" class="anchor"></a><h4 class="code-header">fn <a href="trait.Distribution.html#method.sample_iter" class="fnname">sample_iter</a>&lt;R&gt;(self, rng: R) -&gt; <a class="struct" href="struct.DistIter.html" title="struct rand_distr::DistIter">DistIter</a>&lt;Self, R, T&gt;<span class="notable-traits"><span class="notable-traits-tooltip"><span class="notable-traits-tooltiptext"><span class="docblock"><span class="notable">Notable traits for <a class="struct" href="struct.DistIter.html" title="struct rand_distr::DistIter">DistIter</a>&lt;D, R, T&gt;</span><code class="content"><span class="where fmt-newline">impl&lt;D, R, T&gt; Iterator for <a class="struct" href="struct.DistIter.html" title="struct rand_distr::DistIter">DistIter</a>&lt;D, R, T&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;D: <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;T&gt;,<br>&nbsp;&nbsp;&nbsp;&nbsp;R: <a class="trait" href="../rand/rng/trait.Rng.html" title="trait rand::rng::Rng">Rng</a>,</span></span><span class="where fmt-newline"> type <a class="associatedtype">Item</a> = T;</span></code></span></span></span></span><span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;R: <a class="trait" href="../rand/rng/trait.Rng.html" title="trait rand::rng::Rng">Rng</a>,</span></h4></section></summary><div class='docblock'>Create an iterator that generates random values of <code>T</code>, using <code>rng</code> as
the source of randomness. <a href="trait.Distribution.html#method.sample_iter">Read more</a></div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.map-9" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/distribution.rs.html#102-105">source</a><a href="#method.map-9" class="anchor"></a><h4 class="code-header">fn <a href="trait.Distribution.html#method.map" class="fnname">map</a>&lt;F, S&gt;(self, func: F) -&gt; <a class="struct" href="../rand/distributions/distribution/struct.DistMap.html" title="struct rand::distributions::distribution::DistMap">DistMap</a>&lt;Self, F, T, S&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;F: Fn(T) -&gt; S,</span></h4></section></summary><div class='docblock'>Create a distribution of values of ‘S’ by mapping the output of <code>Self</code>
through the closure <code>F</code> <a href="trait.Distribution.html#method.map">Read more</a></div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Distribution%3C(A%2C%20B%2C%20C%2C%20D%2C%20E%2C%20F%2C%20G%2C%20H%2C%20I%2C%20J)%3E-for-Standard" class="impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/other.rs.html#188">source</a><a href="#impl-Distribution%3C(A%2C%20B%2C%20C%2C%20D%2C%20E%2C%20F%2C%20G%2C%20H%2C%20I%2C%20J)%3E-for-Standard" class="anchor"></a><h3 class="code-header">impl&lt;A, B, C, D, E, F, G, H, I, J&gt; <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;(A, B, C, D, E, F, G, H, I, J)&gt; for <a class="struct" href="struct.Standard.html" title="struct rand_distr::Standard">Standard</a><span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;<a class="struct" href="struct.Standard.html" title="struct rand_distr::Standard">Standard</a>: <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;A&gt; + <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;B&gt; + <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;C&gt; + <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;D&gt; + <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;E&gt; + <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;F&gt; + <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;G&gt; + <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;H&gt; + <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;I&gt; + <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;J&gt;,</span></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.sample-38" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/other.rs.html#188">source</a><a href="#method.sample-38" class="anchor"></a><h4 class="code-header">fn <a href="trait.Distribution.html#tymethod.sample" class="fnname">sample</a>&lt;R&gt;(&amp;self, _rng: &amp;mut R) -&gt; (A, B, C, D, E, F, G, H, I, J)<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;R: <a class="trait" href="../rand/rng/trait.Rng.html" title="trait rand::rng::Rng">Rng</a> + ?Sized,</span></h4></section></summary><div class='docblock'>Generate a random value of <code>T</code>, using <code>rng</code> as the source of randomness.</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.sample_iter-38" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/distribution.rs.html#73-76">source</a><a href="#method.sample_iter-38" class="anchor"></a><h4 class="code-header">fn <a href="trait.Distribution.html#method.sample_iter" class="fnname">sample_iter</a>&lt;R&gt;(self, rng: R) -&gt; <a class="struct" href="struct.DistIter.html" title="struct rand_distr::DistIter">DistIter</a>&lt;Self, R, T&gt;<span class="notable-traits"><span class="notable-traits-tooltip"><span class="notable-traits-tooltiptext"><span class="docblock"><span class="notable">Notable traits for <a class="struct" href="struct.DistIter.html" title="struct rand_distr::DistIter">DistIter</a>&lt;D, R, T&gt;</span><code class="content"><span class="where fmt-newline">impl&lt;D, R, T&gt; Iterator for <a class="struct" href="struct.DistIter.html" title="struct rand_distr::DistIter">DistIter</a>&lt;D, R, T&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;D: <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;T&gt;,<br>&nbsp;&nbsp;&nbsp;&nbsp;R: <a class="trait" href="../rand/rng/trait.Rng.html" title="trait rand::rng::Rng">Rng</a>,</span></span><span class="where fmt-newline"> type <a class="associatedtype">Item</a> = T;</span></code></span></span></span></span><span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;R: <a class="trait" href="../rand/rng/trait.Rng.html" title="trait rand::rng::Rng">Rng</a>,</span></h4></section></summary><div class='docblock'>Create an iterator that generates random values of <code>T</code>, using <code>rng</code> as
the source of randomness. <a href="trait.Distribution.html#method.sample_iter">Read more</a></div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.map-38" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/distribution.rs.html#102-105">source</a><a href="#method.map-38" class="anchor"></a><h4 class="code-header">fn <a href="trait.Distribution.html#method.map" class="fnname">map</a>&lt;F, S&gt;(self, func: F) -&gt; <a class="struct" href="../rand/distributions/distribution/struct.DistMap.html" title="struct rand::distributions::distribution::DistMap">DistMap</a>&lt;Self, F, T, S&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;F: Fn(T) -&gt; S,</span></h4></section></summary><div class='docblock'>Create a distribution of values of ‘S’ by mapping the output of <code>Self</code>
through the closure <code>F</code> <a href="trait.Distribution.html#method.map">Read more</a></div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Distribution%3C(A%2C%20B%2C%20C%2C%20D%2C%20E%2C%20F%2C%20G%2C%20H%2C%20I)%3E-for-Standard" class="impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/other.rs.html#187">source</a><a href="#impl-Distribution%3C(A%2C%20B%2C%20C%2C%20D%2C%20E%2C%20F%2C%20G%2C%20H%2C%20I)%3E-for-Standard" class="anchor"></a><h3 class="code-header">impl&lt;A, B, C, D, E, F, G, H, I&gt; <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;(A, B, C, D, E, F, G, H, I)&gt; for <a class="struct" href="struct.Standard.html" title="struct rand_distr::Standard">Standard</a><span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;<a class="struct" href="struct.Standard.html" title="struct rand_distr::Standard">Standard</a>: <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;A&gt; + <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;B&gt; + <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;C&gt; + <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;D&gt; + <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;E&gt; + <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;F&gt; + <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;G&gt; + <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;H&gt; + <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;I&gt;,</span></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.sample-54" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/other.rs.html#187">source</a><a href="#method.sample-54" class="anchor"></a><h4 class="code-header">fn <a href="trait.Distribution.html#tymethod.sample" class="fnname">sample</a>&lt;R&gt;(&amp;self, _rng: &amp;mut R) -&gt; (A, B, C, D, E, F, G, H, I)<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;R: <a class="trait" href="../rand/rng/trait.Rng.html" title="trait rand::rng::Rng">Rng</a> + ?Sized,</span></h4></section></summary><div class='docblock'>Generate a random value of <code>T</code>, using <code>rng</code> as the source of randomness.</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.sample_iter-54" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/distribution.rs.html#73-76">source</a><a href="#method.sample_iter-54" class="anchor"></a><h4 class="code-header">fn <a href="trait.Distribution.html#method.sample_iter" class="fnname">sample_iter</a>&lt;R&gt;(self, rng: R) -&gt; <a class="struct" href="struct.DistIter.html" title="struct rand_distr::DistIter">DistIter</a>&lt;Self, R, T&gt;<span class="notable-traits"><span class="notable-traits-tooltip"><span class="notable-traits-tooltiptext"><span class="docblock"><span class="notable">Notable traits for <a class="struct" href="struct.DistIter.html" title="struct rand_distr::DistIter">DistIter</a>&lt;D, R, T&gt;</span><code class="content"><span class="where fmt-newline">impl&lt;D, R, T&gt; Iterator for <a class="struct" href="struct.DistIter.html" title="struct rand_distr::DistIter">DistIter</a>&lt;D, R, T&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;D: <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;T&gt;,<br>&nbsp;&nbsp;&nbsp;&nbsp;R: <a class="trait" href="../rand/rng/trait.Rng.html" title="trait rand::rng::Rng">Rng</a>,</span></span><span class="where fmt-newline"> type <a class="associatedtype">Item</a> = T;</span></code></span></span></span></span><span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;R: <a class="trait" href="../rand/rng/trait.Rng.html" title="trait rand::rng::Rng">Rng</a>,</span></h4></section></summary><div class='docblock'>Create an iterator that generates random values of <code>T</code>, using <code>rng</code> as
the source of randomness. <a href="trait.Distribution.html#method.sample_iter">Read more</a></div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.map-54" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/distribution.rs.html#102-105">source</a><a href="#method.map-54" class="anchor"></a><h4 class="code-header">fn <a href="trait.Distribution.html#method.map" class="fnname">map</a>&lt;F, S&gt;(self, func: F) -&gt; <a class="struct" href="../rand/distributions/distribution/struct.DistMap.html" title="struct rand::distributions::distribution::DistMap">DistMap</a>&lt;Self, F, T, S&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;F: Fn(T) -&gt; S,</span></h4></section></summary><div class='docblock'>Create a distribution of values of ‘S’ by mapping the output of <code>Self</code>
through the closure <code>F</code> <a href="trait.Distribution.html#method.map">Read more</a></div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Distribution%3C(A%2C%20B%2C%20C%2C%20D%2C%20E%2C%20F%2C%20G%2C%20H)%3E-for-Standard" class="impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/other.rs.html#186">source</a><a href="#impl-Distribution%3C(A%2C%20B%2C%20C%2C%20D%2C%20E%2C%20F%2C%20G%2C%20H)%3E-for-Standard" class="anchor"></a><h3 class="code-header">impl&lt;A, B, C, D, E, F, G, H&gt; <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;(A, B, C, D, E, F, G, H)&gt; for <a class="struct" href="struct.Standard.html" title="struct rand_distr::Standard">Standard</a><span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;<a class="struct" href="struct.Standard.html" title="struct rand_distr::Standard">Standard</a>: <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;A&gt; + <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;B&gt; + <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;C&gt; + <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;D&gt; + <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;E&gt; + <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;F&gt; + <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;G&gt; + <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;H&gt;,</span></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.sample-68" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/other.rs.html#186">source</a><a href="#method.sample-68" class="anchor"></a><h4 class="code-header">fn <a href="trait.Distribution.html#tymethod.sample" class="fnname">sample</a>&lt;R&gt;(&amp;self, _rng: &amp;mut R) -&gt; (A, B, C, D, E, F, G, H)<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;R: <a class="trait" href="../rand/rng/trait.Rng.html" title="trait rand::rng::Rng">Rng</a> + ?Sized,</span></h4></section></summary><div class='docblock'>Generate a random value of <code>T</code>, using <code>rng</code> as the source of randomness.</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.sample_iter-68" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/distribution.rs.html#73-76">source</a><a href="#method.sample_iter-68" class="anchor"></a><h4 class="code-header">fn <a href="trait.Distribution.html#method.sample_iter" class="fnname">sample_iter</a>&lt;R&gt;(self, rng: R) -&gt; <a class="struct" href="struct.DistIter.html" title="struct rand_distr::DistIter">DistIter</a>&lt;Self, R, T&gt;<span class="notable-traits"><span class="notable-traits-tooltip"><span class="notable-traits-tooltiptext"><span class="docblock"><span class="notable">Notable traits for <a class="struct" href="struct.DistIter.html" title="struct rand_distr::DistIter">DistIter</a>&lt;D, R, T&gt;</span><code class="content"><span class="where fmt-newline">impl&lt;D, R, T&gt; Iterator for <a class="struct" href="struct.DistIter.html" title="struct rand_distr::DistIter">DistIter</a>&lt;D, R, T&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;D: <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;T&gt;,<br>&nbsp;&nbsp;&nbsp;&nbsp;R: <a class="trait" href="../rand/rng/trait.Rng.html" title="trait rand::rng::Rng">Rng</a>,</span></span><span class="where fmt-newline"> type <a class="associatedtype">Item</a> = T;</span></code></span></span></span></span><span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;R: <a class="trait" href="../rand/rng/trait.Rng.html" title="trait rand::rng::Rng">Rng</a>,</span></h4></section></summary><div class='docblock'>Create an iterator that generates random values of <code>T</code>, using <code>rng</code> as
the source of randomness. <a href="trait.Distribution.html#method.sample_iter">Read more</a></div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.map-68" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/distribution.rs.html#102-105">source</a><a href="#method.map-68" class="anchor"></a><h4 class="code-header">fn <a href="trait.Distribution.html#method.map" class="fnname">map</a>&lt;F, S&gt;(self, func: F) -&gt; <a class="struct" href="../rand/distributions/distribution/struct.DistMap.html" title="struct rand::distributions::distribution::DistMap">DistMap</a>&lt;Self, F, T, S&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;F: Fn(T) -&gt; S,</span></h4></section></summary><div class='docblock'>Create a distribution of values of ‘S’ by mapping the output of <code>Self</code>
through the closure <code>F</code> <a href="trait.Distribution.html#method.map">Read more</a></div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Distribution%3C(A%2C%20B%2C%20C%2C%20D%2C%20E%2C%20F%2C%20G)%3E-for-Standard" class="impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/other.rs.html#185">source</a><a href="#impl-Distribution%3C(A%2C%20B%2C%20C%2C%20D%2C%20E%2C%20F%2C%20G)%3E-for-Standard" class="anchor"></a><h3 class="code-header">impl&lt;A, B, C, D, E, F, G&gt; <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;(A, B, C, D, E, F, G)&gt; for <a class="struct" href="struct.Standard.html" title="struct rand_distr::Standard">Standard</a><span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;<a class="struct" href="struct.Standard.html" title="struct rand_distr::Standard">Standard</a>: <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;A&gt; + <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;B&gt; + <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;C&gt; + <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;D&gt; + <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;E&gt; + <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;F&gt; + <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;G&gt;,</span></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.sample-11" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/other.rs.html#185">source</a><a href="#method.sample-11" class="anchor"></a><h4 class="code-header">fn <a href="trait.Distribution.html#tymethod.sample" class="fnname">sample</a>&lt;R&gt;(&amp;self, _rng: &amp;mut R) -&gt; (A, B, C, D, E, F, G)<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;R: <a class="trait" href="../rand/rng/trait.Rng.html" title="trait rand::rng::Rng">Rng</a> + ?Sized,</span></h4></section></summary><div class='docblock'>Generate a random value of <code>T</code>, using <code>rng</code> as the source of randomness.</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.sample_iter-11" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/distribution.rs.html#73-76">source</a><a href="#method.sample_iter-11" class="anchor"></a><h4 class="code-header">fn <a href="trait.Distribution.html#method.sample_iter" class="fnname">sample_iter</a>&lt;R&gt;(self, rng: R) -&gt; <a class="struct" href="struct.DistIter.html" title="struct rand_distr::DistIter">DistIter</a>&lt;Self, R, T&gt;<span class="notable-traits"><span class="notable-traits-tooltip"><span class="notable-traits-tooltiptext"><span class="docblock"><span class="notable">Notable traits for <a class="struct" href="struct.DistIter.html" title="struct rand_distr::DistIter">DistIter</a>&lt;D, R, T&gt;</span><code class="content"><span class="where fmt-newline">impl&lt;D, R, T&gt; Iterator for <a class="struct" href="struct.DistIter.html" title="struct rand_distr::DistIter">DistIter</a>&lt;D, R, T&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;D: <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;T&gt;,<br>&nbsp;&nbsp;&nbsp;&nbsp;R: <a class="trait" href="../rand/rng/trait.Rng.html" title="trait rand::rng::Rng">Rng</a>,</span></span><span class="where fmt-newline"> type <a class="associatedtype">Item</a> = T;</span></code></span></span></span></span><span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;R: <a class="trait" href="../rand/rng/trait.Rng.html" title="trait rand::rng::Rng">Rng</a>,</span></h4></section></summary><div class='docblock'>Create an iterator that generates random values of <code>T</code>, using <code>rng</code> as
the source of randomness. <a href="trait.Distribution.html#method.sample_iter">Read more</a></div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.map-11" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/distribution.rs.html#102-105">source</a><a href="#method.map-11" class="anchor"></a><h4 class="code-header">fn <a href="trait.Distribution.html#method.map" class="fnname">map</a>&lt;F, S&gt;(self, func: F) -&gt; <a class="struct" href="../rand/distributions/distribution/struct.DistMap.html" title="struct rand::distributions::distribution::DistMap">DistMap</a>&lt;Self, F, T, S&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;F: Fn(T) -&gt; S,</span></h4></section></summary><div class='docblock'>Create a distribution of values of ‘S’ by mapping the output of <code>Self</code>
through the closure <code>F</code> <a href="trait.Distribution.html#method.map">Read more</a></div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Distribution%3C(A%2C%20B%2C%20C%2C%20D%2C%20E%2C%20F)%3E-for-Standard" class="impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/other.rs.html#184">source</a><a href="#impl-Distribution%3C(A%2C%20B%2C%20C%2C%20D%2C%20E%2C%20F)%3E-for-Standard" class="anchor"></a><h3 class="code-header">impl&lt;A, B, C, D, E, F&gt; <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;(A, B, C, D, E, F)&gt; for <a class="struct" href="struct.Standard.html" title="struct rand_distr::Standard">Standard</a><span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;<a class="struct" href="struct.Standard.html" title="struct rand_distr::Standard">Standard</a>: <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;A&gt; + <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;B&gt; + <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;C&gt; + <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;D&gt; + <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;E&gt; + <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;F&gt;,</span></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.sample" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/other.rs.html#184">source</a><a href="#method.sample" class="anchor"></a><h4 class="code-header">fn <a href="trait.Distribution.html#tymethod.sample" class="fnname">sample</a>&lt;R&gt;(&amp;self, _rng: &amp;mut R) -&gt; (A, B, C, D, E, F)<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;R: <a class="trait" href="../rand/rng/trait.Rng.html" title="trait rand::rng::Rng">Rng</a> + ?Sized,</span></h4></section></summary><div class='docblock'>Generate a random value of <code>T</code>, using <code>rng</code> as the source of randomness.</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.sample_iter" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/distribution.rs.html#73-76">source</a><a href="#method.sample_iter" class="anchor"></a><h4 class="code-header">fn <a href="trait.Distribution.html#method.sample_iter" class="fnname">sample_iter</a>&lt;R&gt;(self, rng: R) -&gt; <a class="struct" href="struct.DistIter.html" title="struct rand_distr::DistIter">DistIter</a>&lt;Self, R, T&gt;<span class="notable-traits"><span class="notable-traits-tooltip"><span class="notable-traits-tooltiptext"><span class="docblock"><span class="notable">Notable traits for <a class="struct" href="struct.DistIter.html" title="struct rand_distr::DistIter">DistIter</a>&lt;D, R, T&gt;</span><code class="content"><span class="where fmt-newline">impl&lt;D, R, T&gt; Iterator for <a class="struct" href="struct.DistIter.html" title="struct rand_distr::DistIter">DistIter</a>&lt;D, R, T&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;D: <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;T&gt;,<br>&nbsp;&nbsp;&nbsp;&nbsp;R: <a class="trait" href="../rand/rng/trait.Rng.html" title="trait rand::rng::Rng">Rng</a>,</span></span><span class="where fmt-newline"> type <a class="associatedtype">Item</a> = T;</span></code></span></span></span></span><span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;R: <a class="trait" href="../rand/rng/trait.Rng.html" title="trait rand::rng::Rng">Rng</a>,</span></h4></section></summary><div class='docblock'>Create an iterator that generates random values of <code>T</code>, using <code>rng</code> as
the source of randomness. <a href="trait.Distribution.html#method.sample_iter">Read more</a></div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.map" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/distribution.rs.html#102-105">source</a><a href="#method.map" class="anchor"></a><h4 class="code-header">fn <a href="trait.Distribution.html#method.map" class="fnname">map</a>&lt;F, S&gt;(self, func: F) -&gt; <a class="struct" href="../rand/distributions/distribution/struct.DistMap.html" title="struct rand::distributions::distribution::DistMap">DistMap</a>&lt;Self, F, T, S&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;F: Fn(T) -&gt; S,</span></h4></section></summary><div class='docblock'>Create a distribution of values of ‘S’ by mapping the output of <code>Self</code>
through the closure <code>F</code> <a href="trait.Distribution.html#method.map">Read more</a></div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Distribution%3C(A%2C%20B%2C%20C%2C%20D%2C%20E)%3E-for-Standard" class="impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/other.rs.html#183">source</a><a href="#impl-Distribution%3C(A%2C%20B%2C%20C%2C%20D%2C%20E)%3E-for-Standard" class="anchor"></a><h3 class="code-header">impl&lt;A, B, C, D, E&gt; <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;(A, B, C, D, E)&gt; for <a class="struct" href="struct.Standard.html" title="struct rand_distr::Standard">Standard</a><span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;<a class="struct" href="struct.Standard.html" title="struct rand_distr::Standard">Standard</a>: <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;A&gt; + <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;B&gt; + <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;C&gt; + <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;D&gt; + <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;E&gt;,</span></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.sample-52" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/other.rs.html#183">source</a><a href="#method.sample-52" class="anchor"></a><h4 class="code-header">fn <a href="trait.Distribution.html#tymethod.sample" class="fnname">sample</a>&lt;R&gt;(&amp;self, _rng: &amp;mut R) -&gt; (A, B, C, D, E)<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;R: <a class="trait" href="../rand/rng/trait.Rng.html" title="trait rand::rng::Rng">Rng</a> + ?Sized,</span></h4></section></summary><div class='docblock'>Generate a random value of <code>T</code>, using <code>rng</code> as the source of randomness.</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.sample_iter-52" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/distribution.rs.html#73-76">source</a><a href="#method.sample_iter-52" class="anchor"></a><h4 class="code-header">fn <a href="trait.Distribution.html#method.sample_iter" class="fnname">sample_iter</a>&lt;R&gt;(self, rng: R) -&gt; <a class="struct" href="struct.DistIter.html" title="struct rand_distr::DistIter">DistIter</a>&lt;Self, R, T&gt;<span class="notable-traits"><span class="notable-traits-tooltip"><span class="notable-traits-tooltiptext"><span class="docblock"><span class="notable">Notable traits for <a class="struct" href="struct.DistIter.html" title="struct rand_distr::DistIter">DistIter</a>&lt;D, R, T&gt;</span><code class="content"><span class="where fmt-newline">impl&lt;D, R, T&gt; Iterator for <a class="struct" href="struct.DistIter.html" title="struct rand_distr::DistIter">DistIter</a>&lt;D, R, T&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;D: <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;T&gt;,<br>&nbsp;&nbsp;&nbsp;&nbsp;R: <a class="trait" href="../rand/rng/trait.Rng.html" title="trait rand::rng::Rng">Rng</a>,</span></span><span class="where fmt-newline"> type <a class="associatedtype">Item</a> = T;</span></code></span></span></span></span><span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;R: <a class="trait" href="../rand/rng/trait.Rng.html" title="trait rand::rng::Rng">Rng</a>,</span></h4></section></summary><div class='docblock'>Create an iterator that generates random values of <code>T</code>, using <code>rng</code> as
the source of randomness. <a href="trait.Distribution.html#method.sample_iter">Read more</a></div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.map-52" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/distribution.rs.html#102-105">source</a><a href="#method.map-52" class="anchor"></a><h4 class="code-header">fn <a href="trait.Distribution.html#method.map" class="fnname">map</a>&lt;F, S&gt;(self, func: F) -&gt; <a class="struct" href="../rand/distributions/distribution/struct.DistMap.html" title="struct rand::distributions::distribution::DistMap">DistMap</a>&lt;Self, F, T, S&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;F: Fn(T) -&gt; S,</span></h4></section></summary><div class='docblock'>Create a distribution of values of ‘S’ by mapping the output of <code>Self</code>
through the closure <code>F</code> <a href="trait.Distribution.html#method.map">Read more</a></div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Distribution%3C(A%2C%20B%2C%20C%2C%20D)%3E-for-Standard" class="impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/other.rs.html#182">source</a><a href="#impl-Distribution%3C(A%2C%20B%2C%20C%2C%20D)%3E-for-Standard" class="anchor"></a><h3 class="code-header">impl&lt;A, B, C, D&gt; <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;(A, B, C, D)&gt; for <a class="struct" href="struct.Standard.html" title="struct rand_distr::Standard">Standard</a><span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;<a class="struct" href="struct.Standard.html" title="struct rand_distr::Standard">Standard</a>: <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;A&gt; + <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;B&gt; + <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;C&gt; + <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;D&gt;,</span></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.sample-46" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/other.rs.html#182">source</a><a href="#method.sample-46" class="anchor"></a><h4 class="code-header">fn <a href="trait.Distribution.html#tymethod.sample" class="fnname">sample</a>&lt;R&gt;(&amp;self, _rng: &amp;mut R) -&gt; (A, B, C, D)<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;R: <a class="trait" href="../rand/rng/trait.Rng.html" title="trait rand::rng::Rng">Rng</a> + ?Sized,</span></h4></section></summary><div class='docblock'>Generate a random value of <code>T</code>, using <code>rng</code> as the source of randomness.</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.sample_iter-46" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/distribution.rs.html#73-76">source</a><a href="#method.sample_iter-46" class="anchor"></a><h4 class="code-header">fn <a href="trait.Distribution.html#method.sample_iter" class="fnname">sample_iter</a>&lt;R&gt;(self, rng: R) -&gt; <a class="struct" href="struct.DistIter.html" title="struct rand_distr::DistIter">DistIter</a>&lt;Self, R, T&gt;<span class="notable-traits"><span class="notable-traits-tooltip"><span class="notable-traits-tooltiptext"><span class="docblock"><span class="notable">Notable traits for <a class="struct" href="struct.DistIter.html" title="struct rand_distr::DistIter">DistIter</a>&lt;D, R, T&gt;</span><code class="content"><span class="where fmt-newline">impl&lt;D, R, T&gt; Iterator for <a class="struct" href="struct.DistIter.html" title="struct rand_distr::DistIter">DistIter</a>&lt;D, R, T&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;D: <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;T&gt;,<br>&nbsp;&nbsp;&nbsp;&nbsp;R: <a class="trait" href="../rand/rng/trait.Rng.html" title="trait rand::rng::Rng">Rng</a>,</span></span><span class="where fmt-newline"> type <a class="associatedtype">Item</a> = T;</span></code></span></span></span></span><span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;R: <a class="trait" href="../rand/rng/trait.Rng.html" title="trait rand::rng::Rng">Rng</a>,</span></h4></section></summary><div class='docblock'>Create an iterator that generates random values of <code>T</code>, using <code>rng</code> as
the source of randomness. <a href="trait.Distribution.html#method.sample_iter">Read more</a></div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.map-46" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/distribution.rs.html#102-105">source</a><a href="#method.map-46" class="anchor"></a><h4 class="code-header">fn <a href="trait.Distribution.html#method.map" class="fnname">map</a>&lt;F, S&gt;(self, func: F) -&gt; <a class="struct" href="../rand/distributions/distribution/struct.DistMap.html" title="struct rand::distributions::distribution::DistMap">DistMap</a>&lt;Self, F, T, S&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;F: Fn(T) -&gt; S,</span></h4></section></summary><div class='docblock'>Create a distribution of values of ‘S’ by mapping the output of <code>Self</code>
through the closure <code>F</code> <a href="trait.Distribution.html#method.map">Read more</a></div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Distribution%3C(A%2C%20B%2C%20C)%3E-for-Standard" class="impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/other.rs.html#181">source</a><a href="#impl-Distribution%3C(A%2C%20B%2C%20C)%3E-for-Standard" class="anchor"></a><h3 class="code-header">impl&lt;A, B, C&gt; <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;(A, B, C)&gt; for <a class="struct" href="struct.Standard.html" title="struct rand_distr::Standard">Standard</a><span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;<a class="struct" href="struct.Standard.html" title="struct rand_distr::Standard">Standard</a>: <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;A&gt; + <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;B&gt; + <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;C&gt;,</span></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.sample-41" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/other.rs.html#181">source</a><a href="#method.sample-41" class="anchor"></a><h4 class="code-header">fn <a href="trait.Distribution.html#tymethod.sample" class="fnname">sample</a>&lt;R&gt;(&amp;self, _rng: &amp;mut R) -&gt; (A, B, C)<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;R: <a class="trait" href="../rand/rng/trait.Rng.html" title="trait rand::rng::Rng">Rng</a> + ?Sized,</span></h4></section></summary><div class='docblock'>Generate a random value of <code>T</code>, using <code>rng</code> as the source of randomness.</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.sample_iter-41" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/distribution.rs.html#73-76">source</a><a href="#method.sample_iter-41" class="anchor"></a><h4 class="code-header">fn <a href="trait.Distribution.html#method.sample_iter" class="fnname">sample_iter</a>&lt;R&gt;(self, rng: R) -&gt; <a class="struct" href="struct.DistIter.html" title="struct rand_distr::DistIter">DistIter</a>&lt;Self, R, T&gt;<span class="notable-traits"><span class="notable-traits-tooltip"><span class="notable-traits-tooltiptext"><span class="docblock"><span class="notable">Notable traits for <a class="struct" href="struct.DistIter.html" title="struct rand_distr::DistIter">DistIter</a>&lt;D, R, T&gt;</span><code class="content"><span class="where fmt-newline">impl&lt;D, R, T&gt; Iterator for <a class="struct" href="struct.DistIter.html" title="struct rand_distr::DistIter">DistIter</a>&lt;D, R, T&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;D: <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;T&gt;,<br>&nbsp;&nbsp;&nbsp;&nbsp;R: <a class="trait" href="../rand/rng/trait.Rng.html" title="trait rand::rng::Rng">Rng</a>,</span></span><span class="where fmt-newline"> type <a class="associatedtype">Item</a> = T;</span></code></span></span></span></span><span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;R: <a class="trait" href="../rand/rng/trait.Rng.html" title="trait rand::rng::Rng">Rng</a>,</span></h4></section></summary><div class='docblock'>Create an iterator that generates random values of <code>T</code>, using <code>rng</code> as
the source of randomness. <a href="trait.Distribution.html#method.sample_iter">Read more</a></div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.map-41" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/distribution.rs.html#102-105">source</a><a href="#method.map-41" class="anchor"></a><h4 class="code-header">fn <a href="trait.Distribution.html#method.map" class="fnname">map</a>&lt;F, S&gt;(self, func: F) -&gt; <a class="struct" href="../rand/distributions/distribution/struct.DistMap.html" title="struct rand::distributions::distribution::DistMap">DistMap</a>&lt;Self, F, T, S&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;F: Fn(T) -&gt; S,</span></h4></section></summary><div class='docblock'>Create a distribution of values of ‘S’ by mapping the output of <code>Self</code>
through the closure <code>F</code> <a href="trait.Distribution.html#method.map">Read more</a></div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Distribution%3C(A%2C%20B)%3E-for-Standard" class="impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/other.rs.html#180">source</a><a href="#impl-Distribution%3C(A%2C%20B)%3E-for-Standard" class="anchor"></a><h3 class="code-header">impl&lt;A, B&gt; <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;(A, B)&gt; for <a class="struct" href="struct.Standard.html" title="struct rand_distr::Standard">Standard</a><span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;<a class="struct" href="struct.Standard.html" title="struct rand_distr::Standard">Standard</a>: <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;A&gt; + <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;B&gt;,</span></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.sample-39" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/other.rs.html#180">source</a><a href="#method.sample-39" class="anchor"></a><h4 class="code-header">fn <a href="trait.Distribution.html#tymethod.sample" class="fnname">sample</a>&lt;R&gt;(&amp;self, _rng: &amp;mut R) -&gt; (A, B)<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;R: <a class="trait" href="../rand/rng/trait.Rng.html" title="trait rand::rng::Rng">Rng</a> + ?Sized,</span></h4></section></summary><div class='docblock'>Generate a random value of <code>T</code>, using <code>rng</code> as the source of randomness.</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.sample_iter-39" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/distribution.rs.html#73-76">source</a><a href="#method.sample_iter-39" class="anchor"></a><h4 class="code-header">fn <a href="trait.Distribution.html#method.sample_iter" class="fnname">sample_iter</a>&lt;R&gt;(self, rng: R) -&gt; <a class="struct" href="struct.DistIter.html" title="struct rand_distr::DistIter">DistIter</a>&lt;Self, R, T&gt;<span class="notable-traits"><span class="notable-traits-tooltip"><span class="notable-traits-tooltiptext"><span class="docblock"><span class="notable">Notable traits for <a class="struct" href="struct.DistIter.html" title="struct rand_distr::DistIter">DistIter</a>&lt;D, R, T&gt;</span><code class="content"><span class="where fmt-newline">impl&lt;D, R, T&gt; Iterator for <a class="struct" href="struct.DistIter.html" title="struct rand_distr::DistIter">DistIter</a>&lt;D, R, T&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;D: <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;T&gt;,<br>&nbsp;&nbsp;&nbsp;&nbsp;R: <a class="trait" href="../rand/rng/trait.Rng.html" title="trait rand::rng::Rng">Rng</a>,</span></span><span class="where fmt-newline"> type <a class="associatedtype">Item</a> = T;</span></code></span></span></span></span><span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;R: <a class="trait" href="../rand/rng/trait.Rng.html" title="trait rand::rng::Rng">Rng</a>,</span></h4></section></summary><div class='docblock'>Create an iterator that generates random values of <code>T</code>, using <code>rng</code> as
the source of randomness. <a href="trait.Distribution.html#method.sample_iter">Read more</a></div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.map-39" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/distribution.rs.html#102-105">source</a><a href="#method.map-39" class="anchor"></a><h4 class="code-header">fn <a href="trait.Distribution.html#method.map" class="fnname">map</a>&lt;F, S&gt;(self, func: F) -&gt; <a class="struct" href="../rand/distributions/distribution/struct.DistMap.html" title="struct rand::distributions::distribution::DistMap">DistMap</a>&lt;Self, F, T, S&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;F: Fn(T) -&gt; S,</span></h4></section></summary><div class='docblock'>Create a distribution of values of ‘S’ by mapping the output of <code>Self</code>
through the closure <code>F</code> <a href="trait.Distribution.html#method.map">Read more</a></div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Distribution%3C(A%2C)%3E-for-Standard" class="impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/other.rs.html#179">source</a><a href="#impl-Distribution%3C(A%2C)%3E-for-Standard" class="anchor"></a><h3 class="code-header">impl&lt;A&gt; <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;(A,)&gt; for <a class="struct" href="struct.Standard.html" title="struct rand_distr::Standard">Standard</a><span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;<a class="struct" href="struct.Standard.html" title="struct rand_distr::Standard">Standard</a>: <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;A&gt;,</span></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.sample-64" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/other.rs.html#179">source</a><a href="#method.sample-64" class="anchor"></a><h4 class="code-header">fn <a href="trait.Distribution.html#tymethod.sample" class="fnname">sample</a>&lt;R&gt;(&amp;self, _rng: &amp;mut R) -&gt; (A,)<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;R: <a class="trait" href="../rand/rng/trait.Rng.html" title="trait rand::rng::Rng">Rng</a> + ?Sized,</span></h4></section></summary><div class='docblock'>Generate a random value of <code>T</code>, using <code>rng</code> as the source of randomness.</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.sample_iter-64" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/distribution.rs.html#73-76">source</a><a href="#method.sample_iter-64" class="anchor"></a><h4 class="code-header">fn <a href="trait.Distribution.html#method.sample_iter" class="fnname">sample_iter</a>&lt;R&gt;(self, rng: R) -&gt; <a class="struct" href="struct.DistIter.html" title="struct rand_distr::DistIter">DistIter</a>&lt;Self, R, T&gt;<span class="notable-traits"><span class="notable-traits-tooltip"><span class="notable-traits-tooltiptext"><span class="docblock"><span class="notable">Notable traits for <a class="struct" href="struct.DistIter.html" title="struct rand_distr::DistIter">DistIter</a>&lt;D, R, T&gt;</span><code class="content"><span class="where fmt-newline">impl&lt;D, R, T&gt; Iterator for <a class="struct" href="struct.DistIter.html" title="struct rand_distr::DistIter">DistIter</a>&lt;D, R, T&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;D: <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;T&gt;,<br>&nbsp;&nbsp;&nbsp;&nbsp;R: <a class="trait" href="../rand/rng/trait.Rng.html" title="trait rand::rng::Rng">Rng</a>,</span></span><span class="where fmt-newline"> type <a class="associatedtype">Item</a> = T;</span></code></span></span></span></span><span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;R: <a class="trait" href="../rand/rng/trait.Rng.html" title="trait rand::rng::Rng">Rng</a>,</span></h4></section></summary><div class='docblock'>Create an iterator that generates random values of <code>T</code>, using <code>rng</code> as
the source of randomness. <a href="trait.Distribution.html#method.sample_iter">Read more</a></div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.map-64" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/distribution.rs.html#102-105">source</a><a href="#method.map-64" class="anchor"></a><h4 class="code-header">fn <a href="trait.Distribution.html#method.map" class="fnname">map</a>&lt;F, S&gt;(self, func: F) -&gt; <a class="struct" href="../rand/distributions/distribution/struct.DistMap.html" title="struct rand::distributions::distribution::DistMap">DistMap</a>&lt;Self, F, T, S&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;F: Fn(T) -&gt; S,</span></h4></section></summary><div class='docblock'>Create a distribution of values of ‘S’ by mapping the output of <code>Self</code>
through the closure <code>F</code> <a href="trait.Distribution.html#method.map">Read more</a></div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Distribution%3CNonZeroU128%3E-for-Standard" class="impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/integer.rs.html#109">source</a><a href="#impl-Distribution%3CNonZeroU128%3E-for-Standard" class="anchor"></a><h3 class="code-header">impl <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;NonZeroU128&gt; for <a class="struct" href="struct.Standard.html" title="struct rand_distr::Standard">Standard</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.sample-25" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/integer.rs.html#109">source</a><a href="#method.sample-25" class="anchor"></a><h4 class="code-header">fn <a href="trait.Distribution.html#tymethod.sample" class="fnname">sample</a>&lt;R&gt;(&amp;self, rng: &amp;mut R) -&gt; NonZeroU128<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;R: <a class="trait" href="../rand/rng/trait.Rng.html" title="trait rand::rng::Rng">Rng</a> + ?Sized,</span></h4></section></summary><div class='docblock'>Generate a random value of <code>T</code>, using <code>rng</code> as the source of randomness.</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.sample_iter-25" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/distribution.rs.html#73-76">source</a><a href="#method.sample_iter-25" class="anchor"></a><h4 class="code-header">fn <a href="trait.Distribution.html#method.sample_iter" class="fnname">sample_iter</a>&lt;R&gt;(self, rng: R) -&gt; <a class="struct" href="struct.DistIter.html" title="struct rand_distr::DistIter">DistIter</a>&lt;Self, R, T&gt;<span class="notable-traits"><span class="notable-traits-tooltip"><span class="notable-traits-tooltiptext"><span class="docblock"><span class="notable">Notable traits for <a class="struct" href="struct.DistIter.html" title="struct rand_distr::DistIter">DistIter</a>&lt;D, R, T&gt;</span><code class="content"><span class="where fmt-newline">impl&lt;D, R, T&gt; Iterator for <a class="struct" href="struct.DistIter.html" title="struct rand_distr::DistIter">DistIter</a>&lt;D, R, T&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;D: <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;T&gt;,<br>&nbsp;&nbsp;&nbsp;&nbsp;R: <a class="trait" href="../rand/rng/trait.Rng.html" title="trait rand::rng::Rng">Rng</a>,</span></span><span class="where fmt-newline"> type <a class="associatedtype">Item</a> = T;</span></code></span></span></span></span><span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;R: <a class="trait" href="../rand/rng/trait.Rng.html" title="trait rand::rng::Rng">Rng</a>,</span></h4></section></summary><div class='docblock'>Create an iterator that generates random values of <code>T</code>, using <code>rng</code> as
the source of randomness. <a href="trait.Distribution.html#method.sample_iter">Read more</a></div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.map-25" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/distribution.rs.html#102-105">source</a><a href="#method.map-25" class="anchor"></a><h4 class="code-header">fn <a href="trait.Distribution.html#method.map" class="fnname">map</a>&lt;F, S&gt;(self, func: F) -&gt; <a class="struct" href="../rand/distributions/distribution/struct.DistMap.html" title="struct rand::distributions::distribution::DistMap">DistMap</a>&lt;Self, F, T, S&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;F: Fn(T) -&gt; S,</span></h4></section></summary><div class='docblock'>Create a distribution of values of ‘S’ by mapping the output of <code>Self</code>
through the closure <code>F</code> <a href="trait.Distribution.html#method.map">Read more</a></div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Distribution%3CNonZeroU16%3E-for-Standard" class="impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/integer.rs.html#106">source</a><a href="#impl-Distribution%3CNonZeroU16%3E-for-Standard" class="anchor"></a><h3 class="code-header">impl <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;NonZeroU16&gt; for <a class="struct" href="struct.Standard.html" title="struct rand_distr::Standard">Standard</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.sample-51" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/integer.rs.html#106">source</a><a href="#method.sample-51" class="anchor"></a><h4 class="code-header">fn <a href="trait.Distribution.html#tymethod.sample" class="fnname">sample</a>&lt;R&gt;(&amp;self, rng: &amp;mut R) -&gt; NonZeroU16<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;R: <a class="trait" href="../rand/rng/trait.Rng.html" title="trait rand::rng::Rng">Rng</a> + ?Sized,</span></h4></section></summary><div class='docblock'>Generate a random value of <code>T</code>, using <code>rng</code> as the source of randomness.</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.sample_iter-51" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/distribution.rs.html#73-76">source</a><a href="#method.sample_iter-51" class="anchor"></a><h4 class="code-header">fn <a href="trait.Distribution.html#method.sample_iter" class="fnname">sample_iter</a>&lt;R&gt;(self, rng: R) -&gt; <a class="struct" href="struct.DistIter.html" title="struct rand_distr::DistIter">DistIter</a>&lt;Self, R, T&gt;<span class="notable-traits"><span class="notable-traits-tooltip"><span class="notable-traits-tooltiptext"><span class="docblock"><span class="notable">Notable traits for <a class="struct" href="struct.DistIter.html" title="struct rand_distr::DistIter">DistIter</a>&lt;D, R, T&gt;</span><code class="content"><span class="where fmt-newline">impl&lt;D, R, T&gt; Iterator for <a class="struct" href="struct.DistIter.html" title="struct rand_distr::DistIter">DistIter</a>&lt;D, R, T&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;D: <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;T&gt;,<br>&nbsp;&nbsp;&nbsp;&nbsp;R: <a class="trait" href="../rand/rng/trait.Rng.html" title="trait rand::rng::Rng">Rng</a>,</span></span><span class="where fmt-newline"> type <a class="associatedtype">Item</a> = T;</span></code></span></span></span></span><span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;R: <a class="trait" href="../rand/rng/trait.Rng.html" title="trait rand::rng::Rng">Rng</a>,</span></h4></section></summary><div class='docblock'>Create an iterator that generates random values of <code>T</code>, using <code>rng</code> as
the source of randomness. <a href="trait.Distribution.html#method.sample_iter">Read more</a></div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.map-51" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/distribution.rs.html#102-105">source</a><a href="#method.map-51" class="anchor"></a><h4 class="code-header">fn <a href="trait.Distribution.html#method.map" class="fnname">map</a>&lt;F, S&gt;(self, func: F) -&gt; <a class="struct" href="../rand/distributions/distribution/struct.DistMap.html" title="struct rand::distributions::distribution::DistMap">DistMap</a>&lt;Self, F, T, S&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;F: Fn(T) -&gt; S,</span></h4></section></summary><div class='docblock'>Create a distribution of values of ‘S’ by mapping the output of <code>Self</code>
through the closure <code>F</code> <a href="trait.Distribution.html#method.map">Read more</a></div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Distribution%3CNonZeroU32%3E-for-Standard" class="impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/integer.rs.html#107">source</a><a href="#impl-Distribution%3CNonZeroU32%3E-for-Standard" class="anchor"></a><h3 class="code-header">impl <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;NonZeroU32&gt; for <a class="struct" href="struct.Standard.html" title="struct rand_distr::Standard">Standard</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.sample-15" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/integer.rs.html#107">source</a><a href="#method.sample-15" class="anchor"></a><h4 class="code-header">fn <a href="trait.Distribution.html#tymethod.sample" class="fnname">sample</a>&lt;R&gt;(&amp;self, rng: &amp;mut R) -&gt; NonZeroU32<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;R: <a class="trait" href="../rand/rng/trait.Rng.html" title="trait rand::rng::Rng">Rng</a> + ?Sized,</span></h4></section></summary><div class='docblock'>Generate a random value of <code>T</code>, using <code>rng</code> as the source of randomness.</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.sample_iter-15" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/distribution.rs.html#73-76">source</a><a href="#method.sample_iter-15" class="anchor"></a><h4 class="code-header">fn <a href="trait.Distribution.html#method.sample_iter" class="fnname">sample_iter</a>&lt;R&gt;(self, rng: R) -&gt; <a class="struct" href="struct.DistIter.html" title="struct rand_distr::DistIter">DistIter</a>&lt;Self, R, T&gt;<span class="notable-traits"><span class="notable-traits-tooltip"><span class="notable-traits-tooltiptext"><span class="docblock"><span class="notable">Notable traits for <a class="struct" href="struct.DistIter.html" title="struct rand_distr::DistIter">DistIter</a>&lt;D, R, T&gt;</span><code class="content"><span class="where fmt-newline">impl&lt;D, R, T&gt; Iterator for <a class="struct" href="struct.DistIter.html" title="struct rand_distr::DistIter">DistIter</a>&lt;D, R, T&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;D: <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;T&gt;,<br>&nbsp;&nbsp;&nbsp;&nbsp;R: <a class="trait" href="../rand/rng/trait.Rng.html" title="trait rand::rng::Rng">Rng</a>,</span></span><span class="where fmt-newline"> type <a class="associatedtype">Item</a> = T;</span></code></span></span></span></span><span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;R: <a class="trait" href="../rand/rng/trait.Rng.html" title="trait rand::rng::Rng">Rng</a>,</span></h4></section></summary><div class='docblock'>Create an iterator that generates random values of <code>T</code>, using <code>rng</code> as
the source of randomness. <a href="trait.Distribution.html#method.sample_iter">Read more</a></div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.map-15" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/distribution.rs.html#102-105">source</a><a href="#method.map-15" class="anchor"></a><h4 class="code-header">fn <a href="trait.Distribution.html#method.map" class="fnname">map</a>&lt;F, S&gt;(self, func: F) -&gt; <a class="struct" href="../rand/distributions/distribution/struct.DistMap.html" title="struct rand::distributions::distribution::DistMap">DistMap</a>&lt;Self, F, T, S&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;F: Fn(T) -&gt; S,</span></h4></section></summary><div class='docblock'>Create a distribution of values of ‘S’ by mapping the output of <code>Self</code>
through the closure <code>F</code> <a href="trait.Distribution.html#method.map">Read more</a></div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Distribution%3CNonZeroU64%3E-for-Standard" class="impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/integer.rs.html#108">source</a><a href="#impl-Distribution%3CNonZeroU64%3E-for-Standard" class="anchor"></a><h3 class="code-header">impl <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;NonZeroU64&gt; for <a class="struct" href="struct.Standard.html" title="struct rand_distr::Standard">Standard</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.sample-55" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/integer.rs.html#108">source</a><a href="#method.sample-55" class="anchor"></a><h4 class="code-header">fn <a href="trait.Distribution.html#tymethod.sample" class="fnname">sample</a>&lt;R&gt;(&amp;self, rng: &amp;mut R) -&gt; NonZeroU64<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;R: <a class="trait" href="../rand/rng/trait.Rng.html" title="trait rand::rng::Rng">Rng</a> + ?Sized,</span></h4></section></summary><div class='docblock'>Generate a random value of <code>T</code>, using <code>rng</code> as the source of randomness.</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.sample_iter-55" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/distribution.rs.html#73-76">source</a><a href="#method.sample_iter-55" class="anchor"></a><h4 class="code-header">fn <a href="trait.Distribution.html#method.sample_iter" class="fnname">sample_iter</a>&lt;R&gt;(self, rng: R) -&gt; <a class="struct" href="struct.DistIter.html" title="struct rand_distr::DistIter">DistIter</a>&lt;Self, R, T&gt;<span class="notable-traits"><span class="notable-traits-tooltip"><span class="notable-traits-tooltiptext"><span class="docblock"><span class="notable">Notable traits for <a class="struct" href="struct.DistIter.html" title="struct rand_distr::DistIter">DistIter</a>&lt;D, R, T&gt;</span><code class="content"><span class="where fmt-newline">impl&lt;D, R, T&gt; Iterator for <a class="struct" href="struct.DistIter.html" title="struct rand_distr::DistIter">DistIter</a>&lt;D, R, T&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;D: <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;T&gt;,<br>&nbsp;&nbsp;&nbsp;&nbsp;R: <a class="trait" href="../rand/rng/trait.Rng.html" title="trait rand::rng::Rng">Rng</a>,</span></span><span class="where fmt-newline"> type <a class="associatedtype">Item</a> = T;</span></code></span></span></span></span><span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;R: <a class="trait" href="../rand/rng/trait.Rng.html" title="trait rand::rng::Rng">Rng</a>,</span></h4></section></summary><div class='docblock'>Create an iterator that generates random values of <code>T</code>, using <code>rng</code> as
the source of randomness. <a href="trait.Distribution.html#method.sample_iter">Read more</a></div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.map-55" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/distribution.rs.html#102-105">source</a><a href="#method.map-55" class="anchor"></a><h4 class="code-header">fn <a href="trait.Distribution.html#method.map" class="fnname">map</a>&lt;F, S&gt;(self, func: F) -&gt; <a class="struct" href="../rand/distributions/distribution/struct.DistMap.html" title="struct rand::distributions::distribution::DistMap">DistMap</a>&lt;Self, F, T, S&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;F: Fn(T) -&gt; S,</span></h4></section></summary><div class='docblock'>Create a distribution of values of ‘S’ by mapping the output of <code>Self</code>
through the closure <code>F</code> <a href="trait.Distribution.html#method.map">Read more</a></div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Distribution%3CNonZeroU8%3E-for-Standard" class="impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/integer.rs.html#105">source</a><a href="#impl-Distribution%3CNonZeroU8%3E-for-Standard" class="anchor"></a><h3 class="code-header">impl <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;NonZeroU8&gt; for <a class="struct" href="struct.Standard.html" title="struct rand_distr::Standard">Standard</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.sample-65" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/integer.rs.html#105">source</a><a href="#method.sample-65" class="anchor"></a><h4 class="code-header">fn <a href="trait.Distribution.html#tymethod.sample" class="fnname">sample</a>&lt;R&gt;(&amp;self, rng: &amp;mut R) -&gt; NonZeroU8<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;R: <a class="trait" href="../rand/rng/trait.Rng.html" title="trait rand::rng::Rng">Rng</a> + ?Sized,</span></h4></section></summary><div class='docblock'>Generate a random value of <code>T</code>, using <code>rng</code> as the source of randomness.</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.sample_iter-65" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/distribution.rs.html#73-76">source</a><a href="#method.sample_iter-65" class="anchor"></a><h4 class="code-header">fn <a href="trait.Distribution.html#method.sample_iter" class="fnname">sample_iter</a>&lt;R&gt;(self, rng: R) -&gt; <a class="struct" href="struct.DistIter.html" title="struct rand_distr::DistIter">DistIter</a>&lt;Self, R, T&gt;<span class="notable-traits"><span class="notable-traits-tooltip"><span class="notable-traits-tooltiptext"><span class="docblock"><span class="notable">Notable traits for <a class="struct" href="struct.DistIter.html" title="struct rand_distr::DistIter">DistIter</a>&lt;D, R, T&gt;</span><code class="content"><span class="where fmt-newline">impl&lt;D, R, T&gt; Iterator for <a class="struct" href="struct.DistIter.html" title="struct rand_distr::DistIter">DistIter</a>&lt;D, R, T&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;D: <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;T&gt;,<br>&nbsp;&nbsp;&nbsp;&nbsp;R: <a class="trait" href="../rand/rng/trait.Rng.html" title="trait rand::rng::Rng">Rng</a>,</span></span><span class="where fmt-newline"> type <a class="associatedtype">Item</a> = T;</span></code></span></span></span></span><span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;R: <a class="trait" href="../rand/rng/trait.Rng.html" title="trait rand::rng::Rng">Rng</a>,</span></h4></section></summary><div class='docblock'>Create an iterator that generates random values of <code>T</code>, using <code>rng</code> as
the source of randomness. <a href="trait.Distribution.html#method.sample_iter">Read more</a></div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.map-65" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/distribution.rs.html#102-105">source</a><a href="#method.map-65" class="anchor"></a><h4 class="code-header">fn <a href="trait.Distribution.html#method.map" class="fnname">map</a>&lt;F, S&gt;(self, func: F) -&gt; <a class="struct" href="../rand/distributions/distribution/struct.DistMap.html" title="struct rand::distributions::distribution::DistMap">DistMap</a>&lt;Self, F, T, S&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;F: Fn(T) -&gt; S,</span></h4></section></summary><div class='docblock'>Create a distribution of values of ‘S’ by mapping the output of <code>Self</code>
through the closure <code>F</code> <a href="trait.Distribution.html#method.map">Read more</a></div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Distribution%3CNonZeroUsize%3E-for-Standard" class="impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/integer.rs.html#110">source</a><a href="#impl-Distribution%3CNonZeroUsize%3E-for-Standard" class="anchor"></a><h3 class="code-header">impl <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;NonZeroUsize&gt; for <a class="struct" href="struct.Standard.html" title="struct rand_distr::Standard">Standard</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.sample-33" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/integer.rs.html#110">source</a><a href="#method.sample-33" class="anchor"></a><h4 class="code-header">fn <a href="trait.Distribution.html#tymethod.sample" class="fnname">sample</a>&lt;R&gt;(&amp;self, rng: &amp;mut R) -&gt; NonZeroUsize<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;R: <a class="trait" href="../rand/rng/trait.Rng.html" title="trait rand::rng::Rng">Rng</a> + ?Sized,</span></h4></section></summary><div class='docblock'>Generate a random value of <code>T</code>, using <code>rng</code> as the source of randomness.</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.sample_iter-33" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/distribution.rs.html#73-76">source</a><a href="#method.sample_iter-33" class="anchor"></a><h4 class="code-header">fn <a href="trait.Distribution.html#method.sample_iter" class="fnname">sample_iter</a>&lt;R&gt;(self, rng: R) -&gt; <a class="struct" href="struct.DistIter.html" title="struct rand_distr::DistIter">DistIter</a>&lt;Self, R, T&gt;<span class="notable-traits"><span class="notable-traits-tooltip"><span class="notable-traits-tooltiptext"><span class="docblock"><span class="notable">Notable traits for <a class="struct" href="struct.DistIter.html" title="struct rand_distr::DistIter">DistIter</a>&lt;D, R, T&gt;</span><code class="content"><span class="where fmt-newline">impl&lt;D, R, T&gt; Iterator for <a class="struct" href="struct.DistIter.html" title="struct rand_distr::DistIter">DistIter</a>&lt;D, R, T&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;D: <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;T&gt;,<br>&nbsp;&nbsp;&nbsp;&nbsp;R: <a class="trait" href="../rand/rng/trait.Rng.html" title="trait rand::rng::Rng">Rng</a>,</span></span><span class="where fmt-newline"> type <a class="associatedtype">Item</a> = T;</span></code></span></span></span></span><span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;R: <a class="trait" href="../rand/rng/trait.Rng.html" title="trait rand::rng::Rng">Rng</a>,</span></h4></section></summary><div class='docblock'>Create an iterator that generates random values of <code>T</code>, using <code>rng</code> as
the source of randomness. <a href="trait.Distribution.html#method.sample_iter">Read more</a></div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.map-33" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/distribution.rs.html#102-105">source</a><a href="#method.map-33" class="anchor"></a><h4 class="code-header">fn <a href="trait.Distribution.html#method.map" class="fnname">map</a>&lt;F, S&gt;(self, func: F) -&gt; <a class="struct" href="../rand/distributions/distribution/struct.DistMap.html" title="struct rand::distributions::distribution::DistMap">DistMap</a>&lt;Self, F, T, S&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;F: Fn(T) -&gt; S,</span></h4></section></summary><div class='docblock'>Create a distribution of values of ‘S’ by mapping the output of <code>Self</code>
through the closure <code>F</code> <a href="trait.Distribution.html#method.map">Read more</a></div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Distribution%3COption%3CT%3E%3E-for-Standard" class="impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/other.rs.html#233">source</a><a href="#impl-Distribution%3COption%3CT%3E%3E-for-Standard" class="anchor"></a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;Option&lt;T&gt;&gt; for <a class="struct" href="struct.Standard.html" title="struct rand_distr::Standard">Standard</a><span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;<a class="struct" href="struct.Standard.html" title="struct rand_distr::Standard">Standard</a>: <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;T&gt;,</span></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.sample-16" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/other.rs.html#237">source</a><a href="#method.sample-16" class="anchor"></a><h4 class="code-header">fn <a href="trait.Distribution.html#tymethod.sample" class="fnname">sample</a>&lt;R&gt;(&amp;self, rng: &amp;mut R) -&gt; Option&lt;T&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;R: <a class="trait" href="../rand/rng/trait.Rng.html" title="trait rand::rng::Rng">Rng</a> + ?Sized,</span></h4></section></summary><div class='docblock'>Generate a random value of <code>T</code>, using <code>rng</code> as the source of randomness.</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.sample_iter-16" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/distribution.rs.html#73-76">source</a><a href="#method.sample_iter-16" class="anchor"></a><h4 class="code-header">fn <a href="trait.Distribution.html#method.sample_iter" class="fnname">sample_iter</a>&lt;R&gt;(self, rng: R) -&gt; <a class="struct" href="struct.DistIter.html" title="struct rand_distr::DistIter">DistIter</a>&lt;Self, R, T&gt;<span class="notable-traits"><span class="notable-traits-tooltip"><span class="notable-traits-tooltiptext"><span class="docblock"><span class="notable">Notable traits for <a class="struct" href="struct.DistIter.html" title="struct rand_distr::DistIter">DistIter</a>&lt;D, R, T&gt;</span><code class="content"><span class="where fmt-newline">impl&lt;D, R, T&gt; Iterator for <a class="struct" href="struct.DistIter.html" title="struct rand_distr::DistIter">DistIter</a>&lt;D, R, T&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;D: <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;T&gt;,<br>&nbsp;&nbsp;&nbsp;&nbsp;R: <a class="trait" href="../rand/rng/trait.Rng.html" title="trait rand::rng::Rng">Rng</a>,</span></span><span class="where fmt-newline"> type <a class="associatedtype">Item</a> = T;</span></code></span></span></span></span><span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;R: <a class="trait" href="../rand/rng/trait.Rng.html" title="trait rand::rng::Rng">Rng</a>,</span></h4></section></summary><div class='docblock'>Create an iterator that generates random values of <code>T</code>, using <code>rng</code> as
the source of randomness. <a href="trait.Distribution.html#method.sample_iter">Read more</a></div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.map-16" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/distribution.rs.html#102-105">source</a><a href="#method.map-16" class="anchor"></a><h4 class="code-header">fn <a href="trait.Distribution.html#method.map" class="fnname">map</a>&lt;F, S&gt;(self, func: F) -&gt; <a class="struct" href="../rand/distributions/distribution/struct.DistMap.html" title="struct rand::distributions::distribution::DistMap">DistMap</a>&lt;Self, F, T, S&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;F: Fn(T) -&gt; S,</span></h4></section></summary><div class='docblock'>Create a distribution of values of ‘S’ by mapping the output of <code>Self</code>
through the closure <code>F</code> <a href="trait.Distribution.html#method.map">Read more</a></div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Distribution%3CWrapping%3CT%3E%3E-for-Standard" class="impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/other.rs.html#247">source</a><a href="#impl-Distribution%3CWrapping%3CT%3E%3E-for-Standard" class="anchor"></a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;Wrapping&lt;T&gt;&gt; for <a class="struct" href="struct.Standard.html" title="struct rand_distr::Standard">Standard</a><span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;<a class="struct" href="struct.Standard.html" title="struct rand_distr::Standard">Standard</a>: <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;T&gt;,</span></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.sample-18" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/other.rs.html#251">source</a><a href="#method.sample-18" class="anchor"></a><h4 class="code-header">fn <a href="trait.Distribution.html#tymethod.sample" class="fnname">sample</a>&lt;R&gt;(&amp;self, rng: &amp;mut R) -&gt; Wrapping&lt;T&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;R: <a class="trait" href="../rand/rng/trait.Rng.html" title="trait rand::rng::Rng">Rng</a> + ?Sized,</span></h4></section></summary><div class='docblock'>Generate a random value of <code>T</code>, using <code>rng</code> as the source of randomness.</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.sample_iter-18" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/distribution.rs.html#73-76">source</a><a href="#method.sample_iter-18" class="anchor"></a><h4 class="code-header">fn <a href="trait.Distribution.html#method.sample_iter" class="fnname">sample_iter</a>&lt;R&gt;(self, rng: R) -&gt; <a class="struct" href="struct.DistIter.html" title="struct rand_distr::DistIter">DistIter</a>&lt;Self, R, T&gt;<span class="notable-traits"><span class="notable-traits-tooltip"><span class="notable-traits-tooltiptext"><span class="docblock"><span class="notable">Notable traits for <a class="struct" href="struct.DistIter.html" title="struct rand_distr::DistIter">DistIter</a>&lt;D, R, T&gt;</span><code class="content"><span class="where fmt-newline">impl&lt;D, R, T&gt; Iterator for <a class="struct" href="struct.DistIter.html" title="struct rand_distr::DistIter">DistIter</a>&lt;D, R, T&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;D: <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;T&gt;,<br>&nbsp;&nbsp;&nbsp;&nbsp;R: <a class="trait" href="../rand/rng/trait.Rng.html" title="trait rand::rng::Rng">Rng</a>,</span></span><span class="where fmt-newline"> type <a class="associatedtype">Item</a> = T;</span></code></span></span></span></span><span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;R: <a class="trait" href="../rand/rng/trait.Rng.html" title="trait rand::rng::Rng">Rng</a>,</span></h4></section></summary><div class='docblock'>Create an iterator that generates random values of <code>T</code>, using <code>rng</code> as
the source of randomness. <a href="trait.Distribution.html#method.sample_iter">Read more</a></div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.map-18" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/distribution.rs.html#102-105">source</a><a href="#method.map-18" class="anchor"></a><h4 class="code-header">fn <a href="trait.Distribution.html#method.map" class="fnname">map</a>&lt;F, S&gt;(self, func: F) -&gt; <a class="struct" href="../rand/distributions/distribution/struct.DistMap.html" title="struct rand::distributions::distribution::DistMap">DistMap</a>&lt;Self, F, T, S&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;F: Fn(T) -&gt; S,</span></h4></section></summary><div class='docblock'>Create a distribution of values of ‘S’ by mapping the output of <code>Self</code>
through the closure <code>F</code> <a href="trait.Distribution.html#method.map">Read more</a></div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Distribution%3Cbool%3E-for-Standard" class="impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/other.rs.html#137">source</a><a href="#impl-Distribution%3Cbool%3E-for-Standard" class="anchor"></a><h3 class="code-header">impl <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;bool&gt; for <a class="struct" href="struct.Standard.html" title="struct rand_distr::Standard">Standard</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.sample-26" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/other.rs.html#139">source</a><a href="#method.sample-26" class="anchor"></a><h4 class="code-header">fn <a href="trait.Distribution.html#tymethod.sample" class="fnname">sample</a>&lt;R&gt;(&amp;self, rng: &amp;mut R) -&gt; bool<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;R: <a class="trait" href="../rand/rng/trait.Rng.html" title="trait rand::rng::Rng">Rng</a> + ?Sized,</span></h4></section></summary><div class='docblock'>Generate a random value of <code>T</code>, using <code>rng</code> as the source of randomness.</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.sample_iter-26" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/distribution.rs.html#73-76">source</a><a href="#method.sample_iter-26" class="anchor"></a><h4 class="code-header">fn <a href="trait.Distribution.html#method.sample_iter" class="fnname">sample_iter</a>&lt;R&gt;(self, rng: R) -&gt; <a class="struct" href="struct.DistIter.html" title="struct rand_distr::DistIter">DistIter</a>&lt;Self, R, T&gt;<span class="notable-traits"><span class="notable-traits-tooltip"><span class="notable-traits-tooltiptext"><span class="docblock"><span class="notable">Notable traits for <a class="struct" href="struct.DistIter.html" title="struct rand_distr::DistIter">DistIter</a>&lt;D, R, T&gt;</span><code class="content"><span class="where fmt-newline">impl&lt;D, R, T&gt; Iterator for <a class="struct" href="struct.DistIter.html" title="struct rand_distr::DistIter">DistIter</a>&lt;D, R, T&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;D: <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;T&gt;,<br>&nbsp;&nbsp;&nbsp;&nbsp;R: <a class="trait" href="../rand/rng/trait.Rng.html" title="trait rand::rng::Rng">Rng</a>,</span></span><span class="where fmt-newline"> type <a class="associatedtype">Item</a> = T;</span></code></span></span></span></span><span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;R: <a class="trait" href="../rand/rng/trait.Rng.html" title="trait rand::rng::Rng">Rng</a>,</span></h4></section></summary><div class='docblock'>Create an iterator that generates random values of <code>T</code>, using <code>rng</code> as
the source of randomness. <a href="trait.Distribution.html#method.sample_iter">Read more</a></div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.map-26" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/distribution.rs.html#102-105">source</a><a href="#method.map-26" class="anchor"></a><h4 class="code-header">fn <a href="trait.Distribution.html#method.map" class="fnname">map</a>&lt;F, S&gt;(self, func: F) -&gt; <a class="struct" href="../rand/distributions/distribution/struct.DistMap.html" title="struct rand::distributions::distribution::DistMap">DistMap</a>&lt;Self, F, T, S&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;F: Fn(T) -&gt; S,</span></h4></section></summary><div class='docblock'>Create a distribution of values of ‘S’ by mapping the output of <code>Self</code>
through the closure <code>F</code> <a href="trait.Distribution.html#method.map">Read more</a></div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Distribution%3Cchar%3E-for-Standard" class="impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/other.rs.html#74">source</a><a href="#impl-Distribution%3Cchar%3E-for-Standard" class="anchor"></a><h3 class="code-header">impl <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;char&gt; for <a class="struct" href="struct.Standard.html" title="struct rand_distr::Standard">Standard</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.sample-34" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/other.rs.html#76">source</a><a href="#method.sample-34" class="anchor"></a><h4 class="code-header">fn <a href="trait.Distribution.html#tymethod.sample" class="fnname">sample</a>&lt;R&gt;(&amp;self, rng: &amp;mut R) -&gt; char<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;R: <a class="trait" href="../rand/rng/trait.Rng.html" title="trait rand::rng::Rng">Rng</a> + ?Sized,</span></h4></section></summary><div class='docblock'>Generate a random value of <code>T</code>, using <code>rng</code> as the source of randomness.</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.sample_iter-34" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/distribution.rs.html#73-76">source</a><a href="#method.sample_iter-34" class="anchor"></a><h4 class="code-header">fn <a href="trait.Distribution.html#method.sample_iter" class="fnname">sample_iter</a>&lt;R&gt;(self, rng: R) -&gt; <a class="struct" href="struct.DistIter.html" title="struct rand_distr::DistIter">DistIter</a>&lt;Self, R, T&gt;<span class="notable-traits"><span class="notable-traits-tooltip"><span class="notable-traits-tooltiptext"><span class="docblock"><span class="notable">Notable traits for <a class="struct" href="struct.DistIter.html" title="struct rand_distr::DistIter">DistIter</a>&lt;D, R, T&gt;</span><code class="content"><span class="where fmt-newline">impl&lt;D, R, T&gt; Iterator for <a class="struct" href="struct.DistIter.html" title="struct rand_distr::DistIter">DistIter</a>&lt;D, R, T&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;D: <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;T&gt;,<br>&nbsp;&nbsp;&nbsp;&nbsp;R: <a class="trait" href="../rand/rng/trait.Rng.html" title="trait rand::rng::Rng">Rng</a>,</span></span><span class="where fmt-newline"> type <a class="associatedtype">Item</a> = T;</span></code></span></span></span></span><span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;R: <a class="trait" href="../rand/rng/trait.Rng.html" title="trait rand::rng::Rng">Rng</a>,</span></h4></section></summary><div class='docblock'>Create an iterator that generates random values of <code>T</code>, using <code>rng</code> as
the source of randomness. <a href="trait.Distribution.html#method.sample_iter">Read more</a></div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.map-34" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/distribution.rs.html#102-105">source</a><a href="#method.map-34" class="anchor"></a><h4 class="code-header">fn <a href="trait.Distribution.html#method.map" class="fnname">map</a>&lt;F, S&gt;(self, func: F) -&gt; <a class="struct" href="../rand/distributions/distribution/struct.DistMap.html" title="struct rand::distributions::distribution::DistMap">DistMap</a>&lt;Self, F, T, S&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;F: Fn(T) -&gt; S,</span></h4></section></summary><div class='docblock'>Create a distribution of values of ‘S’ by mapping the output of <code>Self</code>
through the closure <code>F</code> <a href="trait.Distribution.html#method.map">Read more</a></div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Distribution%3Cf32%3E-for-Standard" class="impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/float.rs.html#153">source</a><a href="#impl-Distribution%3Cf32%3E-for-Standard" class="anchor"></a><h3 class="code-header">impl <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;f32&gt; for <a class="struct" href="struct.Standard.html" title="struct rand_distr::Standard">Standard</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.sample-53" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/float.rs.html#153">source</a><a href="#method.sample-53" class="anchor"></a><h4 class="code-header">fn <a href="trait.Distribution.html#tymethod.sample" class="fnname">sample</a>&lt;R&gt;(&amp;self, rng: &amp;mut R) -&gt; f32<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;R: <a class="trait" href="../rand/rng/trait.Rng.html" title="trait rand::rng::Rng">Rng</a> + ?Sized,</span></h4></section></summary><div class='docblock'>Generate a random value of <code>T</code>, using <code>rng</code> as the source of randomness.</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.sample_iter-53" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/distribution.rs.html#73-76">source</a><a href="#method.sample_iter-53" class="anchor"></a><h4 class="code-header">fn <a href="trait.Distribution.html#method.sample_iter" class="fnname">sample_iter</a>&lt;R&gt;(self, rng: R) -&gt; <a class="struct" href="struct.DistIter.html" title="struct rand_distr::DistIter">DistIter</a>&lt;Self, R, T&gt;<span class="notable-traits"><span class="notable-traits-tooltip"><span class="notable-traits-tooltiptext"><span class="docblock"><span class="notable">Notable traits for <a class="struct" href="struct.DistIter.html" title="struct rand_distr::DistIter">DistIter</a>&lt;D, R, T&gt;</span><code class="content"><span class="where fmt-newline">impl&lt;D, R, T&gt; Iterator for <a class="struct" href="struct.DistIter.html" title="struct rand_distr::DistIter">DistIter</a>&lt;D, R, T&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;D: <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;T&gt;,<br>&nbsp;&nbsp;&nbsp;&nbsp;R: <a class="trait" href="../rand/rng/trait.Rng.html" title="trait rand::rng::Rng">Rng</a>,</span></span><span class="where fmt-newline"> type <a class="associatedtype">Item</a> = T;</span></code></span></span></span></span><span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;R: <a class="trait" href="../rand/rng/trait.Rng.html" title="trait rand::rng::Rng">Rng</a>,</span></h4></section></summary><div class='docblock'>Create an iterator that generates random values of <code>T</code>, using <code>rng</code> as
the source of randomness. <a href="trait.Distribution.html#method.sample_iter">Read more</a></div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.map-53" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/distribution.rs.html#102-105">source</a><a href="#method.map-53" class="anchor"></a><h4 class="code-header">fn <a href="trait.Distribution.html#method.map" class="fnname">map</a>&lt;F, S&gt;(self, func: F) -&gt; <a class="struct" href="../rand/distributions/distribution/struct.DistMap.html" title="struct rand::distributions::distribution::DistMap">DistMap</a>&lt;Self, F, T, S&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;F: Fn(T) -&gt; S,</span></h4></section></summary><div class='docblock'>Create a distribution of values of ‘S’ by mapping the output of <code>Self</code>
through the closure <code>F</code> <a href="trait.Distribution.html#method.map">Read more</a></div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Distribution%3Cf64%3E-for-Standard" class="impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/float.rs.html#154">source</a><a href="#impl-Distribution%3Cf64%3E-for-Standard" class="anchor"></a><h3 class="code-header">impl <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;f64&gt; for <a class="struct" href="struct.Standard.html" title="struct rand_distr::Standard">Standard</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.sample-4" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/float.rs.html#154">source</a><a href="#method.sample-4" class="anchor"></a><h4 class="code-header">fn <a href="trait.Distribution.html#tymethod.sample" class="fnname">sample</a>&lt;R&gt;(&amp;self, rng: &amp;mut R) -&gt; f64<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;R: <a class="trait" href="../rand/rng/trait.Rng.html" title="trait rand::rng::Rng">Rng</a> + ?Sized,</span></h4></section></summary><div class='docblock'>Generate a random value of <code>T</code>, using <code>rng</code> as the source of randomness.</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.sample_iter-4" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/distribution.rs.html#73-76">source</a><a href="#method.sample_iter-4" class="anchor"></a><h4 class="code-header">fn <a href="trait.Distribution.html#method.sample_iter" class="fnname">sample_iter</a>&lt;R&gt;(self, rng: R) -&gt; <a class="struct" href="struct.DistIter.html" title="struct rand_distr::DistIter">DistIter</a>&lt;Self, R, T&gt;<span class="notable-traits"><span class="notable-traits-tooltip"><span class="notable-traits-tooltiptext"><span class="docblock"><span class="notable">Notable traits for <a class="struct" href="struct.DistIter.html" title="struct rand_distr::DistIter">DistIter</a>&lt;D, R, T&gt;</span><code class="content"><span class="where fmt-newline">impl&lt;D, R, T&gt; Iterator for <a class="struct" href="struct.DistIter.html" title="struct rand_distr::DistIter">DistIter</a>&lt;D, R, T&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;D: <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;T&gt;,<br>&nbsp;&nbsp;&nbsp;&nbsp;R: <a class="trait" href="../rand/rng/trait.Rng.html" title="trait rand::rng::Rng">Rng</a>,</span></span><span class="where fmt-newline"> type <a class="associatedtype">Item</a> = T;</span></code></span></span></span></span><span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;R: <a class="trait" href="../rand/rng/trait.Rng.html" title="trait rand::rng::Rng">Rng</a>,</span></h4></section></summary><div class='docblock'>Create an iterator that generates random values of <code>T</code>, using <code>rng</code> as
the source of randomness. <a href="trait.Distribution.html#method.sample_iter">Read more</a></div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.map-4" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/distribution.rs.html#102-105">source</a><a href="#method.map-4" class="anchor"></a><h4 class="code-header">fn <a href="trait.Distribution.html#method.map" class="fnname">map</a>&lt;F, S&gt;(self, func: F) -&gt; <a class="struct" href="../rand/distributions/distribution/struct.DistMap.html" title="struct rand::distributions::distribution::DistMap">DistMap</a>&lt;Self, F, T, S&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;F: Fn(T) -&gt; S,</span></h4></section></summary><div class='docblock'>Create a distribution of values of ‘S’ by mapping the output of <code>Self</code>
through the closure <code>F</code> <a href="trait.Distribution.html#method.map">Read more</a></div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Distribution%3Ci128%3E-for-Standard" class="impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/integer.rs.html#88">source</a><a href="#impl-Distribution%3Ci128%3E-for-Standard" class="anchor"></a><h3 class="code-header">impl <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;i128&gt; for <a class="struct" href="struct.Standard.html" title="struct rand_distr::Standard">Standard</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.sample-67" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/integer.rs.html#88">source</a><a href="#method.sample-67" class="anchor"></a><h4 class="code-header">fn <a href="trait.Distribution.html#tymethod.sample" class="fnname">sample</a>&lt;R&gt;(&amp;self, rng: &amp;mut R) -&gt; i128<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;R: <a class="trait" href="../rand/rng/trait.Rng.html" title="trait rand::rng::Rng">Rng</a> + ?Sized,</span></h4></section></summary><div class='docblock'>Generate a random value of <code>T</code>, using <code>rng</code> as the source of randomness.</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.sample_iter-67" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/distribution.rs.html#73-76">source</a><a href="#method.sample_iter-67" class="anchor"></a><h4 class="code-header">fn <a href="trait.Distribution.html#method.sample_iter" class="fnname">sample_iter</a>&lt;R&gt;(self, rng: R) -&gt; <a class="struct" href="struct.DistIter.html" title="struct rand_distr::DistIter">DistIter</a>&lt;Self, R, T&gt;<span class="notable-traits"><span class="notable-traits-tooltip"><span class="notable-traits-tooltiptext"><span class="docblock"><span class="notable">Notable traits for <a class="struct" href="struct.DistIter.html" title="struct rand_distr::DistIter">DistIter</a>&lt;D, R, T&gt;</span><code class="content"><span class="where fmt-newline">impl&lt;D, R, T&gt; Iterator for <a class="struct" href="struct.DistIter.html" title="struct rand_distr::DistIter">DistIter</a>&lt;D, R, T&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;D: <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;T&gt;,<br>&nbsp;&nbsp;&nbsp;&nbsp;R: <a class="trait" href="../rand/rng/trait.Rng.html" title="trait rand::rng::Rng">Rng</a>,</span></span><span class="where fmt-newline"> type <a class="associatedtype">Item</a> = T;</span></code></span></span></span></span><span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;R: <a class="trait" href="../rand/rng/trait.Rng.html" title="trait rand::rng::Rng">Rng</a>,</span></h4></section></summary><div class='docblock'>Create an iterator that generates random values of <code>T</code>, using <code>rng</code> as
the source of randomness. <a href="trait.Distribution.html#method.sample_iter">Read more</a></div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.map-67" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/distribution.rs.html#102-105">source</a><a href="#method.map-67" class="anchor"></a><h4 class="code-header">fn <a href="trait.Distribution.html#method.map" class="fnname">map</a>&lt;F, S&gt;(self, func: F) -&gt; <a class="struct" href="../rand/distributions/distribution/struct.DistMap.html" title="struct rand::distributions::distribution::DistMap">DistMap</a>&lt;Self, F, T, S&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;F: Fn(T) -&gt; S,</span></h4></section></summary><div class='docblock'>Create a distribution of values of ‘S’ by mapping the output of <code>Self</code>
through the closure <code>F</code> <a href="trait.Distribution.html#method.map">Read more</a></div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Distribution%3Ci16%3E-for-Standard" class="impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/integer.rs.html#85">source</a><a href="#impl-Distribution%3Ci16%3E-for-Standard" class="anchor"></a><h3 class="code-header">impl <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;i16&gt; for <a class="struct" href="struct.Standard.html" title="struct rand_distr::Standard">Standard</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.sample-44" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/integer.rs.html#85">source</a><a href="#method.sample-44" class="anchor"></a><h4 class="code-header">fn <a href="trait.Distribution.html#tymethod.sample" class="fnname">sample</a>&lt;R&gt;(&amp;self, rng: &amp;mut R) -&gt; i16<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;R: <a class="trait" href="../rand/rng/trait.Rng.html" title="trait rand::rng::Rng">Rng</a> + ?Sized,</span></h4></section></summary><div class='docblock'>Generate a random value of <code>T</code>, using <code>rng</code> as the source of randomness.</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.sample_iter-44" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/distribution.rs.html#73-76">source</a><a href="#method.sample_iter-44" class="anchor"></a><h4 class="code-header">fn <a href="trait.Distribution.html#method.sample_iter" class="fnname">sample_iter</a>&lt;R&gt;(self, rng: R) -&gt; <a class="struct" href="struct.DistIter.html" title="struct rand_distr::DistIter">DistIter</a>&lt;Self, R, T&gt;<span class="notable-traits"><span class="notable-traits-tooltip"><span class="notable-traits-tooltiptext"><span class="docblock"><span class="notable">Notable traits for <a class="struct" href="struct.DistIter.html" title="struct rand_distr::DistIter">DistIter</a>&lt;D, R, T&gt;</span><code class="content"><span class="where fmt-newline">impl&lt;D, R, T&gt; Iterator for <a class="struct" href="struct.DistIter.html" title="struct rand_distr::DistIter">DistIter</a>&lt;D, R, T&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;D: <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;T&gt;,<br>&nbsp;&nbsp;&nbsp;&nbsp;R: <a class="trait" href="../rand/rng/trait.Rng.html" title="trait rand::rng::Rng">Rng</a>,</span></span><span class="where fmt-newline"> type <a class="associatedtype">Item</a> = T;</span></code></span></span></span></span><span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;R: <a class="trait" href="../rand/rng/trait.Rng.html" title="trait rand::rng::Rng">Rng</a>,</span></h4></section></summary><div class='docblock'>Create an iterator that generates random values of <code>T</code>, using <code>rng</code> as
the source of randomness. <a href="trait.Distribution.html#method.sample_iter">Read more</a></div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.map-44" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/distribution.rs.html#102-105">source</a><a href="#method.map-44" class="anchor"></a><h4 class="code-header">fn <a href="trait.Distribution.html#method.map" class="fnname">map</a>&lt;F, S&gt;(self, func: F) -&gt; <a class="struct" href="../rand/distributions/distribution/struct.DistMap.html" title="struct rand::distributions::distribution::DistMap">DistMap</a>&lt;Self, F, T, S&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;F: Fn(T) -&gt; S,</span></h4></section></summary><div class='docblock'>Create a distribution of values of ‘S’ by mapping the output of <code>Self</code>
through the closure <code>F</code> <a href="trait.Distribution.html#method.map">Read more</a></div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Distribution%3Ci32%3E-for-Standard" class="impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/integer.rs.html#86">source</a><a href="#impl-Distribution%3Ci32%3E-for-Standard" class="anchor"></a><h3 class="code-header">impl <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;i32&gt; for <a class="struct" href="struct.Standard.html" title="struct rand_distr::Standard">Standard</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.sample-22" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/integer.rs.html#86">source</a><a href="#method.sample-22" class="anchor"></a><h4 class="code-header">fn <a href="trait.Distribution.html#tymethod.sample" class="fnname">sample</a>&lt;R&gt;(&amp;self, rng: &amp;mut R) -&gt; i32<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;R: <a class="trait" href="../rand/rng/trait.Rng.html" title="trait rand::rng::Rng">Rng</a> + ?Sized,</span></h4></section></summary><div class='docblock'>Generate a random value of <code>T</code>, using <code>rng</code> as the source of randomness.</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.sample_iter-22" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/distribution.rs.html#73-76">source</a><a href="#method.sample_iter-22" class="anchor"></a><h4 class="code-header">fn <a href="trait.Distribution.html#method.sample_iter" class="fnname">sample_iter</a>&lt;R&gt;(self, rng: R) -&gt; <a class="struct" href="struct.DistIter.html" title="struct rand_distr::DistIter">DistIter</a>&lt;Self, R, T&gt;<span class="notable-traits"><span class="notable-traits-tooltip"><span class="notable-traits-tooltiptext"><span class="docblock"><span class="notable">Notable traits for <a class="struct" href="struct.DistIter.html" title="struct rand_distr::DistIter">DistIter</a>&lt;D, R, T&gt;</span><code class="content"><span class="where fmt-newline">impl&lt;D, R, T&gt; Iterator for <a class="struct" href="struct.DistIter.html" title="struct rand_distr::DistIter">DistIter</a>&lt;D, R, T&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;D: <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;T&gt;,<br>&nbsp;&nbsp;&nbsp;&nbsp;R: <a class="trait" href="../rand/rng/trait.Rng.html" title="trait rand::rng::Rng">Rng</a>,</span></span><span class="where fmt-newline"> type <a class="associatedtype">Item</a> = T;</span></code></span></span></span></span><span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;R: <a class="trait" href="../rand/rng/trait.Rng.html" title="trait rand::rng::Rng">Rng</a>,</span></h4></section></summary><div class='docblock'>Create an iterator that generates random values of <code>T</code>, using <code>rng</code> as
the source of randomness. <a href="trait.Distribution.html#method.sample_iter">Read more</a></div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.map-22" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/distribution.rs.html#102-105">source</a><a href="#method.map-22" class="anchor"></a><h4 class="code-header">fn <a href="trait.Distribution.html#method.map" class="fnname">map</a>&lt;F, S&gt;(self, func: F) -&gt; <a class="struct" href="../rand/distributions/distribution/struct.DistMap.html" title="struct rand::distributions::distribution::DistMap">DistMap</a>&lt;Self, F, T, S&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;F: Fn(T) -&gt; S,</span></h4></section></summary><div class='docblock'>Create a distribution of values of ‘S’ by mapping the output of <code>Self</code>
through the closure <code>F</code> <a href="trait.Distribution.html#method.map">Read more</a></div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Distribution%3Ci64%3E-for-Standard" class="impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/integer.rs.html#87">source</a><a href="#impl-Distribution%3Ci64%3E-for-Standard" class="anchor"></a><h3 class="code-header">impl <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;i64&gt; for <a class="struct" href="struct.Standard.html" title="struct rand_distr::Standard">Standard</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.sample-62" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/integer.rs.html#87">source</a><a href="#method.sample-62" class="anchor"></a><h4 class="code-header">fn <a href="trait.Distribution.html#tymethod.sample" class="fnname">sample</a>&lt;R&gt;(&amp;self, rng: &amp;mut R) -&gt; i64<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;R: <a class="trait" href="../rand/rng/trait.Rng.html" title="trait rand::rng::Rng">Rng</a> + ?Sized,</span></h4></section></summary><div class='docblock'>Generate a random value of <code>T</code>, using <code>rng</code> as the source of randomness.</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.sample_iter-62" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/distribution.rs.html#73-76">source</a><a href="#method.sample_iter-62" class="anchor"></a><h4 class="code-header">fn <a href="trait.Distribution.html#method.sample_iter" class="fnname">sample_iter</a>&lt;R&gt;(self, rng: R) -&gt; <a class="struct" href="struct.DistIter.html" title="struct rand_distr::DistIter">DistIter</a>&lt;Self, R, T&gt;<span class="notable-traits"><span class="notable-traits-tooltip"><span class="notable-traits-tooltiptext"><span class="docblock"><span class="notable">Notable traits for <a class="struct" href="struct.DistIter.html" title="struct rand_distr::DistIter">DistIter</a>&lt;D, R, T&gt;</span><code class="content"><span class="where fmt-newline">impl&lt;D, R, T&gt; Iterator for <a class="struct" href="struct.DistIter.html" title="struct rand_distr::DistIter">DistIter</a>&lt;D, R, T&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;D: <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;T&gt;,<br>&nbsp;&nbsp;&nbsp;&nbsp;R: <a class="trait" href="../rand/rng/trait.Rng.html" title="trait rand::rng::Rng">Rng</a>,</span></span><span class="where fmt-newline"> type <a class="associatedtype">Item</a> = T;</span></code></span></span></span></span><span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;R: <a class="trait" href="../rand/rng/trait.Rng.html" title="trait rand::rng::Rng">Rng</a>,</span></h4></section></summary><div class='docblock'>Create an iterator that generates random values of <code>T</code>, using <code>rng</code> as
the source of randomness. <a href="trait.Distribution.html#method.sample_iter">Read more</a></div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.map-62" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/distribution.rs.html#102-105">source</a><a href="#method.map-62" class="anchor"></a><h4 class="code-header">fn <a href="trait.Distribution.html#method.map" class="fnname">map</a>&lt;F, S&gt;(self, func: F) -&gt; <a class="struct" href="../rand/distributions/distribution/struct.DistMap.html" title="struct rand::distributions::distribution::DistMap">DistMap</a>&lt;Self, F, T, S&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;F: Fn(T) -&gt; S,</span></h4></section></summary><div class='docblock'>Create a distribution of values of ‘S’ by mapping the output of <code>Self</code>
through the closure <code>F</code> <a href="trait.Distribution.html#method.map">Read more</a></div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Distribution%3Ci8%3E-for-Standard" class="impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/integer.rs.html#84">source</a><a href="#impl-Distribution%3Ci8%3E-for-Standard" class="anchor"></a><h3 class="code-header">impl <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;i8&gt; for <a class="struct" href="struct.Standard.html" title="struct rand_distr::Standard">Standard</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.sample-30" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/integer.rs.html#84">source</a><a href="#method.sample-30" class="anchor"></a><h4 class="code-header">fn <a href="trait.Distribution.html#tymethod.sample" class="fnname">sample</a>&lt;R&gt;(&amp;self, rng: &amp;mut R) -&gt; i8<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;R: <a class="trait" href="../rand/rng/trait.Rng.html" title="trait rand::rng::Rng">Rng</a> + ?Sized,</span></h4></section></summary><div class='docblock'>Generate a random value of <code>T</code>, using <code>rng</code> as the source of randomness.</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.sample_iter-30" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/distribution.rs.html#73-76">source</a><a href="#method.sample_iter-30" class="anchor"></a><h4 class="code-header">fn <a href="trait.Distribution.html#method.sample_iter" class="fnname">sample_iter</a>&lt;R&gt;(self, rng: R) -&gt; <a class="struct" href="struct.DistIter.html" title="struct rand_distr::DistIter">DistIter</a>&lt;Self, R, T&gt;<span class="notable-traits"><span class="notable-traits-tooltip"><span class="notable-traits-tooltiptext"><span class="docblock"><span class="notable">Notable traits for <a class="struct" href="struct.DistIter.html" title="struct rand_distr::DistIter">DistIter</a>&lt;D, R, T&gt;</span><code class="content"><span class="where fmt-newline">impl&lt;D, R, T&gt; Iterator for <a class="struct" href="struct.DistIter.html" title="struct rand_distr::DistIter">DistIter</a>&lt;D, R, T&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;D: <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;T&gt;,<br>&nbsp;&nbsp;&nbsp;&nbsp;R: <a class="trait" href="../rand/rng/trait.Rng.html" title="trait rand::rng::Rng">Rng</a>,</span></span><span class="where fmt-newline"> type <a class="associatedtype">Item</a> = T;</span></code></span></span></span></span><span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;R: <a class="trait" href="../rand/rng/trait.Rng.html" title="trait rand::rng::Rng">Rng</a>,</span></h4></section></summary><div class='docblock'>Create an iterator that generates random values of <code>T</code>, using <code>rng</code> as
the source of randomness. <a href="trait.Distribution.html#method.sample_iter">Read more</a></div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.map-30" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/distribution.rs.html#102-105">source</a><a href="#method.map-30" class="anchor"></a><h4 class="code-header">fn <a href="trait.Distribution.html#method.map" class="fnname">map</a>&lt;F, S&gt;(self, func: F) -&gt; <a class="struct" href="../rand/distributions/distribution/struct.DistMap.html" title="struct rand::distributions::distribution::DistMap">DistMap</a>&lt;Self, F, T, S&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;F: Fn(T) -&gt; S,</span></h4></section></summary><div class='docblock'>Create a distribution of values of ‘S’ by mapping the output of <code>Self</code>
through the closure <code>F</code> <a href="trait.Distribution.html#method.map">Read more</a></div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Distribution%3Cisize%3E-for-Standard" class="impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/integer.rs.html#89">source</a><a href="#impl-Distribution%3Cisize%3E-for-Standard" class="anchor"></a><h3 class="code-header">impl <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;isize&gt; for <a class="struct" href="struct.Standard.html" title="struct rand_distr::Standard">Standard</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.sample-63" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/integer.rs.html#89">source</a><a href="#method.sample-63" class="anchor"></a><h4 class="code-header">fn <a href="trait.Distribution.html#tymethod.sample" class="fnname">sample</a>&lt;R&gt;(&amp;self, rng: &amp;mut R) -&gt; isize<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;R: <a class="trait" href="../rand/rng/trait.Rng.html" title="trait rand::rng::Rng">Rng</a> + ?Sized,</span></h4></section></summary><div class='docblock'>Generate a random value of <code>T</code>, using <code>rng</code> as the source of randomness.</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.sample_iter-63" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/distribution.rs.html#73-76">source</a><a href="#method.sample_iter-63" class="anchor"></a><h4 class="code-header">fn <a href="trait.Distribution.html#method.sample_iter" class="fnname">sample_iter</a>&lt;R&gt;(self, rng: R) -&gt; <a class="struct" href="struct.DistIter.html" title="struct rand_distr::DistIter">DistIter</a>&lt;Self, R, T&gt;<span class="notable-traits"><span class="notable-traits-tooltip"><span class="notable-traits-tooltiptext"><span class="docblock"><span class="notable">Notable traits for <a class="struct" href="struct.DistIter.html" title="struct rand_distr::DistIter">DistIter</a>&lt;D, R, T&gt;</span><code class="content"><span class="where fmt-newline">impl&lt;D, R, T&gt; Iterator for <a class="struct" href="struct.DistIter.html" title="struct rand_distr::DistIter">DistIter</a>&lt;D, R, T&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;D: <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;T&gt;,<br>&nbsp;&nbsp;&nbsp;&nbsp;R: <a class="trait" href="../rand/rng/trait.Rng.html" title="trait rand::rng::Rng">Rng</a>,</span></span><span class="where fmt-newline"> type <a class="associatedtype">Item</a> = T;</span></code></span></span></span></span><span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;R: <a class="trait" href="../rand/rng/trait.Rng.html" title="trait rand::rng::Rng">Rng</a>,</span></h4></section></summary><div class='docblock'>Create an iterator that generates random values of <code>T</code>, using <code>rng</code> as
the source of randomness. <a href="trait.Distribution.html#method.sample_iter">Read more</a></div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.map-63" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/distribution.rs.html#102-105">source</a><a href="#method.map-63" class="anchor"></a><h4 class="code-header">fn <a href="trait.Distribution.html#method.map" class="fnname">map</a>&lt;F, S&gt;(self, func: F) -&gt; <a class="struct" href="../rand/distributions/distribution/struct.DistMap.html" title="struct rand::distributions::distribution::DistMap">DistMap</a>&lt;Self, F, T, S&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;F: Fn(T) -&gt; S,</span></h4></section></summary><div class='docblock'>Create a distribution of values of ‘S’ by mapping the output of <code>Self</code>
through the closure <code>F</code> <a href="trait.Distribution.html#method.map">Read more</a></div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Distribution%3Cu128%3E-for-Standard" class="impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/integer.rs.html#49">source</a><a href="#impl-Distribution%3Cu128%3E-for-Standard" class="anchor"></a><h3 class="code-header">impl <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;u128&gt; for <a class="struct" href="struct.Standard.html" title="struct rand_distr::Standard">Standard</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.sample-56" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/integer.rs.html#51">source</a><a href="#method.sample-56" class="anchor"></a><h4 class="code-header">fn <a href="trait.Distribution.html#tymethod.sample" class="fnname">sample</a>&lt;R&gt;(&amp;self, rng: &amp;mut R) -&gt; u128<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;R: <a class="trait" href="../rand/rng/trait.Rng.html" title="trait rand::rng::Rng">Rng</a> + ?Sized,</span></h4></section></summary><div class='docblock'>Generate a random value of <code>T</code>, using <code>rng</code> as the source of randomness.</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.sample_iter-56" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/distribution.rs.html#73-76">source</a><a href="#method.sample_iter-56" class="anchor"></a><h4 class="code-header">fn <a href="trait.Distribution.html#method.sample_iter" class="fnname">sample_iter</a>&lt;R&gt;(self, rng: R) -&gt; <a class="struct" href="struct.DistIter.html" title="struct rand_distr::DistIter">DistIter</a>&lt;Self, R, T&gt;<span class="notable-traits"><span class="notable-traits-tooltip"><span class="notable-traits-tooltiptext"><span class="docblock"><span class="notable">Notable traits for <a class="struct" href="struct.DistIter.html" title="struct rand_distr::DistIter">DistIter</a>&lt;D, R, T&gt;</span><code class="content"><span class="where fmt-newline">impl&lt;D, R, T&gt; Iterator for <a class="struct" href="struct.DistIter.html" title="struct rand_distr::DistIter">DistIter</a>&lt;D, R, T&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;D: <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;T&gt;,<br>&nbsp;&nbsp;&nbsp;&nbsp;R: <a class="trait" href="../rand/rng/trait.Rng.html" title="trait rand::rng::Rng">Rng</a>,</span></span><span class="where fmt-newline"> type <a class="associatedtype">Item</a> = T;</span></code></span></span></span></span><span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;R: <a class="trait" href="../rand/rng/trait.Rng.html" title="trait rand::rng::Rng">Rng</a>,</span></h4></section></summary><div class='docblock'>Create an iterator that generates random values of <code>T</code>, using <code>rng</code> as
the source of randomness. <a href="trait.Distribution.html#method.sample_iter">Read more</a></div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.map-56" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/distribution.rs.html#102-105">source</a><a href="#method.map-56" class="anchor"></a><h4 class="code-header">fn <a href="trait.Distribution.html#method.map" class="fnname">map</a>&lt;F, S&gt;(self, func: F) -&gt; <a class="struct" href="../rand/distributions/distribution/struct.DistMap.html" title="struct rand::distributions::distribution::DistMap">DistMap</a>&lt;Self, F, T, S&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;F: Fn(T) -&gt; S,</span></h4></section></summary><div class='docblock'>Create a distribution of values of ‘S’ by mapping the output of <code>Self</code>
through the closure <code>F</code> <a href="trait.Distribution.html#method.map">Read more</a></div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Distribution%3Cu16%3E-for-Standard" class="impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/integer.rs.html#28">source</a><a href="#impl-Distribution%3Cu16%3E-for-Standard" class="anchor"></a><h3 class="code-header">impl <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;u16&gt; for <a class="struct" href="struct.Standard.html" title="struct rand_distr::Standard">Standard</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.sample-31" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/integer.rs.html#30">source</a><a href="#method.sample-31" class="anchor"></a><h4 class="code-header">fn <a href="trait.Distribution.html#tymethod.sample" class="fnname">sample</a>&lt;R&gt;(&amp;self, rng: &amp;mut R) -&gt; u16<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;R: <a class="trait" href="../rand/rng/trait.Rng.html" title="trait rand::rng::Rng">Rng</a> + ?Sized,</span></h4></section></summary><div class='docblock'>Generate a random value of <code>T</code>, using <code>rng</code> as the source of randomness.</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.sample_iter-31" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/distribution.rs.html#73-76">source</a><a href="#method.sample_iter-31" class="anchor"></a><h4 class="code-header">fn <a href="trait.Distribution.html#method.sample_iter" class="fnname">sample_iter</a>&lt;R&gt;(self, rng: R) -&gt; <a class="struct" href="struct.DistIter.html" title="struct rand_distr::DistIter">DistIter</a>&lt;Self, R, T&gt;<span class="notable-traits"><span class="notable-traits-tooltip"><span class="notable-traits-tooltiptext"><span class="docblock"><span class="notable">Notable traits for <a class="struct" href="struct.DistIter.html" title="struct rand_distr::DistIter">DistIter</a>&lt;D, R, T&gt;</span><code class="content"><span class="where fmt-newline">impl&lt;D, R, T&gt; Iterator for <a class="struct" href="struct.DistIter.html" title="struct rand_distr::DistIter">DistIter</a>&lt;D, R, T&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;D: <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;T&gt;,<br>&nbsp;&nbsp;&nbsp;&nbsp;R: <a class="trait" href="../rand/rng/trait.Rng.html" title="trait rand::rng::Rng">Rng</a>,</span></span><span class="where fmt-newline"> type <a class="associatedtype">Item</a> = T;</span></code></span></span></span></span><span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;R: <a class="trait" href="../rand/rng/trait.Rng.html" title="trait rand::rng::Rng">Rng</a>,</span></h4></section></summary><div class='docblock'>Create an iterator that generates random values of <code>T</code>, using <code>rng</code> as
the source of randomness. <a href="trait.Distribution.html#method.sample_iter">Read more</a></div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.map-31" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/distribution.rs.html#102-105">source</a><a href="#method.map-31" class="anchor"></a><h4 class="code-header">fn <a href="trait.Distribution.html#method.map" class="fnname">map</a>&lt;F, S&gt;(self, func: F) -&gt; <a class="struct" href="../rand/distributions/distribution/struct.DistMap.html" title="struct rand::distributions::distribution::DistMap">DistMap</a>&lt;Self, F, T, S&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;F: Fn(T) -&gt; S,</span></h4></section></summary><div class='docblock'>Create a distribution of values of ‘S’ by mapping the output of <code>Self</code>
through the closure <code>F</code> <a href="trait.Distribution.html#method.map">Read more</a></div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Distribution%3Cu32%3E-for-Standard" class="impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/integer.rs.html#35">source</a><a href="#impl-Distribution%3Cu32%3E-for-Standard" class="anchor"></a><h3 class="code-header">impl <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;u32&gt; for <a class="struct" href="struct.Standard.html" title="struct rand_distr::Standard">Standard</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.sample-19" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/integer.rs.html#37">source</a><a href="#method.sample-19" class="anchor"></a><h4 class="code-header">fn <a href="trait.Distribution.html#tymethod.sample" class="fnname">sample</a>&lt;R&gt;(&amp;self, rng: &amp;mut R) -&gt; u32<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;R: <a class="trait" href="../rand/rng/trait.Rng.html" title="trait rand::rng::Rng">Rng</a> + ?Sized,</span></h4></section></summary><div class='docblock'>Generate a random value of <code>T</code>, using <code>rng</code> as the source of randomness.</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.sample_iter-19" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/distribution.rs.html#73-76">source</a><a href="#method.sample_iter-19" class="anchor"></a><h4 class="code-header">fn <a href="trait.Distribution.html#method.sample_iter" class="fnname">sample_iter</a>&lt;R&gt;(self, rng: R) -&gt; <a class="struct" href="struct.DistIter.html" title="struct rand_distr::DistIter">DistIter</a>&lt;Self, R, T&gt;<span class="notable-traits"><span class="notable-traits-tooltip"><span class="notable-traits-tooltiptext"><span class="docblock"><span class="notable">Notable traits for <a class="struct" href="struct.DistIter.html" title="struct rand_distr::DistIter">DistIter</a>&lt;D, R, T&gt;</span><code class="content"><span class="where fmt-newline">impl&lt;D, R, T&gt; Iterator for <a class="struct" href="struct.DistIter.html" title="struct rand_distr::DistIter">DistIter</a>&lt;D, R, T&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;D: <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;T&gt;,<br>&nbsp;&nbsp;&nbsp;&nbsp;R: <a class="trait" href="../rand/rng/trait.Rng.html" title="trait rand::rng::Rng">Rng</a>,</span></span><span class="where fmt-newline"> type <a class="associatedtype">Item</a> = T;</span></code></span></span></span></span><span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;R: <a class="trait" href="../rand/rng/trait.Rng.html" title="trait rand::rng::Rng">Rng</a>,</span></h4></section></summary><div class='docblock'>Create an iterator that generates random values of <code>T</code>, using <code>rng</code> as
the source of randomness. <a href="trait.Distribution.html#method.sample_iter">Read more</a></div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.map-19" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/distribution.rs.html#102-105">source</a><a href="#method.map-19" class="anchor"></a><h4 class="code-header">fn <a href="trait.Distribution.html#method.map" class="fnname">map</a>&lt;F, S&gt;(self, func: F) -&gt; <a class="struct" href="../rand/distributions/distribution/struct.DistMap.html" title="struct rand::distributions::distribution::DistMap">DistMap</a>&lt;Self, F, T, S&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;F: Fn(T) -&gt; S,</span></h4></section></summary><div class='docblock'>Create a distribution of values of ‘S’ by mapping the output of <code>Self</code>
through the closure <code>F</code> <a href="trait.Distribution.html#method.map">Read more</a></div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Distribution%3Cu64%3E-for-Standard" class="impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/integer.rs.html#42">source</a><a href="#impl-Distribution%3Cu64%3E-for-Standard" class="anchor"></a><h3 class="code-header">impl <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;u64&gt; for <a class="struct" href="struct.Standard.html" title="struct rand_distr::Standard">Standard</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.sample-3" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/integer.rs.html#44">source</a><a href="#method.sample-3" class="anchor"></a><h4 class="code-header">fn <a href="trait.Distribution.html#tymethod.sample" class="fnname">sample</a>&lt;R&gt;(&amp;self, rng: &amp;mut R) -&gt; u64<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;R: <a class="trait" href="../rand/rng/trait.Rng.html" title="trait rand::rng::Rng">Rng</a> + ?Sized,</span></h4></section></summary><div class='docblock'>Generate a random value of <code>T</code>, using <code>rng</code> as the source of randomness.</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.sample_iter-3" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/distribution.rs.html#73-76">source</a><a href="#method.sample_iter-3" class="anchor"></a><h4 class="code-header">fn <a href="trait.Distribution.html#method.sample_iter" class="fnname">sample_iter</a>&lt;R&gt;(self, rng: R) -&gt; <a class="struct" href="struct.DistIter.html" title="struct rand_distr::DistIter">DistIter</a>&lt;Self, R, T&gt;<span class="notable-traits"><span class="notable-traits-tooltip"><span class="notable-traits-tooltiptext"><span class="docblock"><span class="notable">Notable traits for <a class="struct" href="struct.DistIter.html" title="struct rand_distr::DistIter">DistIter</a>&lt;D, R, T&gt;</span><code class="content"><span class="where fmt-newline">impl&lt;D, R, T&gt; Iterator for <a class="struct" href="struct.DistIter.html" title="struct rand_distr::DistIter">DistIter</a>&lt;D, R, T&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;D: <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;T&gt;,<br>&nbsp;&nbsp;&nbsp;&nbsp;R: <a class="trait" href="../rand/rng/trait.Rng.html" title="trait rand::rng::Rng">Rng</a>,</span></span><span class="where fmt-newline"> type <a class="associatedtype">Item</a> = T;</span></code></span></span></span></span><span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;R: <a class="trait" href="../rand/rng/trait.Rng.html" title="trait rand::rng::Rng">Rng</a>,</span></h4></section></summary><div class='docblock'>Create an iterator that generates random values of <code>T</code>, using <code>rng</code> as
the source of randomness. <a href="trait.Distribution.html#method.sample_iter">Read more</a></div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.map-3" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/distribution.rs.html#102-105">source</a><a href="#method.map-3" class="anchor"></a><h4 class="code-header">fn <a href="trait.Distribution.html#method.map" class="fnname">map</a>&lt;F, S&gt;(self, func: F) -&gt; <a class="struct" href="../rand/distributions/distribution/struct.DistMap.html" title="struct rand::distributions::distribution::DistMap">DistMap</a>&lt;Self, F, T, S&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;F: Fn(T) -&gt; S,</span></h4></section></summary><div class='docblock'>Create a distribution of values of ‘S’ by mapping the output of <code>Self</code>
through the closure <code>F</code> <a href="trait.Distribution.html#method.map">Read more</a></div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Distribution%3Cu8%3E-for-Standard" class="impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/integer.rs.html#21">source</a><a href="#impl-Distribution%3Cu8%3E-for-Standard" class="anchor"></a><h3 class="code-header">impl <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;u8&gt; for <a class="struct" href="struct.Standard.html" title="struct rand_distr::Standard">Standard</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.sample-60" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/integer.rs.html#23">source</a><a href="#method.sample-60" class="anchor"></a><h4 class="code-header">fn <a href="trait.Distribution.html#tymethod.sample" class="fnname">sample</a>&lt;R&gt;(&amp;self, rng: &amp;mut R) -&gt; u8<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;R: <a class="trait" href="../rand/rng/trait.Rng.html" title="trait rand::rng::Rng">Rng</a> + ?Sized,</span></h4></section></summary><div class='docblock'>Generate a random value of <code>T</code>, using <code>rng</code> as the source of randomness.</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.sample_iter-60" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/distribution.rs.html#73-76">source</a><a href="#method.sample_iter-60" class="anchor"></a><h4 class="code-header">fn <a href="trait.Distribution.html#method.sample_iter" class="fnname">sample_iter</a>&lt;R&gt;(self, rng: R) -&gt; <a class="struct" href="struct.DistIter.html" title="struct rand_distr::DistIter">DistIter</a>&lt;Self, R, T&gt;<span class="notable-traits"><span class="notable-traits-tooltip"><span class="notable-traits-tooltiptext"><span class="docblock"><span class="notable">Notable traits for <a class="struct" href="struct.DistIter.html" title="struct rand_distr::DistIter">DistIter</a>&lt;D, R, T&gt;</span><code class="content"><span class="where fmt-newline">impl&lt;D, R, T&gt; Iterator for <a class="struct" href="struct.DistIter.html" title="struct rand_distr::DistIter">DistIter</a>&lt;D, R, T&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;D: <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;T&gt;,<br>&nbsp;&nbsp;&nbsp;&nbsp;R: <a class="trait" href="../rand/rng/trait.Rng.html" title="trait rand::rng::Rng">Rng</a>,</span></span><span class="where fmt-newline"> type <a class="associatedtype">Item</a> = T;</span></code></span></span></span></span><span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;R: <a class="trait" href="../rand/rng/trait.Rng.html" title="trait rand::rng::Rng">Rng</a>,</span></h4></section></summary><div class='docblock'>Create an iterator that generates random values of <code>T</code>, using <code>rng</code> as
the source of randomness. <a href="trait.Distribution.html#method.sample_iter">Read more</a></div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.map-60" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/distribution.rs.html#102-105">source</a><a href="#method.map-60" class="anchor"></a><h4 class="code-header">fn <a href="trait.Distribution.html#method.map" class="fnname">map</a>&lt;F, S&gt;(self, func: F) -&gt; <a class="struct" href="../rand/distributions/distribution/struct.DistMap.html" title="struct rand::distributions::distribution::DistMap">DistMap</a>&lt;Self, F, T, S&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;F: Fn(T) -&gt; S,</span></h4></section></summary><div class='docblock'>Create a distribution of values of ‘S’ by mapping the output of <code>Self</code>
through the closure <code>F</code> <a href="trait.Distribution.html#method.map">Read more</a></div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Distribution%3Cusize%3E-for-Standard" class="impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/integer.rs.html#59">source</a><a href="#impl-Distribution%3Cusize%3E-for-Standard" class="anchor"></a><h3 class="code-header">impl <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;usize&gt; for <a class="struct" href="struct.Standard.html" title="struct rand_distr::Standard">Standard</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.sample-37" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/integer.rs.html#68">source</a><a href="#method.sample-37" class="anchor"></a><h4 class="code-header">fn <a href="trait.Distribution.html#tymethod.sample" class="fnname">sample</a>&lt;R&gt;(&amp;self, rng: &amp;mut R) -&gt; usize<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;R: <a class="trait" href="../rand/rng/trait.Rng.html" title="trait rand::rng::Rng">Rng</a> + ?Sized,</span></h4></section></summary><div class='docblock'>Generate a random value of <code>T</code>, using <code>rng</code> as the source of randomness.</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.sample_iter-37" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/distribution.rs.html#73-76">source</a><a href="#method.sample_iter-37" class="anchor"></a><h4 class="code-header">fn <a href="trait.Distribution.html#method.sample_iter" class="fnname">sample_iter</a>&lt;R&gt;(self, rng: R) -&gt; <a class="struct" href="struct.DistIter.html" title="struct rand_distr::DistIter">DistIter</a>&lt;Self, R, T&gt;<span class="notable-traits"><span class="notable-traits-tooltip"><span class="notable-traits-tooltiptext"><span class="docblock"><span class="notable">Notable traits for <a class="struct" href="struct.DistIter.html" title="struct rand_distr::DistIter">DistIter</a>&lt;D, R, T&gt;</span><code class="content"><span class="where fmt-newline">impl&lt;D, R, T&gt; Iterator for <a class="struct" href="struct.DistIter.html" title="struct rand_distr::DistIter">DistIter</a>&lt;D, R, T&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;D: <a class="trait" href="trait.Distribution.html" title="trait rand_distr::Distribution">Distribution</a>&lt;T&gt;,<br>&nbsp;&nbsp;&nbsp;&nbsp;R: <a class="trait" href="../rand/rng/trait.Rng.html" title="trait rand::rng::Rng">Rng</a>,</span></span><span class="where fmt-newline"> type <a class="associatedtype">Item</a> = T;</span></code></span></span></span></span><span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;R: <a class="trait" href="../rand/rng/trait.Rng.html" title="trait rand::rng::Rng">Rng</a>,</span></h4></section></summary><div class='docblock'>Create an iterator that generates random values of <code>T</code>, using <code>rng</code> as
the source of randomness. <a href="trait.Distribution.html#method.sample_iter">Read more</a></div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.map-37" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/distribution.rs.html#102-105">source</a><a href="#method.map-37" class="anchor"></a><h4 class="code-header">fn <a href="trait.Distribution.html#method.map" class="fnname">map</a>&lt;F, S&gt;(self, func: F) -&gt; <a class="struct" href="../rand/distributions/distribution/struct.DistMap.html" title="struct rand::distributions::distribution::DistMap">DistMap</a>&lt;Self, F, T, S&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;F: Fn(T) -&gt; S,</span></h4></section></summary><div class='docblock'>Create a distribution of values of ‘S’ by mapping the output of <code>Self</code>
through the closure <code>F</code> <a href="trait.Distribution.html#method.map">Read more</a></div></details></div></details><section id="impl-Copy-for-Standard" class="impl has-srclink"><a class="srclink rightside" href="../src/rand/distributions/mod.rs.html#216">source</a><a href="#impl-Copy-for-Standard" class="anchor"></a><h3 class="code-header">impl Copy for <a class="struct" href="struct.Standard.html" title="struct rand_distr::Standard">Standard</a></h3></section></div><h2 id="synthetic-implementations" class="small-section-header">Auto Trait Implementations<a href="#synthetic-implementations" class="anchor"></a></h2><div id="synthetic-implementations-list"><section id="impl-RefUnwindSafe-for-Standard" class="impl has-srclink"><a href="#impl-RefUnwindSafe-for-Standard" class="anchor"></a><h3 class="code-header">impl RefUnwindSafe for <a class="struct" href="struct.Standard.html" title="struct rand_distr::Standard">Standard</a></h3></section><section id="impl-Send-for-Standard" class="impl has-srclink"><a href="#impl-Send-for-Standard" class="anchor"></a><h3 class="code-header">impl Send for <a class="struct" href="struct.Standard.html" title="struct rand_distr::Standard">Standard</a></h3></section><section id="impl-Sync-for-Standard" class="impl has-srclink"><a href="#impl-Sync-for-Standard" class="anchor"></a><h3 class="code-header">impl Sync for <a class="struct" href="struct.Standard.html" title="struct rand_distr::Standard">Standard</a></h3></section><section id="impl-Unpin-for-Standard" class="impl has-srclink"><a href="#impl-Unpin-for-Standard" class="anchor"></a><h3 class="code-header">impl Unpin for <a class="struct" href="struct.Standard.html" title="struct rand_distr::Standard">Standard</a></h3></section><section id="impl-UnwindSafe-for-Standard" class="impl has-srclink"><a href="#impl-UnwindSafe-for-Standard" class="anchor"></a><h3 class="code-header">impl UnwindSafe for <a class="struct" href="struct.Standard.html" title="struct rand_distr::Standard">Standard</a></h3></section></div><h2 id="blanket-implementations" class="small-section-header">Blanket Implementations<a href="#blanket-implementations" class="anchor"></a></h2><div id="blanket-implementations-list"><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-Any-for-Standard" class="impl has-srclink"><a href="#impl-Any-for-Standard" class="anchor"></a><h3 class="code-header">impl&lt;T&gt; Any for T<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: 'static + ?Sized,</span></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.type_id" class="method trait-impl has-srclink"><a href="#method.type_id" class="anchor"></a><h4 class="code-header">fn <a class="fnname">type_id</a>(&amp;self) -&gt; TypeId</h4></section></summary><div class='docblock'>Gets the <code>TypeId</code> of <code>self</code>. <a>Read more</a></div></details></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-Borrow%3CT%3E-for-Standard" class="impl has-srclink"><a href="#impl-Borrow%3CT%3E-for-Standard" class="anchor"></a><h3 class="code-header">impl&lt;T&gt; Borrow&lt;T&gt; for T<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: ?Sized,</span></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.borrow" class="method trait-impl has-srclink"><span class="since rightside" title="const unstable">const: <a href="https://github.com/rust-lang/rust/issues/91522" title="Tracking issue for const_borrow">unstable</a></span><a href="#method.borrow" class="anchor"></a><h4 class="code-header">fn <a class="fnname">borrow</a>(&amp;self) -&gt; &amp;T</h4></section></summary><div class='docblock'>Immutably borrows from an owned value. <a>Read more</a></div></details></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-BorrowMut%3CT%3E-for-Standard" class="impl has-srclink"><a href="#impl-BorrowMut%3CT%3E-for-Standard" class="anchor"></a><h3 class="code-header">impl&lt;T&gt; BorrowMut&lt;T&gt; for T<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: ?Sized,</span></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.borrow_mut" class="method trait-impl has-srclink"><span class="since rightside" title="const unstable">const: <a href="https://github.com/rust-lang/rust/issues/91522" title="Tracking issue for const_borrow">unstable</a></span><a href="#method.borrow_mut" class="anchor"></a><h4 class="code-header">fn <a class="fnname">borrow_mut</a>(&amp;mut self) -&gt; &amp;mut T</h4></section></summary><div class='docblock'>Mutably borrows from an owned value. <a>Read more</a></div></details></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-From%3CT%3E-for-Standard" class="impl has-srclink"><a href="#impl-From%3CT%3E-for-Standard" class="anchor"></a><h3 class="code-header">impl&lt;T&gt; From&lt;T&gt; for T</h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.from" class="method trait-impl has-srclink"><span class="since rightside" title="const unstable">const: <a href="https://github.com/rust-lang/rust/issues/88674" title="Tracking issue for const_convert">unstable</a></span><a href="#method.from" class="anchor"></a><h4 class="code-header">fn <a class="fnname">from</a>(t: T) -&gt; T</h4></section></summary><div class="docblock"><p>Returns the argument unchanged.</p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-Into%3CU%3E-for-Standard" class="impl has-srclink"><a href="#impl-Into%3CU%3E-for-Standard" class="anchor"></a><h3 class="code-header">impl&lt;T, U&gt; Into&lt;U&gt; for T<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;U: From&lt;T&gt;,</span></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.into" class="method trait-impl has-srclink"><span class="since rightside" title="const unstable">const: <a href="https://github.com/rust-lang/rust/issues/88674" title="Tracking issue for const_convert">unstable</a></span><a href="#method.into" class="anchor"></a><h4 class="code-header">fn <a class="fnname">into</a>(self) -&gt; U</h4></section></summary><div class="docblock"><p>Calls <code>U::from(self)</code>.</p>
<p>That is, this conversion is whatever the implementation of
<code>[From]&lt;T&gt; for U</code> chooses to do.</p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-ToOwned-for-Standard" class="impl has-srclink"><a href="#impl-ToOwned-for-Standard" class="anchor"></a><h3 class="code-header">impl&lt;T&gt; ToOwned for T<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: Clone,</span></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle" open><summary><section id="associatedtype.Owned" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Owned" class="anchor"></a><h4 class="code-header">type <a class="associatedtype">Owned</a> = T</h4></section></summary><div class='docblock'>The resulting type after obtaining ownership.</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.to_owned" class="method trait-impl has-srclink"><a href="#method.to_owned" class="anchor"></a><h4 class="code-header">fn <a class="fnname">to_owned</a>(&amp;self) -&gt; T</h4></section></summary><div class='docblock'>Creates owned data from borrowed data, usually by cloning. <a>Read more</a></div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.clone_into" class="method trait-impl has-srclink"><a href="#method.clone_into" class="anchor"></a><h4 class="code-header">fn <a class="fnname">clone_into</a>(&amp;self, target: &amp;mut T)</h4></section></summary><div class='docblock'>Uses borrowed data to replace owned data, usually by cloning. <a>Read more</a></div></details></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-TryFrom%3CU%3E-for-Standard" class="impl has-srclink"><a href="#impl-TryFrom%3CU%3E-for-Standard" class="anchor"></a><h3 class="code-header">impl&lt;T, U&gt; TryFrom&lt;U&gt; for T<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;U: Into&lt;T&gt;,</span></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle" open><summary><section id="associatedtype.Error-1" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Error-1" class="anchor"></a><h4 class="code-header">type <a class="associatedtype">Error</a> = Infallible</h4></section></summary><div class='docblock'>The type returned in the event of a conversion error.</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.try_from" class="method trait-impl has-srclink"><span class="since rightside" title="const unstable">const: <a href="https://github.com/rust-lang/rust/issues/88674" title="Tracking issue for const_convert">unstable</a></span><a href="#method.try_from" class="anchor"></a><h4 class="code-header">fn <a class="fnname">try_from</a>(value: U) -&gt; Result&lt;T, &lt;T as TryFrom&lt;U&gt;&gt;::Error&gt;</h4></section></summary><div class='docblock'>Performs the conversion.</div></details></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-TryInto%3CU%3E-for-Standard" class="impl has-srclink"><a href="#impl-TryInto%3CU%3E-for-Standard" class="anchor"></a><h3 class="code-header">impl&lt;T, U&gt; TryInto&lt;U&gt; for T<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;U: TryFrom&lt;T&gt;,</span></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle" open><summary><section id="associatedtype.Error" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Error" class="anchor"></a><h4 class="code-header">type <a class="associatedtype">Error</a> = &lt;U as TryFrom&lt;T&gt;&gt;::Error</h4></section></summary><div class='docblock'>The type returned in the event of a conversion error.</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.try_into" class="method trait-impl has-srclink"><span class="since rightside" title="const unstable">const: <a href="https://github.com/rust-lang/rust/issues/88674" title="Tracking issue for const_convert">unstable</a></span><a href="#method.try_into" class="anchor"></a><h4 class="code-header">fn <a class="fnname">try_into</a>(self) -&gt; Result&lt;U, &lt;U as TryFrom&lt;T&gt;&gt;::Error&gt;</h4></section></summary><div class='docblock'>Performs the conversion.</div></details></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-VZip%3CV%3E-for-Standard" class="impl has-srclink"><a class="srclink rightside" href="../src/ppv_lite86/types.rs.html#221">source</a><a href="#impl-VZip%3CV%3E-for-Standard" class="anchor"></a><h3 class="code-header">impl&lt;V, T&gt; <a class="trait" href="../ppv_lite86/types/trait.VZip.html" title="trait ppv_lite86::types::VZip">VZip</a>&lt;V&gt; for T<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;V: <a class="trait" href="../ppv_lite86/types/trait.MultiLane.html" title="trait ppv_lite86::types::MultiLane">MultiLane</a>&lt;T&gt;,</span></h3></section></summary><div class="impl-items"><section id="method.vzip" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/ppv_lite86/types.rs.html#226">source</a><a href="#method.vzip" class="anchor"></a><h4 class="code-header">fn <a href="../ppv_lite86/types/trait.VZip.html#tymethod.vzip" class="fnname">vzip</a>(self) -&gt; V</h4></section></div></details></div></section></div></main><div id="rustdoc-vars" data-root-path="../" data-current-crate="rand_distr" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.66.0-nightly (5c8bff74b 2022-10-21)" ></div></body></html>