313 lines
111 KiB
HTML
313 lines
111 KiB
HTML
|
<!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="API documentation for the Rust `Rand` trait in crate `rand`.">
|
|||
|
<meta name="keywords" content="rust, rustlang, rust-lang, Rand">
|
|||
|
|
|||
|
<title>rand::Rand - Rust</title>
|
|||
|
|
|||
|
<link rel="stylesheet" type="text/css" href="../normalize.css">
|
|||
|
<link rel="stylesheet" type="text/css" href="../rustdoc.css" id="mainThemeStyle">
|
|||
|
|
|||
|
<link rel="stylesheet" type="text/css" href="../dark.css">
|
|||
|
<link rel="stylesheet" type="text/css" href="../main.css" id="themeStyle">
|
|||
|
<script src="../storage.js"></script>
|
|||
|
|
|||
|
|
|||
|
<link rel="shortcut icon" href="https://www.rust-lang.org/favicon.ico">
|
|||
|
|
|||
|
</head>
|
|||
|
<body class="rustdoc trait">
|
|||
|
<!--[if lte IE 8]>
|
|||
|
<div class="warning">
|
|||
|
This old browser is unsupported and will most likely display funky
|
|||
|
things.
|
|||
|
</div>
|
|||
|
<![endif]-->
|
|||
|
|
|||
|
|
|||
|
|
|||
|
<nav class="sidebar">
|
|||
|
<div class="sidebar-menu">☰</div>
|
|||
|
<a href='../rand/index.html'><img src='https://www.rust-lang.org/logos/rust-logo-128x128-blk.png' alt='logo' width='100'></a>
|
|||
|
<p class='location'>Trait Rand</p><div class="sidebar-elems"><div class="block items"><a class="sidebar-title" href="#required-methods">Required Methods</a><div class="sidebar-links"><a href="#tymethod.rand">rand</a></div><a class="sidebar-title" href="#foreign-impls">Implementations on Foreign Types</a><div class="sidebar-links"><a href="#impl-Rand">[T; 29]</a><a href="#impl-Rand">[T; 31]</a><a href="#impl-Rand">[T; 8]</a><a href="#impl-Rand">usize</a><a href="#impl-Rand">[T; 16]</a><a href="#impl-Rand">(A, B)</a><a href="#impl-Rand">i64</a><a href="#impl-Rand">[T; 10]</a><a href="#impl-Rand">[T; 25]</a><a href="#impl-Rand">()</a><a href="#impl-Rand">[T; 1]</a><a href="#impl-Rand">(A, B, C, D, E, F, G)</a><a href="#impl-Rand">bool</a><a href="#impl-Rand">(A, B, C, D, E)</a><a href="#impl-Rand">(A, B, C)</a><a href="#impl-Rand">[T; 13]</a><a href="#impl-Rand">(A,)</a><a href="#impl-Rand">[T; 22]</a><a href="#impl-Rand">[T; 9]</a><a href="#impl-Rand">(A, B, C, D, E, F)</a><a href="#impl-Rand">[T; 21]</a><a href="#impl-Rand">(A, B, C, D, E, F, G, H, I, J, K)</a><a href="#impl-Rand">(A, B, C, D, E, F, G, H, I)</a><a href="#impl-Rand">(A, B, C, D)</a><a href="#impl-Rand">[T; 26]</a><a href="#impl-Rand">[T; 6]</a><a href="#impl-Rand">[T; 7]</a><a href="#impl-Rand">[T; 28]</a><a href="#impl-Rand">(A, B, C, D, E, F, G, H)</a><a href="#impl-Rand">[T; 4]</a><a href="#impl-Rand">[T; 15]</a><a href="#impl-Rand">[T; 18]</a><a href="#impl-Rand">u8</a><a href="#impl-Rand">[T; 0]</a><a href="#impl-Rand">[T; 2]</a><a href="#impl-Rand">u32</a><a href="#impl-Rand">i32</a><a href="#impl-Rand">[T; 5]</a><a href="#impl-Rand">[T; 14]</a><a href="#impl-Rand">[T; 27]</a><a href="#impl-Rand">f64</a><a href="#impl-Rand">[T; 20]</a><a href="#impl-Rand">[T; 23]</a><a href="#impl-Rand">[T; 12]</a><a href="#impl-Rand">[T; 19]</a><a href="#impl-Rand">[T; 17]</a><a href="#impl-Rand">isize</a><a href="#impl-Rand">i8</a><a href="#impl-Rand">char</a><a href="#impl-Rand">(A, B, C, D, E, F, G, H, I, J, K, L)</a><a href="#impl-Rand">[T; 11]</a><a href="#impl-Rand">u64</a><a href="#impl-Rand">[T; 3]</a><a href="#impl-Rand">[T; 24]</a><a href="#impl-Rand">Option<T></a><a href="#impl-Rand">[T; 32]</a><a href="#impl-Rand">u16</a><a href="#impl-Rand">i16</a><a href="#impl-Rand">f32</a><a href="#impl-Rand">(A, B, C, D, E, F, G, H, I, J)</a><a href="#impl-Rand">[T; 30]</a></div><a class="sidebar-title" href="#implementors">Implementors</a></div><p class='location'><a href='index.html'>rand</a></p><script>window.sidebarCurrent = {name: 'Rand', ty: 'trait', relpath: ''};</script><script defer src="sidebar-items.js"></script></div>
|
|||
|
</nav>
|
|||
|
|
|||
|
<div class="theme-picker">
|
|||
|
<button id="theme-picker" aria-label="Pick another theme!">
|
|||
|
<img src="../brush.svg" width="18" alt="Pick another theme!">
|
|||
|
</button>
|
|||
|
<div id="theme-choices"></div>
|
|||
|
</div>
|
|||
|
<script src="../theme.js"></script>
|
|||
|
<nav class="sub">
|
|||
|
<form class="search-form js-only">
|
|||
|
<div class="search-container">
|
|||
|
<input class="search-input" name="search"
|
|||
|
autocomplete="off"
|
|||
|
placeholder="Click or press ‘S’ to search, ‘?’ for more options…"
|
|||
|
type="search">
|
|||
|
</div>
|
|||
|
</form>
|
|||
|
</nav>
|
|||
|
|
|||
|
<section id='main' class="content">
|
|||
|
<h1 class='fqn'><span class='in-band'>Trait <a href='index.html'>rand</a>::<wbr><a class="trait" href=''>Rand</a></span><span class='out-of-band'><span id='render-detail'>
|
|||
|
<a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">
|
|||
|
[<span class='inner'>−</span>]
|
|||
|
</a>
|
|||
|
</span><a class='srclink' href='../src/rand/lib.rs.html#332-336' title='goto source code'>[src]</a></span></h1>
|
|||
|
<pre class='rust trait'>pub trait Rand {
|
|||
|
fn <a href='#tymethod.rand' class='fnname'>rand</a><R>(rng: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>R) -> Self<br> <span class="where">where<br> R: <a class="trait" href="../rand/trait.Rng.html" title="trait rand::Rng">Rng</a></span>;
|
|||
|
}</pre><div class='docblock'><p>A type that can be randomly generated using an <code>Rng</code>.</p>
|
|||
|
<h2 id="built-in-implementations" class="section-header"><a href="#built-in-implementations">Built-in Implementations</a></h2>
|
|||
|
<p>This crate implements <code>Rand</code> for various primitive types. 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>. (The <a href="struct.Open01.html"><code>Open01</code></a>, <a href="struct.Closed01.html"><code>Closed01</code></a>, <a href="distributions/exponential/struct.Exp1.html"><code>Exp1</code></a>, and
|
|||
|
<a href="distributions/normal/struct.StandardNormal.html"><code>StandardNormal</code></a> wrapper types produce floating point numbers with
|
|||
|
alternative ranges or distributions.)</li>
|
|||
|
</ul>
|
|||
|
<p>The following aggregate types also implement <code>Rand</code> as long as their
|
|||
|
component types implement it:</p>
|
|||
|
<ul>
|
|||
|
<li>Tuples and arrays: Each element of the tuple or array is generated
|
|||
|
independently, using its own <code>Rand</code> implementation.</li>
|
|||
|
<li><code>Option<T></code>: Returns <code>None</code> with probability 0.5; otherwise generates a
|
|||
|
random <code>T</code> and returns <code>Some(T)</code>.</li>
|
|||
|
</ul>
|
|||
|
</div>
|
|||
|
<h2 id='required-methods' class='small-section-header'>
|
|||
|
Required Methods<a href='#required-methods' class='anchor'></a>
|
|||
|
</h2>
|
|||
|
<div class='methods'>
|
|||
|
<h3 id='tymethod.rand' class='method'><span id='rand.v' class='invisible'><code>fn <a href='#tymethod.rand' class='fnname'>rand</a><R>(rng: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>R) -> Self <span class="where fmt-newline">where<br> R: <a class="trait" href="../rand/trait.Rng.html" title="trait rand::Rng">Rng</a>, </span></code></span></h3><div class='docblock'><p>Generates a random instance of this type using the specified source of
|
|||
|
randomness.</p>
|
|||
|
</div></div>
|
|||
|
<h2 id='foreign-impls' class='small-section-header'>
|
|||
|
Implementations on Foreign Types<a href='#foreign-impls' class='anchor'></a>
|
|||
|
</h2>
|
|||
|
<h3 id='impl-Rand' class='impl'><span class='in-band'><code>impl<T> <a class="trait" href="../rand/trait.Rand.html" title="trait rand::Rand">Rand</a> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">[</a>T<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">; 29]</a> <span class="where fmt-newline">where<br> T: <a class="trait" href="../rand/trait.Rand.html" title="trait rand::Rand">Rand</a>, </span></code><a href='#impl-Rand' class='anchor'></a></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/rand/rand_impls.rs.html#222-227' title='goto source code'>[src]</a></span></h3>
|
|||
|
<span class='docblock autohide'><div class='impl-items'><h4 id='method.rand' class="method"><span id='rand.v-1' class='invisible'><code>fn <a href='#method.rand' class='fnname'>rand</a><R>(_rng: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>R) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">[</a>T<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">; 29]</a> <span class="where fmt-newline">where<br> R: <a class="trait" href="../rand/trait.Rng.html" title="trait rand::Rng">Rng</a>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/rand/rand_impls.rs.html#224-226' title='goto source code'>[src]</a></span></h4>
|
|||
|
</div></span><h3 id='impl-Rand-1' class='impl'><span class='in-band'><code>impl<T> <a class="trait" href="../rand/trait.Rand.html" title="trait rand::Rand">Rand</a> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">[</a>T<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">; 31]</a> <span class="where fmt-newline">where<br> T: <a class="trait" href="../rand/trait.Rand.html" title="trait rand::Rand">Rand</a>, </span></code><a href='#impl-Rand-1' class='anchor'></a></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/rand/rand_impls.rs.html#222-227' title='goto source code'>[src]</a></span></h3>
|
|||
|
<span class='docblock autohide'><div class='impl-items'><h4 id='method.rand-1' class="method"><span id='rand.v-2' class='invisible'><code>fn <a href='#method.rand' class='fnname'>rand</a><R>(_rng: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>R) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">[</a>T<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">; 31]</a> <span class="where fmt-newline">where<br> R: <a class="trait" href="../rand/trait.Rng.html" title="trait rand::Rng">Rng</a>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/rand/rand_impls.rs.html#224-226' title='goto source code'>[src]</a></span></h4>
|
|||
|
</div></span><h3 id='impl-Rand-2' class='impl'><span class='in-band'><code>impl<T> <a class="trait" href="../rand/trait.Rand.html" title="trait rand::Rand">Rand</a> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">[</a>T<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">; 8]</a> <span class="where fmt-newline">where<br> T: <a class="trait" href="../rand/trait.Rand.html" title="trait rand::Rand">Rand</a>, </span></code><a href='#impl-Rand-2' class='anchor'></a></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/rand/rand_impls.rs.html#222-227' title='goto source code'>[src]</a></span></h3>
|
|||
|
<span class='docblock autohide'><div class='impl-items'><h4 id='method.rand-2' class="method"><span id='rand.v-3' class='invisible'><code>fn <a href='#method.rand' class='fnname'>rand</a><R>(_rng: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>R) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">[</a>T<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">; 8]</a> <span class="where fmt-newline">where<br> R: <a class="trait" href="../rand/trait.Rng.html" title="trait rand::Rng">Rng</a>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/rand/rand_impls.rs.html#224-226' title='goto source code'>[src]</a></span></h4>
|
|||
|
</div></span><h3 id='impl-Rand-3' class='impl'><span class='in-band'><code>impl <a class="trait" href="../rand/trait.Rand.html" title="trait rand::Rand">Rand</a> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a></code><a href='#impl-Rand-3' class='anchor'></a></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/rand/rand_impls.rs.html#64-73' title='goto source code'>[src]</a></span></h3>
|
|||
|
<span class='docblock autohide'><div class='impl-items'><h4 id='method.rand-3' class="method"><span id='rand.v-4' class='invisible'><code>fn <a href='#method.rand' class='fnname'>rand</a><R>(rng: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>R) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a> <span class="where fmt-newline">where<br> R: <a class="trait" href="../rand/trait.Rng.html" title="trait rand::Rng">Rng</a>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/rand/rand_impls.rs.html#66-72' title='goto source code'>[src]</a></span></h4>
|
|||
|
</div></span><h3 id='impl-Rand-4' class='impl'><span class='in-band'><code>impl<T> <a class="trait" href="../rand/trait.Rand.html" title="trait rand::Rand">Rand</a> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">[</a>T<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">; 16]</a> <span class="where fmt-newline">where<br> T: <a class="trait" href="../rand/trait.Rand.html" title="trait rand::Rand">Rand</a>, </span></code><a href='#impl-Rand-4' class='anchor'></a></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/rand/rand_impls.rs.html#222-227' title='goto source code'>[src]</a></span></h3>
|
|||
|
<span class='docblock autohide'><div class='impl-items'><h4 id='method.rand-4' class="method"><span id='rand.v-5' class='invisible'><code>fn <a href='#method.rand' class='fnname'>rand</a><R>(_rng: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>R) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">[</a>T<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">; 16]</a> <span class="where fmt-newline">where<br> R: <a class="trait" href="../rand/trait.Rng.html" title="trait rand::Rng">Rng</a>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/rand/rand_impls.rs.html#224-226' title='goto source code'>[src]</a></span></h4>
|
|||
|
</div></span><h3 id='impl-Rand-5' class='impl'><span class='in-band'><code>impl<A, B> <a class="trait" href="../rand/trait.Rand.html" title="trait rand::Rand">Rand</a> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">(</a>A, B<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">)</a> <span class="where fmt-newline">where<br> A: <a class="trait" href="../rand/trait.Rand.html" title="trait rand::Rand">Rand</a>,<br> B: <a class="trait" href="../rand/trait.Rand.html" title="trait rand::Rand">Rand</a>, </span></code><a href='#impl-Rand-5' class='anchor'></a></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/rand/rand_impls.rs.html#182-197' title='goto source code'>[src]</a></span></h3>
|
|||
|
<span class='docblock autohide'><div class='impl-items'><h4 id='method.rand-5' class="method"><span id='rand.v-6' class='invisible'><code>fn <a href='#method.rand' class='fnname'>rand</a><R>(_rng: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>R) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">(</a>A, B<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">)</a> <span class="where fmt-newline">where<br> R: <a class="trait" href="../rand/trait.Rng.html" title="trait rand::Rng">Rng</a>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/rand/rand_impls.rs.html#187-196' title='goto source code'>[src]</a></span></h4>
|
|||
|
</div></span><h3 id='impl-Rand-6' class='impl'><span class='in-band'><code>impl <a class="trait" href="../rand/trait.Rand.html" title="trait rand::Rand">Rand</a> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i64.html">i64</a></code><a href='#impl-Rand-6' class='anchor'></a></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/rand/rand_impls.rs.html#49-54' title='goto source code'>[src]</a></span></h3>
|
|||
|
<span class='docblock autohide'><div class='impl-items'><h4 id='method.rand-6' class="method"><span id='rand.v-7' class='invisible'><code>fn <a href='#method.rand' class='fnname'>rand</a><R>(rng: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>R) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i64.html">i64</a> <span class="where fmt-newline">where<br> R: <a class="trait" href="../rand/trait.Rng.html" title="trait rand::Rng">Rng</a>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/rand/rand_impls.rs.html#51-53' title='goto source code'>[src]</a></span></h4>
|
|||
|
</div></span><h3 id='impl-Rand-7' class='impl'><span class='in-band'><code>impl<T> <a class="trait" href="../rand/trait.Rand.html" title="trait rand::Rand">Rand</a> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">[</a>T<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">; 10]</a> <span class="where fmt-newline">where<br> T: <a class="trait" href="../rand/trait.Rand.html" title="trait rand::Rand">Rand</a>, </span></code><a href='#impl-Rand-7' class='anchor'></a></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/rand/rand_impls.rs.html#222-227' title='goto source code'>[src]</a></span></h3>
|
|||
|
<span class='docblock autohide'><div class='impl-items'><h4 id='method.rand-7' class="method"><span id='rand.v-8' class='invisible'><code>fn <a href='#method.rand' class='fnname'>rand</a><R>(_rng: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>R) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">[</a>T<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">; 10]</a> <span class="where fmt-newline">where<br> R: <a class="trait" href="../rand/trait.Rng.html" title="trait rand::Rng">Rng</a>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/rand/rand_impls.rs.html#224-226' title='goto source code'>[src]</a></span></h4>
|
|||
|
</div></span><h3 id='impl-Rand-8' class='impl'><span class='in-band'><code>impl<T> <a class="trait" href="../rand/trait.Rand.html" title="trait rand::Rand">Rand</a> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">[</a>T<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">; 25]</a> <span class="where fmt-newline">where<br> T: <a class="trait" href="../rand/trait.Rand.html" title="trait rand::Rand">Rand</a>, </span></code><a href='#impl-Rand-8' class='anchor'></a></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/rand/rand_impls.rs.html#222-227' title='goto source code'>[src]</a></span></h3>
|
|||
|
<span class='docblock autohide'><div class='impl-items'><h4 id='method.rand-8' class="method"><span id='rand.v-9' class='invisible'><code>fn <a href='#method.rand' class='fnname'>rand</a><R>(_rng: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>R) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">[</a>T<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">; 25]</a> <span class="where fmt-newline">where<br> R: <a class="trait" href="../rand/trait.Rng.html" title="trait rand::Rng">Rng</a>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/rand/rand_impls.rs.html#224-226' title='goto source code'>[src]</a></span></h4>
|
|||
|
</div></span><h3 id='impl-Rand-9' class='impl'><span class='in-band'><code>impl <a class="trait" href="../rand/trait.Rand.html" title="trait rand::Rand">Rand</a> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a></code><a href='#impl-Rand-9' class='anchor'></a></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/rand/rand_impls.rs.html#201-204' title='goto source code'>[src]</a></span></h3>
|
|||
|
<span class='docblock autohide'><div class='impl-items'><h4 id='method.rand-9' class="method"><span id='rand.v-10' class='invisible'><code>fn <a href='#method.rand' class='fnname'>rand</a><R>(<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>R) <span class="where fmt-newline">where<br> R: <a class="trait" href="../rand/trait.Rng.html" title="trait rand::Rng">Rng</a>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/rand/rand_impls.rs.html#203' title='goto source code'>[src]</a></span></h4>
|
|||
|
</div></span><h3 id='impl-Rand-10' class='impl'><span class='in-band'><code>impl<T> <a class="trait" href="../rand/trait.Rand.html" title="trait rand::Rand">Rand</a> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">[</a>T<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">; 1]</a> <span class="where fmt-newline">where<br> T: <a class="trait" href="../rand/trait.Rand.html" title="trait rand::Rand">Rand</a>, </span></code><a href='#impl-Rand-10' class='anchor'></a></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/rand/rand_impls.rs.html#222-227' title='goto source code'>[src]</a></span></h3>
|
|||
|
<span class='docblock autohide'><div class='impl-items'><h4 id='method.rand-10' class="method"><span id='rand.v-11' class='invisible'><code>fn <a href='#method.rand' class='fnname'>rand</a><R>(_rng: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>R) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">[</a>T<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">; 1]</a> <span class="where fmt-newline">where<br> R: <a class="trait" href="../rand/trait.Rng.html" title="trait rand::Rng">Rng</a>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/rand/rand_impls.rs.html#224-226' title='goto source code'>[src]</a></span></h4>
|
|||
|
</div></span><h3 id='impl-Rand-11' class='impl'><span class='in-band'><code>impl<A, B, C, D, E, F, G> <a class="trait" href="../rand/trait.Rand.html" title="trait rand::Rand">Rand</a> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">(</a>A, B, C, D, E, F, G<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">)</a> <span class="where fmt-newline">where<br> A: <a class="trait" href="../rand/trait.Rand.html" title="trait rand::Rand">Rand</a>,<br> B: <a class="trait" href="../rand/trait.Rand.html" title="trait rand::Rand">Rand</a>,<br> C: <a class="trait" href="../rand/trait.Rand.html" title="trait rand::Rand">Rand</a>,<br> D: <a class="trait" href="../rand/trait.Rand.html" title="trait rand::Rand">Rand</a>,<br> E: <a class="trait" href="../rand/trait.Rand.html" title="trait rand::Rand">Rand</a>,<br> F: <a class="trait" href="../rand/trait.Rand.html" title="trait rand::Rand">Rand</a>,<br> G: <a class="trait" href="../rand/trait.Rand.html" title="trait rand::Rand">Rand</a>, </span></code><a href='#impl-Rand-11' class='anchor'></a></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/rand/rand_impls.rs.html#182-197' title='goto source code'>[src]</a></span></h3>
|
|||
|
<span class='docblock autohide'><div class='impl-items'><h4 id='method.rand-11' class="method"><span id='rand.v-12' class='invisible'><code>fn <a href='#method.rand' class='fnname'>rand</a><R>(_rng: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>R) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">(</a>A, B, C, D, E, F, G<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">)</a> <span class="where fmt-newline">where<br> R: <a class="trait" href="../rand/trait.Rng.html" title="trait rand::Rng">Rng</a>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/rand/rand_impls.rs.html#187-196' title='goto source code'>[src]</a></span></h4>
|
|||
|
</div></span><h3 id='impl-Rand-12' class='impl'><span class='in-band'><code>impl <a class="trait" href="../rand/trait.Rand.html" title="trait rand::Rand">Rand</a> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code><a href='#impl-Rand-12' class='anchor'></a></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/rand/rand_impls.rs.html#171-176' title='goto source code'>[src]</a></span></h3>
|
|||
|
<span class='docblock autohide'><div class='impl-items'><h4 id='method.rand-12' class="method"><span id='rand.v-13' class='invisible'><code>fn <a href='#method.rand' class='fnname'>rand</a><R>(rng: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>R) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a> <span class="where fmt-newline">where<br> R: <a class="trait" href="../rand/trait.Rng.html" title="trait rand::Rng">Rng</a>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/rand/rand_impls.rs.html#173-175' title='goto source code'>[src]</a></span></h4>
|
|||
|
</div></span><h3 id='impl-Rand-13' class='impl'><span class='in-band'><code>impl<A, B, C, D, E> <a class="trait" href="../rand/trait.Rand.html" title="trait rand::Rand">Rand</a> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">(</a>A, B, C, D, E<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">)</a> <span class="where fmt-newline">where<br> A: <a class="trait" href="../rand/trait.Rand.html" title="trait rand::Rand">Rand</a>,<br> B: <a class="trait" href="../rand/trait.Rand.html" title="trait rand::Rand">Rand</a>,<br> C: <a class="trait" href="../rand/trait.Rand.html" title="trait rand::Rand">Rand</a>,<br> D: <a class="trait" href="../rand/trait.Rand.html" title="trait rand::Rand">Rand</a>,<br> E: <a class="trait" href="../rand/trait.Rand.html" title="trait rand::Rand">Rand</a>, </span></code><a href='#impl-Rand-13' class='anchor'></a></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/rand/rand_impls.rs.html#182-197' title='goto source code'>[src]</a></span></h3>
|
|||
|
<span class='docblock autohide'><div class='impl-items'><h4 id='method.rand-13' class="method"><span id='rand.v-14' class='invisible'><code>fn <a href='#method.rand' class='fnname'>rand</a><R>(_rng: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>R) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">(</a>A, B, C, D, E<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">)</a> <span class="where fmt-newline">where<br> R: <a class="trait" href="../rand/trait.Rng.html" title="trait rand::Rng">Rng</a>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/rand/rand_impls.rs.html#187-196' title='goto source code'>[src]</a></span></h4>
|
|||
|
</div></span><h3 id='impl-Rand-14' class='impl'><span class='in-band'><code>impl<A, B, C> <a class="trait" href="../rand/trait.Rand.html" title="trait rand::Rand">Rand</a> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">(</a>A, B, C<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">)</a> <span class="where fmt-newline">where<br> A: <a class="trait" href="../rand/trait.Rand.html" title="trait rand::Rand">Rand</a>,<br> B: <a class="trait" href="../rand/trait.Rand.html" title="trait rand::Rand">Rand</a>,<br> C: <a class="trait" href="../rand/trait.Rand.html" title="trait rand::Rand">Rand</a>, </span></code><a href='#impl-Rand-14' class='anchor'></a></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/rand/rand_impls.rs.html#182-197' title='goto source code'>[src]</a></span></h3>
|
|||
|
<span class='docblock autohide'><div class='impl-items'><h4 id='method.rand-14' class="method"><span id='rand.v-15' class='invisible'><code>fn <a href='#method.rand' class='fnname'>rand</a><R>(_rng: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>R) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">(</a>A, B, C<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">)</a> <span class="where fmt-newline">where<br> R: <a class="trait" href="../rand/trait.Rng.html" title="trait rand::Rng">Rng</a>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/rand/rand_impls.rs.html#187-196' title='goto source code'>[src]</a></span></h4>
|
|||
|
</div></span><h3 id='impl-Rand-15' class='impl'><span class='in-band'><code>impl<T> <a class="trait" href="../rand/trait.Rand.html" title="trait rand::Rand">Rand</a> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">[</a>T<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">; 13]</a> <span class="where fmt-newline">where<br> T: <a class="trait" href="../rand/trait.Rand.html" title="trait rand::Rand">Rand</a>, </span></code><a href='#impl-Rand-15' class='anchor'></a></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/rand/rand_impls.rs.html#222-227' title='goto source code'>[src]</a></span></h3>
|
|||
|
<span class='docblock autohide'><div class='impl-items'><h4 id='method.rand-15' class="method"><span id='rand.v-16' class='invisible'><code>fn <a href='#method.rand' class='fnname'>rand</a><R>(_rng: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>R) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">[</a>T<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">; 13]</a> <span class="where fmt-newline">where<br> R: <a class="trait" href="../rand/trait.Rng.html" title="trait rand::Rng">Rng</a>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/rand/rand_impls.rs.html#224-226' title='goto source code'>[src]</a></span></h4>
|
|||
|
</div></span><h3 id='impl-Rand-16' class='impl'><span class='in-band'><code>impl<A> <a class="trait" href="../rand/trait.Rand.html" title="trait rand::Rand">Rand</a> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">(</a>A<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">,)</a> <span class="where fmt-newline">where<br> A: <a class="trait" href="../rand/trait.Rand.html" title="trait rand::Rand">Rand</a>, </span></code><a href='#impl-Rand-16' class='anchor'></a></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/rand/rand_impls.rs.html#182-197' title='goto source code'>[src]</a></span></h3>
|
|||
|
<span class='docblock autohide'><div class='impl-items'><h4 id='method.rand-16' class="method"><span id='rand.v-17' class='invisible'><code>fn <a href='#method.rand' class='fnname'>rand</a><R>(_rng: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>R) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">(</a>A<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">,)</a> <span class="where fmt-newline">where<br> R: <a class="trait" href="../rand/trait.Rng.html" title="trait rand::Rng">Rng</a>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/rand/rand_impls.rs.html#187-196' title='goto source code'>[src]</a></span></h4>
|
|||
|
</div></span><h3 id='impl-Rand-17' class='impl'><span class='in-band'><code>impl<T> <a class="trait" href="../rand/trait.Rand.html" title="trait rand::Rand">Rand</a> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">[</a>T<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">; 22]</a> <span class="where fmt-newline">where<br> T: <a class="trait" href="../rand/trait.Rand.html" title="trait rand::Rand">Rand</a>, </span></code><a href='#impl-Rand-17' class='anchor'></a></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/rand/rand_impls.rs.html#222-227' title='goto source code'>[src]</a></span></h3>
|
|||
|
<span class='docblock autohide'><div class='impl-items'><h4 id='method.rand-17' class="method"><span id='rand.v-18' class='invisible'><code>fn <a href='#method.rand' class='fnname'>rand</a><R>(_rng: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>R) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">[</a>T<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">; 22]</a> <span class="where fmt-newline">where<br> R: <a class="trait" href="../rand/trait.Rng.html" title="trait rand::Rng">Rng</a>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/rand/rand_impls.rs.html#224-226' title='goto source code'>[src]</a></span></h4>
|
|||
|
</div></span><h3 id='impl-Rand-18' class='impl'><span class='in-band'><code>impl<T> <a class="trait" href="../rand/trait.Rand.html" title="trait rand::Rand">Rand</a> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">[</a>T<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">; 9]</a> <span class="where fmt-newline">where<br> T: <a class="trait" href="../rand/trait.Rand.html" title="trait rand::Rand">Rand</a>, </span></code><a href='#impl-Rand-18' class='anchor'></a></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/rand/rand_impls.rs.html#222-227' title='goto source code'>[src]</a></span></h3>
|
|||
|
<span class='docblock autohide'><div class='impl-items'><h4 id='method.rand-18' class="method"><span id='rand.v-19' class='invisible'><code>fn <a href='#method.rand' class='fnname'>rand</a><R>(_rng: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>R) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">[</a>T<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">; 9]</a> <span class="where fmt-newline">where<br> R: <a class="trait" href="../rand/trait.Rng.html" title="trait rand::Rng">Rng</a>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/rand/rand_impls.rs.html#224-226' title='goto source code'>[src]</a></span></h4>
|
|||
|
</div></span><h3 id='impl-Rand-19' class='impl'><span class='in-band'><code>impl<A, B, C, D, E, F> <a class="trait" href="../rand/trait.Rand.html" title="trait rand::Rand">Rand</a> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">(</a>A, B, C, D, E, F<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">)</a> <span class="where fmt-newline">where<br> A: <a class="trait" href="../rand/trait.Rand.html" title="trait rand::Rand">Rand</a>,<br> B: <a class="trait" href="../rand/trait.Rand.html" title="trait rand::Rand">Rand</a>,<br> C: <a class="trait" href="../rand/trait.Rand.html" title="trait rand::Rand">Rand</a>,<br> D: <a class="trait" href="../rand/trait.Rand.html" title="trait rand::Rand">Rand</a>,<br> E: <a class="trait" href="../rand/trait.Rand.html" title="trait rand::Rand">Rand</a>,<br> F: <a class="trait" href="../rand/trait.Rand.html" title="trait rand::Rand">Rand</a>, </span></code><a href='#impl-Rand-19' class='anchor'></a></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/rand/rand_impls.rs.html#182-197' title='goto source code'>[src]</a></span></h3>
|
|||
|
<span class='docblock autohide'><div class='impl-items'><h4 id='method.rand-19' class="method"><span id='rand.v-20' class='invisible'><code>fn <a href='#method.rand' class='fnname'>rand</a><R>(_rng: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>R) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">(</a>A, B, C, D, E, F<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">)</a> <span class="where fmt-newline">where<br> R: <a class="trait" href="../rand/trait.Rng.html" title="trait rand::Rng">Rng</a>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/rand/rand_impls.rs.html#187-196' title='goto source code'>[src]</a></span></h4>
|
|||
|
</div></span><h3 id='impl-Rand-20' class='impl'><span class='in-band'><code>impl<T> <a class="trait" href="../rand/trait.Rand.html" title="trait rand::Rand">Rand</a> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">[</a>T<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">; 21]</a> <span class="where fmt-newline">where<br> T: <a class="trait" href="../rand/trait.Rand.html" title="trait rand::Rand">Rand</a>, </span></code><a href='#impl-Rand-20' class='anchor'></a></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/rand/rand_impls.rs.html#222-227' title='goto source code'>[src]</a></span></h3>
|
|||
|
<span class='docblock autohide'><div class='impl-items'><h4 id='method.rand-20' class="method"><span id='rand.v-21' class='invisible'><code>fn <a href='#method.rand' class='fnname'>rand</a><R>(_rng: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>R) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">[</a>T<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">; 21]</a> <span class="where fmt-newline">where<br> R: <a class="trait" href="../rand/trait.Rng.html" title="trait rand::Rng">Rng</a>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/rand/rand_impls.rs.html#224-226' title='goto source code'>[src]</a></span></h4>
|
|||
|
</div></span><h3 id='impl-Rand-21' class='impl'><span class='in-band'><code>impl<A, B, C, D, E, F, G, H, I, J, K> <a class="trait" href="../rand/trait.Rand.html" title="trait rand::Rand">Rand</a> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">(</a>A, B, C, D, E, F, G, H, I, J, K<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">)</a> <span class="where fmt-newline">where<br> A: <a class="trait" href="../rand/trait.Rand.html" title="trait rand::Rand">Rand</a>,<br> B: <a class="trait" href="../rand/trait.Rand.html" title="trait rand::Rand">Rand</a>,<br> C: <a class="trait" href="../rand/trait.Rand.html" title="trait rand::Rand">Rand</a>,<br> D: <a class="trait" href="../rand/trait.Rand.html" title="trait rand::Rand">Rand</a>,<br> E: <a class="trait" href="../rand/trait.Rand.html" title="trait rand::Rand">Rand</a>,<br> F: <a class="trait" href="../rand/trait.Rand.html" title="trait rand::Rand">Rand</a>,<br> G: <a class="trait" href="../rand/trait.Rand.html" title="trait rand::Rand">Rand</a>,<br> H: <a class="trait" href="../rand/trait.Rand.html" title="trait rand::Rand">Rand</a>,<br> I: <a class="trait" href="../rand/trait.Rand.html" title="trait rand::Rand">Rand</a>,<br> J: <a class="trait" href="../rand/trait.Rand.html" title="trait rand::Rand">Rand</a>,<br> K: <a class="trait" href="../rand/trait.Rand.html" title="trait rand::Rand">Rand</a>, </span></code><a href='#impl-Rand-21' class='anchor'></a></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/rand/rand_impls.rs.html#182-197' title='goto source code'>[src]</a></span></h3>
|
|||
|
<span class='docblock autohide'><div class='impl-items'><h4 id='method.rand-21' class="method"><span id='rand.v-22' class='invisible'><code>fn <a href='#method.rand' class='fnname'>rand</a><R>(_rng: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>R) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">(</a>A, B, C, D, E, F, G, H, I, J, K<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">)</a> <span class="where fmt-newline">where<br> R: <a class="trait" href="../rand/trait.Rng.html" title="trait rand::Rng">Rng</a>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/rand/rand_impls.rs.html#187-196' title='goto source code'>[src]</a></span></h4>
|
|||
|
</div></span><h3 id='impl-Rand-22' class='impl'><span class='in-band'><code>impl<A, B, C, D, E, F, G, H, I> <a class="trait" href="../rand/trait.Rand.html" title="trait rand::Rand">Rand</a> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">(</a>A, B, C, D, E, F, G, H, I<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">)</a> <span class="where fmt-newline">where<br> A: <a class="trait" href="../rand/trait.Rand.html" title="trait rand::Rand">Rand</a>,<br> B: <a class="trait" href="../rand/trait.Rand.html" title="trait rand::Rand">Rand</a>,<br> C: <a class="trait" href="../rand/trait.Rand.html" title="trait rand::Rand">Rand</a>,<br> D: <a class="trait" href="../rand/trait.Rand.html" title="trait rand::Rand">Rand</a>,<br> E: <a class="trait" href="../rand/trait.Rand.html" title="trait rand::Rand">Rand</a>,<br> F: <a class="trait" href="../rand/trait.Rand.html" title="trait rand::Rand">Rand</a>,<br> G: <a class="trait" href="../rand/trait.Rand.html" title="trait rand::Rand">Rand</a>,<br> H: <a class="trait" href="../rand/trait.Rand.html" title="trait rand::Rand">Rand</a>,<br> I: <a class="trait" href="../rand/trait.Rand.html" title="trait rand::Rand">Rand</a>, </span></code><a href='#impl-Rand-22' class='anchor'></a></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/rand/rand_impls.rs.html#182-197' title='goto source code'>[src]</a></span></h3>
|
|||
|
<span class='docblock autohide'><div class='impl-items'><h4 id='method.rand-22' class="method"><span id='rand.v-23' class='invisible'><code>fn <a href='#method.rand' class='fnname'>rand</a><R>(_rng: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>R) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">(</a>A, B, C, D, E, F, G, H, I<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">)</a> <span class="where fmt-newline">where<br> R: <a class="trait" href="../rand/trait.Rng.html" title="trait rand::Rng">Rng</a>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/rand/rand_impls.rs.html#187-196' title='goto source code'>[src]</a></span></h4>
|
|||
|
</div></span><h3 id='impl-Rand-23' class='impl'><span class='in-band'><code>impl<A, B, C, D> <a class="trait" href="../rand/trait.Rand.html" title="trait rand::Rand">Rand</a> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">(</a>A, B, C, D<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">)</a> <span class="where fmt-newline">where<br> A: <a class="trait" href="../rand/trait.Rand.html" title="trait rand::Rand">Rand</a>,<br> B: <a class="trait" href="../rand/trait.Rand.html" title="trait rand::Rand">Rand</a>,<br> C: <a class="trait" href="../rand/trait.Rand.html" title="trait rand::Rand">Rand</a>,<br> D: <a class="trait" href="../rand/trait.Rand.html" title="trait rand::Rand">Rand</a>, </span></code><a href='#impl-Rand-23' class='anchor'></a></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/rand/rand_impls.rs.html#182-197' title='goto source code'>[src]</a></span></h3>
|
|||
|
<span class='docblock autohide'><div class='impl-items'><h4 id='method.rand-23' class="method"><span id='rand.v-24' class='invisible'><code>fn <a href='#method.rand' class='fnname'>rand</a><R>(_rng: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>R) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">(</a>A, B, C, D<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">)</a> <span class="where fmt-newline">where<br> R: <a class="trait" href="../rand/trait.Rng.html" title="trait rand::Rng">Rng</a>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/rand/rand_impls.rs.html#187-196' title='goto source code'>[src]</a></span></h4>
|
|||
|
</div></span><h3 id='impl-Rand-24' class='impl'><span class='in-band'><code>impl<T> <a class="trait" href="../rand/trait.Rand.html" title="trait rand::Rand">Rand</a> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">[</a>T<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">; 26]</a> <span class="where fmt-newline">where<br> T: <a class="trait" href="../rand/trait.Rand.html" title="trait rand::Rand">Rand</a>, </span></code><a href='#impl-Rand-24' class='anchor'></a></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/rand/rand_impls.rs.html#222-227' title='goto source code'>[src]</a></span></h3>
|
|||
|
<span class='docblock autohide'><div class='impl-items'><h4 id='method.rand-24' class="method"><span id='rand.v-25' class='invisible'><code>fn <a href='#method.rand' class='fnname'>rand</a><R>(_rng: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>R) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">[</a>T<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">; 26]</a> <span class="where fmt-newline">where<br> R: <a class="trait" href="../rand/trait.Rng.html" title="trait rand::Rng">Rng</a>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/rand/rand_impls.rs.html#224-226' title='goto source code'>[src]</a></span></h4>
|
|||
|
</div></span><h3 id='impl-Rand-25' class='impl'><span class='in-band'><code>impl<T> <a class="trait" href="../rand/trait.Rand.html" title="trait rand::Rand">Rand</a> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">[</a>T<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">; 6]</a> <span class="where fmt-newline">where<br> T: <a class="trait" href="../rand/trait.Rand.html" title="trait rand::Rand">Rand</a>, </span></code><a href='#impl-Rand-25' class='anchor'></a></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/rand/rand_impls.rs.html#222-227' title='goto source code'>[src]</a></span></h3>
|
|||
|
<span class='docblock autohide'><div class='impl-items'><h4 id='method.rand-25' class="method"><span id='rand.v-26' class='invisible'><code>fn <a href='#method.rand' class='fnname'>rand</a><R>(_rng: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>R) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">[</a>T<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">; 6]</a> <span class="where fmt-newline">where<br> R: <a class="trait" href="../rand/trait.Rng.html" title="trait rand::Rng">Rng</a>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/rand/rand_impls.rs.html#224-226' title='goto source code'>[src]</a></span></h4>
|
|||
|
</div></span><h3 id='impl-Rand-26' class='impl'><span class='in-band'><code>impl<T> <a class="trait" href="../rand/trait.Rand.html" title="trait rand::Rand">Rand</a> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">[</a>T<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">; 7]</a> <span class="where fmt-newline">where<br> T: <a class="trait" href="../rand/trait.Rand.html" title="trait rand::Rand">Rand</a>, </span></code><a href='#impl-Rand-26' class='anchor'></a></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/rand/rand_impls.rs.html#222-227' title='goto source code'>[src]</a></span></h3>
|
|||
|
<span class='docblock autohide'><div class='impl-items'><h4 id='method.rand-26' class="method"><span id='rand.v-27' class='invisible'><code>fn <a href='#method.rand' class='fnname'>rand</a><R>(_rng: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>R) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">[</a>T<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">; 7]</a> <span class="where fmt-newline">where<br> R: <a class="trait" href="../rand/trait.Rng.html" title="trait rand::Rng">Rng</a>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/rand/rand_impls.rs.html#224-226' title='goto source code'>[src]</a></span></h4>
|
|||
|
</div></span><h3 id='impl-Rand-27' class='impl'><span class='in-band'><code>impl<T> <a class="trait" href="../rand/trait.Rand.html" title="trait rand::Rand">Rand</a> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">[</a>T<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">; 28]</a> <span class="where fmt-newline">where<br> T: <a class="trait" href="../rand/trait.Rand.html" title="trait rand::Rand">Rand</a>, </span></code><a href='#impl-Rand-27' class='anchor'></a></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/rand/rand_impls.rs.html#222-227' title='goto source code'>[src]</a></span></h3>
|
|||
|
<span class='docblock autohide'><div class='impl-items'><h4 id='method.rand-27' class="method"><span id='rand.v-28' class='invisible'><code>fn <a href='#method.rand' class='fnname'>rand</a><R>(_rng: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>R) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">[</a>T<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">; 28]</a> <span class="where fmt-newline">where<br> R: <a class="trait" href="../rand/trait.Rng.html" title="trait rand::Rng">Rng</a>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/rand/rand_impls.rs.html#224-226' title='goto source code'>[src]</a></span></h4>
|
|||
|
</div></span><h3 id='impl-Rand-28' class='impl'><span class='in-band'><code>impl<A, B, C, D, E, F, G, H> <a class="trait" href="../rand/trait.Rand.html" title="trait rand::Rand">Rand</a> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">(</a>A, B, C, D, E, F, G, H<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">)</a> <span class="where fmt-newline">where<br> A: <a class="trait" href="../rand/trait.Rand.html" title="trait rand::Rand">Rand</a>,<br> B: <a class="trait" href="../rand/trait.Rand.html" title="trait rand::Rand">Rand</a>,<br> C: <a class="trait" href="../rand/trait.Rand.html" title="trait rand::Rand">Rand</a>,<br> D: <a class="trait" href="../rand/trait.Rand.html" title="trait rand::Rand">Rand</a>,<br> E: <a class="trait" href="../rand/trait.Rand.html" title="trait rand::Rand">Rand</a>,<br> F: <a class="trait" href="../rand/trait.Rand.html" title="trait rand::Rand">Rand</a>,<br> G: <a class="trait" href="../rand/trait.Rand.html" title="trait rand::Rand">Rand</a>,<br> H: <a class="trait" href="../rand/trait.Rand.html" title="trait rand::Rand">Rand</a>, </span></code><a href='#impl-Rand-28' class='anchor'></a></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/rand/rand_impls.rs.html#182-197' title='goto source code'>[src]</a></span></h3>
|
|||
|
<span class='docblock autohide'><div class='impl-items'><h4 id='method.rand-28' class="method"><span id='rand.v-29' class='invisible'><code>fn <a href='#method.rand' class='fnname'>rand</a><R>(_rng: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>R) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">(</a>A, B, C, D, E, F, G, H<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">)</a> <span class="where fmt-newline">where<br> R: <a class="trait" href="../rand/trait.Rng.html" title="trait rand::Rng">Rng</a>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/rand/rand_impls.rs.html#187-196' title='goto source code'>[src]</a></span></h4>
|
|||
|
</div></span><h3 id='impl-Rand-29' class='impl'><span class='in-band'><code>impl<T> <a class="trait" href="../rand/trait.Rand.html" title="trait rand::Rand">Rand</a> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">[</a>T<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">; 4]</a> <span class="where fmt-newline">where<br> T: <a class="trait" href="../rand/trait.Rand.html" title="trait rand::Rand">Rand</a>, </span></code><a href='#impl-Rand-29' class='anchor'></a></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/rand/rand_impls.rs.html#222-227' title='goto source code'>[src]</a></span></h3>
|
|||
|
<span class='docblock autohide'><div class='impl-items'><h4 id='method.rand-29' class="method"><span id='rand.v-30' class='invisible'><code>fn <a href='#method.rand' class='fnname'>rand</a><R>(_rng: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>R) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">[</a>T<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">; 4]</a> <span class="where fmt-newline">where<br> R: <a class="trait" href="../rand/trait.Rng.html" title="trait rand::Rng">Rng</a>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/rand/rand_impls.rs.html#224-226' title='goto source code'>[src]</a></span></h4>
|
|||
|
</div></span><h3 id='impl-Rand-30' class='impl'><span class='in-band'><code>impl<T> <a class="trait" href="../rand/trait.Rand.html" title="trait rand::Rand">Rand</a> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">[</a>T<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">; 15]</a> <span class="where fmt-newline">where<br> T: <a class="trait" href="../rand/trait.Rand.html" title="trait rand::Rand">Rand</a>, </span></code><a href='#impl-Rand-30' class='anchor'></a></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/rand/rand_impls.rs.html#222-227' title='goto source code'>[src]</a></span></h3>
|
|||
|
<span class='docblock autohide'><div class='impl-items'><h4 id='method.rand-30' class="method"><span id='rand.v-31' class='invisible'><code>fn <a href='#method.rand' class='fnname'>rand</a><R>(_rng: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>R) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">[</a>T<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">; 15]</a> <span class="where fmt-newline">where<br> R: <a class="trait" href="../rand/trait.Rng.html" title="trait rand::Rng">Rng</a>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/rand/rand_impls.rs.html#224-226' title='goto source code'>[src]</a></span></h4>
|
|||
|
</div></span><h3 id='impl-Rand-31' class='impl'><span class='in-band'><code>impl<T> <a class="trait" href="../rand/trait.Rand.html" title="trait rand::Rand">Rand</a> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">[</a>T<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">; 18]</a> <span class="where fmt-newline">where<br> T: <a class="trait" href="../rand/trait.Rand.html" title="trait rand::Rand">Rand</a>, </span></code><a href='#impl-Rand-31' class='anchor'></a></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/rand/rand_impls.rs.html#222-227' title='goto source code'>[src]</a></span></h3>
|
|||
|
<span class='docblock autohide'><div class='impl-items'><h4 id='method.rand-31' class="method"><span id='rand.v-32' class='invisible'><code>fn <a href='#method.rand' class='fnname'>rand</a><R>(_rng: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>R) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">[</a>T<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">; 18]</a> <span class="where fmt-newline">where<br> R: <a class="trait" href="../rand/trait.Rng.html" title="trait rand::Rng">Rng</a>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/rand/rand_impls.rs.html#224-226' title='goto source code'>[src]</a></span></h4>
|
|||
|
</div></span><h3 id='impl-Rand-32' class='impl'><span class='in-band'><code>impl <a class="trait" href="../rand/trait.Rand.html" title="trait rand::Rand">Rand</a> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a></code><a href='#impl-Rand-32' class='anchor'></a></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/rand/rand_impls.rs.html#75-80' title='goto source code'>[src]</a></span></h3>
|
|||
|
<span class='docblock autohide'><div class='impl-items'><h4 id='method.rand-32' class="method"><span id='rand.v-33' class='invisible'><code>fn <a href='#method.rand' class='fnname'>rand</a><R>(rng: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>R) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a> <span class="where fmt-newline">where<br> R: <a class="trait" href="../rand/trait.Rng.html" title="trait rand::Rng">Rng</a>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/rand/rand_impls.rs.html#77-79' title='goto source code'>[src]</a></span></h4>
|
|||
|
</div></span><h3 id='impl-Rand-33' class='impl'><span class='in-band'><code>impl<T> <a class="trait" href="../rand/trait.Rand.html" title="trait rand::Rand">Rand</a> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">[</a>T<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">; 0]</a></code><a href='#impl-Rand-33' class='anchor'></a></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/rand/rand_impls.rs.html#230-232' title='goto source code'>[src]</a></span></h3>
|
|||
|
<span class='docblock autohide'><div class='impl-items'><h4 id='method.rand-33' class="method"><span id='rand.v-34' class='invisible'><code>fn <a href='#method.rand' class='fnname'>rand</a><R>(_rng: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>R) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">[</a>T<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">; 0]</a> <span class="where fmt-newline">where<br> R: <a class="trait" href="../rand/trait.Rng.html" title="trait rand::Rng">Rng</a>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/rand/rand_impls.rs.html#231' title='goto source code'>[src]</a></span></h4>
|
|||
|
</div></span><h3 id='impl-Rand-34' class='impl'><span class='in-band'><code>impl<T> <a class="trait" href="../rand/trait.Rand.html" title="trait rand::Rand">Rand</a> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">[</a>T<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">; 2]</a> <span class="where fmt-newline">where<br> T: <a class="trait" href="../rand/trait.Rand.html" title="trait rand::Rand">Rand</a>, </span></code><a href='#impl-Rand-34' class='anchor'></a></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/rand/rand_impls.rs.html#222-227' title='goto source code'>[src]</a></span></h3>
|
|||
|
<span class='docblock autohide'><div class='impl-items'><h4 id='method.rand-34' class="method"><span id='rand.v-35' class='invisible'><code>fn <a href='#method.rand' class='fnname'>rand</a><R>(_rng: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>R) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">[</a>T<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">; 2]</a> <span class="where fmt-newline">where<br> R: <a class="trait" href="../rand/trait.Rng.html" title="trait rand::Rng">Rng</a>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/rand/rand_impls.rs.html#224-226' title='goto source code'>[src]</a></span></h4>
|
|||
|
</div></span><h3 id='impl-Rand-35' class='impl'><span class='in-band'><code>impl <a class="trait" href="../rand/trait.Rand.html" title="trait rand::Rand">Rand</a> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a></code><a href='#impl-Rand-35' class='anchor'></a></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/rand/rand_impls.rs.html#89-94' title='goto source code'>[src]</a></span></h3>
|
|||
|
<span class='docblock autohide'><div class='impl-items'><h4 id='method.rand-35' class="method"><span id='rand.v-36' class='invisible'><code>fn <a href='#method.rand' class='fnname'>rand</a><R>(rng: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>R) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a> <span class="where fmt-newline">where<br> R: <a class="trait" href="../rand/trait.Rng.html" title="trait rand::Rng">Rng</a>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/rand/rand_impls.rs.html#91-93' title='goto source code'>[src]</a></span></h4>
|
|||
|
</div></span><h3 id='impl-Rand-36' class='impl'><span class='in-band'><code>impl <a class="trait" href="../rand/trait.Rand.html" title="trait rand::Rand">Rand</a> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a></code><a href='#impl-Rand-36' class='anchor'></a></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/rand/rand_impls.rs.html#42-47' title='goto source code'>[src]</a></span></h3>
|
|||
|
<span class='docblock autohide'><div class='impl-items'><h4 id='method.rand-36' class="method"><span id='rand.v-37' class='invisible'><code>fn <a href='#method.rand' class='fnname'>rand</a><R>(rng: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>R) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a> <span class="where fmt-newline">where<br> R: <a class="trait" href="../rand/trait.Rng.html" title="trait rand::Rng">Rng</a>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/rand/rand_impls.rs.html#44-46' title='goto source code'>[src]</a></span></h4>
|
|||
|
</div></span><h3 id='impl-Rand-37' class='impl'><span class='in-band'><code>impl<T> <a class="trait" href="../rand/trait.Rand.html" title="trait rand::Rand">Rand</a> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">[</a>T<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">; 5]</a> <span class="where fmt-newline">where<br> T: <a class="trait" href="../rand/trait.Rand.html" title="trait rand::Rand">Rand</a>, </span></code><a href='#impl-Rand-37' class='anchor'></a></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/rand/rand_impls.rs.html#222-227' title='goto source code'>[src]</a></span></h3>
|
|||
|
<span class='docblock autohide'><div class='impl-items'><h4 id='method.rand-37' class="method"><span id='rand.v-38' class='invisible'><code>fn <a href='#method.rand' class='fnname'>rand</a><R>(_rng: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>R) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">[</a>T<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">; 5]</a> <span class="where fmt-newline">where<br> R: <a class="trait" href="../rand/trait.Rng.html" title="trait rand::Rng">Rng</a>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/rand/rand_impls.rs.html#224-226' title='goto source code'>[src]</a></span></h4>
|
|||
|
</div></span><h3 id='impl-Rand-38' class='impl'><span class='in-band'><code>impl<T> <a class="trait" href="../rand/trait.Rand.html" title="trait rand::Rand">Rand</a> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">[</a>T<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">; 14]</a> <span class="where fmt-newline">where<br> T: <a class="trait" href="../rand/trait.Rand.html" title="trait rand::Rand">Rand</a>, </span></code><a href='#impl-Rand-38' class='anchor'></a></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/rand/rand_impls.rs.html#222-227' title='goto source code'>[src]</a></span></h3>
|
|||
|
<span class='docblock autohide'><div class='impl-items'><h4 id='method.rand-38' class="method"><span id='rand.v-39' class='invisible'><code>fn <a href='#method.rand' class='fnname'>rand</a><R>(_rng: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>R) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">[</a>T<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">; 14]</a> <span class="where fmt-newline">where<br> R: <a class="trait" href="../rand/trait.Rng.html" title="trait rand::Rng">Rng</a>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/rand/rand_impls.rs.html#224-226' title='goto source code'>[src]</a></span></h4>
|
|||
|
</div></span><h3 id='impl-Rand-39' class='impl'><span class='in-band'><code>impl<T> <a class="trait" href="../rand/trait.Rand.html" title="trait rand::Rand">Rand</a> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">[</a>T<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">; 27]</a> <span class="where fmt-newline">where<br> T: <a class="trait" href="../rand/trait.Rand.html" title="trait rand::Rand">Rand</a>, </span></code><a href='#impl-Rand-39' class='anchor'></a></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/rand/rand_impls.rs.html#222-227' title='goto source code'>[src]</a></span></h3>
|
|||
|
<span class='docblock autohide'><div class='impl-items'><h4 id='method.rand-39' class="method"><span id='rand.v-40' class='invisible'><code>fn <a href='#method.rand' class='fnname'>rand</a><R>(_rng: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>R) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">[</a>T<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">; 27]</a> <span class="where fmt-newline">where<br> R: <a class="trait" href="../rand/trait.Rng.html" title="trait rand::Rng">Rng</a>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/rand/rand_impls.rs.html#224-226' title='goto source code'>[src]</a></span></h4>
|
|||
|
</div></span><h3 id='impl-Rand-40' class='impl'><span class='in-band'><code>impl <a class="trait" href="../rand/trait.Rand.html" title="trait rand::Rand">Rand</a> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a></code><a href='#impl-Rand-40' class='anchor'></a></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/rand/rand_impls.rs.html#119-129' title='goto source code'>[src]</a></span></h3>
|
|||
|
<span class='docblock autohide'><div class='impl-items'><h4 id='method.rand-40' class="method"><span id='rand.v-41' class='invisible'><code>fn <a href='#method.rand' class='fnname'>rand</a><R>(rng: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>R) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a> <span class="where fmt-newline">where<br> R: <a class="trait" href="../rand/trait.Rng.html" title="trait rand::Rng">Rng</a>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/rand/rand_impls.rs.html#126-128' title='goto source code'>[src]</a></span></h4>
|
|||
|
<div class='docblock'><p>Generate a floating point number in the half-open
|
|||
|
interval <code>[0,1)</code>.</p>
|
|||
|
<p>See <code>Closed01</code> for the closed interval <code>[0,1]</code>,
|
|||
|
and <code>Open01</code> for the open interval <code>(0,1)</code>.</p>
|
|||
|
</div></div></span><h3 id='impl-Rand-41' class='impl'><span class='in-band'><code>impl<T> <a class="trait" href="../rand/trait.Rand.html" title="trait rand::Rand">Rand</a> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">[</a>T<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">; 20]</a> <span class="where fmt-newline">where<br> T: <a class="trait" href="../rand/trait.Rand.html" title="trait rand::Rand">Rand</a>, </span></code><a href='#impl-Rand-41' class='anchor'></a></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/rand/rand_impls.rs.html#222-227' title='goto source code'>[src]</a></span></h3>
|
|||
|
<span class='docblock autohide'><div class='impl-items'><h4 id='method.rand-41' class="method"><span id='rand.v-42' class='invisible'><code>fn <a href='#method.rand' class='fnname'>rand</a><R>(_rng: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>R) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">[</a>T<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">; 20]</a> <span class="where fmt-newline">where<br> R: <a class="trait" href="../rand/trait.Rng.html" title="trait rand::Rng">Rng</a>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/rand/rand_impls.rs.html#224-226' title='goto source code'>[src]</a></span></h4>
|
|||
|
</div></span><h3 id='impl-Rand-42' class='impl'><span class='in-band'><code>impl<T> <a class="trait" href="../rand/trait.Rand.html" title="trait rand::Rand">Rand</a> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">[</a>T<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">; 23]</a> <span class="where fmt-newline">where<br> T: <a class="trait" href="../rand/trait.Rand.html" title="trait rand::Rand">Rand</a>, </span></code><a href='#impl-Rand-42' class='anchor'></a></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/rand/rand_impls.rs.html#222-227' title='goto source code'>[src]</a></span></h3>
|
|||
|
<span class='docblock autohide'><div class='impl-items'><h4 id='method.rand-42' class="method"><span id='rand.v-43' class='invisible'><code>fn <a href='#method.rand' class='fnname'>rand</a><R>(_rng: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>R) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">[</a>T<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">; 23]</a> <span class="where fmt-newline">where<br> R: <a class="trait" href="../rand/trait.Rng.html" title="trait rand::Rng">Rng</a>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/rand/rand_impls.rs.html#224-226' title='goto source code'>[src]</a></span></h4>
|
|||
|
</div></span><h3 id='impl-Rand-43' class='impl'><span class='in-band'><code>impl<T> <a class="trait" href="../rand/trait.Rand.html" title="trait rand::Rand">Rand</a> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">[</a>T<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">; 12]</a> <span class="where fmt-newline">where<br> T: <a class="trait" href="../rand/trait.Rand.html" title="trait rand::Rand">Rand</a>, </span></code><a href='#impl-Rand-43' class='anchor'></a></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/rand/rand_impls.rs.html#222-227' title='goto source code'>[src]</a></span></h3>
|
|||
|
<span class='docblock autohide'><div class='impl-items'><h4 id='method.rand-43' class="method"><span id='rand.v-44' class='invisible'><code>fn <a href='#method.rand' class='fnname'>rand</a><R>(_rng: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>R) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">[</a>T<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">; 12]</a> <span class="where fmt-newline">where<br> R: <a class="trait" href="../rand/trait.Rng.html" title="trait rand::Rng">Rng</a>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/rand/rand_impls.rs.html#224-226' title='goto source code'>[src]</a></span></h4>
|
|||
|
</div></span><h3 id='impl-Rand-44' class='impl'><span class='in-band'><code>impl<T> <a class="trait" href="../rand/trait.Rand.html" title="trait rand::Rand">Rand</a> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">[</a>T<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">; 19]</a> <span class="where fmt-newline">where<br> T: <a class="trait" href="../rand/trait.Rand.html" title="trait rand::Rand">Rand</a>, </span></code><a href='#impl-Rand-44' class='anchor'></a></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/rand/rand_impls.rs.html#222-227' title='goto source code'>[src]</a></span></h3>
|
|||
|
<span class='docblock autohide'><div class='impl-items'><h4 id='method.rand-44' class="method"><span id='rand.v-45' class='invisible'><code>fn <a href='#method.rand' class='fnname'>rand</a><R>(_rng: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>R) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">[</a>T<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">; 19]</a> <span class="where fmt-newline">where<br> R: <a class="trait" href="../rand/trait.Rng.html" title="trait rand::Rng">Rng</a>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/rand/rand_impls.rs.html#224-226' title='goto source code'>[src]</a></span></h4>
|
|||
|
</div></span><h3 id='impl-Rand-45' class='impl'><span class='in-band'><code>impl<T> <a class="trait" href="../rand/trait.Rand.html" title="trait rand::Rand">Rand</a> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">[</a>T<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">; 17]</a> <span class="where fmt-newline">where<br> T: <a class="trait" href="../rand/trait.Rand.html" title="trait rand::Rand">Rand</a>, </span></code><a href='#impl-Rand-45' class='anchor'></a></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/rand/rand_impls.rs.html#222-227' title='goto source code'>[src]</a></span></h3>
|
|||
|
<span class='docblock autohide'><div class='impl-items'><h4 id='method.rand-45' class="method"><span id='rand.v-46' class='invisible'><code>fn <a href='#method.rand' class='fnname'>rand</a><R>(_rng: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>R) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">[</a>T<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">; 17]</a> <span class="where fmt-newline">where<br> R: <a class="trait" href="../rand/trait.Rng.html" title="trait rand::Rng">Rng</a>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/rand/rand_impls.rs.html#224-226' title='goto source code'>[src]</a></span></h4>
|
|||
|
</div></span><h3 id='impl-Rand-46' class='impl'><span class='in-band'><code>impl <a class="trait" href="../rand/trait.Rand.html" title="trait rand::Rand">Rand</a> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.isize.html">isize</a></code><a href='#impl-Rand-46' class='anchor'></a></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/rand/rand_impls.rs.html#17-26' title='goto source code'>[src]</a></span></h3>
|
|||
|
<span class='docblock autohide'><div class='impl-items'><h4 id='method.rand-46' class="method"><span id='rand.v-47' class='invisible'><code>fn <a href='#method.rand' class='fnname'>rand</a><R>(rng: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>R) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.isize.html">isize</a> <span class="where fmt-newline">where<br> R: <a class="trait" href="../rand/trait.Rng.html" title="trait rand::Rng">Rng</a>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/rand/rand_impls.rs.html#19-25' title='goto source code'>[src]</a></span></h4>
|
|||
|
</div></span><h3 id='impl-Rand-47' class='impl'><span class='in-band'><code>impl <a class="trait" href="../rand/trait.Rand.html" title="trait rand::Rand">Rand</a> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i8.html">i8</a></code><a href='#impl-Rand-47' class='anchor'></a></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/rand/rand_impls.rs.html#28-33' title='goto source code'>[src]</a></span></h3>
|
|||
|
<span class='docblock autohide'><div class='impl-items'><h4 id='method.rand-47' class="method"><span id='rand.v-48' class='invisible'><code>fn <a href='#method.rand' class='fnname'>rand</a><R>(rng: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>R) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i8.html">i8</a> <span class="where fmt-newline">where<br> R: <a class="trait" href="../rand/trait.Rng.html" title="trait rand::Rng">Rng</a>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/rand/rand_impls.rs.html#30-32' title='goto source code'>[src]</a></span></h4>
|
|||
|
</div></span><h3 id='impl-Rand-48' class='impl'><span class='in-band'><code>impl <a class="trait" href="../rand/trait.Rand.html" title="trait rand::Rand">Rand</a> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.char.html">char</a></code><a href='#impl-Rand-48' class='anchor'></a></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/rand/rand_impls.rs.html#154-169' title='goto source code'>[src]</a></span></h3>
|
|||
|
<span class='docblock autohide'><div class='impl-items'><h4 id='method.rand-48' class="method"><span id='rand.v-49' class='invisible'><code>fn <a href='#method.rand' class='fnname'>rand</a><R>(rng: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>R) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.char.html">char</a> <span class="where fmt-newline">where<br> R: <a class="trait" href="../rand/trait.Rng.html" title="trait rand::Rng">Rng</a>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/rand/rand_impls.rs.html#156-168' title='goto source code'>[src]</a></span></h4>
|
|||
|
</div></span><h3 id='impl-Rand-49' class='impl'><span class='in-band'><code>impl<A, B, C, D, E, F, G, H, I, J, K, L> <a class="trait" href="../rand/trait.Rand.html" title="trait rand::Rand">Rand</a> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">(</a>A, B, C, D, E, F, G, H, I, J, K, L<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">)</a> <span class="where fmt-newline">where<br> A: <a class="trait" href="../rand/trait.Rand.html" title="trait rand::Rand">Rand</a>,<br> B: <a class="trait" href="../rand/trait.Rand.html" title="trait rand::Rand">Rand</a>,<br> C: <a class="trait" href="../rand/trait.Rand.html" title="trait rand::Rand">Rand</a>,<br> D: <a class="trait" href="../rand/trait.Rand.html" title="trait rand::Rand">Rand</a>,<br> E: <a class="trait" href="../rand/trait.Rand.html" title="trait rand::Rand">Rand</a>,<br> F: <a class="trait" href="../rand/trait.Rand.html" title="trait rand::Rand">Rand</a>,<br> G: <a class="trait" href="../rand/trait.Rand.html" title="trait rand::Rand">Rand</a>,<br> H: <a class="trait" href="../rand/trait.Rand.html" title="trait rand::Rand">Rand</a>,<br> I: <a class="trait" href="../rand/trait.Rand.html" title="trait rand::Rand">Rand</a>,<br> J: <a class="trait" href="../rand/trait.Rand.html" title="trait rand::Rand">Rand</a>,<br> K: <a class="trait" href="../rand/trait.Rand.html" title="trait rand::Rand">Rand</a>,<br> L: <a class="trait" href="../rand/trait.Rand.html" title="trait rand::Rand">Rand</a>, </span></code><a href='#impl-Rand-49' class='anchor'></a></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/rand/rand_impls.rs.html#182-197' title='goto source code'>[src]</a></span></h3>
|
|||
|
<span class='docblock autohide'><div class='impl-items'><h4 id='method.rand-49' class="method"><span id='rand.v-50' class='invisible'><code>fn <a href='#method.rand' class='fnname'>rand</a><R>(_rng: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>R) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">(</a>A, B, C, D, E, F, G, H, I, J, K, L<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">)</a> <span class="where fmt-newline">where<br> R: <a class="trait" href="../rand/trait.Rng.html" title="trait rand::Rng">Rng</a>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/rand/rand_impls.rs.html#187-196' title='goto source code'>[src]</a></span></h4>
|
|||
|
</div></span><h3 id='impl-Rand-50' class='impl'><span class='in-band'><code>impl<T> <a class="trait" href="../rand/trait.Rand.html" title="trait rand::Rand">Rand</a> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">[</a>T<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">; 11]</a> <span class="where fmt-newline">where<br> T: <a class="trait" href="../rand/trait.Rand.html" title="trait rand::Rand">Rand</a>, </span></code><a href='#impl-Rand-50' class='anchor'></a></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/rand/rand_impls.rs.html#222-227' title='goto source code'>[src]</a></span></h3>
|
|||
|
<span class='docblock autohide'><div class='impl-items'><h4 id='method.rand-50' class="method"><span id='rand.v-51' class='invisible'><code>fn <a href='#method.rand' class='fnname'>rand</a><R>(_rng: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>R) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">[</a>T<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">; 11]</a> <span class="where fmt-newline">where<br> R: <a class="trait" href="../rand/trait.Rng.html" title="trait rand::Rng">Rng</a>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/rand/rand_impls.rs.html#224-226' title='goto source code'>[src]</a></span></h4>
|
|||
|
</div></span><h3 id='impl-Rand-51' class='impl'><span class='in-band'><code>impl <a class="trait" href="../rand/trait.Rand.html" title="trait rand::Rand">Rand</a> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a></code><a href='#impl-Rand-51' class='anchor'></a></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/rand/rand_impls.rs.html#96-101' title='goto source code'>[src]</a></span></h3>
|
|||
|
<span class='docblock autohide'><div class='impl-items'><h4 id='method.rand-51' class="method"><span id='rand.v-52' class='invisible'><code>fn <a href='#method.rand' class='fnname'>rand</a><R>(rng: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>R) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a> <span class="where fmt-newline">where<br> R: <a class="trait" href="../rand/trait.Rng.html" title="trait rand::Rng">Rng</a>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/rand/rand_impls.rs.html#98-100' title='goto source code'>[src]</a></span></h4>
|
|||
|
</div></span><h3 id='impl-Rand-52' class='impl'><span class='in-band'><code>impl<T> <a class="trait" href="../rand/trait.Rand.html" title="trait rand::Rand">Rand</a> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">[</a>T<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">; 3]</a> <span class="where fmt-newline">where<br> T: <a class="trait" href="../rand/trait.Rand.html" title="trait rand::Rand">Rand</a>, </span></code><a href='#impl-Rand-52' class='anchor'></a></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/rand/rand_impls.rs.html#222-227' title='goto source code'>[src]</a></span></h3>
|
|||
|
<span class='docblock autohide'><div class='impl-items'><h4 id='method.rand-52' class="method"><span id='rand.v-53' class='invisible'><code>fn <a href='#method.rand' class='fnname'>rand</a><R>(_rng: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>R) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">[</a>T<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">; 3]</a> <span class="where fmt-newline">where<br> R: <a class="trait" href="../rand/trait.Rng.html" title="trait rand::Rng">Rng</a>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/rand/rand_impls.rs.html#224-226' title='goto source code'>[src]</a></span></h4>
|
|||
|
</div></span><h3 id='impl-Rand-53' class='impl'><span class='in-band'><code>impl<T> <a class="trait" href="../rand/trait.Rand.html" title="trait rand::Rand">Rand</a> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">[</a>T<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">; 24]</a> <span class="where fmt-newline">where<br> T: <a class="trait" href="../rand/trait.Rand.html" title="trait rand::Rand">Rand</a>, </span></code><a href='#impl-Rand-53' class='anchor'></a></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/rand/rand_impls.rs.html#222-227' title='goto source code'>[src]</a></span></h3>
|
|||
|
<span class='docblock autohide'><div class='impl-items'><h4 id='method.rand-53' class="method"><span id='rand.v-54' class='invisible'><code>fn <a href='#method.rand' class='fnname'>rand</a><R>(_rng: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>R) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">[</a>T<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">; 24]</a> <span class="where fmt-newline">where<br> R: <a class="trait" href="../rand/trait.Rng.html" title="trait rand::Rng">Rng</a>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/rand/rand_impls.rs.html#224-226' title='goto source code'>[src]</a></span></h4>
|
|||
|
</div></span><h3 id='impl-Rand-54' class='impl'><span class='in-band'><code>impl<T> <a class="trait" href="../rand/trait.Rand.html" title="trait rand::Rand">Rand</a> for <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><T> <span class="where fmt-newline">where<br> T: <a class="trait" href="../rand/trait.Rand.html" title="trait rand::Rand">Rand</a>, </span></code><a href='#impl-Rand-54' class='anchor'></a></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/rand/rand_impls.rs.html#238-247' title='goto source code'>[src]</a></span></h3>
|
|||
|
<span class='docblock autohide'><div class='impl-items'><h4 id='method.rand-54' class="method"><span id='rand.v-55' class='invisible'><code>fn <a href='#method.rand' class='fnname'>rand</a><R>(rng: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>R) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><T> <span class="where fmt-newline">where<br> R: <a class="trait" href="../rand/trait.Rng.html" title="trait rand::Rng">Rng</a>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/rand/rand_impls.rs.html#240-246' title='goto source code'>[src]</a></span></h4>
|
|||
|
</div></span><h3 id='impl-Rand-55' class='impl'><span class='in-band'><code>impl<T> <a class="trait" href="../rand/trait.Rand.html" title="trait rand::Rand">Rand</a> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">[</a>T<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">; 32]</a> <span class="where fmt-newline">where<br> T: <a class="trait" href="../rand/trait.Rand.html" title="trait rand::Rand">Rand</a>, </span></code><a href='#impl-Rand-55' class='anchor'></a></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/rand/rand_impls.rs.html#222-227' title='goto source code'>[src]</a></span></h3>
|
|||
|
<span class='docblock autohide'><div class='impl-items'><h4 id='method.rand-55' class="method"><span id='rand.v-56' class='invisible'><code>fn <a href='#method.rand' class='fnname'>rand</a><R>(_rng: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>R) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">[</a>T<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">; 32]</a> <span class="where fmt-newline">where<br> R: <a class="trait" href="../rand/trait.Rng.html" title="trait rand::Rng">Rng</a>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/rand/rand_impls.rs.html#224-226' title='goto source code'>[src]</a></span></h4>
|
|||
|
</div></span><h3 id='impl-Rand-56' class='impl'><span class='in-band'><code>impl <a class="trait" href="../rand/trait.Rand.html" title="trait rand::Rand">Rand</a> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u16.html">u16</a></code><a href='#impl-Rand-56' class='anchor'></a></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/rand/rand_impls.rs.html#82-87' title='goto source code'>[src]</a></span></h3>
|
|||
|
<span class='docblock autohide'><div class='impl-items'><h4 id='method.rand-56' class="method"><span id='rand.v-57' class='invisible'><code>fn <a href='#method.rand' class='fnname'>rand</a><R>(rng: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>R) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u16.html">u16</a> <span class="where fmt-newline">where<br> R: <a class="trait" href="../rand/trait.Rng.html" title="trait rand::Rng">Rng</a>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/rand/rand_impls.rs.html#84-86' title='goto source code'>[src]</a></span></h4>
|
|||
|
</div></span><h3 id='impl-Rand-57' class='impl'><span class='in-band'><code>impl <a class="trait" href="../rand/trait.Rand.html" title="trait rand::Rand">Rand</a> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i16.html">i16</a></code><a href='#impl-Rand-57' class='anchor'></a></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/rand/rand_impls.rs.html#35-40' title='goto source code'>[src]</a></span></h3>
|
|||
|
<span class='docblock autohide'><div class='impl-items'><h4 id='method.rand-57' class="method"><span id='rand.v-58' class='invisible'><code>fn <a href='#method.rand' class='fnname'>rand</a><R>(rng: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>R) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i16.html">i16</a> <span class="where fmt-newline">where<br> R: <a class="trait" href="../rand/trait.Rng.html" title="trait rand::Rng">Rng</a>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/rand/rand_impls.rs.html#37-39' title='goto source code'>[src]</a></span></h4>
|
|||
|
</div></span><h3 id='impl-Rand-58' class='impl'><span class='in-band'><code>impl <a class="trait" href="../rand/trait.Rand.html" title="trait rand::Rand">Rand</a> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a></code><a href='#impl-Rand-58' class='anchor'></a></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/rand/rand_impls.rs.html#119-129' title='goto source code'>[src]</a></span></h3>
|
|||
|
<span class='docblock autohide'><div class='impl-items'><h4 id='method.rand-58' class="method"><span id='rand.v-59' class='invisible'><code>fn <a href='#method.rand' class='fnname'>rand</a><R>(rng: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>R) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a> <span class="where fmt-newline">where<br> R: <a class="trait" href="../rand/trait.Rng.html" title="trait rand::Rng">Rng</a>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/rand/rand_impls.rs.html#126-128' title='goto source code'>[src]</a></span></h4>
|
|||
|
<div class='docblock'><p>Generate a floating point number in the half-open
|
|||
|
interval <code>[0,1)</code>.</p>
|
|||
|
<p>See <code>Closed01</code> for the closed interval <code>[0,1]</code>,
|
|||
|
and <code>Open01</code> for the open interval <code>(0,1)</code>.</p>
|
|||
|
</div></div></span><h3 id='impl-Rand-59' class='impl'><span class='in-band'><code>impl<A, B, C, D, E, F, G, H, I, J> <a class="trait" href="../rand/trait.Rand.html" title="trait rand::Rand">Rand</a> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">(</a>A, B, C, D, E, F, G, H, I, J<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">)</a> <span class="where fmt-newline">where<br> A: <a class="trait" href="../rand/trait.Rand.html" title="trait rand::Rand">Rand</a>,<br> B: <a class="trait" href="../rand/trait.Rand.html" title="trait rand::Rand">Rand</a>,<br> C: <a class="trait" href="../rand/trait.Rand.html" title="trait rand::Rand">Rand</a>,<br> D: <a class="trait" href="../rand/trait.Rand.html" title="trait rand::Rand">Rand</a>,<br> E: <a class="trait" href="../rand/trait.Rand.html" title="trait rand::Rand">Rand</a>,<br> F: <a class="trait" href="../rand/trait.Rand.html" title="trait rand::Rand">Rand</a>,<br> G: <a class="trait" href="../rand/trait.Rand.html" title="trait rand::Rand">Rand</a>,<br> H: <a class="trait" href="../rand/trait.Rand.html" title="trait rand::Rand">Rand</a>,<br> I: <a class="trait" href="../rand/trait.Rand.html" title="trait rand::Rand">Rand</a>,<br> J: <a class="trait" href="../rand/trait.Rand.html" title="trait rand::Rand">Rand</a>, </span></code><a href='#impl-Rand-59' class='anchor'></a></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/rand/rand_impls.rs.html#182-197' title='goto source code'>[src]</a></span></h3>
|
|||
|
<span class='docblock autohide'><div class='impl-items'><h4 id='method.rand-59' class="method"><span id='rand.v-60' class='invisible'><code>fn <a href='#method.rand' class='fnname'>rand</a><R>(_rng: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>R) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">(</a>A, B, C, D, E, F, G, H, I, J<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">)</a> <span class="where fmt-newline">where<br> R: <a class="trait" href="../rand/trait.Rng.html" title="trait rand::Rng">Rng</a>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/rand/rand_impls.rs.html#187-196' title='goto source code'>[src]</a></span></h4>
|
|||
|
</div></span><h3 id='impl-Rand-60' class='impl'><span class='in-band'><code>impl<T> <a class="trait" href="../rand/trait.Rand.html" title="trait rand::Rand">Rand</a> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">[</a>T<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">; 30]</a> <span class="where fmt-newline">where<br> T: <a class="trait" href="../rand/trait.Rand.html" title="trait rand::Rand">Rand</a>, </span></code><a href='#impl-Rand-60' class='anchor'></a></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/rand/rand_impls.rs.html#222-227' title='goto source code'>[src]</a></span></h3>
|
|||
|
<span class='docblock autohide'><div class='impl-items'><h4 id='method.rand-60' class="method"><span id='rand.v-61' class='invisible'><code>fn <a href='#method.rand' class='fnname'>rand</a><R>(_rng: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>R) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">[</a>T<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">; 30]</a> <span class="where fmt-newline">where<br> R: <a class="trait" href="../rand/trait.Rng.html" title="trait rand::Rng">Rng</a>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/rand/rand_impls.rs.html#224-226' title='goto source code'>[src]</a></span></h4>
|
|||
|
</div></span>
|
|||
|
<h2 id='implementors' class='small-section-header'>
|
|||
|
Implementors<a href='#implementors' class='anchor'></a>
|
|||
|
</h2>
|
|||
|
<ul class='item-list' id='implementors-list'>
|
|||
|
<li><div class='out-of-band'><a class='srclink' href='../src/rand/rand_impls.rs.html#130-139' title='goto source code'>[src]</a></div><code>impl Rand for <a class="struct" href="../rand/struct.Open01.html" title="struct rand::Open01">Open01</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a>></code></li>
|
|||
|
<li><div class='out-of-band'><a class='srclink' href='../src/rand/rand_impls.rs.html#130-139' title='goto source code'>[src]</a></div><code>impl Rand for <a class="struct" href="../rand/struct.Open01.html" title="struct rand::Open01">Open01</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a>></code></li>
|
|||
|
<li><div class='out-of-band'><a class='srclink' href='../src/rand/rand_impls.rs.html#140-147' title='goto source code'>[src]</a></div><code>impl Rand for <a class="struct" href="../rand/struct.Closed01.html" title="struct rand::Closed01">Closed01</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a>></code></li>
|
|||
|
<li><div class='out-of-band'><a class='srclink' href='../src/rand/prng/isaac.rs.html#248-265' title='goto source code'>[src]</a></div><code>impl Rand for <a class="struct" href="../rand/isaac/struct.IsaacRng.html" title="struct rand::isaac::IsaacRng">IsaacRng</a></code></li>
|
|||
|
<li><div class='out-of-band'><a class='srclink' href='../src/rand/distributions/exponential.rs.html#41-58' title='goto source code'>[src]</a></div><code>impl Rand for <a class="struct" href="../rand/distributions/exponential/struct.Exp1.html" title="struct rand::distributions::exponential::Exp1">Exp1</a></code></li>
|
|||
|
<li><div class='out-of-band'><a class='srclink' href='../src/rand/prng/xorshift.rs.html#92-101' title='goto source code'>[src]</a></div><code>impl Rand for <a class="struct" href="../rand/struct.XorShiftRng.html" title="struct rand::XorShiftRng">XorShiftRng</a></code></li>
|
|||
|
<li><div class='out-of-band'><a class='srclink' href='../src/rand/prng/chacha.rs.html#224-232' title='goto source code'>[src]</a></div><code>impl Rand for <a class="struct" href="../rand/chacha/struct.ChaChaRng.html" title="struct rand::chacha::ChaChaRng">ChaChaRng</a></code></li>
|
|||
|
<li><div class='out-of-band'><a class='srclink' href='../src/rand/rand_impls.rs.html#140-147' title='goto source code'>[src]</a></div><code>impl Rand for <a class="struct" href="../rand/struct.Closed01.html" title="struct rand::Closed01">Closed01</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a>></code></li>
|
|||
|
<li><div class='out-of-band'><a class='srclink' href='../src/rand/distributions/normal.rs.html#39-74' title='goto source code'>[src]</a></div><code>impl Rand for <a class="struct" href="../rand/distributions/normal/struct.StandardNormal.html" title="struct rand::distributions::normal::StandardNormal">StandardNormal</a></code></li>
|
|||
|
<li><div class='out-of-band'><a class='srclink' href='../src/rand/prng/isaac64.rs.html#246-263' title='goto source code'>[src]</a></div><code>impl Rand for <a class="struct" href="../rand/isaac/struct.Isaac64Rng.html" title="struct rand::isaac::Isaac64Rng">Isaac64Rng</a></code></li>
|
|||
|
</ul><script type="text/javascript" async
|
|||
|
src="../implementors/rand/trait.Rand.js">
|
|||
|
</script></section>
|
|||
|
<section id='search' class="content hidden"></section>
|
|||
|
|
|||
|
<section class="footer"></section>
|
|||
|
|
|||
|
<aside id="help" class="hidden">
|
|||
|
<div>
|
|||
|
<h1 class="hidden">Help</h1>
|
|||
|
|
|||
|
<div class="shortcuts">
|
|||
|
<h2>Keyboard Shortcuts</h2>
|
|||
|
|
|||
|
<dl>
|
|||
|
<dt><kbd>?</kbd></dt>
|
|||
|
<dd>Show this help dialog</dd>
|
|||
|
<dt><kbd>S</kbd></dt>
|
|||
|
<dd>Focus the search field</dd>
|
|||
|
<dt><kbd>↑</kbd></dt>
|
|||
|
<dd>Move up in search results</dd>
|
|||
|
<dt><kbd>↓</kbd></dt>
|
|||
|
<dd>Move down in search results</dd>
|
|||
|
<dt><kbd>↹</kbd></dt>
|
|||
|
<dd>Switch tab</dd>
|
|||
|
<dt><kbd>⏎</kbd></dt>
|
|||
|
<dd>Go to active search result</dd>
|
|||
|
<dt><kbd>+</kbd></dt>
|
|||
|
<dd>Expand all sections</dd>
|
|||
|
<dt><kbd>-</kbd></dt>
|
|||
|
<dd>Collapse all sections</dd>
|
|||
|
</dl>
|
|||
|
</div>
|
|||
|
|
|||
|
<div class="infos">
|
|||
|
<h2>Search Tricks</h2>
|
|||
|
|
|||
|
<p>
|
|||
|
Prefix searches with a type followed by a colon (e.g.
|
|||
|
<code>fn:</code>) to restrict the search to a given type.
|
|||
|
</p>
|
|||
|
|
|||
|
<p>
|
|||
|
Accepted types are: <code>fn</code>, <code>mod</code>,
|
|||
|
<code>struct</code>, <code>enum</code>,
|
|||
|
<code>trait</code>, <code>type</code>, <code>macro</code>,
|
|||
|
and <code>const</code>.
|
|||
|
</p>
|
|||
|
|
|||
|
<p>
|
|||
|
Search functions by type signature (e.g.
|
|||
|
<code>vec -> usize</code> or <code>* -> vec</code>)
|
|||
|
</p>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
</aside>
|
|||
|
|
|||
|
|
|||
|
|
|||
|
<script>
|
|||
|
window.rootPath = "../";
|
|||
|
window.currentCrate = "rand";
|
|||
|
</script>
|
|||
|
<script src="../main.js"></script>
|
|||
|
<script defer src="../search-index.js"></script>
|
|||
|
</body>
|
|||
|
</html>
|