<aid="toggle-all-docs"href="javascript:void(0)"title="collapse all docs">
[<spanclass='inner'>−</span>]
</a>
</span></span></h1><divclass="docblock type-decl"><preclass='rust struct'>pub struct OrderedFloat<T>(pub T)<br><spanclass="where">where<br> T: <aclass="trait"href="https://docs.rs/num-traits/0.2/num_traits/float/trait.Float.html"title="trait num_traits::float::Float">Float</a></span>;</pre></div><divclass='docblock'><p>A wrapper around Floats providing an implementation of Ord and Hash.</p>
<p>NaN is sorted as <em>greater</em> than all other values and <em>equal</em>
to itself, in contradiction with the IEEE standard.</p>
</div>
<h2id='methods'class='small-section-header'>
Methods<ahref='#methods'class='anchor'></a>
</h2>
<h3id='impl'class='impl'><spanclass='in-band'><tableclass='table-display'><tbody><tr><td><code>impl<T><aclass="struct"href="../edn/struct.OrderedFloat.html"title="struct edn::OrderedFloat">OrderedFloat</a><T><spanclass="where fmt-newline">where<br> T: <aclass="trait"href="https://docs.rs/num-traits/0.2/num_traits/float/trait.Float.html"title="trait num_traits::float::Float">Float</a>, </span></code><ahref='#impl'class='anchor'></a></span></td><td><spanclass='out-of-band'></span></td></tr></tbody></table></h3><divclass='impl-items'><h4id='method.into_inner'class="method"><spanid='into_inner.v'class='invisible'><tableclass='table-display'><tbody><tr><td><code>pub fn <ahref='#method.into_inner'class='fnname'>into_inner</a>(self) -> T</code></td><td></td></tr></tbody></table></span></h4><divclass='docblock'><p>Get the value out.</p>
<h3id='impl-Clone'class='impl'><spanclass='in-band'><tableclass='table-display'><tbody><tr><td><code>impl<T><aclass="trait"href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html"title="trait core::clone::Clone">Clone</a> for <aclass="struct"href="../edn/struct.OrderedFloat.html"title="struct edn::OrderedFloat">OrderedFloat</a><T><spanclass="where fmt-newline">where<br> T: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html"title="trait core::clone::Clone">Clone</a> + <aclass="trait"href="https://docs.rs/num-traits/0.2/num_traits/float/trait.Float.html"title="trait num_traits::float::Float">Float</a>, </span></code><ahref='#impl-Clone'class='anchor'></a></span></td><td><spanclass='out-of-band'></span></td></tr></tbody></table></h3><divclass='impl-items'><h4id='method.clone'class="method"><spanid='clone.v'class='invisible'><tableclass='table-display'><tbody><tr><td><code>fn <ahref='https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#tymethod.clone'class='fnname'>clone</a>(&self) -><aclass="struct"href="../edn/struct.OrderedFloat.html"title="struct edn::OrderedFloat">OrderedFloat</a><T></code></td><td></td></tr></tbody></table></span></h4><divclass='docblock'><p>Returns a copy of the value. <ahref="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#tymethod.clone">Read more</a></p>
</div><h4id='method.clone_from'class="method"><spanid='clone_from.v'class='invisible'><tableclass='table-display'><tbody><tr><td><code>fn <ahref='https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#method.clone_from'class='fnname'>clone_from</a>(&mut self, source: <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&</a>Self)</code></span></td><td><spanclass='out-of-band'><divclass='ghost'></div><divclass='since'title='Stable since Rust version 1.0.0'>1.0.0</div><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/core/clone.rs.html#117-119'title='goto source code'>[src]</a></td></tr></tbody></table></span></h4><divclass='docblock'><p>Performs copy-assignment from <code>source</code>. <ahref="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#method.clone_from">Read more</a></p>
</div></div><h3id='impl-Serialize'class='impl'><spanclass='in-band'><tableclass='table-display'><tbody><tr><td><code>impl<T><aclass="trait"href="https://docs.rs/serde/1.0.66/serde/ser/trait.Serialize.html"title="trait serde::ser::Serialize">Serialize</a> for <aclass="struct"href="../edn/struct.OrderedFloat.html"title="struct edn::OrderedFloat">OrderedFloat</a><T><spanclass="where fmt-newline">where<br> T: <aclass="trait"href="https://docs.rs/num-traits/0.2/num_traits/float/trait.Float.html"title="trait num_traits::float::Float">Float</a> + <aclass="trait"href="https://docs.rs/serde/1.0.66/serde/ser/trait.Serialize.html"title="trait serde::ser::Serialize">Serialize</a>, </span></code><ahref='#impl-Serialize'class='anchor'></a></span></td><td><spanclass='out-of-band'></span></td></tr></tbody></table></h3><divclass='impl-items'><h4id='method.serialize'class="method"><spanid='serialize.v'class='invisible'><tableclass='table-display'><tbody><tr><td><code>fn <ahref='https://docs.rs/serde/1.0.66/serde/ser/trait.Serialize.html#tymethod.serialize'class='fnname'>serialize</a><S>(<br> &self, <br> s: S<br>) -><aclass="enum"href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html"title="enum core::result::Result">Result</a><<S as <aclass="trait"href="https://docs.rs/serde/1.0.66/serde/ser/trait.Serializer.html"title="trait serde::ser::Serializer">Serializer</a>>::<aclass="type"href="https://docs.rs/serde/1.0.66/serde/ser/trait.Serializer.html#associatedtype.Ok"title="type serde::ser::Serializer::Ok">Ok</a>, <S as <aclass="trait"href="https://docs.rs/serde/1.0.66/serde/ser/trait.Serializer.html"title="trait serde::ser::Serializer">Serializer</a>>::<aclass="type"href="https://docs.rs/serde/1.0.66/serde/ser/trait.Serializer.html#associatedtype.Error"title="type serde::ser::Serializer::Error">Error</a>><spanclass="where fmt-newline">where<br> S: <aclass="trait"href="https://docs.rs/serde/1.0.66/serde/ser/trait.Serializer.html"title="trait serde::ser::Serializer">Serializer</a>, </span></code></td><td></td></tr></tbody></table></span></h4><divclass='docblock'><p>Serialize this value into the given Serde serializer. <ahref="https://docs.rs/serde/1.0.66/serde/ser/trait.Serialize.html#tymethod.serialize">Read more</a></p>
</div></div><h3id='impl-Hash'class='impl'><spanclass='in-band'><tableclass='table-display'><tbody><tr><td><code>impl<T><aclass="trait"href="https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html"title="trait core::hash::Hash">Hash</a> for <aclass="struct"href="../edn/struct.OrderedFloat.html"title="struct edn::OrderedFloat">OrderedFloat</a><T><spanclass="where fmt-newline">where<br> T: <aclass="trait"href="https://docs.rs/num-traits/0.2/num_traits/float/trait.Float.html"title="trait num_traits::float::Float">Float</a>, </span></code><ahref='#impl-Hash'class='anchor'></a></span></td><td><spanclass='out-of-band'></span></td></tr></tbody></table></h3><divclass='impl-items'><h4id='method.hash'class="method"><spanid='hash.v'class='invisible'><tableclass='table-display'><tbody><tr><td><code>fn <ahref='https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html#tymethod.hash'class='fnname'>hash</a><H>(&self, state: <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>H) <spanclass="where fmt-newline">where<br> H: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/hash/trait.Hasher.html"title="trait core::hash::Hasher">Hasher</a>, </span></code></td><td></td></tr></tbody></table></span></h4><divclass='docblock'><p>Feeds this value into the given [<code>Hasher</code>]. <ahref="https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html#tymethod.hash">Read more</a></p>
</div><h4id='method.hash_slice'class="method"><spanid='hash_slice.v'class='invisible'><tableclass='table-display'><tbody><tr><td><code>fn <ahref='https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html#method.hash_slice'class='fnname'>hash_slice</a><H>(data: <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.slice.html">&[Self]</a>, state: <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>H) <spanclass="where fmt-newline">where<br> H: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/hash/trait.Hasher.html"title="trait core::hash::Hasher">Hasher</a>, </span></code></span></td><td><spanclass='out-of-band'><divclass='ghost'></div><divclass='since'title='Stable since Rust version 1.3.0'>1.3.0</div><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/core/hash/mod.rs.html#203-209'title='goto source code'>[src]</a></td></tr></tbody></table></span></h4><divclass='docblock'><p>Feeds a slice of this type into the given [<code>Hasher</code>]. <ahref="https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html#method.hash_slice">Read more</a></p>
</div></div><h3id='impl-Eq'class='impl'><spanclass='in-band'><tableclass='table-display'><tbody><tr><td><code>impl<T><aclass="trait"href="https://doc.rust-lang.org/nightly/core/cmp/trait.Eq.html"title="trait core::cmp::Eq">Eq</a> for <aclass="struct"href="../edn/struct.OrderedFloat.html"title="struct edn::OrderedFloat">OrderedFloat</a><T><spanclass="where fmt-newline">where<br> T: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html"title="trait core::cmp::PartialEq">PartialEq</a><T> + <aclass="trait"href="https://docs.rs/num-traits/0.2/num_traits/float/trait.Float.html"title="trait num_traits::float::Float">Float</a>, </span></code><ahref='#impl-Eq'class='anchor'></a></span></td><td><spanclass='out-of-band'></span></td></tr></tbody></table></h3><divclass='impl-items'></div><h3id='impl-Debug'class='impl'><spanclass='in-band'><tableclass='table-display'><tbody><tr><td><code>impl<T><aclass="trait"href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html"title="trait core::fmt::Debug">Debug</a> for <aclass="struct"href="../edn/struct.OrderedFloat.html"title="struct edn::OrderedFloat">OrderedFloat</a><T><spanclass="where fmt-newline">where<br> T: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html"title="trait core::fmt::Debug">Debug</a> + <aclass="trait"href="https://docs.rs/num-traits/0.2/num_traits/float/trait.Float.html"title="trait num_traits::float::Float">Float</a>, </span></code><ahref='#impl-Debug'class='anchor'></a></span></td><td><spanclass='out-of-band'></span></td></tr></tbody></table></h3><divclass='impl-items'><h4id='method.fmt'class="method"><spanid='fmt.v'class='invisible'><tableclass='table-display'><tbody><tr><td><code>fn <ahref='https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html#tymethod.fmt'class='fnname'>fmt</a>(&self, __arg_0: &mut <aclass="struct"href="https://doc.rust-lang.org/nightly/core/fmt/struct.Formatter.html"title="struct core::fmt::Formatter">Formatter</a>) -><aclass="enum"href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html"title="enum core::result::Result">Result</a><<aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, <aclass="struct"href="https://doc.rust-lang.org/nightly/core/fmt/struct.Error.html"title="struct core::fmt::Error">Error</a>></code></td><td></td></tr></tbody></table></span></h4><divclass='docblock'><p>Formats the value using the given formatter. <ahref="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html#tymethod.fmt">Read more</a></p>
</div></div><h3id='impl-Copy'class='impl'><spanclass='in-band'><tableclass='table-display'><tbody><tr><td><code>impl<T><aclass="trait"href="https://doc.rust-lang.org/nightly/core/marker/trait.Copy.html"title="trait core::marker::Copy">Copy</a> for <aclass="struct"href="../edn/struct.OrderedFloat.html"title="struct edn::OrderedFloat">OrderedFloat</a><T><spanclass="where fmt-newline">where<br> T: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/marker/trait.Copy.html"title="trait core::marker::Copy">Copy</a> + <aclass="trait"href="https://docs.rs/num-traits/0.2/num_traits/float/trait.Float.html"title="trait num_traits::float::Float">Float</a>, </span></code><ahref='#impl-Copy'class='anchor'></a></span></td><td><spanclass='out-of-band'></span></td></tr></tbody></table></h3><divclass='impl-items'></div><h3id='impl-PartialOrd%3COrderedFloat%3CT%3E%3E'class='impl'><spanclass='in-band'><tableclass='table-display'><tbody><tr><td><code>impl<T><aclass="trait"href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html"title="trait core::cmp::PartialOrd">PartialOrd</a><<aclass="struct"href="../edn/struct.OrderedFloat.html"title="struct edn::OrderedFloat">OrderedFloat</a><T>> for <aclass="struct"href="../edn/struct.OrderedFloat.html"title="struct edn::OrderedFloat">OrderedFloat</a><T><spanclass="where fmt-newline">where<br> T: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html"title="trait core::cmp::PartialOrd">PartialOrd</a><T> + <aclass="trait"href="https://docs.rs/num-traits/0.2/num_traits/float/trait.Float.html"title="trait num_traits::float::Float">Float</a>, </span></code><ahref='#impl-PartialOrd%3COrderedFloat%3CT%3E%3E'class='anchor'></a></span></td><td><spanclass='out-of-band'></span></td></tr></tbody></table></h3><divclass='impl-items'><h4id='method.partial_cmp'class="method"><spanid='partial_cmp.v'class='invisible'><tableclass='table-display'><tbody><tr><td><code>fn <ahref='https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html#tymethod.partial_cmp'class='fnname'>partial_cmp</a>(&self, __arg_0: &<aclass="struct"href="../edn/struct.OrderedFloat.html"title="struct edn::OrderedFloat">OrderedFloat</a><T>) -><aclass="enum"href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html"title="enum core::option::Option">Option</a><<aclass="enum"href="https://doc.rust-lang.org/nightly/core/cmp/enum.Ordering.html"title="enum core::cmp::Ordering">Ordering</a>></code></td><td></td></tr></tbody></table></span></h4><divclass='docblock'><p>This method returns an ordering between <code>self</code> and <code>other</code> values if one exists. <ahref="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html#tymethod.partial_cmp">Read more</a></p>
</div><h4id='method.lt'class="method"><spanid='lt.v'class='invisible'><tableclass='table-display'><tbody><tr><td><code>fn <ahref='https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html#method.lt'class='fnname'>lt</a>(&self, __arg_0: &<aclass="struct"href="../edn/struct.OrderedFloat.html"title="struct edn::OrderedFloat">OrderedFloat</a><T>) -><aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code></td><td></td></tr></tbody></table></span></h4><divclass='docblock'><p>This method tests less than (for <code>self</code> and <code>other</code>) and is used by the <code><</code> operator. <ahref="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html#method.lt">Read more</a></p>
</div><h4id='method.le'class="method"><spanid='le.v'class='invisible'><tableclass='table-display'><tbody><tr><td><code>fn <ahref='https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html#method.le'class='fnname'>le</a>(&self, __arg_0: &<aclass="struct"href="../edn/struct.OrderedFloat.html"title="struct edn::OrderedFloat">OrderedFloat</a><T>) -><aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code></td><td></td></tr></tbody></table></span></h4><divclass='docblock'><p>This method tests less than or equal to (for <code>self</code> and <code>other</code>) and is used by the <code><=</code> operator. <ahref="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html#method.le">Read more</a></p>
</div><h4id='method.gt'class="method"><spanid='gt.v'class='invisible'><tableclass='table-display'><tbody><tr><td><code>fn <ahref='https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html#method.gt'class='fnname'>gt</a>(&self, __arg_0: &<aclass="struct"href="../edn/struct.OrderedFloat.html"title="struct edn::OrderedFloat">OrderedFloat</a><T>) -><aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code></td><td></td></tr></tbody></table></span></h4><divclass='docblock'><p>This method tests greater than (for <code>self</code> and <code>other</code>) and is used by the <code>></code> operator. <ahref="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html#method.gt">Read more</a></p>
</div><h4id='method.ge'class="method"><spanid='ge.v'class='invisible'><tableclass='table-display'><tbody><tr><td><code>fn <ahref='https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html#method.ge'class='fnname'>ge</a>(&self, __arg_0: &<aclass="struct"href="../edn/struct.OrderedFloat.html"title="struct edn::OrderedFloat">OrderedFloat</a><T>) -><aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code></td><td></td></tr></tbody></table></span></h4><divclass='docblock'><p>This method tests greater than or equal to (for <code>self</code> and <code>other</code>) and is used by the <code>>=</code> operator. <ahref="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html#method.ge">Read more</a></p>
</div></div><h3id='impl-AsRef%3CT%3E'class='impl'><spanclass='in-band'><tableclass='table-display'><tbody><tr><td><code>impl<T><aclass="trait"href="https://doc.rust-lang.org/nightly/core/convert/trait.AsRef.html"title="trait core::convert::AsRef">AsRef</a><T> for <aclass="struct"href="../edn/struct.OrderedFloat.html"title="struct edn::OrderedFloat">OrderedFloat</a><T><spanclass="where fmt-newline">where<br> T: <aclass="trait"href="https://docs.rs/num-traits/0.2/num_traits/float/trait.Float.html"title="trait num_traits::float::Float">Float</a>, </span></code><ahref='#impl-AsRef%3CT%3E'class='anchor'></a></span></td><td><spanclass='out-of-band'></span></td></tr></tbody></table></h3><divclass='impl-items'><h4id='method.as_ref'class="method"><divclass="important-traits"><divclass='tooltip'>ⓘ<spanclass='tooltiptext'>Important traits for <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a mut </a>R</span></div><divclass="content hidden"><h3class="important">Important traits for <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a mut </a>R</h3><codeclass="content"><spanclass="where fmt-newline">impl<'a, R><aclass="trait"href="https://doc.rust-lang.org/nightly/std/io/trait.Read.html"title="trait std::io::Read">Read</a> for <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a mut </a>R <spanclass="where fmt-newline">where<br> R: <aclass="trait"href="https://doc.rust-lang.org/nightly/std/io/trait.Read.html"title="trait std::io::Read">Read</a> + ?<aclass="trait"href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html"title="trait core::marker::Sized">Sized</a>, </span></span><spanclass="where fmt-newline">impl<'a, W><aclass="trait"href="https://doc.rust-lang.org/nightly/std/io/trait.Write.html"title="trait std::io::Write">Write</a> for <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a mut </a>W <spanclass="where fmt-newline">where<br> W: <aclass="trait"href="https://doc.rust-lang.org/nightly/std/io/trait.Write.html"title="trait std::io::Write">Write</a> + ?<aclass="trait"href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html"title="trait core::marker::Sized">Sized</a>, </span></span><spanclass="where fmt-newline">impl<'a, I><aclass="trait"href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html"title="trait core::iter::iterator::Iterator">Iterator</a> for <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a mut </a>I <spanclass="where fmt-newline">where<br> I: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html"title="trait core::iter::iterator::Iterator">Iterator</a> + ?<aclass="trait"href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html"title="trait core::marker::Sized">Sized</a>, </span></span><spanclass="where fmt-newline"> type <ahref='https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#associatedtype.Item'class="type">Item</a> = <I as <aclass="trait"href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html"title="trait core::iter::iterator::Iterator">Iterator</a>>::<aclass="type"href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#associatedtype.Item"title="type core::iter::iterator::Iterator::Item">Item</a>;</span></code></div></div><spanid='as_ref.v'class='invisible'><tableclass='table-display'><tbody><tr><td><code>fn <ahref='https://doc.rust-lang.org/nightly/core/convert/trait.AsRef.html#tymethod.as_ref'class='fnname'>as_ref</a>(&self) -><aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&</a>T</code></td><td></td></tr></tbody></table></s
</div></div><h3id='impl-From%3CT%3E'class='impl'><spanclass='in-band'><tableclass='table-display'><tbody><tr><td><code>impl<T><aclass="trait"href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html"title="trait core::convert::From">From</a><T> for <aclass="struct"href="../edn/struct.OrderedFloat.html"title="struct edn::OrderedFloat">OrderedFloat</a><T><spanclass="where fmt-newline">where<br> T: <aclass="trait"href="https://docs.rs/num-traits/0.2/num_traits/float/trait.Float.html"title="trait num_traits::float::Float">Float</a>, </span></code><ahref='#impl-From%3CT%3E'class='anchor'></a></span></td><td><spanclass='out-of-band'></span></td></tr></tbody></table></h3><divclass='impl-items'><h4id='method.from'class="method"><spanid='from.v'class='invisible'><tableclass='table-display'><tbody><tr><td><code>fn <ahref='https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from'class='fnname'>from</a>(val: T) -><aclass="struct"href="../edn/struct.OrderedFloat.html"title="struct edn::OrderedFloat">OrderedFloat</a><T></code></td><td></td></tr></tbody></table></span></h4><divclass='docblock'><p>Performs the conversion.</p>
</div></div><h3id='impl-DerefMut'class='impl'><spanclass='in-band'><tableclass='table-display'><tbody><tr><td><code>impl<T><aclass="trait"href="https://doc.rust-lang.org/nightly/core/ops/deref/trait.DerefMut.html"title="trait core::ops::deref::DerefMut">DerefMut</a> for <aclass="struct"href="../edn/struct.OrderedFloat.html"title="struct edn::OrderedFloat">OrderedFloat</a><T><spanclass="where fmt-newline">where<br> T: <aclass="trait"href="https://docs.rs/num-traits/0.2/num_traits/float/trait.Float.html"title="trait num_traits::float::Float">Float</a>, </span></code><ahref='#impl-DerefMut'class='anchor'></a></span></td><td><spanclass='out-of-band'></span></td></tr></tbody></table></h3><divclass='impl-items'><h4id='method.deref_mut'class="method"><spanid='deref_mut.v'class='invisible'><tableclass='table-display'><tbody><tr><td><code>fn <ahref='https://doc.rust-lang.org/nightly/core/ops/deref/trait.DerefMut.html#tymethod.deref_mut'class='fnname'>deref_mut</a>(&mut self) ->&mut <<aclass="struct"href="../edn/struct.OrderedFloat.html"title="struct edn::OrderedFloat">OrderedFloat</a><T> as <aclass="trait"href="https://doc.rust-lang.org/nightly/core/ops/deref/trait.Deref.html"title="trait core::ops::deref::Deref">Deref</a>>::<aclass="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></td><td></td></tr></tbody></table></span></h4><divclass='docblock'><p>Mutably dereferences the value.</p>
</div></div><h3id='impl-Into%3Cf64%3E'class='impl'><spanclass='in-band'><tableclass='table-display'><tbody><tr><td><code>impl <aclass="trait"href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html"title="trait core::convert::Into">Into</a><<aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a>> for <aclass="struct"href="../edn/struct.OrderedFloat.html"title="struct edn::OrderedFloat">OrderedFloat</a><<aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a>></code><ahref='#impl-Into%3Cf64%3E'class='anchor'></a></span></td><td><spanclass='out-of-band'></span></td></tr></tbody></table></h3><divclass='impl-items'><h4id='method.into'class="method"><spanid='into.v'class='invisible'><tableclass='table-display'><tbody><tr><td><code>fn <ahref='https://doc.rust-lang.org/nightly/core/convert/trait.Into.html#tymethod.into'class='fnname'>into</a>(self) -><aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a></code></td><td></td></tr></tbody></table></span></h4><divclass='docblock'><p>Performs the conversion.</p>
</div></div><h3id='impl-Into%3Cf32%3E'class='impl'><spanclass='in-band'><tableclass='table-display'><tbody><tr><td><code>impl <aclass="trait"href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html"title="trait core::convert::Into">Into</a><<aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a>> for <aclass="struct"href="../edn/struct.OrderedFloat.html"title="struct edn::OrderedFloat">OrderedFloat</a><<aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a>></code><ahref='#impl-Into%3Cf32%3E'class='anchor'></a></span></td><td><spanclass='out-of-band'></span></td></tr></tbody></table></h3><divclass='impl-items'><h4id='method.into-1'class="method"><spanid='into.v-1'class='invisible'><tableclass='table-display'><tbody><tr><td><code>fn <ahref='https://doc.rust-lang.org/nightly/core/convert/trait.Into.html#tymethod.into'class='fnname'>into</a>(self) -><aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a></code></td><td></td></tr></tbody></table></span></h4><divclass='docblock'><p>Performs the conversion.</p>
</div></div><h3id='impl-Ord'class='impl'><spanclass='in-band'><tableclass='table-display'><tbody><tr><td><code>impl<T><aclass="trait"href="https://doc.rust-lang.org/nightly/core/cmp/trait.Ord.html"title="trait core::cmp::Ord">Ord</a> for <aclass="struct"href="../edn/struct.OrderedFloat.html"title="struct edn::OrderedFloat">OrderedFloat</a><T><spanclass="where fmt-newline">where<br> T: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html"title="trait core::cmp::PartialOrd">PartialOrd</a><T> + <aclass="trait"href="https://docs.rs/num-traits/0.2/num_traits/float/trait.Float.html"title="trait num_traits::float::Float">Float</a>, </span></code><ahref='#impl-Ord'class='anchor'></a></span></td><td><spanclass='out-of-band'></span></td></tr></tbody></table></h3><divclass='impl-items'><h4id='method.cmp'class="method"><spanid='cmp.v'class='invisible'><tableclass='table-display'><tbody><tr><td><code>fn <ahref='https://doc.rust-lang.org/nightly/core/cmp/trait.Ord.html#tymethod.cmp'class='fnname'>cmp</a>(&self, other: &<aclass="struct"href="../edn/struct.OrderedFloat.html"title="struct edn::OrderedFloat">OrderedFloat</a><T>) -><aclass="enum"href="https://doc.rust-lang.org/nightly/core/cmp/enum.Ordering.html"title="enum core::cmp::Ordering">Ordering</a></code></td><td></td></tr></tbody></table></span></h4><divclass='docblock'><p>This method returns an <code>Ordering</code> between <code>self</code> and <code>other</code>. <ahref="https://doc.rust-lang.org/nightly/core/cmp/trait.Ord.html#tymethod.cmp">Read more</a></p>
</div><h4id='method.max'class="method"><spanid='max.v'class='invisible'><tableclass='table-display'><tbody><tr><td><code>fn <ahref='https://doc.rust-lang.org/nightly/core/cmp/trait.Ord.html#method.max'class='fnname'>max</a>(self, other: Self) -> Self</code></span></td><td><spanclass='out-of-band'><divclass='ghost'></div><divclass='since'title='Stable since Rust version 1.21.0'>1.21.0</div><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/core/cmp.rs.html#461-464'title='goto source code'>[src]</a></td></tr></tbody></table></span></h4><divclass='docblock'><p>Compares and returns the maximum of two values. <ahref="https://doc.rust-lang.org/nightly/core/cmp/trait.Ord.html#method.max">Read more</a></p>
</div><h4id='method.min'class="method"><spanid='min.v'class='invisible'><tableclass='table-display'><tbody><tr><td><code>fn <ahref='https://doc.rust-lang.org/nightly/core/cmp/trait.Ord.html#method.min'class='fnname'>min</a>(self, other: Self) -> Self</code></span></td><td><spanclass='out-of-band'><divclass='ghost'></div><divclass='since'title='Stable since Rust version 1.21.0'>1.21.0</div><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/core/cmp.rs.html#477-480'title='goto source code'>[src]</a></td></tr></tbody></table></span></h4><divclass='docblock'><p>Compares and returns the minimum of two values. <ahref="https://doc.rust-lang.org/nightly/core/cmp/trait.Ord.html#method.min">Read more</a></p>
</div></div><h3id='impl-Deserialize%3C%27de%3E'class='impl'><spanclass='in-band'><tableclass='table-display'><tbody><tr><td><code>impl<'de, T><aclass="trait"href="https://docs.rs/serde/1.0.66/serde/de/trait.Deserialize.html"title="trait serde::de::Deserialize">Deserialize</a><'de> for <aclass="struct"href="../edn/struct.OrderedFloat.html"title="struct edn::OrderedFloat">OrderedFloat</a><T><spanclass="where fmt-newline">where<br> T: <aclass="trait"href="https://docs.rs/num-traits/0.2/num_traits/float/trait.Float.html"title="trait num_traits::float::Float">Float</a> + <aclass="trait"href="https://docs.rs/serde/1.0.66/serde/de/trait.Deserialize.html"title="trait serde::de::Deserialize">Deserialize</a><'de>, </span></code><ahref='#impl-Deserialize%3C%27de%3E'class='anchor'></a></span></td><td><spanclass='out-of-band'></span></td></tr></tbody></table></h3><divclass='impl-items'><h4id='method.deserialize'class="method"><spanid='deserialize.v'class='invisible'><tableclass='table-display'><tbody><tr><td><code>fn <ahref='https://docs.rs/serde/1.0.66/serde/de/trait.Deserialize.html#tymethod.deserialize'class='fnname'>deserialize</a><D>(<br> d: D<br>) -><aclass="enum"href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html"title="enum core::result::Result">Result</a><<aclass="struct"href="../edn/struct.OrderedFloat.html"title="struct edn::OrderedFloat">OrderedFloat</a><T>, <D as <aclass="trait"href="https://docs.rs/serde/1.0.66/serde/de/trait.Deserializer.html"title="trait serde::de::Deserializer">Deserializer</a><'de>>::<aclass="type"href="https://docs.rs/serde/1.0.66/serde/de/trait.Deserializer.html#associatedtype.Error"title="type serde::de::Deserializer::Error">Error</a>><spanclass="where fmt-newline">where<br> D: <aclass="trait"href="https://docs.rs/serde/1.0.66/serde/de/trait.Deserializer.html"title="trait serde::de::Deserializer">Deserializer</a><'de>, </span></code></td><td></td></tr></tbody></table></span></h4><divclass='docblock'><p>Deserialize this value from the given Serde deserializer. <ahref="https://docs.rs/serde/1.0.66/serde/de/trait.Deserialize.html#tymethod.deserialize">Read more</a></p>
</div></div><h3id='impl-PartialEq%3COrderedFloat%3CT%3E%3E'class='impl'><spanclass='in-band'><tableclass='table-display'><tbody><tr><td><code>impl<T><aclass="trait"href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html"title="trait core::cmp::PartialEq">PartialEq</a><<aclass="struct"href="../edn/struct.OrderedFloat.html"title="struct edn::OrderedFloat">OrderedFloat</a><T>> for <aclass="struct"href="../edn/struct.OrderedFloat.html"title="struct edn::OrderedFloat">OrderedFloat</a><T><spanclass="where fmt-newline">where<br> T: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html"title="trait core::cmp::PartialEq">PartialEq</a><T> + <aclass="trait"href="https://docs.rs/num-traits/0.2/num_traits/float/trait.Float.html"title="trait num_traits::float::Float">Float</a>, </span></code><ahref='#impl-PartialEq%3COrderedFloat%3CT%3E%3E'class='anchor'></a></span></td><td><spanclass='out-of-band'></span></td></tr></tbody></table></h3><divclass='impl-items'><h4id='method.eq'class="method"><spanid='eq.v'class='invisible'><tableclass='table-display'><tbody><tr><td><code>fn <ahref='https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq'class='fnname'>eq</a>(&self, other: &<aclass="struct"href="../edn/struct.OrderedFloat.html"title="struct edn::OrderedFloat">OrderedFloat</a><T>) -><aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code></td><td></td></tr></tbody></table></span></h4><divclass='docblock'><p>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used by <code>==</code>. <ahref="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq">Read more</a></p>
</div><h4id='method.ne'class="method"><spanid='ne.v'class='invisible'><tableclass='table-display'><tbody><tr><td><code>fn <ahref='https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#method.ne'class='fnname'>ne</a>(&self, other: <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&</a>Rhs) -><aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code></span></td><td><spanclass='out-of-band'><divclass='ghost'></div><divclass='since'title='Stable since Rust version 1.0.0'>1.0.0</div><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/core/cmp.rs.html#121'title='goto source code'>[src]</a></td></tr></tbody></table></span></h4><divclass='docblock'><p>This method tests for <code>!=</code>.</p>
</div></div><h3id='impl-Display'class='impl'><spanclass='in-band'><tableclass='table-display'><tbody><tr><td><code>impl<T><aclass="trait"href="https://doc.rust-lang.org/nightly/core/fmt/trait.Display.html"title="trait core::fmt::Display">Display</a> for <aclass="struct"href="../edn/struct.OrderedFloat.html"title="struct edn::OrderedFloat">OrderedFloat</a><T><spanclass="where fmt-newline">where<br> T: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/fmt/trait.Display.html"title="trait core::fmt::Display">Display</a> + <aclass="trait"href="https://docs.rs/num-traits/0.2/num_traits/float/trait.Float.html"title="trait num_traits::float::Float">Float</a>, </span></code><ahref='#impl-Display'class='anchor'></a></span></td><td><spanclass='out-of-band'></span></td></tr></tbody></table></h3><divclass='impl-items'><h4id='method.fmt-1'class="method"><spanid='fmt.v-1'class='invisible'><tableclass='table-display'><tbody><tr><td><code>fn <ahref='https://doc.rust-lang.org/nightly/core/fmt/trait.Display.html#tymethod.fmt'class='fnname'>fmt</a>(&self, f: &mut <aclass="struct"href="https://doc.rust-lang.org/nightly/core/fmt/struct.Formatter.html"title="struct core::fmt::Formatter">Formatter</a>) -><aclass="enum"href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html"title="enum core::result::Result">Result</a><<aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, <aclass="struct"href="https://doc.rust-lang.org/nightly/core/fmt/struct.Error.html"title="struct core::fmt::Error">Error</a>></code></td><td></td></tr></tbody></table></span></h4><divclass='docblock'><p>Formats the value using the given formatter. <ahref="https://doc.rust-lang.org/nightly/core/fmt/trait.Display.html#tymethod.fmt">Read more</a></p>
<divclass='docblock'><p>The resulting type after dereferencing.</p>
</div><h4id='method.deref'class="method"><spanid='deref.v'class='invisible'><tableclass='table-display'><tbody><tr><td><code>fn <ahref='https://doc.rust-lang.org/nightly/core/ops/deref/trait.Deref.html#tymethod.deref'class='fnname'>deref</a>(&self) ->&<<aclass="struct"href="../edn/struct.OrderedFloat.html"title="struct edn::OrderedFloat">OrderedFloat</a><T> as <aclass="trait"href="https://doc.rust-lang.org/nightly/core/ops/deref/trait.Deref.html"title="trait core::ops::deref::Deref">Deref</a>>::<aclass="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></td><td></td></tr></tbody></table></span></h4><divclass='docblock'><p>Dereferences the value.</p>
</div></div><h3id='impl-Default'class='impl'><spanclass='in-band'><tableclass='table-display'><tbody><tr><td><code>impl<T><aclass="trait"href="https://doc.rust-lang.org/nightly/core/default/trait.Default.html"title="trait core::default::Default">Default</a> for <aclass="struct"href="../edn/struct.OrderedFloat.html"title="struct edn::OrderedFloat">OrderedFloat</a><T><spanclass="where fmt-newline">where<br> T: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/default/trait.Default.html"title="trait core::default::Default">Default</a> + <aclass="trait"href="https://docs.rs/num-traits/0.2/num_traits/float/trait.Float.html"title="trait num_traits::float::Float">Float</a>, </span></code><ahref='#impl-Default'class='anchor'></a></span></td><td><spanclass='out-of-band'></span></td></tr></tbody></table></h3><divclass='impl-items'><h4id='method.default'class="method"><spanid='default.v'class='invisible'><tableclass='table-display'><tbody><tr><td><code>fn <ahref='https://doc.rust-lang.org/nightly/core/default/trait.Default.html#tymethod.default'class='fnname'>default</a>() -><aclass="struct"href="../edn/struct.OrderedFloat.html"title="struct edn::OrderedFloat">OrderedFloat</a><T></code></td><td></td></tr></tbody></table></span></h4><divclass='docblock'><p>Returns the "default value" for a type. <ahref="https://doc.rust-lang.org/nightly/core/default/trait.Default.html#tymethod.default">Read more</a></p>
</div></div><h3id='impl-AsMut%3CT%3E'class='impl'><spanclass='in-band'><tableclass='table-display'><tbody><tr><td><code>impl<T><aclass="trait"href="https://doc.rust-lang.org/nightly/core/convert/trait.AsMut.html"title="trait core::convert::AsMut">AsMut</a><T> for <aclass="struct"href="../edn/struct.OrderedFloat.html"title="struct edn::OrderedFloat">OrderedFloat</a><T><spanclass="where fmt-newline">where<br> T: <aclass="trait"href="https://docs.rs/num-traits/0.2/num_traits/float/trait.Float.html"title="trait num_traits::float::Float">Float</a>, </span></code><ahref='#impl-AsMut%3CT%3E'class='anchor'></a></span></td><td><spanclass='out-of-band'></span></td></tr></tbody></table></h3><divclass='impl-items'><h4id='method.as_mut'class="method"><divclass="important-traits"><divclass='tooltip'>ⓘ<spanclass='tooltiptext'>Important traits for <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a mut </a>R</span></div><divclass="content hidden"><h3class="important">Important traits for <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a mut </a>R</h3><codeclass="content"><spanclass="where fmt-newline">impl<'a, R><aclass="trait"href="https://doc.rust-lang.org/nightly/std/io/trait.Read.html"title="trait std::io::Read">Read</a> for <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a mut </a>R <spanclass="where fmt-newline">where<br> R: <aclass="trait"href="https://doc.rust-lang.org/nightly/std/io/trait.Read.html"title="trait std::io::Read">Read</a> + ?<aclass="trait"href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html"title="trait core::marker::Sized">Sized</a>, </span></span><spanclass="where fmt-newline">impl<'a, W><aclass="trait"href="https://doc.rust-lang.org/nightly/std/io/trait.Write.html"title="trait std::io::Write">Write</a> for <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a mut </a>W <spanclass="where fmt-newline">where<br> W: <aclass="trait"href="https://doc.rust-lang.org/nightly/std/io/trait.Write.html"title="trait std::io::Write">Write</a> + ?<aclass="trait"href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html"title="trait core::marker::Sized">Sized</a>, </span></span><spanclass="where fmt-newline">impl<'a, I><aclass="trait"href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html"title="trait core::iter::iterator::Iterator">Iterator</a> for <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a mut </a>I <spanclass="where fmt-newline">where<br> I: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html"title="trait core::iter::iterator::Iterator">Iterator</a> + ?<aclass="trait"href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html"title="trait core::marker::Sized">Sized</a>, </span></span><spanclass="where fmt-newline"> type <ahref='https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#associatedtype.Item'class="type">Item</a> = <I as <aclass="trait"href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html"title="trait core::iter::iterator::Iterator">Iterator</a>>::<aclass="type"href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#associatedtype.Item"title="type core::iter::iterator::Iterator::Item">Item</a>;</span></code></div></div><spanid='as_mut.v'class='invisible'><tableclass='table-display'><tbody><tr><td><code>fn <ahref='https://doc.rust-lang.org/nightly/core/convert/trait.AsMut.html#tymethod.as_mut'class='fnname'>as_mut</a>(&mut self) -><aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>T</code></td><td></td></tr></tbody></t