You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Trac3r-rust/doc/ordered_float/struct.NotNan.html

156 lines
123 KiB

5 years ago
<!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 `NotNan` struct in crate `ordered_float`."><meta name="keywords" content="rust, rustlang, rust-lang, NotNan"><title>ordered_float::NotNan - 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="../light.css" id="themeStyle"><script src="../storage.js"></script><noscript><link rel="stylesheet" href="../noscript.css"></noscript><link rel="shortcut icon" href="../favicon.ico"><style type="text/css">#crate-search{background-image:url("../down-arrow.svg");}</style></head><body class="rustdoc struct"><!--[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">&#9776;</div><a href='../ordered_float/index.html'><div class='logo-container'><img src='../rust-logo.png' alt='logo'></div></a><p class='location'>Struct NotNan</p><div class="sidebar-elems"><div class="block items"><a class="sidebar-title" href="#methods">Methods</a><div class="sidebar-links"><a href="#method.into_inner">into_inner</a><a href="#method.new">new</a><a href="#method.unchecked_new">unchecked_new</a></div><a class="sidebar-title" href="#implementations">Trait Implementations</a><div class="sidebar-links"><a href="#impl-Add%3CNotNan%3CT%3E%3E">Add&lt;NotNan&lt;T&gt;&gt;</a><a href="#impl-Add%3CT%3E">Add&lt;T&gt;</a><a href="#impl-AddAssign%3CNotNan%3CT%3E%3E">AddAssign&lt;NotNan&lt;T&gt;&gt;</a><a href="#impl-AddAssign%3CT%3E">AddAssign&lt;T&gt;</a><a href="#impl-AsRef%3CT%3E">AsRef&lt;T&gt;</a><a href="#impl-Bounded">Bounded</a><a href="#impl-Clone">Clone</a><a href="#impl-Copy">Copy</a><a href="#impl-Debug">Debug</a><a href="#impl-Default">Default</a><a href="#impl-Deref">Deref</a><a href="#impl-Display">Display</a><a href="#impl-Div%3CNotNan%3CT%3E%3E">Div&lt;NotNan&lt;T&gt;&gt;</a><a href="#impl-Div%3CT%3E">Div&lt;T&gt;</a><a href="#impl-DivAssign%3CNotNan%3CT%3E%3E">DivAssign&lt;NotNan&lt;T&gt;&gt;</a><a href="#impl-DivAssign%3CT%3E">DivAssign&lt;T&gt;</a><a href="#impl-Eq">Eq</a><a href="#impl-From%3CNotNan%3Cf32%3E%3E">From&lt;NotNan&lt;f32&gt;&gt;</a><a href="#impl-From%3CNotNan%3Cf64%3E%3E">From&lt;NotNan&lt;f64&gt;&gt;</a><a href="#impl-From%3CT%3E">From&lt;T&gt;</a><a href="#impl-FromPrimitive">FromPrimitive</a><a href="#impl-FromStr">FromStr</a><a href="#impl-Hash">Hash</a><a href="#impl-Mul%3CNotNan%3CT%3E%3E">Mul&lt;NotNan&lt;T&gt;&gt;</a><a href="#impl-Mul%3CT%3E">Mul&lt;T&gt;</a><a href="#impl-MulAssign%3CNotNan%3CT%3E%3E">MulAssign&lt;NotNan&lt;T&gt;&gt;</a><a href="#impl-MulAssign%3CT%3E">MulAssign&lt;T&gt;</a><a href="#impl-Neg">Neg</a><a href="#impl-Num">Num</a><a href="#impl-NumCast">NumCast</a><a href="#impl-One">One</a><a href="#impl-Ord">Ord</a><a href="#impl-PartialEq%3CNotNan%3CT%3E%3E">PartialEq&lt;NotNan&lt;T&gt;&gt;</a><a href="#impl-PartialOrd%3CNotNan%3CT%3E%3E">PartialOrd&lt;NotNan&lt;T&gt;&gt;</a><a href="#impl-Rem%3CNotNan%3CT%3E%3E">Rem&lt;NotNan&lt;T&gt;&gt;</a><a href="#impl-Rem%3CT%3E">Rem&lt;T&gt;</a><a href="#impl-RemAssign%3CNotNan%3CT%3E%3E">RemAssign&lt;NotNan&lt;T&gt;&gt;</a><a href="#impl-RemAssign%3CT%3E">RemAssign&lt;T&gt;</a><a href="#impl-Signed">Signed</a><a href="#impl-Sub%3CNotNan%3CT%3E%3E">Sub&lt;NotNan&lt;T&gt;&gt;</a><a href="#impl-Sub%3CT%3E">Sub&lt;T&gt;</a><a href="#impl-SubAssign%3CNotNan%3CT%3E%3E">SubAssign&lt;NotNan&lt;T&gt;&gt;</a><a href="#impl-SubAssign%3CT%3E">SubAssign&lt;T&gt;</a><a href="#impl-ToPrimitive">ToPrimitive</a><a href="#impl-Zero">Zero</a></div><a class="sidebar-title" href="#synthetic-implementations">Auto Trait Implementations</a><div class="sidebar-links"><a href="#impl-RefUnwindSafe">RefUnwindSafe</a><a href="#impl-Send">Send</
</span>pub struct NotNan&lt;T:&nbsp;<a class="trait" href="../num_traits/float/trait.Float.html" title="trait num_traits::float::Float">Float</a>&gt;(_);</pre></div><div class='docblock'><p>A wrapper around Floats providing an implementation of Ord and Hash.</p>
<p>A NaN value cannot be stored in this type.</p>
</div><h2 id='methods' class='small-section-header'>Methods<a href='#methods' class='anchor'></a></h2><h3 id='impl' class='impl'><code class='in-band'>impl&lt;T:&nbsp;<a class="trait" href="../num_traits/float/trait.Float.html" title="trait num_traits::float::Float">Float</a>&gt; <a class="struct" href="../ordered_float/struct.NotNan.html" title="struct ordered_float::NotNan">NotNan</a>&lt;T&gt;</code><a href='#impl' class='anchor'></a><a class='srclink' href='../src/ordered_float/lib.rs.html#196-219' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.new' class="method"><code id='new.v'>pub fn <a href='#method.new' class='fnname'>new</a>(val: T) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Self, <a class="struct" href="../ordered_float/struct.FloatIsNan.html" title="struct ordered_float::FloatIsNan">FloatIsNan</a>&gt;</code><a class='srclink' href='../src/ordered_float/lib.rs.html#200-205' title='goto source code'>[src]</a></h4><div class='docblock'><p>Create a NotNan value.</p>
<p>Returns Err if val is NaN</p>
</div><h4 id='method.unchecked_new' class="method"><code id='unchecked_new.v'>pub unsafe fn <a href='#method.unchecked_new' class='fnname'>unchecked_new</a>(val: T) -&gt; Self</code><a class='srclink' href='../src/ordered_float/lib.rs.html#210-213' title='goto source code'>[src]</a></h4><div class='docblock'><p>Create a NotNan value from a value that is guaranteed to not be NaN</p>
<p>Behaviour is undefined if <code>val</code> is NaN</p>
</div><h4 id='method.into_inner' class="method"><code id='into_inner.v'>pub fn <a href='#method.into_inner' class='fnname'>into_inner</a>(self) -&gt; T</code><a class='srclink' href='../src/ordered_float/lib.rs.html#216-218' title='goto source code'>[src]</a></h4><div class='docblock'><p>Get the value out.</p>
</div></div><h2 id='implementations' class='small-section-header'>Trait Implementations<a href='#implementations' class='anchor'></a></h2><div id='implementations-list'><h3 id='impl-From%3CNotNan%3Cf32%3E%3E' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;<a class="struct" href="../ordered_float/struct.NotNan.html" title="struct ordered_float::NotNan">NotNan</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a>&gt;&gt; for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a></code><a href='#impl-From%3CNotNan%3Cf32%3E%3E' class='anchor'></a><a class='srclink' href='../src/ordered_float/lib.rs.html#248-252' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.from' class="method hidden"><code id='from.v'>fn <a href='https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from' class='fnname'>from</a>(value: <a class="struct" href="../ordered_float/struct.NotNan.html" title="struct ordered_float::NotNan">NotNan</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a>&gt;) -&gt; Self</code><a class='srclink' href='../src/ordered_float/lib.rs.html#249-251' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p>
</div></div><h3 id='impl-From%3CNotNan%3Cf64%3E%3E' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;<a class="struct" href="../ordered_float/struct.NotNan.html" title="struct ordered_float::NotNan">NotNan</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a>&gt;&gt; for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a></code><a href='#impl-From%3CNotNan%3Cf64%3E%3E' class='anchor'></a><a class='srclink' href='../src/ordered_float/lib.rs.html#254-258' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.from-1' class="method hidden"><code id='from.v-1'>fn <a href='https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from' class='fnname'>from</a>(value: <a class="struct" href="../ordered_float/struct.NotNan.html" title="struct ordered_float::NotNan">NotNan</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a>&gt;) -&gt; Self</code><a class='srclink' href='../src/ordered_float/lib.rs.html#255-257' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p>
</div></div><h3 id='impl-From%3CT%3E' class='impl'><code class='in-band'>impl&lt;T:&nbsp;<a class="trait" href="../num_traits/float/trait.Float.html" title="trait num_traits::float::Float">Float</a>&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;T&gt; for <a class="struct" href="../ordered_float/struct.NotNan.html" title="struct ordered_float::NotNan">NotNan</a>&lt;T&gt;</code><a href='#impl-From%3CT%3E' class='anchor'></a><a class='srclink' href='../src/ordered_float/lib.rs.html#263-267' title='goto source code'>[src]</a></h3><div class='docblock'><p>Creates a NotNan value from a Float.</p>
<p>Panics if the provided value is NaN or the computation results in NaN</p>
</div><div class='impl-items'><h4 id='method.from-2' class="method hidden"><code id='from.v-2'>fn <a href='https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from' class='fnname'>from</a>(v: T) -&gt; Self</code><a class='srclink' href='../src/ordered_float/lib.rs.html#264-266' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p>
</div></div><h3 id='impl-PartialEq%3CNotNan%3CT%3E%3E' class='impl'><code class='in-band'>impl&lt;T:&nbsp;<a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a> + <a class="trait" href="../num_traits/float/trait.Float.html" title="trait num_traits::float::Float">Float</a>&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a>&lt;<a class="struct" href="../ordered_float/struct.NotNan.html" title="struct ordered_float::NotNan">NotNan</a>&lt;T&gt;&gt; for <a class="struct" href="../ordered_float/struct.NotNan.html" title="struct ordered_float::NotNan">NotNan</a>&lt;T&gt;</code><a href='#impl-PartialEq%3CNotNan%3CT%3E%3E' class='anchor'></a><a class='srclink' href='../src/ordered_float/lib.rs.html#192' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.eq' class="method hidden"><code id='eq.v'>fn <a href='https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq' class='fnname'>eq</a>(&amp;self, other: &amp;<a class="struct" href="../ordered_float/struct.NotNan.html" title="struct ordered_float::NotNan">NotNan</a>&lt;T&gt;) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code><a class='srclink' href='../src/ordered_float/lib.rs.html#192' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used by <code>==</code>. <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq">Read more</a></p>
</div><h4 id='method.ne' class="method hidden"><code id='ne.v'>fn <a href='https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#method.ne' class='fnname'>ne</a>(&amp;self, other: &amp;<a class="struct" href="../ordered_float/struct.NotNan.html" title="struct ordered_float::NotNan">NotNan</a>&lt;T&gt;) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code><a class='srclink' href='../src/ordered_float/lib.rs.html#192' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>This method tests for <code>!=</code>.</p>
</div></div><h3 id='impl-Eq' class='impl'><code class='in-band'>impl&lt;T:&nbsp;<a class="trait" href="../num_traits/float/trait.Float.html" title="trait num_traits::float::Float">Float</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a>&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.Eq.html" title="trait core::cmp::Eq">Eq</a> for <a class="struct" href="../ordered_float/struct.NotNan.html" title="struct ordered_float::NotNan">NotNan</a>&lt;T&gt;</code><a href='#impl-Eq' class='anchor'></a><a class='srclink' href='../src/ordered_float/lib.rs.html#277' title='goto source code'>[src]</a></h3><div class='impl-items'></div><h3 id='impl-Ord' class='impl'><code class='in-band'>impl&lt;T:&nbsp;<a class="trait" href="../num_traits/float/trait.Float.html" title="trait num_traits::float::Float">Float</a>&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.Ord.html" title="trait core::cmp::Ord">Ord</a> for <a class="struct" href="../ordered_float/struct.NotNan.html" title="struct ordered_float::NotNan">NotNan</a>&lt;T&gt;</code><a href='#impl-Ord' class='anchor'></a><a class='srclink' href='../src/ordered_float/lib.rs.html#227-234' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.cmp' class="method hidden"><code id='cmp.v'>fn <a href='https://doc.rust-lang.org/nightly/core/cmp/trait.Ord.html#tymethod.cmp' class='fnname'>cmp</a>(&amp;self, other: &amp;<a class="struct" href="../ordered_float/struct.NotNan.html" title="struct ordered_float::NotNan">NotNan</a>&lt;T&gt;) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/cmp/enum.Ordering.html" title="enum core::cmp::Ordering">Ordering</a></code><a class='srclink' href='../src/ordered_float/lib.rs.html#228-233' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>This method returns an <code>Ordering</code> between <code>self</code> and <code>other</code>. <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.Ord.html#tymethod.cmp">Read more</a></p>
</div><h4 id='method.max' class="method hidden"><code id='max.v'>fn <a href='https://doc.rust-lang.org/nightly/core/cmp/trait.Ord.html#method.max' class='fnname'>max</a>(self, other: Self) -&gt; Self</code><span class='since' title='Stable since Rust version 1.21.0'>1.21.0</span><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/cmp.rs.html#571-574' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Compares and returns the maximum of two values. <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.Ord.html#method.max">Read more</a></p>
</div><h4 id='method.min' class="method hidden"><code id='min.v'>fn <a href='https://doc.rust-lang.org/nightly/core/cmp/trait.Ord.html#method.min' class='fnname'>min</a>(self, other: Self) -&gt; Self</code><span class='since' title='Stable since Rust version 1.21.0'>1.21.0</span><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/cmp.rs.html#588-591' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Compares and returns the minimum of two values. <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.Ord.html#method.min">Read more</a></p>
</div><h4 id='method.clamp' class="method hidden"><code id='clamp.v'>fn <a href='https://doc.rust-lang.org/nightly/core/cmp/trait.Ord.html#method.clamp' class='fnname'>clamp</a>(self, min: Self, max: Self) -&gt; Self</code><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/cmp.rs.html#612-622' title='goto source code'>[src]</a></h4><div class='stability hidden'><div class='stab unstable'><span class='emoji'>🔬</span> This is a nightly-only experimental API. (<code>clamp</code>)</div></div><div class='docblock hidden'><p>Restrict a value to a certain interval. <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.Ord.html#method.clamp">Read more</a></p>
</div></div><h3 id='impl-PartialOrd%3CNotNan%3CT%3E%3E' class='impl'><code class='in-band'>impl&lt;T:&nbsp;<a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html" title="trait core::cmp::PartialOrd">PartialOrd</a> + <a class="trait" href="../num_traits/float/trait.Float.html" title="trait num_traits::float::Float">Float</a>&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html" title="trait core::cmp::PartialOrd">PartialOrd</a>&lt;<a class="struct" href="../ordered_float/struct.NotNan.html" title="struct ordered_float::NotNan">NotNan</a>&lt;T&gt;&gt; for <a class="struct" href="../ordered_float/struct.NotNan.html" title="struct ordered_float::NotNan">NotNan</a>&lt;T&gt;</code><a href='#impl-PartialOrd%3CNotNan%3CT%3E%3E' class='anchor'></a><a class='srclink' href='../src/ordered_float/lib.rs.html#192' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.partial_cmp' class="method hidden"><code id='partial_cmp.v'>fn <a href='https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html#tymethod.partial_cmp' class='fnname'>partial_cmp</a>(&amp;self, other: &amp;<a class="struct" href="../ordered_float/struct.NotNan.html" title="struct ordered_float::NotNan">NotNan</a>&lt;T&gt;) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="enum" href="https://doc.rust-lang.org/nightly/core/cmp/enum.Ordering.html" title="enum core::cmp::Ordering">Ordering</a>&gt;</code><a class='srclink' href='../src/ordered_float/lib.rs.html#192' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>This method returns an ordering between <code>self</code> and <code>other</code> values if one exists. <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html#tymethod.partial_cmp">Read more</a></p>
</div><h4 id='method.lt' class="method hidden"><code id='lt.v'>fn <a href='https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html#method.lt' class='fnname'>lt</a>(&amp;self, other: &amp;<a class="struct" href="../ordered_float/struct.NotNan.html" title="struct ordered_float::NotNan">NotNan</a>&lt;T&gt;) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code><a class='srclink' href='../src/ordered_float/lib.rs.html#192' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>This method tests less than (for <code>self</code> and <code>other</code>) and is used by the <code>&lt;</code> operator. <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html#method.lt">Read more</a></p>
</div><h4 id='method.le' class="method hidden"><code id='le.v'>fn <a href='https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html#method.le' class='fnname'>le</a>(&amp;self, other: &amp;<a class="struct" href="../ordered_float/struct.NotNan.html" title="struct ordered_float::NotNan">NotNan</a>&lt;T&gt;) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code><a class='srclink' href='../src/ordered_float/lib.rs.html#192' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>This method tests less than or equal to (for <code>self</code> and <code>other</code>) and is used by the <code>&lt;=</code> operator. <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html#method.le">Read more</a></p>
</div><h4 id='method.gt' class="method hidden"><code id='gt.v'>fn <a href='https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html#method.gt' class='fnname'>gt</a>(&amp;self, other: &amp;<a class="struct" href="../ordered_float/struct.NotNan.html" title="struct ordered_float::NotNan">NotNan</a>&lt;T&gt;) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code><a class='srclink' href='../src/ordered_float/lib.rs.html#192' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>This method tests greater than (for <code>self</code> and <code>other</code>) and is used by the <code>&gt;</code> operator. <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html#method.gt">Read more</a></p>
</div><h4 id='method.ge' class="method hidden"><code id='ge.v'>fn <a href='https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html#method.ge' class='fnname'>ge</a>(&amp;self, other: &amp;<a class="struct" href="../ordered_float/struct.NotNan.html" title="struct ordered_float::NotNan">NotNan</a>&lt;T&gt;) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code><a class='srclink' href='../src/ordered_float/lib.rs.html#192' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>This method tests greater than or equal to (for <code>self</code> and <code>other</code>) and is used by the <code>&gt;=</code> operator. <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html#method.ge">Read more</a></p>
</div></div><h3 id='impl-Hash' class='impl'><code class='in-band'>impl&lt;T:&nbsp;<a class="trait" href="../num_traits/float/trait.Float.html" title="trait num_traits::float::Float">Float</a>&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html" title="trait core::hash::Hash">Hash</a> for <a class="struct" href="../ordered_float/struct.NotNan.html" title="struct ordered_float::NotNan">NotNan</a>&lt;T&gt;</code><a href='#impl-Hash' class='anchor'></a><a class='srclink' href='../src/ordered_float/lib.rs.html#236-240' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.hash' class="method hidden"><code id='hash.v'>fn <a href='https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html#tymethod.hash' class='fnname'>hash</a>&lt;H:&nbsp;<a class="trait" href="https://doc.rust-lang.org/nightly/core/hash/trait.Hasher.html" title="trait core::hash::Hasher">Hasher</a>&gt;(&amp;self, state: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;mut </a>H)</code><a class='srclink' href='../src/ordered_float/lib.rs.html#237-239' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Feeds this value into the given [<code>Hasher</code>]. <a href="https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html#tymethod.hash">Read more</a></p>
</div><h4 id='method.hash_slice' class="method hidden"><code id='hash_slice.v'>fn <a href='https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html#method.hash_slice' class='fnname'>hash_slice</a>&lt;H&gt;(data: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.slice.html">&amp;[Self]</a>, state: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;mut </a>H) <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;H: <a class="trait" href="https://doc.rust-lang.org/nightly/core/hash/trait.Hasher.html" title="trait core::hash::Hasher">Hasher</a>,&nbsp;</span></code><span class='since' title='Stable since Rust version 1.3.0'>1.3.0</span><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/hash/mod.rs.html#192-198' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Feeds a slice of this type into the given [<code>Hasher</code>]. <a href="https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html#method.hash_slice">Read more</a></p>
</div></div><h3 id='impl-Add%3CNotNan%3CT%3E%3E' class='impl'><code class='in-band'>impl&lt;T:&nbsp;<a class="trait" href="../num_traits/float/trait.Float.html" title="trait num_traits::float::Float">Float</a>&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Add.html" title="trait core::ops::arith::Add">Add</a>&lt;<a class="struct" href="../ordered_float/struct.NotNan.html" title="struct ordered_float::NotNan">NotNan</a>&lt;T&gt;&gt; for <a class="struct" href="../ordered_float/struct.NotNan.html" title="struct ordered_float::NotNan">NotNan</a>&lt;T&gt;</code><a href='#impl-Add%3CNotNan%3CT%3E%3E' class='anchor'></a><a class='srclink' href='../src/ordered_float/lib.rs.html#282-288' title='goto source code'>[src]</a></h3><div class='docblock'><p>Adds two NotNans.</p>
<p>Panics if the computation results in NaN</p>
</div><div class='impl-items'><h4 id='associatedtype.Output' class="type"><code id='Output.t'>type <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.Add.html#associatedtype.Output' class="type">Output</a> = Self</code></h4><div class='docblock'><p>The resulting type after applying the <code>+</code> operator.</p>
</div><h4 id='method.add' class="method hidden"><code id='add.v'>fn <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.Add.html#tymethod.add' class='fnname'>add</a>(self, other: Self) -&gt; Self</code><a class='srclink' href='../src/ordered_float/lib.rs.html#285-287' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the <code>+</code> operation.</p>
</div></div><h3 id='impl-Add%3CT%3E' class='impl'><code class='in-band'>impl&lt;T:&nbsp;<a class="trait" href="../num_traits/float/trait.Float.html" title="trait num_traits::float::Float">Float</a>&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Add.html" title="trait core::ops::arith::Add">Add</a>&lt;T&gt; for <a class="struct" href="../ordered_float/struct.NotNan.html" title="struct ordered_float::NotNan">NotNan</a>&lt;T&gt;</code><a href='#impl-Add%3CT%3E' class='anchor'></a><a class='srclink' href='../src/ordered_float/lib.rs.html#293-299' title='goto source code'>[src]</a></h3><div class='docblock'><p>Adds a float directly.</p>
<p>Panics if the provided value is NaN or the computation results in NaN</p>
</div><div class='impl-items'><h4 id='associatedtype.Output-1' class="type"><code id='Output.t-1'>type <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.Add.html#associatedtype.Output' class="type">Output</a> = Self</code></h4><div class='docblock'><p>The resulting type after applying the <code>+</code> operator.</p>
</div><h4 id='method.add-1' class="method hidden"><code id='add.v-1'>fn <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.Add.html#tymethod.add' class='fnname'>add</a>(self, other: T) -&gt; Self</code><a class='srclink' href='../src/ordered_float/lib.rs.html#296-298' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the <code>+</code> operation.</p>
</div></div><h3 id='impl-Sub%3CNotNan%3CT%3E%3E' class='impl'><code class='in-band'>impl&lt;T:&nbsp;<a class="trait" href="../num_traits/float/trait.Float.html" title="trait num_traits::float::Float">Float</a>&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Sub.html" title="trait core::ops::arith::Sub">Sub</a>&lt;<a class="struct" href="../ordered_float/struct.NotNan.html" title="struct ordered_float::NotNan">NotNan</a>&lt;T&gt;&gt; for <a class="struct" href="../ordered_float/struct.NotNan.html" title="struct ordered_float::NotNan">NotNan</a>&lt;T&gt;</code><a href='#impl-Sub%3CNotNan%3CT%3E%3E' class='anchor'></a><a class='srclink' href='../src/ordered_float/lib.rs.html#317-323' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Output-2' class="type"><code id='Output.t-2'>type <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.Sub.html#associatedtype.Output' class="type">Output</a> = Self</code></h4><div class='docblock'><p>The resulting type after applying the <code>-</code> operator.</p>
</div><h4 id='method.sub' class="method hidden"><code id='sub.v'>fn <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.Sub.html#tymethod.sub' class='fnname'>sub</a>(self, other: Self) -&gt; Self</code><a class='srclink' href='../src/ordered_float/lib.rs.html#320-322' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the <code>-</code> operation.</p>
</div></div><h3 id='impl-Sub%3CT%3E' class='impl'><code class='in-band'>impl&lt;T:&nbsp;<a class="trait" href="../num_traits/float/trait.Float.html" title="trait num_traits::float::Float">Float</a>&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Sub.html" title="trait core::ops::arith::Sub">Sub</a>&lt;T&gt; for <a class="struct" href="../ordered_float/struct.NotNan.html" title="struct ordered_float::NotNan">NotNan</a>&lt;T&gt;</code><a href='#impl-Sub%3CT%3E' class='anchor'></a><a class='srclink' href='../src/ordered_float/lib.rs.html#328-334' title='goto source code'>[src]</a></h3><div class='docblock'><p>Subtracts a float directly.</p>
<p>Panics if the provided value is NaN or the computation results in NaN</p>
</div><div class='impl-items'><h4 id='associatedtype.Output-3' class="type"><code id='Output.t-3'>type <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.Sub.html#associatedtype.Output' class="type">Output</a> = Self</code></h4><div class='docblock'><p>The resulting type after applying the <code>-</code> operator.</p>
</div><h4 id='method.sub-1' class="method hidden"><code id='sub.v-1'>fn <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.Sub.html#tymethod.sub' class='fnname'>sub</a>(self, other: T) -&gt; Self</code><a class='srclink' href='../src/ordered_float/lib.rs.html#331-333' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the <code>-</code> operation.</p>
</div></div><h3 id='impl-Mul%3CNotNan%3CT%3E%3E' class='impl'><code class='in-band'>impl&lt;T:&nbsp;<a class="trait" href="../num_traits/float/trait.Float.html" title="trait num_traits::float::Float">Float</a>&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html" title="trait core::ops::arith::Mul">Mul</a>&lt;<a class="struct" href="../ordered_float/struct.NotNan.html" title="struct ordered_float::NotNan">NotNan</a>&lt;T&gt;&gt; for <a class="struct" href="../ordered_float/struct.NotNan.html" title="struct ordered_float::NotNan">NotNan</a>&lt;T&gt;</code><a href='#impl-Mul%3CNotNan%3CT%3E%3E' class='anchor'></a><a class='srclink' href='../src/ordered_float/lib.rs.html#352-358' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Output-4' class="type"><code id='Output.t-4'>type <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html#associatedtype.Output' class="type">Output</a> = Self</code></h4><div class='docblock'><p>The resulting type after applying the <code>*</code> operator.</p>
</div><h4 id='method.mul' class="method hidden"><code id='mul.v'>fn <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html#tymethod.mul' class='fnname'>mul</a>(self, other: Self) -&gt; Self</code><a class='srclink' href='../src/ordered_float/lib.rs.html#355-357' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the <code>*</code> operation.</p>
</div></div><h3 id='impl-Mul%3CT%3E' class='impl'><code class='in-band'>impl&lt;T:&nbsp;<a class="trait" href="../num_traits/float/trait.Float.html" title="trait num_traits::float::Float">Float</a>&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html" title="trait core::ops::arith::Mul">Mul</a>&lt;T&gt; for <a class="struct" href="../ordered_float/struct.NotNan.html" title="struct ordered_float::NotNan">NotNan</a>&lt;T&gt;</code><a href='#impl-Mul%3CT%3E' class='anchor'></a><a class='srclink' href='../src/ordered_float/lib.rs.html#363-369' title='goto source code'>[src]</a></h3><div class='docblock'><p>Multiplies a float directly.</p>
<p>Panics if the provided value is NaN or the computation results in NaN</p>
</div><div class='impl-items'><h4 id='associatedtype.Output-5' class="type"><code id='Output.t-5'>type <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html#associatedtype.Output' class="type">Output</a> = Self</code></h4><div class='docblock'><p>The resulting type after applying the <code>*</code> operator.</p>
</div><h4 id='method.mul-1' class="method hidden"><code id='mul.v-1'>fn <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html#tymethod.mul' class='fnname'>mul</a>(self, other: T) -&gt; Self</code><a class='srclink' href='../src/ordered_float/lib.rs.html#366-368' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the <code>*</code> operation.</p>
</div></div><h3 id='impl-Div%3CNotNan%3CT%3E%3E' class='impl'><code class='in-band'>impl&lt;T:&nbsp;<a class="trait" href="../num_traits/float/trait.Float.html" title="trait num_traits::float::Float">Float</a>&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html" title="trait core::ops::arith::Div">Div</a>&lt;<a class="struct" href="../ordered_float/struct.NotNan.html" title="struct ordered_float::NotNan">NotNan</a>&lt;T&gt;&gt; for <a class="struct" href="../ordered_float/struct.NotNan.html" title="struct ordered_float::NotNan">NotNan</a>&lt;T&gt;</code><a href='#impl-Div%3CNotNan%3CT%3E%3E' class='anchor'></a><a class='srclink' href='../src/ordered_float/lib.rs.html#387-393' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Output-6' class="type"><code id='Output.t-6'>type <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html#associatedtype.Output' class="type">Output</a> = Self</code></h4><div class='docblock'><p>The resulting type after applying the <code>/</code> operator.</p>
</div><h4 id='method.div' class="method hidden"><code id='div.v'>fn <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html#tymethod.div' class='fnname'>div</a>(self, other: Self) -&gt; Self</code><a class='srclink' href='../src/ordered_float/lib.rs.html#390-392' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the <code>/</code> operation.</p>
</div></div><h3 id='impl-Div%3CT%3E' class='impl'><code class='in-band'>impl&lt;T:&nbsp;<a class="trait" href="../num_traits/float/trait.Float.html" title="trait num_traits::float::Float">Float</a>&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html" title="trait core::ops::arith::Div">Div</a>&lt;T&gt; for <a class="struct" href="../ordered_float/struct.NotNan.html" title="struct ordered_float::NotNan">NotNan</a>&lt;T&gt;</code><a href='#impl-Div%3CT%3E' class='anchor'></a><a class='srclink' href='../src/ordered_float/lib.rs.html#398-404' title='goto source code'>[src]</a></h3><div class='docblock'><p>Divides a float directly.</p>
<p>Panics if the provided value is NaN or the computation results in NaN</p>
</div><div class='impl-items'><h4 id='associatedtype.Output-7' class="type"><code id='Output.t-7'>type <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html#associatedtype.Output' class="type">Output</a> = Self</code></h4><div class='docblock'><p>The resulting type after applying the <code>/</code> operator.</p>
</div><h4 id='method.div-1' class="method hidden"><code id='div.v-1'>fn <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html#tymethod.div' class='fnname'>div</a>(self, other: T) -&gt; Self</code><a class='srclink' href='../src/ordered_float/lib.rs.html#401-403' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the <code>/</code> operation.</p>
</div></div><h3 id='impl-Rem%3CNotNan%3CT%3E%3E' class='impl'><code class='in-band'>impl&lt;T:&nbsp;<a class="trait" href="../num_traits/float/trait.Float.html" title="trait num_traits::float::Float">Float</a>&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Rem.html" title="trait core::ops::arith::Rem">Rem</a>&lt;<a class="struct" href="../ordered_float/struct.NotNan.html" title="struct ordered_float::NotNan">NotNan</a>&lt;T&gt;&gt; for <a class="struct" href="../ordered_float/struct.NotNan.html" title="struct ordered_float::NotNan">NotNan</a>&lt;T&gt;</code><a href='#impl-Rem%3CNotNan%3CT%3E%3E' class='anchor'></a><a class='srclink' href='../src/ordered_float/lib.rs.html#422-428' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Output-8' class="type"><code id='Output.t-8'>type <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.Rem.html#associatedtype.Output' class="type">Output</a> = Self</code></h4><div class='docblock'><p>The resulting type after applying the <code>%</code> operator.</p>
</div><h4 id='method.rem' class="method hidden"><code id='rem.v'>fn <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.Rem.html#tymethod.rem' class='fnname'>rem</a>(self, other: Self) -&gt; Self</code><a class='srclink' href='../src/ordered_float/lib.rs.html#425-427' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the <code>%</code> operation.</p>
</div></div><h3 id='impl-Rem%3CT%3E' class='impl'><code class='in-band'>impl&lt;T:&nbsp;<a class="trait" href="../num_traits/float/trait.Float.html" title="trait num_traits::float::Float">Float</a>&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Rem.html" title="trait core::ops::arith::Rem">Rem</a>&lt;T&gt; for <a class="struct" href="../ordered_float/struct.NotNan.html" title="struct ordered_float::NotNan">NotNan</a>&lt;T&gt;</code><a href='#impl-Rem%3CT%3E' class='anchor'></a><a class='srclink' href='../src/ordered_float/lib.rs.html#433-439' title='goto source code'>[src]</a></h3><div class='docblock'><p>Calculates <code>%</code> with a float directly.</p>
<p>Panics if the provided value is NaN or the computation results in NaN</p>
</div><div class='impl-items'><h4 id='associatedtype.Output-9' class="type"><code id='Output.t-9'>type <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.Rem.html#associatedtype.Output' class="type">Output</a> = Self</code></h4><div class='docblock'><p>The resulting type after applying the <code>%</code> operator.</p>
</div><h4 id='method.rem-1' class="method hidden"><code id='rem.v-1'>fn <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.Rem.html#tymethod.rem' class='fnname'>rem</a>(self, other: T) -&gt; Self</code><a class='srclink' href='../src/ordered_float/lib.rs.html#436-438' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the <code>%</code> operation.</p>
</div></div><h3 id='impl-Neg' class='impl'><code class='in-band'>impl&lt;T:&nbsp;<a class="trait" href="../num_traits/float/trait.Float.html" title="trait num_traits::float::Float">Float</a>&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Neg.html" title="trait core::ops::arith::Neg">Neg</a> for <a class="struct" href="../ordered_float/struct.NotNan.html" title="struct ordered_float::NotNan">NotNan</a>&lt;T&gt;</code><a href='#impl-Neg' class='anchor'></a><a class='srclink' href='../src/ordered_float/lib.rs.html#457-463' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Output-10' class="type"><code id='Output.t-10'>type <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.Neg.html#associatedtype.Output' class="type">Output</a> = Self</code></h4><div class='docblock'><p>The resulting type after applying the <code>-</code> operator.</p>
</div><h4 id='method.neg' class="method hidden"><code id='neg.v'>fn <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.Neg.html#tymethod.neg' class='fnname'>neg</a>(self) -&gt; Self</code><a class='srclink' href='../src/ordered_float/lib.rs.html#460-462' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the unary <code>-</code> operation.</p>
</div></div><h3 id='impl-AddAssign%3CNotNan%3CT%3E%3E' class='impl'><code class='in-band'>impl&lt;T:&nbsp;<a class="trait" href="../num_traits/float/trait.Float.html" title="trait num_traits::float::Float">Float</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.AddAssign.html" title="trait core::ops::arith::AddAssign">AddAssign</a>&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.AddAssign.html" title="trait core::ops::arith::AddAssign">AddAssign</a>&lt;<a class="struct" href="../ordered_float/struct.NotNan.html" title="struct ordered_float::NotNan">NotNan</a>&lt;T&gt;&gt; for <a class="struct" href="../ordered_float/struct.NotNan.html" title="struct ordered_float::NotNan">NotNan</a>&lt;T&gt;</code><a href='#impl-AddAssign%3CNotNan%3CT%3E%3E' class='anchor'></a><a class='srclink' href='../src/ordered_float/lib.rs.html#301-305' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.add_assign' class="method hidden"><code id='add_assign.v'>fn <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.AddAssign.html#tymethod.add_assign' class='fnname'>add_assign</a>(&amp;mut self, other: Self)</code><a class='srclink' href='../src/ordered_float/lib.rs.html#302-304' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the <code>+=</code> operation.</p>
</div></div><h3 id='impl-AddAssign%3CT%3E' class='impl'><code class='in-band'>impl&lt;T:&nbsp;<a class="trait" href="../num_traits/float/trait.Float.html" title="trait num_traits::float::Float">Float</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.AddAssign.html" title="trait core::ops::arith::AddAssign">AddAssign</a>&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.AddAssign.html" title="trait core::ops::arith::AddAssign">AddAssign</a>&lt;T&gt; for <a class="struct" href="../ordered_float/struct.NotNan.html" title="struct ordered_float::NotNan">NotNan</a>&lt;T&gt;</code><a href='#impl-AddAssign%3CT%3E' class='anchor'></a><a class='srclink' href='../src/ordered_float/lib.rs.html#310-315' title='goto source code'>[src]</a></h3><div class='docblock'><p>Adds a float directly.</p>
<p>Panics if the provided value is NaN.</p>
</div><div class='impl-items'><h4 id='method.add_assign-1' class="method hidden"><code id='add_assign.v-1'>fn <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.AddAssign.html#tymethod.add_assign' class='fnname'>add_assign</a>(&amp;mut self, other: T)</code><a class='srclink' href='../src/ordered_float/lib.rs.html#311-314' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the <code>+=</code> operation.</p>
</div></div><h3 id='impl-SubAssign%3CNotNan%3CT%3E%3E' class='impl'><code class='in-band'>impl&lt;T:&nbsp;<a class="trait" href="../num_traits/float/trait.Float.html" title="trait num_traits::float::Float">Float</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.SubAssign.html" title="trait core::ops::arith::SubAssign">SubAssign</a>&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.SubAssign.html" title="trait core::ops::arith::SubAssign">SubAssign</a>&lt;<a class="struct" href="../ordered_float/struct.NotNan.html" title="struct ordered_float::NotNan">NotNan</a>&lt;T&gt;&gt; for <a class="struct" href="../ordered_float/struct.NotNan.html" title="struct ordered_float::NotNan">NotNan</a>&lt;T&gt;</code><a href='#impl-SubAssign%3CNotNan%3CT%3E%3E' class='anchor'></a><a class='srclink' href='../src/ordered_float/lib.rs.html#336-340' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.sub_assign' class="method hidden"><code id='sub_assign.v'>fn <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.SubAssign.html#tymethod.sub_assign' class='fnname'>sub_assign</a>(&amp;mut self, other: Self)</code><a class='srclink' href='../src/ordered_float/lib.rs.html#337-339' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the <code>-=</code> operation.</p>
</div></div><h3 id='impl-SubAssign%3CT%3E' class='impl'><code class='in-band'>impl&lt;T:&nbsp;<a class="trait" href="../num_traits/float/trait.Float.html" title="trait num_traits::float::Float">Float</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.SubAssign.html" title="trait core::ops::arith::SubAssign">SubAssign</a>&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.SubAssign.html" title="trait core::ops::arith::SubAssign">SubAssign</a>&lt;T&gt; for <a class="struct" href="../ordered_float/struct.NotNan.html" title="struct ordered_float::NotNan">NotNan</a>&lt;T&gt;</code><a href='#impl-SubAssign%3CT%3E' class='anchor'></a><a class='srclink' href='../src/ordered_float/lib.rs.html#345-350' title='goto source code'>[src]</a></h3><div class='docblock'><p>Subtracts a float directly.</p>
<p>Panics if the provided value is NaN or the computation results in NaN</p>
</div><div class='impl-items'><h4 id='method.sub_assign-1' class="method hidden"><code id='sub_assign.v-1'>fn <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.SubAssign.html#tymethod.sub_assign' class='fnname'>sub_assign</a>(&amp;mut self, other: T)</code><a class='srclink' href='../src/ordered_float/lib.rs.html#346-349' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the <code>-=</code> operation.</p>
</div></div><h3 id='impl-MulAssign%3CNotNan%3CT%3E%3E' class='impl'><code class='in-band'>impl&lt;T:&nbsp;<a class="trait" href="../num_traits/float/trait.Float.html" title="trait num_traits::float::Float">Float</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.MulAssign.html" title="trait core::ops::arith::MulAssign">MulAssign</a>&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.MulAssign.html" title="trait core::ops::arith::MulAssign">MulAssign</a>&lt;<a class="struct" href="../ordered_float/struct.NotNan.html" title="struct ordered_float::NotNan">NotNan</a>&lt;T&gt;&gt; for <a class="struct" href="../ordered_float/struct.NotNan.html" title="struct ordered_float::NotNan">NotNan</a>&lt;T&gt;</code><a href='#impl-MulAssign%3CNotNan%3CT%3E%3E' class='anchor'></a><a class='srclink' href='../src/ordered_float/lib.rs.html#371-375' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.mul_assign' class="method hidden"><code id='mul_assign.v'>fn <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.MulAssign.html#tymethod.mul_assign' class='fnname'>mul_assign</a>(&amp;mut self, other: Self)</code><a class='srclink' href='../src/ordered_float/lib.rs.html#372-374' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the <code>*=</code> operation.</p>
</div></div><h3 id='impl-MulAssign%3CT%3E' class='impl'><code class='in-band'>impl&lt;T:&nbsp;<a class="trait" href="../num_traits/float/trait.Float.html" title="trait num_traits::float::Float">Float</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.MulAssign.html" title="trait core::ops::arith::MulAssign">MulAssign</a>&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.MulAssign.html" title="trait core::ops::arith::MulAssign">MulAssign</a>&lt;T&gt; for <a class="struct" href="../ordered_float/struct.NotNan.html" title="struct ordered_float::NotNan">NotNan</a>&lt;T&gt;</code><a href='#impl-MulAssign%3CT%3E' class='anchor'></a><a class='srclink' href='../src/ordered_float/lib.rs.html#380-385' title='goto source code'>[src]</a></h3><div class='docblock'><p>Multiplies a float directly.</p>
<p>Panics if the provided value is NaN.</p>
</div><div class='impl-items'><h4 id='method.mul_assign-1' class="method hidden"><code id='mul_assign.v-1'>fn <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.MulAssign.html#tymethod.mul_assign' class='fnname'>mul_assign</a>(&amp;mut self, other: T)</code><a class='srclink' href='../src/ordered_float/lib.rs.html#381-384' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the <code>*=</code> operation.</p>
</div></div><h3 id='impl-DivAssign%3CNotNan%3CT%3E%3E' class='impl'><code class='in-band'>impl&lt;T:&nbsp;<a class="trait" href="../num_traits/float/trait.Float.html" title="trait num_traits::float::Float">Float</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.DivAssign.html" title="trait core::ops::arith::DivAssign">DivAssign</a>&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.DivAssign.html" title="trait core::ops::arith::DivAssign">DivAssign</a>&lt;<a class="struct" href="../ordered_float/struct.NotNan.html" title="struct ordered_float::NotNan">NotNan</a>&lt;T&gt;&gt; for <a class="struct" href="../ordered_float/struct.NotNan.html" title="struct ordered_float::NotNan">NotNan</a>&lt;T&gt;</code><a href='#impl-DivAssign%3CNotNan%3CT%3E%3E' class='anchor'></a><a class='srclink' href='../src/ordered_float/lib.rs.html#406-410' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.div_assign' class="method hidden"><code id='div_assign.v'>fn <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.DivAssign.html#tymethod.div_assign' class='fnname'>div_assign</a>(&amp;mut self, other: Self)</code><a class='srclink' href='../src/ordered_float/lib.rs.html#407-409' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the <code>/=</code> operation.</p>
</div></div><h3 id='impl-DivAssign%3CT%3E' class='impl'><code class='in-band'>impl&lt;T:&nbsp;<a class="trait" href="../num_traits/float/trait.Float.html" title="trait num_traits::float::Float">Float</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.DivAssign.html" title="trait core::ops::arith::DivAssign">DivAssign</a>&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.DivAssign.html" title="trait core::ops::arith::DivAssign">DivAssign</a>&lt;T&gt; for <a class="struct" href="../ordered_float/struct.NotNan.html" title="struct ordered_float::NotNan">NotNan</a>&lt;T&gt;</code><a href='#impl-DivAssign%3CT%3E' class='anchor'></a><a class='srclink' href='../src/ordered_float/lib.rs.html#415-420' title='goto source code'>[src]</a></h3><div class='docblock'><p>Divides a float directly.</p>
<p>Panics if the provided value is NaN or the computation results in NaN</p>
</div><div class='impl-items'><h4 id='method.div_assign-1' class="method hidden"><code id='div_assign.v-1'>fn <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.DivAssign.html#tymethod.div_assign' class='fnname'>div_assign</a>(&amp;mut self, other: T)</code><a class='srclink' href='../src/ordered_float/lib.rs.html#416-419' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the <code>/=</code> operation.</p>
</div></div><h3 id='impl-RemAssign%3CNotNan%3CT%3E%3E' class='impl'><code class='in-band'>impl&lt;T:&nbsp;<a class="trait" href="../num_traits/float/trait.Float.html" title="trait num_traits::float::Float">Float</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.RemAssign.html" title="trait core::ops::arith::RemAssign">RemAssign</a>&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.RemAssign.html" title="trait core::ops::arith::RemAssign">RemAssign</a>&lt;<a class="struct" href="../ordered_float/struct.NotNan.html" title="struct ordered_float::NotNan">NotNan</a>&lt;T&gt;&gt; for <a class="struct" href="../ordered_float/struct.NotNan.html" title="struct ordered_float::NotNan">NotNan</a>&lt;T&gt;</code><a href='#impl-RemAssign%3CNotNan%3CT%3E%3E' class='anchor'></a><a class='srclink' href='../src/ordered_float/lib.rs.html#441-445' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.rem_assign' class="method hidden"><code id='rem_assign.v'>fn <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.RemAssign.html#tymethod.rem_assign' class='fnname'>rem_assign</a>(&amp;mut self, other: Self)</code><a class='srclink' href='../src/ordered_float/lib.rs.html#442-444' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the <code>%=</code> operation.</p>
</div></div><h3 id='impl-RemAssign%3CT%3E' class='impl'><code class='in-band'>impl&lt;T:&nbsp;<a class="trait" href="../num_traits/float/trait.Float.html" title="trait num_traits::float::Float">Float</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.RemAssign.html" title="trait core::ops::arith::RemAssign">RemAssign</a>&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.RemAssign.html" title="trait core::ops::arith::RemAssign">RemAssign</a>&lt;T&gt; for <a class="struct" href="../ordered_float/struct.NotNan.html" title="struct ordered_float::NotNan">NotNan</a>&lt;T&gt;</code><a href='#impl-RemAssign%3CT%3E' class='anchor'></a><a class='srclink' href='../src/ordered_float/lib.rs.html#450-455' title='goto source code'>[src]</a></h3><div class='docblock'><p>Calculates <code>%=</code> with a float directly.</p>
<p>Panics if the provided value is NaN or the computation results in NaN</p>
</div><div class='impl-items'><h4 id='method.rem_assign-1' class="method hidden"><code id='rem_assign.v-1'>fn <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.RemAssign.html#tymethod.rem_assign' class='fnname'>rem_assign</a>(&amp;mut self, other: T)</code><a class='srclink' href='../src/ordered_float/lib.rs.html#451-454' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the <code>%=</code> operation.</p>
</div></div><h3 id='impl-Deref' class='impl'><code class='in-band'>impl&lt;T:&nbsp;<a class="trait" href="../num_traits/float/trait.Float.html" title="trait num_traits::float::Float">Float</a>&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/deref/trait.Deref.html" title="trait core::ops::deref::Deref">Deref</a> for <a class="struct" href="../ordered_float/struct.NotNan.html" title="struct ordered_float::NotNan">NotNan</a>&lt;T&gt;</code><a href='#impl-Deref' class='anchor'></a><a class='srclink' href='../src/ordered_float/lib.rs.html#269-275' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Target' class="type"><code id='Target.t'>type <a href='https://doc.rust-lang.org/nightly/core/ops/deref/trait.Deref.html#associatedtype.Target' class="type">Target</a> = T</code></h4><div class='docblock'><p>The resulting type after dereferencing.</p>
</div><h4 id='method.deref' class="method hidden"><code id='deref.v'>fn <a href='https://doc.rust-lang.org/nightly/core/ops/deref/trait.Deref.html#tymethod.deref' class='fnname'>deref</a>(&amp;self) -&gt; &amp;Self::<a class="type" href="https://doc.rust-lang.org/nightly/core/ops/deref/trait.Deref.html#associatedtype.Target" title="type core::ops::deref::Deref::Target">Target</a></code><a class='srclink' href='../src/ordered_float/lib.rs.html#272-274' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Dereferences the value.</p>
</div></div><h3 id='impl-Debug' class='impl'><code class='in-band'>impl&lt;T:&nbsp;<a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a> + <a class="trait" href="../num_traits/float/trait.Float.html" title="trait num_traits::float::Float">Float</a>&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a> for <a class="struct" href="../ordered_float/struct.NotNan.html" title="struct ordered_float::NotNan">NotNan</a>&lt;T&gt;</code><a href='#impl-Debug' class='anchor'></a><a class='srclink' href='../src/ordered_float/lib.rs.html#192' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.fmt' class="method hidden"><code id='fmt.v'>fn <a href='https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html#tymethod.fmt' class='fnname'>fmt</a>(&amp;self, f: &amp;mut <a class="struct" href="https://doc.rust-lang.org/nightly/core/fmt/struct.Formatter.html" title="struct core::fmt::Formatter">Formatter</a>) -&gt; <a class="type" href="https://doc.rust-lang.org/nightly/core/fmt/type.Result.html" title="type core::fmt::Result">Result</a></code><a class='srclink' href='../src/ordered_float/lib.rs.html#192' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Formats the value using the given formatter. <a href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html#tymethod.fmt">Read more</a></p>
</div></div><h3 id='impl-Display' class='impl'><code class='in-band'>impl&lt;T:&nbsp;<a class="trait" href="../num_traits/float/trait.Float.html" title="trait num_traits::float::Float">Float</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.Display.html" title="trait core::fmt::Display">Display</a>&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.Display.html" title="trait core::fmt::Display">Display</a> for <a class="struct" href="../ordered_float/struct.NotNan.html" title="struct ordered_float::NotNan">NotNan</a>&lt;T&gt;</code><a href='#impl-Display' class='anchor'></a><a class='srclink' href='../src/ordered_float/lib.rs.html#242-246' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.fmt-1' class="method hidden"><code id='fmt.v-1'>fn <a href='https://doc.rust-lang.org/nightly/core/fmt/trait.Display.html#tymethod.fmt' class='fnname'>fmt</a>(&amp;self, f: &amp;mut <a class="struct" href="https://doc.rust-lang.org/nightly/core/fmt/struct.Formatter.html" title="struct core::fmt::Formatter">Formatter</a>) -&gt; <a class="type" href="https://doc.rust-lang.org/nightly/core/fmt/type.Result.html" title="type core::fmt::Result">Result</a></code><a class='srclink' href='../src/ordered_float/lib.rs.html#243-245' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Formats the value using the given formatter. <a href="https://doc.rust-lang.org/nightly/core/fmt/trait.Display.html#tymethod.fmt">Read more</a></p>
</div></div><h3 id='impl-FromStr' class='impl'><code class='in-band'>impl&lt;T:&nbsp;<a class="trait" href="../num_traits/float/trait.Float.html" title="trait num_traits::float::Float">Float</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/str/trait.FromStr.html" title="trait core::str::FromStr">FromStr</a>&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/str/trait.FromStr.html" title="trait core::str::FromStr">FromStr</a> for <a class="struct" href="../ordered_float/struct.NotNan.html" title="struct ordered_float::NotNan">NotNan</a>&lt;T&gt;</code><a href='#impl-FromStr' class='anchor'></a><a class='srclink' href='../src/ordered_float/lib.rs.html#530-548' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Err' class="type"><code id='Err.t'>type <a href='https://doc.rust-lang.org/nightly/core/str/trait.FromStr.html#associatedtype.Err' class="type">Err</a> = <a class="enum" href="../ordered_float/enum.ParseNotNanError.html" title="enum ordered_float::ParseNotNanError">ParseNotNanError</a>&lt;T::<a class="type" href="https://doc.rust-lang.org/nightly/core/str/trait.FromStr.html#associatedtype.Err" title="type core::str::FromStr::Err">Err</a>&gt;</code></h4><div class='docblock'><p>The associated error which can be returned from parsing.</p>
</div><h4 id='method.from_str' class="method"><code id='from_str.v'>fn <a href='https://doc.rust-lang.org/nightly/core/str/trait.FromStr.html#tymethod.from_str' class='fnname'>from_str</a>(src: &amp;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Self, Self::<a class="type" href="https://doc.rust-lang.org/nightly/core/str/trait.FromStr.html#associatedtype.Err" title="type core::str::FromStr::Err">Err</a>&gt;</code><a class='srclink' href='../src/ordered_float/lib.rs.html#543-547' title='goto source code'>[src]</a></h4><div class='docblock'><p>Convert a &amp;str to <code>NotNan</code>. Returns an error if the string fails to parse,
or if the resulting value is NaN</p>
<div class="example-wrap"><pre class="rust rust-example-rendered">
<span class="kw">use</span> <span class="ident">ordered_float</span>::<span class="ident">NotNan</span>;
<span class="macro">assert</span><span class="macro">!</span>(<span class="string">&quot;-10&quot;</span>.<span class="ident">parse</span>::<span class="op">&lt;</span><span class="ident">NotNan</span><span class="op">&lt;</span><span class="ident">f32</span><span class="op">&gt;</span><span class="op">&gt;</span>().<span class="ident">is_ok</span>());
<span class="macro">assert</span><span class="macro">!</span>(<span class="string">&quot;abc&quot;</span>.<span class="ident">parse</span>::<span class="op">&lt;</span><span class="ident">NotNan</span><span class="op">&lt;</span><span class="ident">f32</span><span class="op">&gt;</span><span class="op">&gt;</span>().<span class="ident">is_err</span>());
<span class="macro">assert</span><span class="macro">!</span>(<span class="string">&quot;NaN&quot;</span>.<span class="ident">parse</span>::<span class="op">&lt;</span><span class="ident">NotNan</span><span class="op">&lt;</span><span class="ident">f32</span><span class="op">&gt;</span><span class="op">&gt;</span>().<span class="ident">is_err</span>());</pre></div>
</div></div><h3 id='impl-AsRef%3CT%3E' class='impl'><code class='in-band'>impl&lt;T:&nbsp;<a class="trait" href="../num_traits/float/trait.Float.html" title="trait num_traits::float::Float">Float</a>&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.AsRef.html" title="trait core::convert::AsRef">AsRef</a>&lt;T&gt; for <a class="struct" href="../ordered_float/struct.NotNan.html" title="struct ordered_float::NotNan">NotNan</a>&lt;T&gt;</code><a href='#impl-AsRef%3CT%3E' class='anchor'></a><a class='srclink' href='../src/ordered_float/lib.rs.html#221-225' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_ref' class="method hidden"><code id='as_ref.v'>fn <a href='https://doc.rust-lang.org/nightly/core/convert/trait.AsRef.html#tymethod.as_ref' class='fnname'>as_ref</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;</a>T</code><a class='srclink' href='../src/ordered_float/lib.rs.html#222-224' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p>
</div></div><h3 id='impl-Copy' class='impl'><code class='in-band'>impl&lt;T:&nbsp;<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Copy.html" title="trait core::marker::Copy">Copy</a> + <a class="trait" href="../num_traits/float/trait.Float.html" title="trait num_traits::float::Float">Float</a>&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Copy.html" title="trait core::marker::Copy">Copy</a> for <a class="struct" href="../ordered_float/struct.NotNan.html" title="struct ordered_float::NotNan">NotNan</a>&lt;T&gt;</code><a href='#impl-Copy' class='anchor'></a><a class='srclink' href='../src/ordered_float/lib.rs.html#192' title='goto source code'>[src]</a></h3><div class='impl-items'></div><h3 id='impl-Clone' class='impl'><code class='in-band'>impl&lt;T:&nbsp;<a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> + <a class="trait" href="../num_traits/float/trait.Float.html" title="trait num_traits::float::Float">Float</a>&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> for <a class="struct" href="../ordered_float/struct.NotNan.html" title="struct ordered_float::NotNan">NotNan</a>&lt;T&gt;</code><a href='#impl-Clone' class='anchor'></a><a class='srclink' href='../src/ordered_float/lib.rs.html#192' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.clone' class="method hidden"><code id='clone.v'>fn <a href='https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#tymethod.clone' class='fnname'>clone</a>(&amp;self) -&gt; <a class="struct" href="../ordered_float/struct.NotNan.html" title="struct ordered_float::NotNan">NotNan</a>&lt;T&gt;</code><a class='srclink' href='../src/ordered_float/lib.rs.html#192' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Returns a copy of the value. <a href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#tymethod.clone">Read more</a></p>
</div><h4 id='method.clone_from' class="method hidden"><code id='clone_from.v'>fn <a href='https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#method.clone_from' class='fnname'>clone_from</a>(&amp;mut self, source: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;</a>Self)</code><span class='since' title='Stable since Rust version 1.0.0'>1.0.0</span><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/clone.rs.html#131-133' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs copy-assignment from <code>source</code>. <a href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#method.clone_from">Read more</a></p>
</div></div><h3 id='impl-Default' class='impl'><code class='in-band'>impl&lt;T:&nbsp;<a class="trait" href="https://doc.rust-lang.org/nightly/core/default/trait.Default.html" title="trait core::default::Default">Default</a> + <a class="trait" href="../num_traits/float/trait.Float.html" title="trait num_traits::float::Float">Float</a>&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/default/trait.Default.html" title="trait core::default::Default">Default</a> for <a class="struct" href="../ordered_float/struct.NotNan.html" title="struct ordered_float::NotNan">NotNan</a>&lt;T&gt;</code><a href='#impl-Default' class='anchor'></a><a class='srclink' href='../src/ordered_float/lib.rs.html#192' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.default' class="method hidden"><code id='default.v'>fn <a href='https://doc.rust-lang.org/nightly/core/default/trait.Default.html#tymethod.default' class='fnname'>default</a>() -&gt; <a class="struct" href="../ordered_float/struct.NotNan.html" title="struct ordered_float::NotNan">NotNan</a>&lt;T&gt;</code><a class='srclink' href='../src/ordered_float/lib.rs.html#192' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Returns the &quot;default value&quot; for a type. <a href="https://doc.rust-lang.org/nightly/core/default/trait.Default.html#tymethod.default">Read more</a></p>
</div></div><h3 id='impl-Bounded' class='impl'><code class='in-band'>impl&lt;T:&nbsp;<a class="trait" href="../num_traits/float/trait.Float.html" title="trait num_traits::float::Float">Float</a>&gt; <a class="trait" href="../num_traits/bounds/trait.Bounded.html" title="trait num_traits::bounds::Bounded">Bounded</a> for <a class="struct" href="../ordered_float/struct.NotNan.html" title="struct ordered_float::NotNan">NotNan</a>&lt;T&gt;</code><a href='#impl-Bounded' class='anchor'></a><a class='srclink' href='../src/ordered_float/lib.rs.html#520-528' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.min_value' class="method hidden"><code id='min_value.v'>fn <a href='../num_traits/bounds/trait.Bounded.html#tymethod.min_value' class='fnname'>min_value</a>() -&gt; Self</code><a class='srclink' href='../src/ordered_float/lib.rs.html#521-523' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>returns the smallest finite number this type can represent</p>
</div><h4 id='method.max_value' class="method hidden"><code id='max_value.v'>fn <a href='../num_traits/bounds/trait.Bounded.html#tymethod.max_value' class='fnname'>max_value</a>() -&gt; Self</code><a class='srclink' href='../src/ordered_float/lib.rs.html#525-527' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>returns the largest finite number this type can represent</p>
</div></div><h3 id='impl-ToPrimitive' class='impl'><code class='in-band'>impl&lt;T:&nbsp;<a class="trait" href="../num_traits/float/trait.Float.html" title="trait num_traits::float::Float">Float</a>&gt; <a class="trait" href="../num_traits/cast/trait.ToPrimitive.html" title="trait num_traits::cast::ToPrimitive">ToPrimitive</a> for <a class="struct" href="../ordered_float/struct.NotNan.html" title="struct ordered_float::NotNan">NotNan</a>&lt;T&gt;</code><a href='#impl-ToPrimitive' class='anchor'></a><a class='srclink' href='../src/ordered_float/lib.rs.html#566-580' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.to_i64' class="method hidden"><code id='to_i64.v'>fn <a href='../num_traits/cast/trait.ToPrimitive.html#tymethod.to_i64' class='fnname'>to_i64</a>(&amp;self) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i64.html">i64</a>&gt;</code><a class='srclink' href='../src/ordered_float/lib.rs.html#567' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Converts the value of <code>self</code> to an <code>i64</code>.</p>
</div><h4 id='method.to_u64' class="method hidden"><code id='to_u64.v'>fn <a href='../num_traits/cast/trait.ToPrimitive.html#tymethod.to_u64' class='fnname'>to_u64</a>(&amp;self) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>&gt;</code><a class='srclink' href='../src/ordered_float/lib.rs.html#568' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Converts the value of <code>self</code> to an <code>u64</code>.</p>
</div><h4 id='method.to_isize' class="method hidden"><code id='to_isize.v'>fn <a href='../num_traits/cast/trait.ToPrimitive.html#method.to_isize' class='fnname'>to_isize</a>(&amp;self) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.isize.html">isize</a>&gt;</code><a class='srclink' href='../src/ordered_float/lib.rs.html#570' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Converts the value of <code>self</code> to an <code>isize</code>.</p>
</div><h4 id='method.to_i8' class="method hidden"><code id='to_i8.v'>fn <a href='../num_traits/cast/trait.ToPrimitive.html#method.to_i8' class='fnname'>to_i8</a>(&amp;self) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i8.html">i8</a>&gt;</code><a class='srclink' href='../src/ordered_float/lib.rs.html#571' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Converts the value of <code>self</code> to an <code>i8</code>.</p>
</div><h4 id='method.to_i16' class="method hidden"><code id='to_i16.v'>fn <a href='../num_traits/cast/trait.ToPrimitive.html#method.to_i16' class='fnname'>to_i16</a>(&amp;self) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i16.html">i16</a>&gt;</code><a class='srclink' href='../src/ordered_float/lib.rs.html#572' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Converts the value of <code>self</code> to an <code>i16</code>.</p>
</div><h4 id='method.to_i32' class="method hidden"><code id='to_i32.v'>fn <a href='../num_traits/cast/trait.ToPrimitive.html#method.to_i32' class='fnname'>to_i32</a>(&amp;self) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>&gt;</code><a class='srclink' href='../src/ordered_float/lib.rs.html#573' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Converts the value of <code>self</code> to an <code>i32</code>.</p>
</div><h4 id='method.to_usize' class="method hidden"><code id='to_usize.v'>fn <a href='../num_traits/cast/trait.ToPrimitive.html#method.to_usize' class='fnname'>to_usize</a>(&amp;self) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>&gt;</code><a class='srclink' href='../src/ordered_float/lib.rs.html#574' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Converts the value of <code>self</code> to a <code>usize</code>.</p>
</div><h4 id='method.to_u8' class="method hidden"><code id='to_u8.v'>fn <a href='../num_traits/cast/trait.ToPrimitive.html#method.to_u8' class='fnname'>to_u8</a>(&amp;self) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>&gt;</code><a class='srclink' href='../src/ordered_float/lib.rs.html#575' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Converts the value of <code>self</code> to an <code>u8</code>.</p>
</div><h4 id='method.to_u16' class="method hidden"><code id='to_u16.v'>fn <a href='../num_traits/cast/trait.ToPrimitive.html#method.to_u16' class='fnname'>to_u16</a>(&amp;self) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u16.html">u16</a>&gt;</code><a class='srclink' href='../src/ordered_float/lib.rs.html#576' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Converts the value of <code>self</code> to an <code>u16</code>.</p>
</div><h4 id='method.to_u32' class="method hidden"><code id='to_u32.v'>fn <a href='../num_traits/cast/trait.ToPrimitive.html#method.to_u32' class='fnname'>to_u32</a>(&amp;self) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>&gt;</code><a class='srclink' href='../src/ordered_float/lib.rs.html#577' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Converts the value of <code>self</code> to an <code>u32</code>.</p>
</div><h4 id='method.to_f32' class="method hidden"><code id='to_f32.v'>fn <a href='../num_traits/cast/trait.ToPrimitive.html#method.to_f32' class='fnname'>to_f32</a>(&amp;self) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a>&gt;</code><a class='srclink' href='../src/ordered_float/lib.rs.html#578' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Converts the value of <code>self</code> to an <code>f32</code>.</p>
</div><h4 id='method.to_f64' class="method hidden"><code id='to_f64.v'>fn <a href='../num_traits/cast/trait.ToPrimitive.html#method.to_f64' class='fnname'>to_f64</a>(&amp;self) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a>&gt;</code><a class='srclink' href='../src/ordered_float/lib.rs.html#579' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Converts the value of <code>self</code> to an <code>f64</code>.</p>
</div><h4 id='method.to_i128' class="method hidden"><code id='to_i128.v'>fn <a href='../num_traits/cast/trait.ToPrimitive.html#method.to_i128' class='fnname'>to_i128</a>(&amp;self) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i128.html">i128</a>&gt;</code><a class='srclink' href='../src/num_traits/cast.rs.html#48-50' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Converts the value of <code>self</code> to an <code>i128</code>. <a href="../num_traits/cast/trait.ToPrimitive.html#method.to_i128">Read more</a></p>
</div><h4 id='method.to_u128' class="method hidden"><code id='to_u128.v'>fn <a href='../num_traits/cast/trait.ToPrimitive.html#method.to_u128' class='fnname'>to_u128</a>(&amp;self) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u128.html">u128</a>&gt;</code><a class='srclink' href='../src/num_traits/cast.rs.html#88-90' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Converts the value of <code>self</code> to an <code>u128</code>. <a href="../num_traits/cast/trait.ToPrimitive.html#method.to_u128">Read more</a></p>
</div></div><h3 id='impl-FromPrimitive' class='impl'><code class='in-band'>impl&lt;T:&nbsp;<a class="trait" href="../num_traits/float/trait.Float.html" title="trait num_traits::float::Float">Float</a> + <a class="trait" href="../num_traits/cast/trait.FromPrimitive.html" title="trait num_traits::cast::FromPrimitive">FromPrimitive</a>&gt; <a class="trait" href="../num_traits/cast/trait.FromPrimitive.html" title="trait num_traits::cast::FromPrimitive">FromPrimitive</a> for <a class="struct" href="../ordered_float/struct.NotNan.html" title="struct ordered_float::NotNan">NotNan</a>&lt;T&gt;</code><a href='#impl-FromPrimitive' class='anchor'></a><a class='srclink' href='../src/ordered_float/lib.rs.html#550-564' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.from_i64' class="method hidden"><code id='from_i64.v'>fn <a href='../num_traits/cast/trait.FromPrimitive.html#tymethod.from_i64' class='fnname'>from_i64</a>(n: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i64.html">i64</a>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;Self&gt;</code><a class='srclink' href='../src/ordered_float/lib.rs.html#551' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Convert an <code>i64</code> to return an optional value of this type. If the type cannot be represented by this value, then <code>None</code> is returned. <a href="../num_traits/cast/trait.FromPrimitive.html#tymethod.from_i64">Read more</a></p>
</div><h4 id='method.from_u64' class="method hidden"><code id='from_u64.v'>fn <a href='../num_traits/cast/trait.FromPrimitive.html#tymethod.from_u64' class='fnname'>from_u64</a>(n: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;Self&gt;</code><a class='srclink' href='../src/ordered_float/lib.rs.html#552' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Convert an <code>u64</code> to return an optional value of this type. If the type cannot be represented by this value, then <code>None</code> is returned. <a href="../num_traits/cast/trait.FromPrimitive.html#tymethod.from_u64">Read more</a></p>
</div><h4 id='method.from_isize' class="method hidden"><code id='from_isize.v'>fn <a href='../num_traits/cast/trait.FromPrimitive.html#method.from_isize' class='fnname'>from_isize</a>(n: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.isize.html">isize</a>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;Self&gt;</code><a class='srclink' href='../src/ordered_float/lib.rs.html#554' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Convert an <code>isize</code> to return an optional value of this type. If the value cannot be represented by this value, then <code>None</code> is returned. <a href="../num_traits/cast/trait.FromPrimitive.html#method.from_isize">Read more</a></p>
</div><h4 id='method.from_i8' class="method hidden"><code id='from_i8.v'>fn <a href='../num_traits/cast/trait.FromPrimitive.html#method.from_i8' class='fnname'>from_i8</a>(n: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i8.html">i8</a>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;Self&gt;</code><a class='srclink' href='../src/ordered_float/lib.rs.html#555' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Convert an <code>i8</code> to return an optional value of this type. If the type cannot be represented by this value, then <code>None</code> is returned. <a href="../num_traits/cast/trait.FromPrimitive.html#method.from_i8">Read more</a></p>
</div><h4 id='method.from_i16' class="method hidden"><code id='from_i16.v'>fn <a href='../num_traits/cast/trait.FromPrimitive.html#method.from_i16' class='fnname'>from_i16</a>(n: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i16.html">i16</a>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;Self&gt;</code><a class='srclink' href='../src/ordered_float/lib.rs.html#556' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Convert an <code>i16</code> to return an optional value of this type. If the type cannot be represented by this value, then <code>None</code> is returned. <a href="../num_traits/cast/trait.FromPrimitive.html#method.from_i16">Read more</a></p>
</div><h4 id='method.from_i32' class="method hidden"><code id='from_i32.v'>fn <a href='../num_traits/cast/trait.FromPrimitive.html#method.from_i32' class='fnname'>from_i32</a>(n: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;Self&gt;</code><a class='srclink' href='../src/ordered_float/lib.rs.html#557' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Convert an <code>i32</code> to return an optional value of this type. If the type cannot be represented by this value, then <code>None</code> is returned. <a href="../num_traits/cast/trait.FromPrimitive.html#method.from_i32">Read more</a></p>
</div><h4 id='method.from_usize' class="method hidden"><code id='from_usize.v'>fn <a href='../num_traits/cast/trait.FromPrimitive.html#method.from_usize' class='fnname'>from_usize</a>(n: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;Self&gt;</code><a class='srclink' href='../src/ordered_float/lib.rs.html#558' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Convert a <code>usize</code> to return an optional value of this type. If the type cannot be represented by this value, then <code>None</code> is returned. <a href="../num_traits/cast/trait.FromPrimitive.html#method.from_usize">Read more</a></p>
</div><h4 id='method.from_u8' class="method hidden"><code id='from_u8.v'>fn <a href='../num_traits/cast/trait.FromPrimitive.html#method.from_u8' class='fnname'>from_u8</a>(n: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;Self&gt;</code><a class='srclink' href='../src/ordered_float/lib.rs.html#559' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Convert an <code>u8</code> to return an optional value of this type. If the type cannot be represented by this value, then <code>None</code> is returned. <a href="../num_traits/cast/trait.FromPrimitive.html#method.from_u8">Read more</a></p>
</div><h4 id='method.from_u16' class="method hidden"><code id='from_u16.v'>fn <a href='../num_traits/cast/trait.FromPrimitive.html#method.from_u16' class='fnname'>from_u16</a>(n: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u16.html">u16</a>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;Self&gt;</code><a class='srclink' href='../src/ordered_float/lib.rs.html#560' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Convert an <code>u16</code> to return an optional value of this type. If the type cannot be represented by this value, then <code>None</code> is returned. <a href="../num_traits/cast/trait.FromPrimitive.html#method.from_u16">Read more</a></p>
</div><h4 id='method.from_u32' class="method hidden"><code id='from_u32.v'>fn <a href='../num_traits/cast/trait.FromPrimitive.html#method.from_u32' class='fnname'>from_u32</a>(n: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;Self&gt;</code><a class='srclink' href='../src/ordered_float/lib.rs.html#561' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Convert an <code>u32</code> to return an optional value of this type. If the type cannot be represented by this value, then <code>None</code> is returned. <a href="../num_traits/cast/trait.FromPrimitive.html#method.from_u32">Read more</a></p>
</div><h4 id='method.from_f32' class="method hidden"><code id='from_f32.v'>fn <a href='../num_traits/cast/trait.FromPrimitive.html#method.from_f32' class='fnname'>from_f32</a>(n: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;Self&gt;</code><a class='srclink' href='../src/ordered_float/lib.rs.html#562' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Convert a <code>f32</code> to return an optional value of this type. If the type cannot be represented by this value, then <code>None</code> is returned. <a href="../num_traits/cast/trait.FromPrimitive.html#method.from_f32">Read more</a></p>
</div><h4 id='method.from_f64' class="method hidden"><code id='from_f64.v'>fn <a href='../num_traits/cast/trait.FromPrimitive.html#method.from_f64' class='fnname'>from_f64</a>(n: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;Self&gt;</code><a class='srclink' href='../src/ordered_float/lib.rs.html#563' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Convert a <code>f64</code> to return an optional value of this type. If the type cannot be represented by this value, then <code>None</code> is returned. <a href="../num_traits/cast/trait.FromPrimitive.html#method.from_f64">Read more</a></p>
</div><h4 id='method.from_i128' class="method hidden"><code id='from_i128.v'>fn <a href='../num_traits/cast/trait.FromPrimitive.html#method.from_i128' class='fnname'>from_i128</a>(n: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i128.html">i128</a>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;Self&gt;</code><a class='srclink' href='../src/num_traits/cast.rs.html#406-408' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Convert an <code>i128</code> to return an optional value of this type. If the type cannot be represented by this value, then <code>None</code> is returned. <a href="../num_traits/cast/trait.FromPrimitive.html#method.from_i128">Read more</a></p>
</div><h4 id='method.from_u128' class="method hidden"><code id='from_u128.v'>fn <a href='../num_traits/cast/trait.FromPrimitive.html#method.from_u128' class='fnname'>from_u128</a>(n: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u128.html">u128</a>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;Self&gt;</code><a class='srclink' href='../src/num_traits/cast.rs.html#451-453' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Convert an <code>u128</code> to return an optional value of this type. If the type cannot be represented by this value, then <code>None</code> is returned. <a href="../num_traits/cast/trait.FromPrimitive.html#method.from_u128">Read more</a></p>
</div></div><h3 id='impl-NumCast' class='impl'><code class='in-band'>impl&lt;T:&nbsp;<a class="trait" href="../num_traits/float/trait.Float.html" title="trait num_traits::float::Float">Float</a>&gt; <a class="trait" href="../num_traits/cast/trait.NumCast.html" title="trait num_traits::cast::NumCast">NumCast</a> for <a class="struct" href="../ordered_float/struct.NotNan.html" title="struct ordered_float::NotNan">NotNan</a>&lt;T&gt;</code><a href='#impl-NumCast' class='anchor'></a><a class='srclink' href='../src/ordered_float/lib.rs.html#629-633' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.from-3' class="method hidden"><code id='from.v-3'>fn <a href='../num_traits/cast/trait.NumCast.html#tymethod.from' class='fnname'>from</a>&lt;F:&nbsp;<a class="trait" href="../num_traits/cast/trait.ToPrimitive.html" title="trait num_traits::cast::ToPrimitive">ToPrimitive</a>&gt;(n: F) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;Self&gt;</code><a class='srclink' href='../src/ordered_float/lib.rs.html#630-632' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Creates a number from another value that can be converted into a primitive via the <code>ToPrimitive</code> trait. <a href="../num_traits/cast/trait.NumCast.html#tymethod.from">Read more</a></p>
</div></div><h3 id='impl-Num' class='impl'><code class='in-band'>impl&lt;T:&nbsp;<a class="trait" href="../num_traits/float/trait.Float.html" title="trait num_traits::float::Float">Float</a>&gt; <a class="trait" href="../num_traits/trait.Num.html" title="trait num_traits::Num">Num</a> for <a class="struct" href="../ordered_float/struct.NotNan.html" title="struct ordered_float::NotNan">NotNan</a>&lt;T&gt;</code><a href='#impl-Num' class='anchor'></a><a class='srclink' href='../src/ordered_float/lib.rs.html#607-615' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.FromStrRadixErr' class="type"><code id='FromStrRadixErr.t'>type <a href='../num_traits/trait.Num.html#associatedtype.FromStrRadixErr' class="type">FromStrRadixErr</a> = <a class="enum" href="../ordered_float/enum.ParseNotNanError.html" title="enum ordered_float::ParseNotNanError">ParseNotNanError</a>&lt;T::<a class="type" href="../num_traits/trait.Num.html#associatedtype.FromStrRadixErr" title="type num_traits::Num::FromStrRadixErr">FromStrRadixErr</a>&gt;</code></h4><h4 id='method.from_str_radix' class="method hidden"><code id='from_str_radix.v'>fn <a href='../num_traits/trait.Num.html#tymethod.from_str_radix' class='fnname'>from_str_radix</a>(src: &amp;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>, radix: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Self, Self::<a class="type" href="../num_traits/trait.Num.html#associatedtype.FromStrRadixErr" title="type num_traits::Num::FromStrRadixErr">FromStrRadixErr</a>&gt;</code><a class='srclink' href='../src/ordered_float/lib.rs.html#610-614' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Convert from a string and radix &lt;= 36. <a href="../num_traits/trait.Num.html#tymethod.from_str_radix">Read more</a></p>
</div></div><h3 id='impl-Zero' class='impl'><code class='in-band'>impl&lt;T:&nbsp;<a class="trait" href="../num_traits/float/trait.Float.html" title="trait num_traits::float::Float">Float</a>&gt; <a class="trait" href="../num_traits/identities/trait.Zero.html" title="trait num_traits::identities::Zero">Zero</a> for <a class="struct" href="../ordered_float/struct.NotNan.html" title="struct ordered_float::NotNan">NotNan</a>&lt;T&gt;</code><a href='#impl-Zero' class='anchor'></a><a class='srclink' href='../src/ordered_float/lib.rs.html#510-514' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.zero' class="method hidden"><code id='zero.v'>fn <a href='../num_traits/identities/trait.Zero.html#tymethod.zero' class='fnname'>zero</a>() -&gt; Self</code><a class='srclink' href='../src/ordered_float/lib.rs.html#511' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Returns the additive identity element of <code>Self</code>, <code>0</code>. # Purity <a href="../num_traits/identities/trait.Zero.html#tymethod.zero">Read more</a></p>
</div><h4 id='method.is_zero' class="method hidden"><code id='is_zero.v'>fn <a href='../num_traits/identities/trait.Zero.html#tymethod.is_zero' class='fnname'>is_zero</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code><a class='srclink' href='../src/ordered_float/lib.rs.html#513' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Returns <code>true</code> if <code>self</code> is equal to the additive identity.</p>
</div><h4 id='method.set_zero' class="method hidden"><code id='set_zero.v'>fn <a href='../num_traits/identities/trait.Zero.html#method.set_zero' class='fnname'>set_zero</a>(&amp;mut self)</code><a class='srclink' href='../src/num_traits/identities.rs.html#23-25' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Sets <code>self</code> to the additive identity element of <code>Self</code>, <code>0</code>.</p>
</div></div><h3 id='impl-One' class='impl'><code class='in-band'>impl&lt;T:&nbsp;<a class="trait" href="../num_traits/float/trait.Float.html" title="trait num_traits::float::Float">Float</a>&gt; <a class="trait" href="../num_traits/identities/trait.One.html" title="trait num_traits::identities::One">One</a> for <a class="struct" href="../ordered_float/struct.NotNan.html" title="struct ordered_float::NotNan">NotNan</a>&lt;T&gt;</code><a href='#impl-One' class='anchor'></a><a class='srclink' href='../src/ordered_float/lib.rs.html#516-518' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.one' class="method hidden"><code id='one.v'>fn <a href='../num_traits/identities/trait.One.html#tymethod.one' class='fnname'>one</a>() -&gt; Self</code><a class='srclink' href='../src/ordered_float/lib.rs.html#517' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Returns the multiplicative identity element of <code>Self</code>, <code>1</code>. <a href="../num_traits/identities/trait.One.html#tymethod.one">Read more</a></p>
</div><h4 id='method.set_one' class="method hidden"><code id='set_one.v'>fn <a href='../num_traits/identities/trait.One.html#method.set_one' class='fnname'>set_one</a>(&amp;mut self)</code><a class='srclink' href='../src/num_traits/identities.rs.html#103-105' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Sets <code>self</code> to the multiplicative identity element of <code>Self</code>, <code>1</code>.</p>
</div><h4 id='method.is_one' class="method hidden"><code id='is_one.v'>fn <a href='../num_traits/identities/trait.One.html#method.is_one' class='fnname'>is_one</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a> <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a>&lt;Self&gt;,&nbsp;</span></code><a class='srclink' href='../src/num_traits/identities.rs.html#113-118' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Returns <code>true</code> if <code>self</code> is equal to the multiplicative identity. <a href="../num_traits/identities/trait.One.html#method.is_one">Read more</a></p>
</div></div><h3 id='impl-Signed' class='impl'><code class='in-band'>impl&lt;T:&nbsp;<a class="trait" href="../num_traits/float/trait.Float.html" title="trait num_traits::float::Float">Float</a> + <a class="trait" href="../num_traits/sign/trait.Signed.html" title="trait num_traits::sign::Signed">Signed</a>&gt; <a class="trait" href="../num_traits/sign/trait.Signed.html" title="trait num_traits::sign::Signed">Signed</a> for <a class="struct" href="../ordered_float/struct.NotNan.html" title="struct ordered_float::NotNan">NotNan</a>&lt;T&gt;</code><a href='#impl-Signed' class='anchor'></a><a class='srclink' href='../src/ordered_float/lib.rs.html#617-627' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.abs' class="method hidden"><code id='abs.v'>fn <a href='../num_traits/sign/trait.Signed.html#tymethod.abs' class='fnname'>abs</a>(&amp;self) -&gt; Self</code><a class='srclink' href='../src/ordered_float/lib.rs.html#618' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Computes the absolute value. <a href="../num_traits/sign/trait.Signed.html#tymethod.abs">Read more</a></p>
</div><h4 id='method.abs_sub' class="method hidden"><code id='abs_sub.v'>fn <a href='../num_traits/sign/trait.Signed.html#tymethod.abs_sub' class='fnname'>abs_sub</a>(&amp;self, other: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;</a>Self) -&gt; Self</code><a class='srclink' href='../src/ordered_float/lib.rs.html#620-622' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>The positive difference of two numbers. <a href="../num_traits/sign/trait.Signed.html#tymethod.abs_sub">Read more</a></p>
</div><h4 id='method.signum' class="method hidden"><code id='signum.v'>fn <a href='../num_traits/sign/trait.Signed.html#tymethod.signum' class='fnname'>signum</a>(&amp;self) -&gt; Self</code><a class='srclink' href='../src/ordered_float/lib.rs.html#624' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Returns the sign of the number. <a href="../num_traits/sign/trait.Signed.html#tymethod.signum">Read more</a></p>
</div><h4 id='method.is_positive' class="method hidden"><code id='is_positive.v'>fn <a href='../num_traits/sign/trait.Signed.html#tymethod.is_positive' class='fnname'>is_positive</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code><a class='srclink' href='../src/ordered_float/lib.rs.html#625' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Returns true if the number is positive and false if the number is zero or negative.</p>
</div><h4 id='method.is_negative' class="method hidden"><code id='is_negative.v'>fn <a href='../num_traits/sign/trait.Signed.html#tymethod.is_negative' class='fnname'>is_negative</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code><a class='srclink' href='../src/ordered_float/lib.rs.html#626' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Returns true if the number is negative and false if the number is zero or positive.</p>
</div></div></div><h2 id='synthetic-implementations' class='small-section-header'>Auto Trait Implementations<a href='#synthetic-implementations' class='anchor'></a></h2><div id='synthetic-implementations-list'><h3 id='impl-Unpin' class='impl'><code class='in-band'>impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a> for <a class="struct" href="../ordered_float/struct.NotNan.html" title="struct ordered_float::NotNan">NotNan</a>&lt;T&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a>,&nbsp;</span></code><a href='#impl-Unpin' class='anchor'></a></h3><div class='impl-items'></div><h3 id='impl-Send' class='impl'><code class='in-band'>impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> for <a class="struct" href="../ordered_float/struct.NotNan.html" title="struct ordered_float::NotNan">NotNan</a>&lt;T&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a>,&nbsp;</span></code><a href='#impl-Send' class='anchor'></a></h3><div class='impl-items'></div><h3 id='impl-Sync' class='impl'><code class='in-band'>impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> for <a class="struct" href="../ordered_float/struct.NotNan.html" title="struct ordered_float::NotNan">NotNan</a>&lt;T&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a>,&nbsp;</span></code><a href='#impl-Sync' class='anchor'></a></h3><div class='impl-items'></div><h3 id='impl-UnwindSafe' class='impl'><code class='in-band'>impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/std/panic/trait.UnwindSafe.html" title="trait std::panic::UnwindSafe">UnwindSafe</a> for <a class="struct" href="../ordered_float/struct.NotNan.html" title="struct ordered_float::NotNan">NotNan</a>&lt;T&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: <a class="trait" href="https://doc.rust-lang.org/nightly/std/panic/trait.UnwindSafe.html" title="trait std::panic::UnwindSafe">UnwindSafe</a>,&nbsp;</span></code><a href='#impl-UnwindSafe' class='anchor'></a></h3><div class='impl-items'></div><h3 id='impl-RefUnwindSafe' class='impl'><code class='in-band'>impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/std/panic/trait.RefUnwindSafe.html" title="trait std::panic::RefUnwindSafe">RefUnwindSafe</a> for <a class="struct" href="../ordered_float/struct.NotNan.html" title="struct ordered_float::NotNan">NotNan</a>&lt;T&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: <a class="trait" href="https://doc.rust-lang.org/nightly/std/panic/trait.RefUnwindSafe.html" title="trait std::panic::RefUnwindSafe">RefUnwindSafe</a>,&nbsp;</span></code><a href='#impl-RefUnwindSafe' class='anchor'></a></h3><div class='impl-items'></div></div><h2 id='blanket-implementations' class='small-section-header'>Blanket Implementations<a href='#blanket-implementations' class='anchor'></a></h2><div id='blanket-implementations-list'><h3 id='impl-From%3CT%3E-1' class='impl'><code class='in-band'>impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;T&gt; for T</code><a href='#impl-From%3CT%3E-1' class='anchor'></a><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/convert.rs.html#553-555' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.from-4' class="method hidden"><code id='from.v-4'>fn <a href='https://doc.rust-lang.org/nig
</div></div><h3 id='impl-TryFrom%3CU%3E' class='impl'><code class='in-band'>impl&lt;T, U&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a>&lt;U&gt; for T <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;U: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;T&gt;,&nbsp;</span></code><a href='#impl-TryFrom%3CU%3E' class='anchor'></a><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/convert.rs.html#572-578' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Error' class="type"><code id='Error.t'>type <a href='https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#associatedtype.Error' class="type">Error</a> = <a class="enum" href="https://doc.rust-lang.org/nightly/core/convert/enum.Infallible.html" title="enum core::convert::Infallible">Infallible</a></code></h4><div class='docblock'><p>The type returned in the event of a conversion error.</p>
</div><h4 id='method.try_from' class="method hidden"><code id='try_from.v'>fn <a href='https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#tymethod.try_from' class='fnname'>try_from</a>(value: U) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;T, &lt;T as <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a>&lt;U&gt;&gt;::<a class="type" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#associatedtype.Error" title="type core::convert::TryFrom::Error">Error</a>&gt;</code><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/convert.rs.html#575-577' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p>
</div></div><h3 id='impl-Into%3CU%3E' class='impl'><code class='in-band'>impl&lt;T, U&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;U&gt; for T <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;U: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;T&gt;,&nbsp;</span></code><a href='#impl-Into%3CU%3E' class='anchor'></a><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/convert.rs.html#544-549' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.into' class="method hidden"><code id='into.v'>fn <a href='https://doc.rust-lang.org/nightly/core/convert/trait.Into.html#tymethod.into' class='fnname'>into</a>(self) -&gt; U</code><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/convert.rs.html#546-548' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p>
</div></div><h3 id='impl-TryInto%3CU%3E' class='impl'><code class='in-band'>impl&lt;T, U&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryInto.html" title="trait core::convert::TryInto">TryInto</a>&lt;U&gt; for T <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;U: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a>&lt;T&gt;,&nbsp;</span></code><a href='#impl-TryInto%3CU%3E' class='anchor'></a><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/convert.rs.html#560-567' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Error-1' class="type"><code id='Error.t-1'>type <a href='https://doc.rust-lang.org/nightly/core/convert/trait.TryInto.html#associatedtype.Error' class="type">Error</a> = &lt;U as <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a>&lt;T&gt;&gt;::<a class="type" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#associatedtype.Error" title="type core::convert::TryFrom::Error">Error</a></code></h4><div class='docblock'><p>The type returned in the event of a conversion error.</p>
</div><h4 id='method.try_into' class="method hidden"><code id='try_into.v'>fn <a href='https://doc.rust-lang.org/nightly/core/convert/trait.TryInto.html#tymethod.try_into' class='fnname'>try_into</a>(self) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;U, &lt;U as <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a>&lt;T&gt;&gt;::<a class="type" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#associatedtype.Error" title="type core::convert::TryFrom::Error">Error</a>&gt;</code><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/convert.rs.html#564-566' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p>
</div></div><h3 id='impl-Borrow%3CT%3E' class='impl'><code class='in-band'>impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/borrow/trait.Borrow.html" title="trait core::borrow::Borrow">Borrow</a>&lt;T&gt; for T <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,&nbsp;</span></code><a href='#impl-Borrow%3CT%3E' class='anchor'></a><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/borrow.rs.html#213-215' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.borrow' class="method hidden"><code id='borrow.v'>fn <a href='https://doc.rust-lang.org/nightly/core/borrow/trait.Borrow.html#tymethod.borrow' class='fnname'>borrow</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;</a>T</code><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/borrow.rs.html#214' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Immutably borrows from an owned value. <a href="https://doc.rust-lang.org/nightly/core/borrow/trait.Borrow.html#tymethod.borrow">Read more</a></p>
</div></div><h3 id='impl-BorrowMut%3CT%3E' class='impl'><code class='in-band'>impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/borrow/trait.BorrowMut.html" title="trait core::borrow::BorrowMut">BorrowMut</a>&lt;T&gt; for T <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,&nbsp;</span></code><a href='#impl-BorrowMut%3CT%3E' class='anchor'></a><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/borrow.rs.html#218-220' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.borrow_mut' class="method hidden"><code id='borrow_mut.v'>fn <a href='https://doc.rust-lang.org/nightly/core/borrow/trait.BorrowMut.html#tymethod.borrow_mut' class='fnname'>borrow_mut</a>(&amp;mut self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;mut </a>T</code><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/borrow.rs.html#219' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Mutably borrows from an owned value. <a href="https://doc.rust-lang.org/nightly/core/borrow/trait.BorrowMut.html#tymethod.borrow_mut">Read more</a></p>
</div></div><h3 id='impl-Any' class='impl'><code class='in-band'>impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/any/trait.Any.html" title="trait core::any::Any">Any</a> for T <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: 'static + ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,&nbsp;</span></code><a href='#impl-Any' class='anchor'></a><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/any.rs.html#100-102' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.type_id' class="method hidden"><code id='type_id.v'>fn <a href='https://doc.rust-lang.org/nightly/core/any/trait.Any.html#tymethod.type_id' class='fnname'>type_id</a>(&amp;self) -&gt; <a class="struct" href="https://doc.rust-lang.org/nightly/core/any/struct.TypeId.html" title="struct core::any::TypeId">TypeId</a></code><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/any.rs.html#101' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Gets the <code>TypeId</code> of <code>self</code>. <a href="https://doc.rust-lang.org/nightly/core/any/trait.Any.html#tymethod.type_id">Read more</a></p>
</div></div><h3 id='impl-NumOps%3CRhs%2C%20Output%3E' class='impl'><code class='in-band'>impl&lt;T, Rhs, Output&gt; <a class="trait" href="../num_traits/trait.NumOps.html" title="trait num_traits::NumOps">NumOps</a>&lt;Rhs, Output&gt; for T <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Sub.html" title="trait core::ops::arith::Sub">Sub</a>&lt;Rhs, Output = Output&gt; + <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html" title="trait core::ops::arith::Mul">Mul</a>&lt;Rhs, Output = Output&gt; + <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html" title="trait core::ops::arith::Div">Div</a>&lt;Rhs, Output = Output&gt; + <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Add.html" title="trait core::ops::arith::Add">Add</a>&lt;Rhs, Output = Output&gt; + <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Rem.html" title="trait core::ops::arith::Rem">Rem</a>&lt;Rhs, Output = Output&gt;,&nbsp;</span></code><a href='#impl-NumOps%3CRhs%2C%20Output%3E' class='anchor'></a><a class='srclink' href='../src/num_traits/lib.rs.html#93-100' title='goto source code'>[src]</a></h3><div class='impl-items'></div><h3 id='impl-NumAssignOps%3CRhs%3E' class='impl'><code class='in-band'>impl&lt;T, Rhs&gt; <a class="trait" href="../num_traits/trait.NumAssignOps.html" title="trait num_traits::NumAssignOps">NumAssignOps</a>&lt;Rhs&gt; for T <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.AddAssign.html" title="trait core::ops::arith::AddAssign">AddAssign</a>&lt;Rhs&gt; + <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.SubAssign.html" title="trait core::ops::arith::SubAssign">SubAssign</a>&lt;Rhs&gt; + <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.MulAssign.html" title="trait core::ops::arith::MulAssign">MulAssign</a>&lt;Rhs&gt; + <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.DivAssign.html" title="trait core::ops::arith::DivAssign">DivAssign</a>&lt;Rhs&gt; + <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.RemAssign.html" title="trait core::ops::arith::RemAssign">RemAssign</a>&lt;Rhs&gt;,&nbsp;</span></code><a href='#impl-NumAssignOps%3CRhs%3E' class='anchor'></a><a class='srclink' href='../src/num_traits/lib.rs.html#124-127' title='goto source code'>[src]</a></h3><div class='impl-items'></div><h3 id='impl-NumAssign' class='impl'><code class='in-band'>impl&lt;T&gt; <a class="trait" href="../num_traits/trait.NumAssign.html" title="trait num_traits::NumAssign">NumAssign</a> for T <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: <a class="trait" href="../num_traits/trait.Num.html" title="trait num_traits::Num">Num</a> + <a class="trait" href="../num_traits/trait.NumAssignOps.html" title="trait num_traits::NumAssignOps">NumAssignOps</a>&lt;T&gt;,&nbsp;</span></code><a href='#impl-NumAssign' class='anchor'></a><a class='srclink' href='../src/num_traits/lib.rs.html#133' title='goto source code'>[src]</a></h3><div class='impl-items'></div><h3 id='impl-ToOwned' class='impl'><code class='in-band'>impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html" title="trait alloc::borrow::ToOwned">ToOwned</a> for T <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a>,&nbsp;</span></code><a href='#impl-ToOwned' class='anchor'></a><a class='srclink' href='https://doc.rust-lang.org/nightly/src/alloc/borrow.rs.html#81-92' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Owned' class="type"><code id='Owned.t'>type <a href='https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#assoc
</div><h4 id='method.to_owned' class="method hidden"><code id='to_owned.v'>fn <a href='https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#tymethod.to_owned' class='fnname'>to_owned</a>(&amp;self) -&gt; T</code><a class='srclink' href='https://doc.rust-lang.org/nightly/src/alloc/borrow.rs.html#85-87' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Creates owned data from borrowed data, usually by cloning. <a href="https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#tymethod.to_owned">Read more</a></p>
</div><h4 id='method.clone_into' class="method hidden"><code id='clone_into.v'>fn <a href='https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#method.clone_into' class='fnname'>clone_into</a>(&amp;self, target: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;mut </a>T)</code><a class='srclink' href='https://doc.rust-lang.org/nightly/src/alloc/borrow.rs.html#89-91' title='goto source code'>[src]</a></h4><div class='stability hidden'><div class='stab unstable'><details><summary><span class='emoji'>🔬</span> This is a nightly-only experimental API. (<code>toowned_clone_into</code>)</summary><p>recently added</p>
</details></div></div><div class='docblock hidden'><p>Uses borrowed data to replace owned data, usually by cloning. <a href="https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#method.clone_into">Read more</a></p>
</div></div><h3 id='impl-ToString' class='impl'><code class='in-band'>impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/alloc/string/trait.ToString.html" title="trait alloc::string::ToString">ToString</a> for T <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.Display.html" title="trait core::fmt::Display">Display</a> + ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,&nbsp;</span></code><a href='#impl-ToString' class='anchor'></a><a class='srclink' href='https://doc.rust-lang.org/nightly/src/alloc/string.rs.html#2134-2144' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.to_string' class="method hidden"><code id='to_string.v'>default fn <a href='https://doc.rust-lang.org/nightly/alloc/string/trait.ToString.html#tymethod.to_string' class='fnname'>to_string</a>(&amp;self) -&gt; <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html" title="struct alloc::string::String">String</a></code><a class='srclink' href='https://doc.rust-lang.org/nightly/src/alloc/string.rs.html#2136-2143' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Converts the given value to a <code>String</code>. <a href="https://doc.rust-lang.org/nightly/alloc/string/trait.ToString.html#tymethod.to_string">Read more</a></p>
</div></div></div></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>&#9166;</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><p>Search multiple things at once by splitting your query with comma (e.g., <code>str,u8</code> or <code>String,struct:Vec,test</code>)</p></div></div></aside><script>window.rootPath = "../";window.currentCrate = "ordered_float";</script><script src="../aliases.js"></script><script src="../main.js"></script><script defer src="../search-index.js"></script></body></html>