mirror of
https://github.com/Rust-GPU/rust-gpu.git
synced 2026-06-07 10:09:51 +09:00
176 lines
364 KiB
HTML
176 lines
364 KiB
HTML
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="A wrapper around floats providing implementations of `Eq`, `Ord`, and `Hash`."><title>OrderedFloat in ordered_float - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-6b053e98.ttf.woff2,FiraSans-Italic-81dc35de.woff2,FiraSans-Regular-0fe48ade.woff2,FiraSans-MediumItalic-ccf7e434.woff2,FiraSans-Medium-e1aa3f0a.woff2,SourceCodePro-Regular-8badfe75.ttf.woff2,SourceCodePro-Semibold-aa29a496.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2"href="../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../static.files/normalize-9960930a.css"><link rel="stylesheet" href="../static.files/rustdoc-17e0aaed.css"><meta name="rustdoc-vars" data-root-path="../" data-static-root-path="../static.files/" data-current-crate="ordered_float" data-themes="" data-resource-suffix="" data-rustdoc-version="1.96.0-nightly (02c7f9bec 2026-04-10)" data-channel="nightly" data-search-js="search-b5634cc7.js" data-stringdex-js="stringdex-2da4960a.js" data-settings-js="settings-170eb4bf.js" ><script src="../static.files/storage-41dd4d93.js"></script><script defer src="sidebar-items.js"></script><script defer src="../static.files/main-5013f961.js"></script><noscript><link rel="stylesheet" href="../static.files/noscript-f7c3ffd8.css"></noscript><link rel="alternate icon" type="image/png" href="../static.files/favicon-32x32-eab170b8.png"><link rel="icon" type="image/svg+xml" href="../static.files/favicon-044be391.svg"></head><body class="rustdoc struct"><a class="skip-main-content" href="#main-content">Skip to main content</a><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><rustdoc-topbar><h2><a href="#">OrderedFloat</a></h2></rustdoc-topbar><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../ordered_float/index.html">ordered_<wbr>float</a><span class="version">2.10.1</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Ordered<wbr>Float</a></h2><h3><a href="#fields">Tuple Fields</a></h3><ul class="block structfield"><li><a href="#structfield.0" title="0">0</a></li></ul><h3><a href="#implementations">Methods</a></h3><ul class="block method"><li><a href="#method.into_inner" title="into_inner">into_inner</a></li></ul><h3><a href="#trait-implementations">Trait Implementations</a></h3><ul class="block trait-implementation"><li><a href="#impl-Add-for-%26OrderedFloat%3CT%3E" title="Add">Add</a></li><li><a href="#impl-Add-for-OrderedFloat%3CT%3E" title="Add">Add</a></li><li><a href="#impl-Add%3C%26OrderedFloat%3CT%3E%3E-for-OrderedFloat%3CT%3E" title="Add<&'a OrderedFloat<T>>">Add<&'a OrderedFloat<T>></a></li><li><a href="#impl-Add%3C%26T%3E-for-%26OrderedFloat%3CT%3E" title="Add<&'a T>">Add<&'a T></a></li><li><a href="#impl-Add%3C%26T%3E-for-OrderedFloat%3CT%3E" title="Add<&'a T>">Add<&'a T></a></li><li><a href="#impl-Add%3COrderedFloat%3CT%3E%3E-for-%26OrderedFloat%3CT%3E" title="Add<OrderedFloat<T>>">Add<OrderedFloat<T>></a></li><li><a href="#impl-Add%3CT%3E-for-%26OrderedFloat%3CT%3E" title="Add<T>">Add<T></a></li><li><a href="#impl-Add%3CT%3E-for-OrderedFloat%3CT%3E" title="Add<T>">Add<T></a></li><li><a href="#impl-AddAssign-for-OrderedFloat%3CT%3E" title="AddAssign">AddAssign</a></li><li><a href="#impl-AddAssign%3C%26OrderedFloat%3CT%3E%3E-for-OrderedFloat%3CT%3E" title="AddAssign<&'a OrderedFloat<T>>">AddAssign<&'a OrderedFloat<T>></a></li><li><a href="#impl-AddAssign%3C%26T%3E-for-OrderedFloat%3CT%3E" title="AddAssign<&'a T>">AddAssign<&'a T></a></li><li><a href="#impl-AddAssign%3CT%3E-for-OrderedFloat%3CT%3E" title="AddAssign<T>">AddAssign<T></a></li><li><a href="#impl-AsMut%3CT%3E-for-OrderedFloat%3CT%3E" title="AsMut<T>">AsMut<T></a></li><li><a href="#impl-AsRef%3CT%3E-for-OrderedFloat%3CT%3E" title="AsRef<T>">AsRef<T></a></li><li><a href="#impl-Bounded-for-OrderedFloat%3CT%3E" title="Bounded">Bounded</a></li><li><a href="#impl-Clone-for-OrderedFloat%3CT%3E" title="Clone">Clone</a></li><li><a href="#impl-Copy-for-OrderedFloat%3CT%3E" title="Copy">Copy</a></li><li><a href="#impl-Debug-for-OrderedFloat%3CT%3E" title="Debug">Debug</a></li><li><a href="#impl-Default-for-OrderedFloat%3CT%3E" title="Default">Default</a></li><li><a href="#impl-Deref-for-OrderedFloat%3CT%3E" title="Deref">Deref</a></li><li><a href="#impl-DerefMut-for-OrderedFloat%3CT%3E" title="DerefMut">DerefMut</a></li><li><a href="#impl-Display-for-OrderedFloat%3CT%3E" title="Display">Display</a></li><li><a href="#impl-Div-for-%26OrderedFloat%3CT%3E" title="Div">Div</a></li><li><a href="#impl-Div-for-OrderedFloat%3CT%3E" title="Div">Div</a></li><li><a href="#impl-Div%3C%26OrderedFloat%3CT%3E%3E-for-OrderedFloat%3CT%3E" title="Div<&'a OrderedFloat<T>>">Div<&'a OrderedFloat<T>></a></li><li><a href="#impl-Div%3C%26T%3E-for-%26OrderedFloat%3CT%3E" title="Div<&'a T>">Div<&'a T></a></li><li><a href="#impl-Div%3C%26T%3E-for-OrderedFloat%3CT%3E" title="Div<&'a T>">Div<&'a T></a></li><li><a href="#impl-Div%3COrderedFloat%3CT%3E%3E-for-%26OrderedFloat%3CT%3E" title="Div<OrderedFloat<T>>">Div<OrderedFloat<T>></a></li><li><a href="#impl-Div%3CT%3E-for-%26OrderedFloat%3CT%3E" title="Div<T>">Div<T></a></li><li><a href="#impl-Div%3CT%3E-for-OrderedFloat%3CT%3E" title="Div<T>">Div<T></a></li><li><a href="#impl-DivAssign-for-OrderedFloat%3CT%3E" title="DivAssign">DivAssign</a></li><li><a href="#impl-DivAssign%3C%26OrderedFloat%3CT%3E%3E-for-OrderedFloat%3CT%3E" title="DivAssign<&'a OrderedFloat<T>>">DivAssign<&'a OrderedFloat<T>></a></li><li><a href="#impl-DivAssign%3C%26T%3E-for-OrderedFloat%3CT%3E" title="DivAssign<&'a T>">DivAssign<&'a T></a></li><li><a href="#impl-DivAssign%3CT%3E-for-OrderedFloat%3CT%3E" title="DivAssign<T>">DivAssign<T></a></li><li><a href="#impl-Eq-for-OrderedFloat%3CT%3E" title="Eq">Eq</a></li><li><a href="#impl-Float-for-OrderedFloat%3CT%3E" title="Float">Float</a></li><li><a href="#impl-FloatCore-for-OrderedFloat%3CT%3E" title="FloatCore">FloatCore</a></li><li><a href="#impl-From%3C%26T%3E-for-%26OrderedFloat%3CT%3E" title="From<&'a T>">From<&'a T></a></li><li><a href="#impl-From%3C%26mut+T%3E-for-%26mut+OrderedFloat%3CT%3E" title="From<&'a mut T>">From<&'a mut T></a></li><li><a href="#impl-From%3COrderedFloat%3Cf32%3E%3E-for-f32" title="From<OrderedFloat<f32>>">From<OrderedFloat<f32>></a></li><li><a href="#impl-From%3COrderedFloat%3Cf64%3E%3E-for-f64" title="From<OrderedFloat<f64>>">From<OrderedFloat<f64>></a></li><li><a href="#impl-From%3CT%3E-for-OrderedFloat%3CT%3E" title="From<T>">From<T></a></li><li><a href="#impl-FromPrimitive-for-OrderedFloat%3CT%3E" title="FromPrimitive">FromPrimitive</a></li><li><a href="#impl-FromStr-for-OrderedFloat%3CT%3E" title="FromStr">FromStr</a></li><li><a href="#impl-Hash-for-OrderedFloat%3CT%3E" title="Hash">Hash</a></li><li><a href="#impl-Mul-for-%26OrderedFloat%3CT%3E" title="Mul">Mul</a></li><li><a href="#impl-Mul-for-OrderedFloat%3CT%3E" title="Mul">Mul</a></li><li><a href="#impl-Mul%3C%26OrderedFloat%3CT%3E%3E-for-OrderedFloat%3CT%3E" title="Mul<&'a OrderedFloat<T>>">Mul<&'a OrderedFloat<T>></a></li><li><a href="#impl-Mul%3C%26T%3E-for-%26OrderedFloat%3CT%3E" title="Mul<&'a T>">Mul<&'a T></a></li><li><a href="#impl-Mul%3C%26T%3E-for-OrderedFloat%3CT%3E" title="Mul<&'a T>">Mul<&'a T></a></li><li><a href="#impl-Mul%3COrderedFloat%3CT%3E%3E-for-%26OrderedFloat%3CT%3E" title="Mul<OrderedFloat<T>>">Mul<OrderedFloat<T>></a></li><li><a href="#impl-Mul%3CT%3E-for-%26OrderedFloat%3CT%3E" title="Mul<T>">Mul<T></a></li><li><a href="#impl-Mul%3CT%3E-for-OrderedFloat%3CT%3E" title="Mul<T>">Mul<T></a></li><li><a href="#impl-MulAssign-for-OrderedFloat%3CT%3E" title="MulAssign">MulAssign</a></li><li><a href="#impl-MulAssign%3C%26OrderedFloat%3CT%3E%3E-for-OrderedFloat%3CT%3E" title="MulAssign<&'a OrderedFloat<T>>">MulAssign<&'a OrderedFloat<T>></a></li><li><a href="#impl-MulAssign%3C%26T%3E-for-OrderedFloat%3CT%3E" title="MulAssign<&'a T>">MulAssign<&'a T></a></li><li><a href="#impl-MulAssign%3CT%3E-for-OrderedFloat%3CT%3E" title="MulAssign<T>">MulAssign<T></a></li><li><a href="#impl-Neg-for-%26OrderedFloat%3CT%3E" title="Neg">Neg</a></li><li><a href="#impl-Neg-for-OrderedFloat%3CT%3E" title="Neg">Neg</a></li><li><a href="#impl-Num-for-OrderedFloat%3CT%3E" title="Num">Num</a></li><li><a href="#impl-NumCast-for-OrderedFloat%3CT%3E" title="NumCast">NumCast</a></li><li><a href="#impl-One-for-OrderedFloat%3CT%3E" title="One">One</a></li><li><a href="#impl-Ord-for-OrderedFloat%3CT%3E" title="Ord">Ord</a></li><li><a href="#impl-PartialEq-for-OrderedFloat%3CT%3E" title="PartialEq">PartialEq</a></li><li><a href="#impl-PartialEq%3CT%3E-for-OrderedFloat%3CT%3E" title="PartialEq<T>">PartialEq<T></a></li><li><a href="#impl-PartialOrd-for-OrderedFloat%3CT%3E" title="PartialOrd">PartialOrd</a></li><li><a href="#impl-Product-for-OrderedFloat%3CT%3E" title="Product">Product</a></li><li><a href="#impl-Product%3C%26OrderedFloat%3CT%3E%3E-for-OrderedFloat%3CT%3E" title="Product<&'a OrderedFloat<T>>">Product<&'a OrderedFloat<T>></a></li><li><a href="#impl-Rem-for-%26OrderedFloat%3CT%3E" title="Rem">Rem</a></li><li><a href="#impl-Rem-for-OrderedFloat%3CT%3E" title="Rem">Rem</a></li><li><a href="#impl-Rem%3C%26OrderedFloat%3CT%3E%3E-for-OrderedFloat%3CT%3E" title="Rem<&'a OrderedFloat<T>>">Rem<&'a OrderedFloat<T>></a></li><li><a href="#impl-Rem%3C%26T%3E-for-%26OrderedFloat%3CT%3E" title="Rem<&'a T>">Rem<&'a T></a></li><li><a href="#impl-Rem%3C%26T%3E-for-OrderedFloat%3CT%3E" title="Rem<&'a T>">Rem<&'a T></a></li><li><a href="#impl-Rem%3COrderedFloat%3CT%3E%3E-for-%26OrderedFloat%3CT%3E" title="Rem<OrderedFloat<T>>">Rem<OrderedFloat<T>></a></li><li><a href="#impl-Rem%3CT%3E-for-%26OrderedFloat%3CT%3E" title="Rem<T>">Rem<T></a></li><li><a href="#impl-Rem%3CT%3E-for-OrderedFloat%3CT%3E" title="Rem<T>">Rem<T></a></li><li><a href="#impl-RemAssign-for-OrderedFloat%3CT%3E" title="RemAssign">RemAssign</a></li><li><a href="#impl-RemAssign%3C%26OrderedFloat%3CT%3E%3E-for-OrderedFloat%3CT%3E" title="RemAssign<&'a OrderedFloat<T>>">RemAssign<&'a OrderedFloat<T>></a></li><li><a href="#impl-RemAssign%3C%26T%3E-for-OrderedFloat%3CT%3E" title="RemAssign<&'a T>">RemAssign<&'a T></a></li><li><a href="#impl-RemAssign%3CT%3E-for-OrderedFloat%3CT%3E" title="RemAssign<T>">RemAssign<T></a></li><li><a href="#impl-Signed-for-OrderedFloat%3CT%3E" title="Signed">Signed</a></li><li><a href="#impl-Sub-for-%26OrderedFloat%3CT%3E" title="Sub">Sub</a></li><li><a href="#impl-Sub-for-OrderedFloat%3CT%3E" title="Sub">Sub</a></li><li><a href="#impl-Sub%3C%26OrderedFloat%3CT%3E%3E-for-OrderedFloat%3CT%3E" title="Sub<&'a OrderedFloat<T>>">Sub<&'a OrderedFloat<T>></a></li><li><a href="#impl-Sub%3C%26T%3E-for-%26OrderedFloat%3CT%3E" title="Sub<&'a T>">Sub<&'a T></a></li><li><a href="#impl-Sub%3C%26T%3E-for-OrderedFloat%3CT%3E" title="Sub<&'a T>">Sub<&'a T></a></li><li><a href="#impl-Sub%3COrderedFloat%3CT%3E%3E-for-%26OrderedFloat%3CT%3E" title="Sub<OrderedFloat<T>>">Sub<OrderedFloat<T>></a></li><li><a href="#impl-Sub%3CT%3E-for-%26OrderedFloat%3CT%3E" title="Sub<T>">Sub<T></a></li><li><a href="#impl-Sub%3CT%3E-for-OrderedFloat%3CT%3E" title="Sub<T>">Sub<T></a></li><li><a href="#impl-SubAssign-for-OrderedFloat%3CT%3E" title="SubAssign">SubAssign</a></li><li><a href="#impl-SubAssign%3C%26OrderedFloat%3CT%3E%3E-for-OrderedFloat%3CT%3E" title="SubAssign<&'a OrderedFloat<T>>">SubAssign<&'a OrderedFloat<T>></a></li><li><a href="#impl-SubAssign%3C%26T%3E-for-OrderedFloat%3CT%3E" title="SubAssign<&'a T>">SubAssign<&'a T></a></li><li><a href="#impl-SubAssign%3CT%3E-for-OrderedFloat%3CT%3E" title="SubAssign<T>">SubAssign<T></a></li><li><a href="#impl-Sum-for-OrderedFloat%3CT%3E" title="Sum">Sum</a></li><li><a href="#impl-Sum%3C%26OrderedFloat%3CT%3E%3E-for-OrderedFloat%3CT%3E" title="Sum<&'a OrderedFloat<T>>">Sum<&'a OrderedFloat<T>></a></li><li><a href="#impl-ToPrimitive-for-OrderedFloat%3CT%3E" title="ToPrimitive">ToPrimitive</a></li><li><a href="#impl-Zero-for-OrderedFloat%3CT%3E" title="Zero">Zero</a></li></ul><h3><a href="#synthetic-implementations">Auto Trait Implementations</a></h3><ul class="block synthetic-implementation"><li><a href="#impl-Freeze-for-OrderedFloat%3CT%3E" title="Freeze">Freeze</a></li><li><a href="#impl-RefUnwindSafe-for-OrderedFloat%3CT%3E" title="RefUnwindSafe">RefUnwindSafe</a></li><li><a href="#impl-Send-for-OrderedFloat%3CT%3E" title="Send">Send</a></li><li><a href="#impl-Sync-for-OrderedFloat%3CT%3E" title="Sync">Sync</a></li><li><a href="#impl-Unpin-for-OrderedFloat%3CT%3E" title="Unpin">Unpin</a></li><li><a href="#impl-UnsafeUnpin-for-OrderedFloat%3CT%3E" title="UnsafeUnpin">UnsafeUnpin</a></li><li><a href="#impl-UnwindSafe-for-OrderedFloat%3CT%3E" title="UnwindSafe">UnwindSafe</a></li></ul><h3><a href="#blanket-implementations">Blanket Implementations</a></h3><ul class="block blanket-implementation"><li><a href="#impl-Any-for-T" title="Any">Any</a></li><li><a href="#impl-Borrow%3CT%3E-for-T" title="Borrow<T>">Borrow<T></a></li><li><a href="#impl-BorrowMut%3CT%3E-for-T" title="BorrowMut<T>">BorrowMut<T></a></li><li><a href="#impl-CloneToUninit-for-T" title="CloneToUninit">CloneToUninit</a></li><li><a href="#impl-From%3CT%3E-for-T" title="From<T>">From<T></a></li><li><a href="#impl-Into%3CU%3E-for-T" title="Into<U>">Into<U></a></li><li><a href="#impl-LowerBounded-for-T" title="LowerBounded">LowerBounded</a></li><li><a href="#impl-NumAssign-for-T" title="NumAssign">NumAssign</a></li><li><a href="#impl-NumAssignOps%3CRhs%3E-for-T" title="NumAssignOps<Rhs>">NumAssignOps<Rhs></a></li><li><a href="#impl-NumAssignRef-for-T" title="NumAssignRef">NumAssignRef</a></li><li><a href="#impl-NumOps%3CRhs,+Output%3E-for-T" title="NumOps<Rhs, Output>">NumOps<Rhs, Output></a></li><li><a href="#impl-NumRef-for-T" title="NumRef">NumRef</a></li><li><a href="#impl-Real-for-T" title="Real">Real</a></li><li><a href="#impl-Receiver-for-P" title="Receiver">Receiver</a></li><li><a href="#impl-RefNum%3CBase%3E-for-T" title="RefNum<Base>">RefNum<Base></a></li><li><a href="#impl-ToOwned-for-T" title="ToOwned">ToOwned</a></li><li><a href="#impl-ToString-for-T" title="ToString">ToString</a></li><li><a href="#impl-TryFrom%3CU%3E-for-T" title="TryFrom<U>">TryFrom<U></a></li><li><a href="#impl-TryInto%3CU%3E-for-T" title="TryInto<U>">TryInto<U></a></li><li><a href="#impl-UpperBounded-for-T" title="UpperBounded">UpperBounded</a></li></ul></section><div id="rustdoc-modnav"><h2 class="in-crate"><a href="index.html">In crate ordered_<wbr>float</a></h2></div></div></nav><div class="sidebar-resizer" title="Drag to resize sidebar"></div><main><div class="width-limiter"><section id="main-content" class="content" tabindex="-1"><div class="main-heading"><div class="rustdoc-breadcrumbs"><a href="index.html">ordered_float</a></div><h1>Struct <span class="struct">Ordered<wbr>Float</span> <button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span class="sub-heading"><a class="src" href="../src/ordered_float/lib.rs.html#76">Source</a> </span></div><pre class="rust item-decl"><code><div class="code-attribute">#[repr(transparent)]</div>pub struct OrderedFloat<T>(pub T);</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>A wrapper around floats providing implementations of <code>Eq</code>, <code>Ord</code>, and <code>Hash</code>.</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 class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>ordered_float::OrderedFloat;
|
|
<span class="kw">use </span>std::f32::NAN;
|
|
|
|
<span class="kw">let </span><span class="kw-2">mut </span>v = [OrderedFloat(NAN), OrderedFloat(<span class="number">2.0</span>), OrderedFloat(<span class="number">1.0</span>)];
|
|
v.sort();
|
|
<span class="macro">assert_eq!</span>(v, [OrderedFloat(<span class="number">1.0</span>), OrderedFloat(<span class="number">2.0</span>), OrderedFloat(NAN)]);</code></pre></div>
|
|
<p>Because <code>OrderedFloat</code> implements <code>Ord</code> and <code>Eq</code>, it can be used as a key in a <code>HashSet</code>,
|
|
<code>HashMap</code>, <code>BTreeMap</code>, or <code>BTreeSet</code> (unlike the primitive <code>f32</code> or <code>f64</code> types):</p>
|
|
|
|
<div class="example-wrap"><pre class="rust rust-example-rendered"><code>
|
|
<span class="kw">let </span><span class="kw-2">mut </span>s: HashSet<OrderedFloat<f32>> = HashSet::new();
|
|
s.insert(OrderedFloat(NAN));
|
|
<span class="macro">assert!</span>(s.contains(<span class="kw-2">&</span>OrderedFloat(NAN)));</code></pre></div></div></details><h2 id="fields" class="fields section-header">Tuple Fields<a href="#fields" class="anchor">§</a></h2><span id="structfield.0" class="structfield section-header"><a href="#structfield.0" class="anchor field">§</a><code>0: T</code></span><h2 id="implementations" class="section-header">Implementations<a href="#implementations" class="anchor">§</a></h2><div id="implementations-list"><details class="toggle implementors-toggle" open><summary><section id="impl-OrderedFloat%3CT%3E" class="impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#78-84">Source</a><a href="#impl-OrderedFloat%3CT%3E" class="anchor">§</a><h3 class="code-header">impl<T: <a class="trait" href="trait.Float.html" title="trait ordered_float::Float">Float</a>> <a class="struct" href="struct.OrderedFloat.html" title="struct ordered_float::OrderedFloat">OrderedFloat</a><T></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.into_inner" class="method"><a class="src rightside" href="../src/ordered_float/lib.rs.html#81-83">Source</a><h4 class="code-header">pub fn <a href="#method.into_inner" class="fn">into_inner</a>(self) -> T</h4></section></summary><div class="docblock"><p>Get the value out.</p>
|
|
</div></details></div></details></div><h2 id="trait-implementations" class="section-header">Trait Implementations<a href="#trait-implementations" class="anchor">§</a></h2><div id="trait-implementations-list"><details class="toggle implementors-toggle" open><summary><section id="impl-Add%3C%26OrderedFloat%3CT%3E%3E-for-OrderedFloat%3CT%3E" class="impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#373">Source</a><a href="#impl-Add%3C%26OrderedFloat%3CT%3E%3E-for-OrderedFloat%3CT%3E" class="anchor">§</a><h3 class="code-header">impl<'a, T> <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Add.html" title="trait core::ops::arith::Add">Add</a><&'a <a class="struct" href="struct.OrderedFloat.html" title="struct ordered_float::OrderedFloat">OrderedFloat</a><T>> for <a class="struct" href="struct.OrderedFloat.html" title="struct ordered_float::OrderedFloat">OrderedFloat</a><T><div class="where">where
|
|
T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Add.html" title="trait core::ops::arith::Add">Add</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a T</a>>,</div></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output-3" class="associatedtype trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#373">Source</a><a href="#associatedtype.Output-3" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Add.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.OrderedFloat.html" title="struct ordered_float::OrderedFloat">OrderedFloat</a><<T as <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Add.html" title="trait core::ops::arith::Add">Add</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a T</a>>>::<a class="associatedtype" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Add.html#associatedtype.Output" title="type core::ops::arith::Add::Output">Output</a>></h4></section></summary><div class='docblock'>The resulting type after applying the <code>+</code> operator.</div></details><details class="toggle method-toggle" open><summary><section id="method.add-3" class="method trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#373">Source</a><a href="#method.add-3" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Add.html#tymethod.add" class="fn">add</a>(self, other: &'a Self) -> Self::<a class="associatedtype" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Add.html#associatedtype.Output" title="type core::ops::arith::Add::Output">Output</a></h4></section></summary><div class='docblock'>Performs the <code>+</code> operation. <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Add.html#tymethod.add">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Add%3C%26T%3E-for-%26OrderedFloat%3CT%3E" class="impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#373">Source</a><a href="#impl-Add%3C%26T%3E-for-%26OrderedFloat%3CT%3E" class="anchor">§</a><h3 class="code-header">impl<'a, T> <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Add.html" title="trait core::ops::arith::Add">Add</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a T</a>> for &'a <a class="struct" href="struct.OrderedFloat.html" title="struct ordered_float::OrderedFloat">OrderedFloat</a><T><div class="where">where
|
|
<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a T</a>: <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Add.html" title="trait core::ops::arith::Add">Add</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output-7" class="associatedtype trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#373">Source</a><a href="#associatedtype.Output-7" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Add.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.OrderedFloat.html" title="struct ordered_float::OrderedFloat">OrderedFloat</a><<<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a T</a> as <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Add.html" title="trait core::ops::arith::Add">Add</a>>::<a class="associatedtype" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Add.html#associatedtype.Output" title="type core::ops::arith::Add::Output">Output</a>></h4></section></summary><div class='docblock'>The resulting type after applying the <code>+</code> operator.</div></details><details class="toggle method-toggle" open><summary><section id="method.add-7" class="method trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#373">Source</a><a href="#method.add-7" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Add.html#tymethod.add" class="fn">add</a>(self, other: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a T</a>) -> Self::<a class="associatedtype" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Add.html#associatedtype.Output" title="type core::ops::arith::Add::Output">Output</a></h4></section></summary><div class='docblock'>Performs the <code>+</code> operation. <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Add.html#tymethod.add">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Add%3C%26T%3E-for-OrderedFloat%3CT%3E" class="impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#373">Source</a><a href="#impl-Add%3C%26T%3E-for-OrderedFloat%3CT%3E" class="anchor">§</a><h3 class="code-header">impl<'a, T> <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Add.html" title="trait core::ops::arith::Add">Add</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a T</a>> for <a class="struct" href="struct.OrderedFloat.html" title="struct ordered_float::OrderedFloat">OrderedFloat</a><T><div class="where">where
|
|
T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Add.html" title="trait core::ops::arith::Add">Add</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a T</a>>,</div></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output-2" class="associatedtype trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#373">Source</a><a href="#associatedtype.Output-2" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Add.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.OrderedFloat.html" title="struct ordered_float::OrderedFloat">OrderedFloat</a><<T as <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Add.html" title="trait core::ops::arith::Add">Add</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a T</a>>>::<a class="associatedtype" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Add.html#associatedtype.Output" title="type core::ops::arith::Add::Output">Output</a>></h4></section></summary><div class='docblock'>The resulting type after applying the <code>+</code> operator.</div></details><details class="toggle method-toggle" open><summary><section id="method.add-2" class="method trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#373">Source</a><a href="#method.add-2" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Add.html#tymethod.add" class="fn">add</a>(self, other: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a T</a>) -> Self::<a class="associatedtype" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Add.html#associatedtype.Output" title="type core::ops::arith::Add::Output">Output</a></h4></section></summary><div class='docblock'>Performs the <code>+</code> operation. <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Add.html#tymethod.add">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Add%3COrderedFloat%3CT%3E%3E-for-%26OrderedFloat%3CT%3E" class="impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#373">Source</a><a href="#impl-Add%3COrderedFloat%3CT%3E%3E-for-%26OrderedFloat%3CT%3E" class="anchor">§</a><h3 class="code-header">impl<'a, T> <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Add.html" title="trait core::ops::arith::Add">Add</a><<a class="struct" href="struct.OrderedFloat.html" title="struct ordered_float::OrderedFloat">OrderedFloat</a><T>> for &'a <a class="struct" href="struct.OrderedFloat.html" title="struct ordered_float::OrderedFloat">OrderedFloat</a><T><div class="where">where
|
|
<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a T</a>: <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Add.html" title="trait core::ops::arith::Add">Add</a><T>,</div></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output-5" class="associatedtype trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#373">Source</a><a href="#associatedtype.Output-5" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Add.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.OrderedFloat.html" title="struct ordered_float::OrderedFloat">OrderedFloat</a><<<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a T</a> as <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Add.html" title="trait core::ops::arith::Add">Add</a><T>>::<a class="associatedtype" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Add.html#associatedtype.Output" title="type core::ops::arith::Add::Output">Output</a>></h4></section></summary><div class='docblock'>The resulting type after applying the <code>+</code> operator.</div></details><details class="toggle method-toggle" open><summary><section id="method.add-5" class="method trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#373">Source</a><a href="#method.add-5" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Add.html#tymethod.add" class="fn">add</a>(self, other: <a class="struct" href="struct.OrderedFloat.html" title="struct ordered_float::OrderedFloat">OrderedFloat</a><T>) -> Self::<a class="associatedtype" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Add.html#associatedtype.Output" title="type core::ops::arith::Add::Output">Output</a></h4></section></summary><div class='docblock'>Performs the <code>+</code> operation. <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Add.html#tymethod.add">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Add%3CT%3E-for-%26OrderedFloat%3CT%3E" class="impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#373">Source</a><a href="#impl-Add%3CT%3E-for-%26OrderedFloat%3CT%3E" class="anchor">§</a><h3 class="code-header">impl<'a, T> <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Add.html" title="trait core::ops::arith::Add">Add</a><T> for &'a <a class="struct" href="struct.OrderedFloat.html" title="struct ordered_float::OrderedFloat">OrderedFloat</a><T><div class="where">where
|
|
<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a T</a>: <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Add.html" title="trait core::ops::arith::Add">Add</a><T>,</div></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output-6" class="associatedtype trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#373">Source</a><a href="#associatedtype.Output-6" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Add.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.OrderedFloat.html" title="struct ordered_float::OrderedFloat">OrderedFloat</a><<<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a T</a> as <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Add.html" title="trait core::ops::arith::Add">Add</a><T>>::<a class="associatedtype" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Add.html#associatedtype.Output" title="type core::ops::arith::Add::Output">Output</a>></h4></section></summary><div class='docblock'>The resulting type after applying the <code>+</code> operator.</div></details><details class="toggle method-toggle" open><summary><section id="method.add-6" class="method trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#373">Source</a><a href="#method.add-6" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Add.html#tymethod.add" class="fn">add</a>(self, other: T) -> Self::<a class="associatedtype" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Add.html#associatedtype.Output" title="type core::ops::arith::Add::Output">Output</a></h4></section></summary><div class='docblock'>Performs the <code>+</code> operation. <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Add.html#tymethod.add">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Add%3CT%3E-for-OrderedFloat%3CT%3E" class="impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#373">Source</a><a href="#impl-Add%3CT%3E-for-OrderedFloat%3CT%3E" class="anchor">§</a><h3 class="code-header">impl<T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Add.html" title="trait core::ops::arith::Add">Add</a>> <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Add.html" title="trait core::ops::arith::Add">Add</a><T> for <a class="struct" href="struct.OrderedFloat.html" title="struct ordered_float::OrderedFloat">OrderedFloat</a><T></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output-1" class="associatedtype trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#373">Source</a><a href="#associatedtype.Output-1" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Add.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.OrderedFloat.html" title="struct ordered_float::OrderedFloat">OrderedFloat</a><<T as <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Add.html" title="trait core::ops::arith::Add">Add</a>>::<a class="associatedtype" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Add.html#associatedtype.Output" title="type core::ops::arith::Add::Output">Output</a>></h4></section></summary><div class='docblock'>The resulting type after applying the <code>+</code> operator.</div></details><details class="toggle method-toggle" open><summary><section id="method.add-1" class="method trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#373">Source</a><a href="#method.add-1" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Add.html#tymethod.add" class="fn">add</a>(self, other: T) -> Self::<a class="associatedtype" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Add.html#associatedtype.Output" title="type core::ops::arith::Add::Output">Output</a></h4></section></summary><div class='docblock'>Performs the <code>+</code> operation. <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Add.html#tymethod.add">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Add-for-%26OrderedFloat%3CT%3E" class="impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#373">Source</a><a href="#impl-Add-for-%26OrderedFloat%3CT%3E" class="anchor">§</a><h3 class="code-header">impl<'a, T> <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Add.html" title="trait core::ops::arith::Add">Add</a> for &'a <a class="struct" href="struct.OrderedFloat.html" title="struct ordered_float::OrderedFloat">OrderedFloat</a><T><div class="where">where
|
|
<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a T</a>: <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Add.html" title="trait core::ops::arith::Add">Add</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output-4" class="associatedtype trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#373">Source</a><a href="#associatedtype.Output-4" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Add.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.OrderedFloat.html" title="struct ordered_float::OrderedFloat">OrderedFloat</a><<<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a T</a> as <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Add.html" title="trait core::ops::arith::Add">Add</a>>::<a class="associatedtype" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Add.html#associatedtype.Output" title="type core::ops::arith::Add::Output">Output</a>></h4></section></summary><div class='docblock'>The resulting type after applying the <code>+</code> operator.</div></details><details class="toggle method-toggle" open><summary><section id="method.add-4" class="method trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#373">Source</a><a href="#method.add-4" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Add.html#tymethod.add" class="fn">add</a>(self, other: Self) -> Self::<a class="associatedtype" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Add.html#associatedtype.Output" title="type core::ops::arith::Add::Output">Output</a></h4></section></summary><div class='docblock'>Performs the <code>+</code> operation. <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Add.html#tymethod.add">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Add-for-OrderedFloat%3CT%3E" class="impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#373">Source</a><a href="#impl-Add-for-OrderedFloat%3CT%3E" class="anchor">§</a><h3 class="code-header">impl<T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Add.html" title="trait core::ops::arith::Add">Add</a>> <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Add.html" title="trait core::ops::arith::Add">Add</a> for <a class="struct" href="struct.OrderedFloat.html" title="struct ordered_float::OrderedFloat">OrderedFloat</a><T></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output" class="associatedtype trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#373">Source</a><a href="#associatedtype.Output" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Add.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.OrderedFloat.html" title="struct ordered_float::OrderedFloat">OrderedFloat</a><<T as <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Add.html" title="trait core::ops::arith::Add">Add</a>>::<a class="associatedtype" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Add.html#associatedtype.Output" title="type core::ops::arith::Add::Output">Output</a>></h4></section></summary><div class='docblock'>The resulting type after applying the <code>+</code> operator.</div></details><details class="toggle method-toggle" open><summary><section id="method.add" class="method trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#373">Source</a><a href="#method.add" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Add.html#tymethod.add" class="fn">add</a>(self, other: Self) -> Self::<a class="associatedtype" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Add.html#associatedtype.Output" title="type core::ops::arith::Add::Output">Output</a></h4></section></summary><div class='docblock'>Performs the <code>+</code> operation. <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Add.html#tymethod.add">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-AddAssign%3C%26OrderedFloat%3CT%3E%3E-for-OrderedFloat%3CT%3E" class="impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#373">Source</a><a href="#impl-AddAssign%3C%26OrderedFloat%3CT%3E%3E-for-OrderedFloat%3CT%3E" class="anchor">§</a><h3 class="code-header">impl<'a, 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><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a T</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><&'a <a class="struct" href="struct.OrderedFloat.html" title="struct ordered_float::OrderedFloat">OrderedFloat</a><T>> for <a class="struct" href="struct.OrderedFloat.html" title="struct ordered_float::OrderedFloat">OrderedFloat</a><T></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.add_assign-3" class="method trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#373">Source</a><a href="#method.add_assign-3" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.AddAssign.html#tymethod.add_assign" class="fn">add_assign</a>(&mut self, other: &'a Self)</h4></section></summary><div class='docblock'>Performs the <code>+=</code> operation. <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.AddAssign.html#tymethod.add_assign">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-AddAssign%3C%26T%3E-for-OrderedFloat%3CT%3E" class="impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#373">Source</a><a href="#impl-AddAssign%3C%26T%3E-for-OrderedFloat%3CT%3E" class="anchor">§</a><h3 class="code-header">impl<'a, 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><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a T</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><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a T</a>> for <a class="struct" href="struct.OrderedFloat.html" title="struct ordered_float::OrderedFloat">OrderedFloat</a><T></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.add_assign-1" class="method trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#373">Source</a><a href="#method.add_assign-1" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.AddAssign.html#tymethod.add_assign" class="fn">add_assign</a>(&mut self, other: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a T</a>)</h4></section></summary><div class='docblock'>Performs the <code>+=</code> operation. <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.AddAssign.html#tymethod.add_assign">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-AddAssign%3CT%3E-for-OrderedFloat%3CT%3E" class="impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#373">Source</a><a href="#impl-AddAssign%3CT%3E-for-OrderedFloat%3CT%3E" class="anchor">§</a><h3 class="code-header">impl<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>> <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.AddAssign.html" title="trait core::ops::arith::AddAssign">AddAssign</a><T> for <a class="struct" href="struct.OrderedFloat.html" title="struct ordered_float::OrderedFloat">OrderedFloat</a><T></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.add_assign" class="method trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#373">Source</a><a href="#method.add_assign" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.AddAssign.html#tymethod.add_assign" class="fn">add_assign</a>(&mut self, other: T)</h4></section></summary><div class='docblock'>Performs the <code>+=</code> operation. <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.AddAssign.html#tymethod.add_assign">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-AddAssign-for-OrderedFloat%3CT%3E" class="impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#373">Source</a><a href="#impl-AddAssign-for-OrderedFloat%3CT%3E" class="anchor">§</a><h3 class="code-header">impl<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>> <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.AddAssign.html" title="trait core::ops::arith::AddAssign">AddAssign</a> for <a class="struct" href="struct.OrderedFloat.html" title="struct ordered_float::OrderedFloat">OrderedFloat</a><T></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.add_assign-2" class="method trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#373">Source</a><a href="#method.add_assign-2" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.AddAssign.html#tymethod.add_assign" class="fn">add_assign</a>(&mut self, other: Self)</h4></section></summary><div class='docblock'>Performs the <code>+=</code> operation. <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.AddAssign.html#tymethod.add_assign">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-AsMut%3CT%3E-for-OrderedFloat%3CT%3E" class="impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#93-98">Source</a><a href="#impl-AsMut%3CT%3E-for-OrderedFloat%3CT%3E" class="anchor">§</a><h3 class="code-header">impl<T: <a class="trait" href="trait.Float.html" title="trait ordered_float::Float">Float</a>> <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.AsMut.html" title="trait core::convert::AsMut">AsMut</a><T> for <a class="struct" href="struct.OrderedFloat.html" title="struct ordered_float::OrderedFloat">OrderedFloat</a><T></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.as_mut" class="method trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#95-97">Source</a><a href="#method.as_mut" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/convert/trait.AsMut.html#tymethod.as_mut" class="fn">as_mut</a>(&mut self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut T</a></h4></section></summary><div class='docblock'>Converts this type into a mutable reference of the (usually inferred) input type.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-AsRef%3CT%3E-for-OrderedFloat%3CT%3E" class="impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#86-91">Source</a><a href="#impl-AsRef%3CT%3E-for-OrderedFloat%3CT%3E" class="anchor">§</a><h3 class="code-header">impl<T: <a class="trait" href="trait.Float.html" title="trait ordered_float::Float">Float</a>> <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.AsRef.html" title="trait core::convert::AsRef">AsRef</a><T> for <a class="struct" href="struct.OrderedFloat.html" title="struct ordered_float::OrderedFloat">OrderedFloat</a><T></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.as_ref" class="method trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#88-90">Source</a><a href="#method.as_ref" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/convert/trait.AsRef.html#tymethod.as_ref" class="fn">as_ref</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&T</a></h4></section></summary><div class='docblock'>Converts this type into a shared reference of the (usually inferred) input type.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Bounded-for-OrderedFloat%3CT%3E" class="impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#430-440">Source</a><a href="#impl-Bounded-for-OrderedFloat%3CT%3E" class="anchor">§</a><h3 class="code-header">impl<T: <a class="trait" href="../num_traits/bounds/trait.Bounded.html" title="trait num_traits::bounds::Bounded">Bounded</a>> <a class="trait" href="../num_traits/bounds/trait.Bounded.html" title="trait num_traits::bounds::Bounded">Bounded</a> for <a class="struct" href="struct.OrderedFloat.html" title="struct ordered_float::OrderedFloat">OrderedFloat</a><T></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.min_value" class="method trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#432-434">Source</a><a href="#method.min_value" class="anchor">§</a><h4 class="code-header">fn <a href="../num_traits/bounds/trait.Bounded.html#tymethod.min_value" class="fn">min_value</a>() -> Self</h4></section></summary><div class='docblock'>Returns the smallest finite number this type can represent</div></details><details class="toggle method-toggle" open><summary><section id="method.max_value" class="method trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#437-439">Source</a><a href="#method.max_value" class="anchor">§</a><h4 class="code-header">fn <a href="../num_traits/bounds/trait.Bounded.html#tymethod.max_value" class="fn">max_value</a>() -> Self</h4></section></summary><div class='docblock'>Returns the largest finite number this type can represent</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Clone-for-OrderedFloat%3CT%3E" class="impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#74">Source</a><a href="#impl-Clone-for-OrderedFloat%3CT%3E" class="anchor">§</a><h3 class="code-header">impl<T: <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="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> for <a class="struct" href="struct.OrderedFloat.html" title="struct ordered_float::OrderedFloat">OrderedFloat</a><T></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.clone" class="method trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#74">Source</a><a href="#method.clone" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#tymethod.clone" class="fn">clone</a>(&self) -> <a class="struct" href="struct.OrderedFloat.html" title="struct ordered_float::OrderedFloat">OrderedFloat</a><T></h4></section></summary><div class='docblock'>Returns a duplicate of the value. <a href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#tymethod.clone">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.clone_from" class="method trait-impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="src" href="https://doc.rust-lang.org/nightly/src/core/clone.rs.html#245-247">Source</a></span><a href="#method.clone_from" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#method.clone_from" class="fn">clone_from</a>(&mut self, source: &Self)</h4></section></summary><div class='docblock'>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></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Debug-for-OrderedFloat%3CT%3E" class="impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#74">Source</a><a href="#impl-Debug-for-OrderedFloat%3CT%3E" class="anchor">§</a><h3 class="code-header">impl<T: <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="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a> for <a class="struct" href="struct.OrderedFloat.html" title="struct ordered_float::OrderedFloat">OrderedFloat</a><T></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.fmt" class="method trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#74">Source</a><a href="#method.fmt" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html#tymethod.fmt" class="fn">fmt</a>(&self, f: &mut <a class="struct" href="https://doc.rust-lang.org/nightly/core/fmt/struct.Formatter.html" title="struct core::fmt::Formatter">Formatter</a><'_>) -> <a class="type" href="https://doc.rust-lang.org/nightly/core/fmt/type.Result.html" title="type core::fmt::Result">Result</a></h4></section></summary><div class='docblock'>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></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Default-for-OrderedFloat%3CT%3E" class="impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#74">Source</a><a href="#impl-Default-for-OrderedFloat%3CT%3E" class="anchor">§</a><h3 class="code-header">impl<T: <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="https://doc.rust-lang.org/nightly/core/default/trait.Default.html" title="trait core::default::Default">Default</a> for <a class="struct" href="struct.OrderedFloat.html" title="struct ordered_float::OrderedFloat">OrderedFloat</a><T></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.default" class="method trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#74">Source</a><a href="#method.default" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/default/trait.Default.html#tymethod.default" class="fn">default</a>() -> <a class="struct" href="struct.OrderedFloat.html" title="struct ordered_float::OrderedFloat">OrderedFloat</a><T></h4></section></summary><div class='docblock'>Returns the “default value” for a type. <a href="https://doc.rust-lang.org/nightly/core/default/trait.Default.html#tymethod.default">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Deref-for-OrderedFloat%3CT%3E" class="impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#220-227">Source</a><a href="#impl-Deref-for-OrderedFloat%3CT%3E" class="anchor">§</a><h3 class="code-header">impl<T: <a class="trait" href="trait.Float.html" title="trait ordered_float::Float">Float</a>> <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="struct.OrderedFloat.html" title="struct ordered_float::OrderedFloat">OrderedFloat</a><T></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Target" class="associatedtype trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#221">Source</a><a href="#associatedtype.Target" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/nightly/core/ops/deref/trait.Deref.html#associatedtype.Target" class="associatedtype">Target</a> = T</h4></section></summary><div class='docblock'>The resulting type after dereferencing.</div></details><details class="toggle method-toggle" open><summary><section id="method.deref" class="method trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#224-226">Source</a><a href="#method.deref" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/ops/deref/trait.Deref.html#tymethod.deref" class="fn">deref</a>(&self) -> &Self::<a class="associatedtype" href="https://doc.rust-lang.org/nightly/core/ops/deref/trait.Deref.html#associatedtype.Target" title="type core::ops::deref::Deref::Target">Target</a></h4></section></summary><div class='docblock'>Dereferences the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-DerefMut-for-OrderedFloat%3CT%3E" class="impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#229-234">Source</a><a href="#impl-DerefMut-for-OrderedFloat%3CT%3E" class="anchor">§</a><h3 class="code-header">impl<T: <a class="trait" href="trait.Float.html" title="trait ordered_float::Float">Float</a>> <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/deref/trait.DerefMut.html" title="trait core::ops::deref::DerefMut">DerefMut</a> for <a class="struct" href="struct.OrderedFloat.html" title="struct ordered_float::OrderedFloat">OrderedFloat</a><T></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.deref_mut" class="method trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#231-233">Source</a><a href="#method.deref_mut" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/ops/deref/trait.DerefMut.html#tymethod.deref_mut" class="fn">deref_mut</a>(&mut self) -> &mut Self::<a class="associatedtype" href="https://doc.rust-lang.org/nightly/core/ops/deref/trait.Deref.html#associatedtype.Target" title="type core::ops::deref::Deref::Target">Target</a></h4></section></summary><div class='docblock'>Mutably dereferences the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Display-for-OrderedFloat%3CT%3E" class="impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#192-197">Source</a><a href="#impl-Display-for-OrderedFloat%3CT%3E" class="anchor">§</a><h3 class="code-header">impl<T: <a class="trait" href="trait.Float.html" title="trait ordered_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>> <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="struct.OrderedFloat.html" title="struct ordered_float::OrderedFloat">OrderedFloat</a><T></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.fmt-1" class="method trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#194-196">Source</a><a href="#method.fmt-1" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/fmt/trait.Display.html#tymethod.fmt" class="fn">fmt</a>(&self, f: &mut <a class="struct" href="https://doc.rust-lang.org/nightly/core/fmt/struct.Formatter.html" title="struct core::fmt::Formatter">Formatter</a><'_>) -> <a class="type" href="https://doc.rust-lang.org/nightly/core/fmt/type.Result.html" title="type core::fmt::Result">Result</a></h4></section></summary><div class='docblock'>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></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Div%3C%26OrderedFloat%3CT%3E%3E-for-OrderedFloat%3CT%3E" class="impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#376">Source</a><a href="#impl-Div%3C%26OrderedFloat%3CT%3E%3E-for-OrderedFloat%3CT%3E" class="anchor">§</a><h3 class="code-header">impl<'a, T> <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html" title="trait core::ops::arith::Div">Div</a><&'a <a class="struct" href="struct.OrderedFloat.html" title="struct ordered_float::OrderedFloat">OrderedFloat</a><T>> for <a class="struct" href="struct.OrderedFloat.html" title="struct ordered_float::OrderedFloat">OrderedFloat</a><T><div class="where">where
|
|
T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html" title="trait core::ops::arith::Div">Div</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a T</a>>,</div></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output-27" class="associatedtype trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#376">Source</a><a href="#associatedtype.Output-27" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.OrderedFloat.html" title="struct ordered_float::OrderedFloat">OrderedFloat</a><<T as <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html" title="trait core::ops::arith::Div">Div</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a T</a>>>::<a class="associatedtype" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html#associatedtype.Output" title="type core::ops::arith::Div::Output">Output</a>></h4></section></summary><div class='docblock'>The resulting type after applying the <code>/</code> operator.</div></details><details class="toggle method-toggle" open><summary><section id="method.div-3" class="method trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#376">Source</a><a href="#method.div-3" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html#tymethod.div" class="fn">div</a>(self, other: &'a Self) -> Self::<a class="associatedtype" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html#associatedtype.Output" title="type core::ops::arith::Div::Output">Output</a></h4></section></summary><div class='docblock'>Performs the <code>/</code> operation. <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html#tymethod.div">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Div%3C%26T%3E-for-%26OrderedFloat%3CT%3E" class="impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#376">Source</a><a href="#impl-Div%3C%26T%3E-for-%26OrderedFloat%3CT%3E" class="anchor">§</a><h3 class="code-header">impl<'a, T> <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html" title="trait core::ops::arith::Div">Div</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a T</a>> for &'a <a class="struct" href="struct.OrderedFloat.html" title="struct ordered_float::OrderedFloat">OrderedFloat</a><T><div class="where">where
|
|
<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a T</a>: <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html" title="trait core::ops::arith::Div">Div</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output-31" class="associatedtype trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#376">Source</a><a href="#associatedtype.Output-31" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.OrderedFloat.html" title="struct ordered_float::OrderedFloat">OrderedFloat</a><<<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a T</a> as <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html" title="trait core::ops::arith::Div">Div</a>>::<a class="associatedtype" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html#associatedtype.Output" title="type core::ops::arith::Div::Output">Output</a>></h4></section></summary><div class='docblock'>The resulting type after applying the <code>/</code> operator.</div></details><details class="toggle method-toggle" open><summary><section id="method.div-7" class="method trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#376">Source</a><a href="#method.div-7" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html#tymethod.div" class="fn">div</a>(self, other: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a T</a>) -> Self::<a class="associatedtype" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html#associatedtype.Output" title="type core::ops::arith::Div::Output">Output</a></h4></section></summary><div class='docblock'>Performs the <code>/</code> operation. <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html#tymethod.div">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Div%3C%26T%3E-for-OrderedFloat%3CT%3E" class="impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#376">Source</a><a href="#impl-Div%3C%26T%3E-for-OrderedFloat%3CT%3E" class="anchor">§</a><h3 class="code-header">impl<'a, T> <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html" title="trait core::ops::arith::Div">Div</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a T</a>> for <a class="struct" href="struct.OrderedFloat.html" title="struct ordered_float::OrderedFloat">OrderedFloat</a><T><div class="where">where
|
|
T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html" title="trait core::ops::arith::Div">Div</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a T</a>>,</div></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output-26" class="associatedtype trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#376">Source</a><a href="#associatedtype.Output-26" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.OrderedFloat.html" title="struct ordered_float::OrderedFloat">OrderedFloat</a><<T as <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html" title="trait core::ops::arith::Div">Div</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a T</a>>>::<a class="associatedtype" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html#associatedtype.Output" title="type core::ops::arith::Div::Output">Output</a>></h4></section></summary><div class='docblock'>The resulting type after applying the <code>/</code> operator.</div></details><details class="toggle method-toggle" open><summary><section id="method.div-2" class="method trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#376">Source</a><a href="#method.div-2" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html#tymethod.div" class="fn">div</a>(self, other: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a T</a>) -> Self::<a class="associatedtype" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html#associatedtype.Output" title="type core::ops::arith::Div::Output">Output</a></h4></section></summary><div class='docblock'>Performs the <code>/</code> operation. <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html#tymethod.div">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Div%3COrderedFloat%3CT%3E%3E-for-%26OrderedFloat%3CT%3E" class="impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#376">Source</a><a href="#impl-Div%3COrderedFloat%3CT%3E%3E-for-%26OrderedFloat%3CT%3E" class="anchor">§</a><h3 class="code-header">impl<'a, T> <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html" title="trait core::ops::arith::Div">Div</a><<a class="struct" href="struct.OrderedFloat.html" title="struct ordered_float::OrderedFloat">OrderedFloat</a><T>> for &'a <a class="struct" href="struct.OrderedFloat.html" title="struct ordered_float::OrderedFloat">OrderedFloat</a><T><div class="where">where
|
|
<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a T</a>: <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html" title="trait core::ops::arith::Div">Div</a><T>,</div></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output-29" class="associatedtype trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#376">Source</a><a href="#associatedtype.Output-29" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.OrderedFloat.html" title="struct ordered_float::OrderedFloat">OrderedFloat</a><<<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a T</a> as <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html" title="trait core::ops::arith::Div">Div</a><T>>::<a class="associatedtype" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html#associatedtype.Output" title="type core::ops::arith::Div::Output">Output</a>></h4></section></summary><div class='docblock'>The resulting type after applying the <code>/</code> operator.</div></details><details class="toggle method-toggle" open><summary><section id="method.div-5" class="method trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#376">Source</a><a href="#method.div-5" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html#tymethod.div" class="fn">div</a>(self, other: <a class="struct" href="struct.OrderedFloat.html" title="struct ordered_float::OrderedFloat">OrderedFloat</a><T>) -> Self::<a class="associatedtype" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html#associatedtype.Output" title="type core::ops::arith::Div::Output">Output</a></h4></section></summary><div class='docblock'>Performs the <code>/</code> operation. <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html#tymethod.div">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Div%3CT%3E-for-%26OrderedFloat%3CT%3E" class="impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#376">Source</a><a href="#impl-Div%3CT%3E-for-%26OrderedFloat%3CT%3E" class="anchor">§</a><h3 class="code-header">impl<'a, T> <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html" title="trait core::ops::arith::Div">Div</a><T> for &'a <a class="struct" href="struct.OrderedFloat.html" title="struct ordered_float::OrderedFloat">OrderedFloat</a><T><div class="where">where
|
|
<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a T</a>: <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html" title="trait core::ops::arith::Div">Div</a><T>,</div></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output-30" class="associatedtype trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#376">Source</a><a href="#associatedtype.Output-30" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.OrderedFloat.html" title="struct ordered_float::OrderedFloat">OrderedFloat</a><<<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a T</a> as <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html" title="trait core::ops::arith::Div">Div</a><T>>::<a class="associatedtype" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html#associatedtype.Output" title="type core::ops::arith::Div::Output">Output</a>></h4></section></summary><div class='docblock'>The resulting type after applying the <code>/</code> operator.</div></details><details class="toggle method-toggle" open><summary><section id="method.div-6" class="method trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#376">Source</a><a href="#method.div-6" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html#tymethod.div" class="fn">div</a>(self, other: T) -> Self::<a class="associatedtype" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html#associatedtype.Output" title="type core::ops::arith::Div::Output">Output</a></h4></section></summary><div class='docblock'>Performs the <code>/</code> operation. <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html#tymethod.div">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Div%3CT%3E-for-OrderedFloat%3CT%3E" class="impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#376">Source</a><a href="#impl-Div%3CT%3E-for-OrderedFloat%3CT%3E" class="anchor">§</a><h3 class="code-header">impl<T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html" title="trait core::ops::arith::Div">Div</a>> <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html" title="trait core::ops::arith::Div">Div</a><T> for <a class="struct" href="struct.OrderedFloat.html" title="struct ordered_float::OrderedFloat">OrderedFloat</a><T></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output-25" class="associatedtype trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#376">Source</a><a href="#associatedtype.Output-25" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.OrderedFloat.html" title="struct ordered_float::OrderedFloat">OrderedFloat</a><<T as <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html" title="trait core::ops::arith::Div">Div</a>>::<a class="associatedtype" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html#associatedtype.Output" title="type core::ops::arith::Div::Output">Output</a>></h4></section></summary><div class='docblock'>The resulting type after applying the <code>/</code> operator.</div></details><details class="toggle method-toggle" open><summary><section id="method.div-1" class="method trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#376">Source</a><a href="#method.div-1" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html#tymethod.div" class="fn">div</a>(self, other: T) -> Self::<a class="associatedtype" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html#associatedtype.Output" title="type core::ops::arith::Div::Output">Output</a></h4></section></summary><div class='docblock'>Performs the <code>/</code> operation. <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html#tymethod.div">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Div-for-%26OrderedFloat%3CT%3E" class="impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#376">Source</a><a href="#impl-Div-for-%26OrderedFloat%3CT%3E" class="anchor">§</a><h3 class="code-header">impl<'a, T> <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html" title="trait core::ops::arith::Div">Div</a> for &'a <a class="struct" href="struct.OrderedFloat.html" title="struct ordered_float::OrderedFloat">OrderedFloat</a><T><div class="where">where
|
|
<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a T</a>: <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html" title="trait core::ops::arith::Div">Div</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output-28" class="associatedtype trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#376">Source</a><a href="#associatedtype.Output-28" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.OrderedFloat.html" title="struct ordered_float::OrderedFloat">OrderedFloat</a><<<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a T</a> as <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html" title="trait core::ops::arith::Div">Div</a>>::<a class="associatedtype" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html#associatedtype.Output" title="type core::ops::arith::Div::Output">Output</a>></h4></section></summary><div class='docblock'>The resulting type after applying the <code>/</code> operator.</div></details><details class="toggle method-toggle" open><summary><section id="method.div-4" class="method trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#376">Source</a><a href="#method.div-4" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html#tymethod.div" class="fn">div</a>(self, other: Self) -> Self::<a class="associatedtype" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html#associatedtype.Output" title="type core::ops::arith::Div::Output">Output</a></h4></section></summary><div class='docblock'>Performs the <code>/</code> operation. <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html#tymethod.div">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Div-for-OrderedFloat%3CT%3E" class="impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#376">Source</a><a href="#impl-Div-for-OrderedFloat%3CT%3E" class="anchor">§</a><h3 class="code-header">impl<T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html" title="trait core::ops::arith::Div">Div</a>> <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html" title="trait core::ops::arith::Div">Div</a> for <a class="struct" href="struct.OrderedFloat.html" title="struct ordered_float::OrderedFloat">OrderedFloat</a><T></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output-24" class="associatedtype trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#376">Source</a><a href="#associatedtype.Output-24" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.OrderedFloat.html" title="struct ordered_float::OrderedFloat">OrderedFloat</a><<T as <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html" title="trait core::ops::arith::Div">Div</a>>::<a class="associatedtype" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html#associatedtype.Output" title="type core::ops::arith::Div::Output">Output</a>></h4></section></summary><div class='docblock'>The resulting type after applying the <code>/</code> operator.</div></details><details class="toggle method-toggle" open><summary><section id="method.div" class="method trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#376">Source</a><a href="#method.div" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html#tymethod.div" class="fn">div</a>(self, other: Self) -> Self::<a class="associatedtype" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html#associatedtype.Output" title="type core::ops::arith::Div::Output">Output</a></h4></section></summary><div class='docblock'>Performs the <code>/</code> operation. <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html#tymethod.div">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-DivAssign%3C%26OrderedFloat%3CT%3E%3E-for-OrderedFloat%3CT%3E" class="impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#376">Source</a><a href="#impl-DivAssign%3C%26OrderedFloat%3CT%3E%3E-for-OrderedFloat%3CT%3E" class="anchor">§</a><h3 class="code-header">impl<'a, T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.DivAssign.html" title="trait core::ops::arith::DivAssign">DivAssign</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a T</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><&'a <a class="struct" href="struct.OrderedFloat.html" title="struct ordered_float::OrderedFloat">OrderedFloat</a><T>> for <a class="struct" href="struct.OrderedFloat.html" title="struct ordered_float::OrderedFloat">OrderedFloat</a><T></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.div_assign-3" class="method trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#376">Source</a><a href="#method.div_assign-3" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.DivAssign.html#tymethod.div_assign" class="fn">div_assign</a>(&mut self, other: &'a Self)</h4></section></summary><div class='docblock'>Performs the <code>/=</code> operation. <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.DivAssign.html#tymethod.div_assign">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-DivAssign%3C%26T%3E-for-OrderedFloat%3CT%3E" class="impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#376">Source</a><a href="#impl-DivAssign%3C%26T%3E-for-OrderedFloat%3CT%3E" class="anchor">§</a><h3 class="code-header">impl<'a, T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.DivAssign.html" title="trait core::ops::arith::DivAssign">DivAssign</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a T</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><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a T</a>> for <a class="struct" href="struct.OrderedFloat.html" title="struct ordered_float::OrderedFloat">OrderedFloat</a><T></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.div_assign-1" class="method trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#376">Source</a><a href="#method.div_assign-1" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.DivAssign.html#tymethod.div_assign" class="fn">div_assign</a>(&mut self, other: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a T</a>)</h4></section></summary><div class='docblock'>Performs the <code>/=</code> operation. <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.DivAssign.html#tymethod.div_assign">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-DivAssign%3CT%3E-for-OrderedFloat%3CT%3E" class="impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#376">Source</a><a href="#impl-DivAssign%3CT%3E-for-OrderedFloat%3CT%3E" class="anchor">§</a><h3 class="code-header">impl<T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.DivAssign.html" title="trait core::ops::arith::DivAssign">DivAssign</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><T> for <a class="struct" href="struct.OrderedFloat.html" title="struct ordered_float::OrderedFloat">OrderedFloat</a><T></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.div_assign" class="method trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#376">Source</a><a href="#method.div_assign" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.DivAssign.html#tymethod.div_assign" class="fn">div_assign</a>(&mut self, other: T)</h4></section></summary><div class='docblock'>Performs the <code>/=</code> operation. <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.DivAssign.html#tymethod.div_assign">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-DivAssign-for-OrderedFloat%3CT%3E" class="impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#376">Source</a><a href="#impl-DivAssign-for-OrderedFloat%3CT%3E" class="anchor">§</a><h3 class="code-header">impl<T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.DivAssign.html" title="trait core::ops::arith::DivAssign">DivAssign</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> for <a class="struct" href="struct.OrderedFloat.html" title="struct ordered_float::OrderedFloat">OrderedFloat</a><T></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.div_assign-2" class="method trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#376">Source</a><a href="#method.div_assign-2" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.DivAssign.html#tymethod.div_assign" class="fn">div_assign</a>(&mut self, other: Self)</h4></section></summary><div class='docblock'>Performs the <code>/=</code> operation. <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.DivAssign.html#tymethod.div_assign">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Float-for-OrderedFloat%3CT%3E" class="impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#669-842">Source</a><a href="#impl-Float-for-OrderedFloat%3CT%3E" class="anchor">§</a><h3 class="code-header">impl<T: <a class="trait" href="trait.Float.html" title="trait ordered_float::Float">Float</a>> <a class="trait" href="trait.Float.html" title="trait ordered_float::Float">Float</a> for <a class="struct" href="struct.OrderedFloat.html" title="struct ordered_float::OrderedFloat">OrderedFloat</a><T></h3><span class="item-info"><div class="stab portability">Available on <strong>crate feature <code>std</code></strong> only.</div></span></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.nan-1" class="method trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#670-672">Source</a><a href="#method.nan-1" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Float.html#tymethod.nan" class="fn">nan</a>() -> Self</h4></section></summary><div class='docblock'>Returns the <code>NaN</code> value. <a href="trait.Float.html#tymethod.nan">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.infinity-1" class="method trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#673-675">Source</a><a href="#method.infinity-1" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Float.html#tymethod.infinity" class="fn">infinity</a>() -> Self</h4></section></summary><div class='docblock'>Returns the infinite value. <a href="trait.Float.html#tymethod.infinity">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.neg_infinity-1" class="method trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#676-678">Source</a><a href="#method.neg_infinity-1" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Float.html#tymethod.neg_infinity" class="fn">neg_infinity</a>() -> Self</h4></section></summary><div class='docblock'>Returns the negative infinite value. <a href="trait.Float.html#tymethod.neg_infinity">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.neg_zero-1" class="method trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#679-681">Source</a><a href="#method.neg_zero-1" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Float.html#tymethod.neg_zero" class="fn">neg_zero</a>() -> Self</h4></section></summary><div class='docblock'>Returns <code>-0.0</code>. <a href="trait.Float.html#tymethod.neg_zero">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.min_value-2" class="method trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#682-684">Source</a><a href="#method.min_value-2" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Float.html#tymethod.min_value" class="fn">min_value</a>() -> Self</h4></section></summary><div class='docblock'>Returns the smallest finite value that this type can represent. <a href="trait.Float.html#tymethod.min_value">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.min_positive_value-1" class="method trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#685-687">Source</a><a href="#method.min_positive_value-1" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Float.html#tymethod.min_positive_value" class="fn">min_positive_value</a>() -> Self</h4></section></summary><div class='docblock'>Returns the smallest positive, normalized value that this type can represent. <a href="trait.Float.html#tymethod.min_positive_value">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.max_value-2" class="method trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#688-690">Source</a><a href="#method.max_value-2" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Float.html#tymethod.max_value" class="fn">max_value</a>() -> Self</h4></section></summary><div class='docblock'>Returns the largest finite value that this type can represent. <a href="trait.Float.html#tymethod.max_value">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.is_nan-1" class="method trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#691-693">Source</a><a href="#method.is_nan-1" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Float.html#tymethod.is_nan" class="fn">is_nan</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Returns <code>true</code> if this value is <code>NaN</code> and false otherwise. <a href="trait.Float.html#tymethod.is_nan">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.is_infinite-1" class="method trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#694-696">Source</a><a href="#method.is_infinite-1" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Float.html#tymethod.is_infinite" class="fn">is_infinite</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Returns <code>true</code> if this value is positive infinity or negative infinity and
|
|
false otherwise. <a href="trait.Float.html#tymethod.is_infinite">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.is_finite-1" class="method trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#697-699">Source</a><a href="#method.is_finite-1" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Float.html#tymethod.is_finite" class="fn">is_finite</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Returns <code>true</code> if this number is neither infinite nor <code>NaN</code>. <a href="trait.Float.html#tymethod.is_finite">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.is_normal-1" class="method trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#700-702">Source</a><a href="#method.is_normal-1" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Float.html#tymethod.is_normal" class="fn">is_normal</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Returns <code>true</code> if the number is neither zero, infinite,
|
|
<a href="http://en.wikipedia.org/wiki/Subnormal_number">subnormal</a>, or <code>NaN</code>. <a href="trait.Float.html#tymethod.is_normal">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.classify-1" class="method trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#703-705">Source</a><a href="#method.classify-1" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Float.html#tymethod.classify" class="fn">classify</a>(self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/num/enum.FpCategory.html" title="enum core::num::FpCategory">FpCategory</a></h4></section></summary><div class='docblock'>Returns the floating point category of the number. If only one property
|
|
is going to be tested, it is generally faster to use the specific
|
|
predicate instead. <a href="trait.Float.html#tymethod.classify">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.floor-1" class="method trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#706-708">Source</a><a href="#method.floor-1" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Float.html#tymethod.floor" class="fn">floor</a>(self) -> Self</h4></section></summary><div class='docblock'>Returns the largest integer less than or equal to a number. <a href="trait.Float.html#tymethod.floor">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.ceil-1" class="method trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#709-711">Source</a><a href="#method.ceil-1" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Float.html#tymethod.ceil" class="fn">ceil</a>(self) -> Self</h4></section></summary><div class='docblock'>Returns the smallest integer greater than or equal to a number. <a href="trait.Float.html#tymethod.ceil">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.round-1" class="method trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#712-714">Source</a><a href="#method.round-1" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Float.html#tymethod.round" class="fn">round</a>(self) -> Self</h4></section></summary><div class='docblock'>Returns the nearest integer to a number. Round half-way cases away from
|
|
<code>0.0</code>. <a href="trait.Float.html#tymethod.round">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.trunc-1" class="method trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#715-717">Source</a><a href="#method.trunc-1" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Float.html#tymethod.trunc" class="fn">trunc</a>(self) -> Self</h4></section></summary><div class='docblock'>Return the integer part of a number. <a href="trait.Float.html#tymethod.trunc">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.fract-1" class="method trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#718-720">Source</a><a href="#method.fract-1" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Float.html#tymethod.fract" class="fn">fract</a>(self) -> Self</h4></section></summary><div class='docblock'>Returns the fractional part of a number. <a href="trait.Float.html#tymethod.fract">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.abs-2" class="method trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#721-723">Source</a><a href="#method.abs-2" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Float.html#tymethod.abs" class="fn">abs</a>(self) -> Self</h4></section></summary><div class='docblock'>Computes the absolute value of <code>self</code>. Returns <code>Float::nan()</code> if the
|
|
number is <code>Float::nan()</code>. <a href="trait.Float.html#tymethod.abs">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.signum-2" class="method trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#724-726">Source</a><a href="#method.signum-2" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Float.html#tymethod.signum" class="fn">signum</a>(self) -> Self</h4></section></summary><div class='docblock'>Returns a number that represents the sign of <code>self</code>. <a href="trait.Float.html#tymethod.signum">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.is_sign_positive-1" class="method trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#727-729">Source</a><a href="#method.is_sign_positive-1" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Float.html#tymethod.is_sign_positive" class="fn">is_sign_positive</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Returns <code>true</code> if <code>self</code> is positive, including <code>+0.0</code>,
|
|
<code>Float::infinity()</code>, and <code>Float::nan()</code>. <a href="trait.Float.html#tymethod.is_sign_positive">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.is_sign_negative-1" class="method trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#730-732">Source</a><a href="#method.is_sign_negative-1" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Float.html#tymethod.is_sign_negative" class="fn">is_sign_negative</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Returns <code>true</code> if <code>self</code> is negative, including <code>-0.0</code>,
|
|
<code>Float::neg_infinity()</code>, and <code>-Float::nan()</code>. <a href="trait.Float.html#tymethod.is_sign_negative">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.mul_add" class="method trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#733-735">Source</a><a href="#method.mul_add" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Float.html#tymethod.mul_add" class="fn">mul_add</a>(self, a: Self, b: Self) -> Self</h4></section></summary><div class='docblock'>Fused multiply-add. Computes <code>(self * a) + b</code> with only one rounding
|
|
error, yielding a more accurate result than an unfused multiply-add. <a href="trait.Float.html#tymethod.mul_add">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.recip-1" class="method trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#736-738">Source</a><a href="#method.recip-1" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Float.html#tymethod.recip" class="fn">recip</a>(self) -> Self</h4></section></summary><div class='docblock'>Take the reciprocal (inverse) of a number, <code>1/x</code>. <a href="trait.Float.html#tymethod.recip">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.powi-1" class="method trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#739-741">Source</a><a href="#method.powi-1" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Float.html#tymethod.powi" class="fn">powi</a>(self, n: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>) -> Self</h4></section></summary><div class='docblock'>Raise a number to an integer power. <a href="trait.Float.html#tymethod.powi">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.powf" class="method trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#742-744">Source</a><a href="#method.powf" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Float.html#tymethod.powf" class="fn">powf</a>(self, n: Self) -> Self</h4></section></summary><div class='docblock'>Raise a number to a floating point power. <a href="trait.Float.html#tymethod.powf">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.sqrt" class="method trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#745-747">Source</a><a href="#method.sqrt" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Float.html#tymethod.sqrt" class="fn">sqrt</a>(self) -> Self</h4></section></summary><div class='docblock'>Take the square root of a number. <a href="trait.Float.html#tymethod.sqrt">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.exp" class="method trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#748-750">Source</a><a href="#method.exp" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Float.html#tymethod.exp" class="fn">exp</a>(self) -> Self</h4></section></summary><div class='docblock'>Returns <code>e^(self)</code>, (the exponential function). <a href="trait.Float.html#tymethod.exp">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.exp2" class="method trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#751-753">Source</a><a href="#method.exp2" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Float.html#tymethod.exp2" class="fn">exp2</a>(self) -> Self</h4></section></summary><div class='docblock'>Returns <code>2^(self)</code>. <a href="trait.Float.html#tymethod.exp2">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.ln" class="method trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#754-756">Source</a><a href="#method.ln" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Float.html#tymethod.ln" class="fn">ln</a>(self) -> Self</h4></section></summary><div class='docblock'>Returns the natural logarithm of the number. <a href="trait.Float.html#tymethod.ln">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.log" class="method trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#757-759">Source</a><a href="#method.log" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Float.html#tymethod.log" class="fn">log</a>(self, base: Self) -> Self</h4></section></summary><div class='docblock'>Returns the logarithm of the number with respect to an arbitrary base. <a href="trait.Float.html#tymethod.log">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.log2" class="method trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#760-762">Source</a><a href="#method.log2" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Float.html#tymethod.log2" class="fn">log2</a>(self) -> Self</h4></section></summary><div class='docblock'>Returns the base 2 logarithm of the number. <a href="trait.Float.html#tymethod.log2">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.log10" class="method trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#763-765">Source</a><a href="#method.log10" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Float.html#tymethod.log10" class="fn">log10</a>(self) -> Self</h4></section></summary><div class='docblock'>Returns the base 10 logarithm of the number. <a href="trait.Float.html#tymethod.log10">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.max-2" class="method trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#766-768">Source</a><a href="#method.max-2" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Float.html#tymethod.max" class="fn">max</a>(self, other: Self) -> Self</h4></section></summary><div class='docblock'>Returns the maximum of the two numbers. <a href="trait.Float.html#tymethod.max">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.min-2" class="method trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#769-771">Source</a><a href="#method.min-2" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Float.html#tymethod.min" class="fn">min</a>(self, other: Self) -> Self</h4></section></summary><div class='docblock'>Returns the minimum of the two numbers. <a href="trait.Float.html#tymethod.min">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.abs_sub-1" class="method trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#772-774">Source</a><a href="#method.abs_sub-1" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Float.html#tymethod.abs_sub" class="fn">abs_sub</a>(self, other: Self) -> Self</h4></section></summary><div class='docblock'>The positive difference of two numbers. <a href="trait.Float.html#tymethod.abs_sub">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.cbrt" class="method trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#775-777">Source</a><a href="#method.cbrt" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Float.html#tymethod.cbrt" class="fn">cbrt</a>(self) -> Self</h4></section></summary><div class='docblock'>Take the cubic root of a number. <a href="trait.Float.html#tymethod.cbrt">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.hypot" class="method trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#778-780">Source</a><a href="#method.hypot" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Float.html#tymethod.hypot" class="fn">hypot</a>(self, other: Self) -> Self</h4></section></summary><div class='docblock'>Calculate the length of the hypotenuse of a right-angle triangle given
|
|
legs of length <code>x</code> and <code>y</code>. <a href="trait.Float.html#tymethod.hypot">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.sin" class="method trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#781-783">Source</a><a href="#method.sin" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Float.html#tymethod.sin" class="fn">sin</a>(self) -> Self</h4></section></summary><div class='docblock'>Computes the sine of a number (in radians). <a href="trait.Float.html#tymethod.sin">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.cos" class="method trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#784-786">Source</a><a href="#method.cos" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Float.html#tymethod.cos" class="fn">cos</a>(self) -> Self</h4></section></summary><div class='docblock'>Computes the cosine of a number (in radians). <a href="trait.Float.html#tymethod.cos">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.tan" class="method trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#787-789">Source</a><a href="#method.tan" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Float.html#tymethod.tan" class="fn">tan</a>(self) -> Self</h4></section></summary><div class='docblock'>Computes the tangent of a number (in radians). <a href="trait.Float.html#tymethod.tan">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.asin" class="method trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#790-792">Source</a><a href="#method.asin" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Float.html#tymethod.asin" class="fn">asin</a>(self) -> Self</h4></section></summary><div class='docblock'>Computes the arcsine of a number. Return value is in radians in
|
|
the range [-pi/2, pi/2] or NaN if the number is outside the range
|
|
[-1, 1]. <a href="trait.Float.html#tymethod.asin">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.acos" class="method trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#793-795">Source</a><a href="#method.acos" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Float.html#tymethod.acos" class="fn">acos</a>(self) -> Self</h4></section></summary><div class='docblock'>Computes the arccosine of a number. Return value is in radians in
|
|
the range [0, pi] or NaN if the number is outside the range
|
|
[-1, 1]. <a href="trait.Float.html#tymethod.acos">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.atan" class="method trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#796-798">Source</a><a href="#method.atan" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Float.html#tymethod.atan" class="fn">atan</a>(self) -> Self</h4></section></summary><div class='docblock'>Computes the arctangent of a number. Return value is in radians in the
|
|
range [-pi/2, pi/2]; <a href="trait.Float.html#tymethod.atan">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.atan2" class="method trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#799-801">Source</a><a href="#method.atan2" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Float.html#tymethod.atan2" class="fn">atan2</a>(self, other: Self) -> Self</h4></section></summary><div class='docblock'>Computes the four quadrant arctangent of <code>self</code> (<code>y</code>) and <code>other</code> (<code>x</code>). <a href="trait.Float.html#tymethod.atan2">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.sin_cos" class="method trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#802-805">Source</a><a href="#method.sin_cos" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Float.html#tymethod.sin_cos" class="fn">sin_cos</a>(self) -> (Self, Self)</h4></section></summary><div class='docblock'>Simultaneously computes the sine and cosine of the number, <code>x</code>. Returns
|
|
<code>(sin(x), cos(x))</code>. <a href="trait.Float.html#tymethod.sin_cos">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.exp_m1" class="method trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#806-808">Source</a><a href="#method.exp_m1" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Float.html#tymethod.exp_m1" class="fn">exp_m1</a>(self) -> Self</h4></section></summary><div class='docblock'>Returns <code>e^(self) - 1</code> in a way that is accurate even if the
|
|
number is close to zero. <a href="trait.Float.html#tymethod.exp_m1">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.ln_1p" class="method trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#809-811">Source</a><a href="#method.ln_1p" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Float.html#tymethod.ln_1p" class="fn">ln_1p</a>(self) -> Self</h4></section></summary><div class='docblock'>Returns <code>ln(1+n)</code> (natural logarithm) more accurately than if
|
|
the operations were performed separately. <a href="trait.Float.html#tymethod.ln_1p">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.sinh" class="method trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#812-814">Source</a><a href="#method.sinh" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Float.html#tymethod.sinh" class="fn">sinh</a>(self) -> Self</h4></section></summary><div class='docblock'>Hyperbolic sine function. <a href="trait.Float.html#tymethod.sinh">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.cosh" class="method trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#815-817">Source</a><a href="#method.cosh" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Float.html#tymethod.cosh" class="fn">cosh</a>(self) -> Self</h4></section></summary><div class='docblock'>Hyperbolic cosine function. <a href="trait.Float.html#tymethod.cosh">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.tanh" class="method trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#818-820">Source</a><a href="#method.tanh" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Float.html#tymethod.tanh" class="fn">tanh</a>(self) -> Self</h4></section></summary><div class='docblock'>Hyperbolic tangent function. <a href="trait.Float.html#tymethod.tanh">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.asinh" class="method trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#821-823">Source</a><a href="#method.asinh" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Float.html#tymethod.asinh" class="fn">asinh</a>(self) -> Self</h4></section></summary><div class='docblock'>Inverse hyperbolic sine function. <a href="trait.Float.html#tymethod.asinh">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.acosh" class="method trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#824-826">Source</a><a href="#method.acosh" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Float.html#tymethod.acosh" class="fn">acosh</a>(self) -> Self</h4></section></summary><div class='docblock'>Inverse hyperbolic cosine function. <a href="trait.Float.html#tymethod.acosh">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.atanh" class="method trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#827-829">Source</a><a href="#method.atanh" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Float.html#tymethod.atanh" class="fn">atanh</a>(self) -> Self</h4></section></summary><div class='docblock'>Inverse hyperbolic tangent function. <a href="trait.Float.html#tymethod.atanh">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.integer_decode-1" class="method trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#830-832">Source</a><a href="#method.integer_decode-1" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Float.html#tymethod.integer_decode" class="fn">integer_decode</a>(self) -> (<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>, <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i16.html">i16</a>, <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i8.html">i8</a>)</h4></section></summary><div class='docblock'>Returns the mantissa, base 2 exponent, and sign as integers, respectively.
|
|
The original number can be recovered by <code>sign * mantissa * 2 ^ exponent</code>. <a href="trait.Float.html#tymethod.integer_decode">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.epsilon-1" class="method trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#833-835">Source</a><a href="#method.epsilon-1" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Float.html#method.epsilon" class="fn">epsilon</a>() -> Self</h4></section></summary><div class='docblock'>Returns epsilon, a small positive value. <a href="trait.Float.html#method.epsilon">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.to_degrees-1" class="method trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#836-838">Source</a><a href="#method.to_degrees-1" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Float.html#method.to_degrees" class="fn">to_degrees</a>(self) -> Self</h4></section></summary><div class='docblock'>Converts radians to degrees. <a href="trait.Float.html#method.to_degrees">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.to_radians-1" class="method trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#839-841">Source</a><a href="#method.to_radians-1" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Float.html#method.to_radians" class="fn">to_radians</a>(self) -> Self</h4></section></summary><div class='docblock'>Converts degrees to radians. <a href="trait.Float.html#method.to_radians">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.is_subnormal-1" class="method trait-impl"><a class="src rightside" href="../src/num_traits/float.rs.html#1137">Source</a><a href="#method.is_subnormal-1" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Float.html#method.is_subnormal" class="fn">is_subnormal</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Returns <code>true</code> if the number is <a href="https://en.wikipedia.org/wiki/Subnormal_number">subnormal</a>. <a href="trait.Float.html#method.is_subnormal">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.clamp-2" class="method trait-impl"><a class="src rightside" href="../src/num_traits/float.rs.html#1545">Source</a><a href="#method.clamp-2" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Float.html#method.clamp" class="fn">clamp</a>(self, min: Self, max: Self) -> Self</h4></section></summary><div class='docblock'>Clamps a value between a min and max. <a href="trait.Float.html#method.clamp">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.copysign" class="method trait-impl"><a class="src rightside" href="../src/num_traits/float.rs.html#1905">Source</a><a href="#method.copysign" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Float.html#method.copysign" class="fn">copysign</a>(self, sign: Self) -> Self</h4></section></summary><div class='docblock'>Returns a number composed of the magnitude of <code>self</code> and the sign of
|
|
<code>sign</code>. <a href="trait.Float.html#method.copysign">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-FloatCore-for-OrderedFloat%3CT%3E" class="impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#584-666">Source</a><a href="#impl-FloatCore-for-OrderedFloat%3CT%3E" class="anchor">§</a><h3 class="code-header">impl<T: <a class="trait" href="trait.Float.html" title="trait ordered_float::Float">Float</a>> <a class="trait" href="../num_traits/float/trait.FloatCore.html" title="trait num_traits::float::FloatCore">FloatCore</a> for <a class="struct" href="struct.OrderedFloat.html" title="struct ordered_float::OrderedFloat">OrderedFloat</a><T></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.nan" class="method trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#585-587">Source</a><a href="#method.nan" class="anchor">§</a><h4 class="code-header">fn <a href="../num_traits/float/trait.FloatCore.html#tymethod.nan" class="fn">nan</a>() -> Self</h4></section></summary><div class='docblock'>Returns NaN. <a href="../num_traits/float/trait.FloatCore.html#tymethod.nan">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.infinity" class="method trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#588-590">Source</a><a href="#method.infinity" class="anchor">§</a><h4 class="code-header">fn <a href="../num_traits/float/trait.FloatCore.html#tymethod.infinity" class="fn">infinity</a>() -> Self</h4></section></summary><div class='docblock'>Returns positive infinity. <a href="../num_traits/float/trait.FloatCore.html#tymethod.infinity">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.neg_infinity" class="method trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#591-593">Source</a><a href="#method.neg_infinity" class="anchor">§</a><h4 class="code-header">fn <a href="../num_traits/float/trait.FloatCore.html#tymethod.neg_infinity" class="fn">neg_infinity</a>() -> Self</h4></section></summary><div class='docblock'>Returns negative infinity. <a href="../num_traits/float/trait.FloatCore.html#tymethod.neg_infinity">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.neg_zero" class="method trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#594-596">Source</a><a href="#method.neg_zero" class="anchor">§</a><h4 class="code-header">fn <a href="../num_traits/float/trait.FloatCore.html#tymethod.neg_zero" class="fn">neg_zero</a>() -> Self</h4></section></summary><div class='docblock'>Returns <code>-0.0</code>. <a href="../num_traits/float/trait.FloatCore.html#tymethod.neg_zero">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.min_value-1" class="method trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#597-599">Source</a><a href="#method.min_value-1" class="anchor">§</a><h4 class="code-header">fn <a href="../num_traits/float/trait.FloatCore.html#tymethod.min_value" class="fn">min_value</a>() -> Self</h4></section></summary><div class='docblock'>Returns the smallest finite value that this type can represent. <a href="../num_traits/float/trait.FloatCore.html#tymethod.min_value">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.min_positive_value" class="method trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#600-602">Source</a><a href="#method.min_positive_value" class="anchor">§</a><h4 class="code-header">fn <a href="../num_traits/float/trait.FloatCore.html#tymethod.min_positive_value" class="fn">min_positive_value</a>() -> Self</h4></section></summary><div class='docblock'>Returns the smallest positive, normalized value that this type can represent. <a href="../num_traits/float/trait.FloatCore.html#tymethod.min_positive_value">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.max_value-1" class="method trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#603-605">Source</a><a href="#method.max_value-1" class="anchor">§</a><h4 class="code-header">fn <a href="../num_traits/float/trait.FloatCore.html#tymethod.max_value" class="fn">max_value</a>() -> Self</h4></section></summary><div class='docblock'>Returns the largest finite value that this type can represent. <a href="../num_traits/float/trait.FloatCore.html#tymethod.max_value">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.is_nan" class="method trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#606-608">Source</a><a href="#method.is_nan" class="anchor">§</a><h4 class="code-header">fn <a href="../num_traits/float/trait.FloatCore.html#method.is_nan" class="fn">is_nan</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Returns <code>true</code> if the number is NaN. <a href="../num_traits/float/trait.FloatCore.html#method.is_nan">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.is_infinite" class="method trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#609-611">Source</a><a href="#method.is_infinite" class="anchor">§</a><h4 class="code-header">fn <a href="../num_traits/float/trait.FloatCore.html#method.is_infinite" class="fn">is_infinite</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Returns <code>true</code> if the number is infinite. <a href="../num_traits/float/trait.FloatCore.html#method.is_infinite">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.is_finite" class="method trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#612-614">Source</a><a href="#method.is_finite" class="anchor">§</a><h4 class="code-header">fn <a href="../num_traits/float/trait.FloatCore.html#method.is_finite" class="fn">is_finite</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Returns <code>true</code> if the number is neither infinite or NaN. <a href="../num_traits/float/trait.FloatCore.html#method.is_finite">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.is_normal" class="method trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#615-617">Source</a><a href="#method.is_normal" class="anchor">§</a><h4 class="code-header">fn <a href="../num_traits/float/trait.FloatCore.html#method.is_normal" class="fn">is_normal</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Returns <code>true</code> if the number is neither zero, infinite, subnormal or NaN. <a href="../num_traits/float/trait.FloatCore.html#method.is_normal">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.classify" class="method trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#618-620">Source</a><a href="#method.classify" class="anchor">§</a><h4 class="code-header">fn <a href="../num_traits/float/trait.FloatCore.html#tymethod.classify" class="fn">classify</a>(self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/num/enum.FpCategory.html" title="enum core::num::FpCategory">FpCategory</a></h4></section></summary><div class='docblock'>Returns the floating point category of the number. If only one property
|
|
is going to be tested, it is generally faster to use the specific
|
|
predicate instead. <a href="../num_traits/float/trait.FloatCore.html#tymethod.classify">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.floor" class="method trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#621-623">Source</a><a href="#method.floor" class="anchor">§</a><h4 class="code-header">fn <a href="../num_traits/float/trait.FloatCore.html#method.floor" class="fn">floor</a>(self) -> Self</h4></section></summary><div class='docblock'>Returns the largest integer less than or equal to a number. <a href="../num_traits/float/trait.FloatCore.html#method.floor">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.ceil" class="method trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#624-626">Source</a><a href="#method.ceil" class="anchor">§</a><h4 class="code-header">fn <a href="../num_traits/float/trait.FloatCore.html#method.ceil" class="fn">ceil</a>(self) -> Self</h4></section></summary><div class='docblock'>Returns the smallest integer greater than or equal to a number. <a href="../num_traits/float/trait.FloatCore.html#method.ceil">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.round" class="method trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#627-629">Source</a><a href="#method.round" class="anchor">§</a><h4 class="code-header">fn <a href="../num_traits/float/trait.FloatCore.html#method.round" class="fn">round</a>(self) -> Self</h4></section></summary><div class='docblock'>Returns the nearest integer to a number. Round half-way cases away from <code>0.0</code>. <a href="../num_traits/float/trait.FloatCore.html#method.round">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.trunc" class="method trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#630-632">Source</a><a href="#method.trunc" class="anchor">§</a><h4 class="code-header">fn <a href="../num_traits/float/trait.FloatCore.html#method.trunc" class="fn">trunc</a>(self) -> Self</h4></section></summary><div class='docblock'>Return the integer part of a number. <a href="../num_traits/float/trait.FloatCore.html#method.trunc">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.fract" class="method trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#633-635">Source</a><a href="#method.fract" class="anchor">§</a><h4 class="code-header">fn <a href="../num_traits/float/trait.FloatCore.html#method.fract" class="fn">fract</a>(self) -> Self</h4></section></summary><div class='docblock'>Returns the fractional part of a number. <a href="../num_traits/float/trait.FloatCore.html#method.fract">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.abs-1" class="method trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#636-638">Source</a><a href="#method.abs-1" class="anchor">§</a><h4 class="code-header">fn <a href="../num_traits/float/trait.FloatCore.html#method.abs" class="fn">abs</a>(self) -> Self</h4></section></summary><div class='docblock'>Computes the absolute value of <code>self</code>. Returns <code>FloatCore::nan()</code> if the
|
|
number is <code>FloatCore::nan()</code>. <a href="../num_traits/float/trait.FloatCore.html#method.abs">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.signum-1" class="method trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#639-641">Source</a><a href="#method.signum-1" class="anchor">§</a><h4 class="code-header">fn <a href="../num_traits/float/trait.FloatCore.html#method.signum" class="fn">signum</a>(self) -> Self</h4></section></summary><div class='docblock'>Returns a number that represents the sign of <code>self</code>. <a href="../num_traits/float/trait.FloatCore.html#method.signum">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.is_sign_positive" class="method trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#642-644">Source</a><a href="#method.is_sign_positive" class="anchor">§</a><h4 class="code-header">fn <a href="../num_traits/float/trait.FloatCore.html#method.is_sign_positive" class="fn">is_sign_positive</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Returns <code>true</code> if <code>self</code> is positive, including <code>+0.0</code> and
|
|
<code>FloatCore::infinity()</code>, and <code>FloatCore::nan()</code>. <a href="../num_traits/float/trait.FloatCore.html#method.is_sign_positive">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.is_sign_negative" class="method trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#645-647">Source</a><a href="#method.is_sign_negative" class="anchor">§</a><h4 class="code-header">fn <a href="../num_traits/float/trait.FloatCore.html#method.is_sign_negative" class="fn">is_sign_negative</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Returns <code>true</code> if <code>self</code> is negative, including <code>-0.0</code> and
|
|
<code>FloatCore::neg_infinity()</code>, and <code>-FloatCore::nan()</code>. <a href="../num_traits/float/trait.FloatCore.html#method.is_sign_negative">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.recip" class="method trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#648-650">Source</a><a href="#method.recip" class="anchor">§</a><h4 class="code-header">fn <a href="../num_traits/float/trait.FloatCore.html#method.recip" class="fn">recip</a>(self) -> Self</h4></section></summary><div class='docblock'>Returns the reciprocal (multiplicative inverse) of the number. <a href="../num_traits/float/trait.FloatCore.html#method.recip">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.powi" class="method trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#651-653">Source</a><a href="#method.powi" class="anchor">§</a><h4 class="code-header">fn <a href="../num_traits/float/trait.FloatCore.html#method.powi" class="fn">powi</a>(self, n: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>) -> Self</h4></section></summary><div class='docblock'>Raise a number to an integer power. <a href="../num_traits/float/trait.FloatCore.html#method.powi">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.integer_decode" class="method trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#654-656">Source</a><a href="#method.integer_decode" class="anchor">§</a><h4 class="code-header">fn <a href="../num_traits/float/trait.FloatCore.html#tymethod.integer_decode" class="fn">integer_decode</a>(self) -> (<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>, <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i16.html">i16</a>, <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i8.html">i8</a>)</h4></section></summary><div class='docblock'>Returns the mantissa, base 2 exponent, and sign as integers, respectively.
|
|
The original number can be recovered by <code>sign * mantissa * 2 ^ exponent</code>. <a href="../num_traits/float/trait.FloatCore.html#tymethod.integer_decode">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.epsilon" class="method trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#657-659">Source</a><a href="#method.epsilon" class="anchor">§</a><h4 class="code-header">fn <a href="../num_traits/float/trait.FloatCore.html#tymethod.epsilon" class="fn">epsilon</a>() -> Self</h4></section></summary><div class='docblock'>Returns epsilon, a small positive value. <a href="../num_traits/float/trait.FloatCore.html#tymethod.epsilon">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.to_degrees" class="method trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#660-662">Source</a><a href="#method.to_degrees" class="anchor">§</a><h4 class="code-header">fn <a href="../num_traits/float/trait.FloatCore.html#tymethod.to_degrees" class="fn">to_degrees</a>(self) -> Self</h4></section></summary><div class='docblock'>Converts to degrees, assuming the number is in radians. <a href="../num_traits/float/trait.FloatCore.html#tymethod.to_degrees">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.to_radians" class="method trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#663-665">Source</a><a href="#method.to_radians" class="anchor">§</a><h4 class="code-header">fn <a href="../num_traits/float/trait.FloatCore.html#tymethod.to_radians" class="fn">to_radians</a>(self) -> Self</h4></section></summary><div class='docblock'>Converts to radians, assuming the number is in degrees. <a href="../num_traits/float/trait.FloatCore.html#tymethod.to_radians">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.is_subnormal" class="method trait-impl"><a class="src rightside" href="../src/num_traits/float.rs.html#267">Source</a><a href="#method.is_subnormal" class="anchor">§</a><h4 class="code-header">fn <a href="../num_traits/float/trait.FloatCore.html#method.is_subnormal" class="fn">is_subnormal</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Returns <code>true</code> if the number is <a href="https://en.wikipedia.org/wiki/Subnormal_number">subnormal</a>. <a href="../num_traits/float/trait.FloatCore.html#method.is_subnormal">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.min-1" class="method trait-impl"><a class="src rightside" href="../src/num_traits/float.rs.html#607">Source</a><a href="#method.min-1" class="anchor">§</a><h4 class="code-header">fn <a href="../num_traits/float/trait.FloatCore.html#method.min" class="fn">min</a>(self, other: Self) -> Self</h4></section></summary><div class='docblock'>Returns the minimum of the two numbers. <a href="../num_traits/float/trait.FloatCore.html#method.min">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.max-1" class="method trait-impl"><a class="src rightside" href="../src/num_traits/float.rs.html#641">Source</a><a href="#method.max-1" class="anchor">§</a><h4 class="code-header">fn <a href="../num_traits/float/trait.FloatCore.html#method.max" class="fn">max</a>(self, other: Self) -> Self</h4></section></summary><div class='docblock'>Returns the maximum of the two numbers. <a href="../num_traits/float/trait.FloatCore.html#method.max">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.clamp-1" class="method trait-impl"><a class="src rightside" href="../src/num_traits/float.rs.html#681">Source</a><a href="#method.clamp-1" class="anchor">§</a><h4 class="code-header">fn <a href="../num_traits/float/trait.FloatCore.html#method.clamp" class="fn">clamp</a>(self, min: Self, max: Self) -> Self</h4></section></summary><div class='docblock'>A value bounded by a minimum and a maximum <a href="../num_traits/float/trait.FloatCore.html#method.clamp">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-From%3C%26T%3E-for-%26OrderedFloat%3CT%3E" class="impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#100-106">Source</a><a href="#impl-From%3C%26T%3E-for-%26OrderedFloat%3CT%3E" class="anchor">§</a><h3 class="code-header">impl<'a, T: <a class="trait" href="trait.Float.html" title="trait ordered_float::Float">Float</a>> <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a T</a>> for &'a <a class="struct" href="struct.OrderedFloat.html" title="struct ordered_float::OrderedFloat">OrderedFloat</a><T></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.from" class="method trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#102-105">Source</a><a href="#method.from" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from" class="fn">from</a>(t: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a T</a>) -> &'a <a class="struct" href="struct.OrderedFloat.html" title="struct ordered_float::OrderedFloat">OrderedFloat</a><T></h4></section></summary><div class='docblock'>Converts to this type from the input type.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-From%3C%26mut+T%3E-for-%26mut+OrderedFloat%3CT%3E" class="impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#108-114">Source</a><a href="#impl-From%3C%26mut+T%3E-for-%26mut+OrderedFloat%3CT%3E" class="anchor">§</a><h3 class="code-header">impl<'a, T: <a class="trait" href="trait.Float.html" title="trait ordered_float::Float">Float</a>> <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a mut T</a>> for &'a mut <a class="struct" href="struct.OrderedFloat.html" title="struct ordered_float::OrderedFloat">OrderedFloat</a><T></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.from-1" class="method trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#110-113">Source</a><a href="#method.from-1" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from" class="fn">from</a>(t: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a mut T</a>) -> &'a mut <a class="struct" href="struct.OrderedFloat.html" title="struct ordered_float::OrderedFloat">OrderedFloat</a><T></h4></section></summary><div class='docblock'>Converts to this type from the input type.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-From%3COrderedFloat%3Cf32%3E%3E-for-f32" class="impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#199-204">Source</a><a href="#impl-From%3COrderedFloat%3Cf32%3E%3E-for-f32" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><<a class="struct" href="struct.OrderedFloat.html" title="struct ordered_float::OrderedFloat">OrderedFloat</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a>>> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.from-2" class="method trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#201-203">Source</a><a href="#method.from-2" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from" class="fn">from</a>(f: <a class="struct" href="struct.OrderedFloat.html" title="struct ordered_float::OrderedFloat">OrderedFloat</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a>>) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a></h4></section></summary><div class='docblock'>Converts to this type from the input type.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-From%3COrderedFloat%3Cf64%3E%3E-for-f64" class="impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#206-211">Source</a><a href="#impl-From%3COrderedFloat%3Cf64%3E%3E-for-f64" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><<a class="struct" href="struct.OrderedFloat.html" title="struct ordered_float::OrderedFloat">OrderedFloat</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a>>> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.from-3" class="method trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#208-210">Source</a><a href="#method.from-3" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from" class="fn">from</a>(f: <a class="struct" href="struct.OrderedFloat.html" title="struct ordered_float::OrderedFloat">OrderedFloat</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a>>) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a></h4></section></summary><div class='docblock'>Converts to this type from the input type.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-From%3CT%3E-for-OrderedFloat%3CT%3E" class="impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#213-218">Source</a><a href="#impl-From%3CT%3E-for-OrderedFloat%3CT%3E" class="anchor">§</a><h3 class="code-header">impl<T: <a class="trait" href="trait.Float.html" title="trait ordered_float::Float">Float</a>> <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><T> for <a class="struct" href="struct.OrderedFloat.html" title="struct ordered_float::OrderedFloat">OrderedFloat</a><T></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.from-4" class="method trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#215-217">Source</a><a href="#method.from-4" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from" class="fn">from</a>(val: T) -> Self</h4></section></summary><div class='docblock'>Converts to this type from the input type.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-FromPrimitive-for-OrderedFloat%3CT%3E" class="impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#506-543">Source</a><a href="#impl-FromPrimitive-for-OrderedFloat%3CT%3E" class="anchor">§</a><h3 class="code-header">impl<T: <a class="trait" href="../num_traits/cast/trait.FromPrimitive.html" title="trait num_traits::cast::FromPrimitive">FromPrimitive</a>> <a class="trait" href="../num_traits/cast/trait.FromPrimitive.html" title="trait num_traits::cast::FromPrimitive">FromPrimitive</a> for <a class="struct" href="struct.OrderedFloat.html" title="struct ordered_float::OrderedFloat">OrderedFloat</a><T></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.from_i64" class="method trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#507-509">Source</a><a href="#method.from_i64" class="anchor">§</a><h4 class="code-header">fn <a href="../num_traits/cast/trait.FromPrimitive.html#tymethod.from_i64" class="fn">from_i64</a>(n: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i64.html">i64</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></h4></section></summary><div class='docblock'>Converts an <code>i64</code> to return an optional value of this type. If the
|
|
value cannot be represented by this type, then <code>None</code> is returned.</div></details><details class="toggle method-toggle" open><summary><section id="method.from_u64" class="method trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#510-512">Source</a><a href="#method.from_u64" class="anchor">§</a><h4 class="code-header">fn <a href="../num_traits/cast/trait.FromPrimitive.html#tymethod.from_u64" class="fn">from_u64</a>(n: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></h4></section></summary><div class='docblock'>Converts an <code>u64</code> to return an optional value of this type. If the
|
|
value cannot be represented by this type, then <code>None</code> is returned.</div></details><details class="toggle method-toggle" open><summary><section id="method.from_isize" class="method trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#513-515">Source</a><a href="#method.from_isize" class="anchor">§</a><h4 class="code-header">fn <a href="../num_traits/cast/trait.FromPrimitive.html#method.from_isize" class="fn">from_isize</a>(n: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.isize.html">isize</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></h4></section></summary><div class='docblock'>Converts an <code>isize</code> to return an optional value of this type. If the
|
|
value cannot be represented by this type, then <code>None</code> is returned.</div></details><details class="toggle method-toggle" open><summary><section id="method.from_i8" class="method trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#516-518">Source</a><a href="#method.from_i8" class="anchor">§</a><h4 class="code-header">fn <a href="../num_traits/cast/trait.FromPrimitive.html#method.from_i8" class="fn">from_i8</a>(n: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i8.html">i8</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></h4></section></summary><div class='docblock'>Converts an <code>i8</code> to return an optional value of this type. If the
|
|
value cannot be represented by this type, then <code>None</code> is returned.</div></details><details class="toggle method-toggle" open><summary><section id="method.from_i16" class="method trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#519-521">Source</a><a href="#method.from_i16" class="anchor">§</a><h4 class="code-header">fn <a href="../num_traits/cast/trait.FromPrimitive.html#method.from_i16" class="fn">from_i16</a>(n: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i16.html">i16</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></h4></section></summary><div class='docblock'>Converts an <code>i16</code> to return an optional value of this type. If the
|
|
value cannot be represented by this type, then <code>None</code> is returned.</div></details><details class="toggle method-toggle" open><summary><section id="method.from_i32" class="method trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#522-524">Source</a><a href="#method.from_i32" class="anchor">§</a><h4 class="code-header">fn <a href="../num_traits/cast/trait.FromPrimitive.html#method.from_i32" class="fn">from_i32</a>(n: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></h4></section></summary><div class='docblock'>Converts an <code>i32</code> to return an optional value of this type. If the
|
|
value cannot be represented by this type, then <code>None</code> is returned.</div></details><details class="toggle method-toggle" open><summary><section id="method.from_usize" class="method trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#525-527">Source</a><a href="#method.from_usize" class="anchor">§</a><h4 class="code-header">fn <a href="../num_traits/cast/trait.FromPrimitive.html#method.from_usize" class="fn">from_usize</a>(n: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></h4></section></summary><div class='docblock'>Converts a <code>usize</code> to return an optional value of this type. If the
|
|
value cannot be represented by this type, then <code>None</code> is returned.</div></details><details class="toggle method-toggle" open><summary><section id="method.from_u8" class="method trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#528-530">Source</a><a href="#method.from_u8" class="anchor">§</a><h4 class="code-header">fn <a href="../num_traits/cast/trait.FromPrimitive.html#method.from_u8" class="fn">from_u8</a>(n: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></h4></section></summary><div class='docblock'>Converts an <code>u8</code> to return an optional value of this type. If the
|
|
value cannot be represented by this type, then <code>None</code> is returned.</div></details><details class="toggle method-toggle" open><summary><section id="method.from_u16" class="method trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#531-533">Source</a><a href="#method.from_u16" class="anchor">§</a><h4 class="code-header">fn <a href="../num_traits/cast/trait.FromPrimitive.html#method.from_u16" class="fn">from_u16</a>(n: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u16.html">u16</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></h4></section></summary><div class='docblock'>Converts an <code>u16</code> to return an optional value of this type. If the
|
|
value cannot be represented by this type, then <code>None</code> is returned.</div></details><details class="toggle method-toggle" open><summary><section id="method.from_u32" class="method trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#534-536">Source</a><a href="#method.from_u32" class="anchor">§</a><h4 class="code-header">fn <a href="../num_traits/cast/trait.FromPrimitive.html#method.from_u32" class="fn">from_u32</a>(n: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></h4></section></summary><div class='docblock'>Converts an <code>u32</code> to return an optional value of this type. If the
|
|
value cannot be represented by this type, then <code>None</code> is returned.</div></details><details class="toggle method-toggle" open><summary><section id="method.from_f32" class="method trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#537-539">Source</a><a href="#method.from_f32" class="anchor">§</a><h4 class="code-header">fn <a href="../num_traits/cast/trait.FromPrimitive.html#method.from_f32" class="fn">from_f32</a>(n: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></h4></section></summary><div class='docblock'>Converts a <code>f32</code> to return an optional value of this type. If the
|
|
value cannot be represented by this type, then <code>None</code> is returned.</div></details><details class="toggle method-toggle" open><summary><section id="method.from_f64" class="method trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#540-542">Source</a><a href="#method.from_f64" class="anchor">§</a><h4 class="code-header">fn <a href="../num_traits/cast/trait.FromPrimitive.html#method.from_f64" class="fn">from_f64</a>(n: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></h4></section></summary><div class='docblock'>Converts a <code>f64</code> to return an optional value of this type. If the
|
|
value cannot be represented by this type, then <code>None</code> is returned. <a href="../num_traits/cast/trait.FromPrimitive.html#method.from_f64">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.from_i128" class="method trait-impl"><a class="src rightside" href="../src/num_traits/cast.rs.html#426">Source</a><a href="#method.from_i128" class="anchor">§</a><h4 class="code-header">fn <a href="../num_traits/cast/trait.FromPrimitive.html#method.from_i128" class="fn">from_i128</a>(n: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i128.html">i128</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></h4></section></summary><div class='docblock'>Converts an <code>i128</code> to return an optional value of this type. If the
|
|
value cannot be represented by this type, then <code>None</code> is returned. <a href="../num_traits/cast/trait.FromPrimitive.html#method.from_i128">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.from_u128" class="method trait-impl"><a class="src rightside" href="../src/num_traits/cast.rs.html#468">Source</a><a href="#method.from_u128" class="anchor">§</a><h4 class="code-header">fn <a href="../num_traits/cast/trait.FromPrimitive.html#method.from_u128" class="fn">from_u128</a>(n: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u128.html">u128</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></h4></section></summary><div class='docblock'>Converts an <code>u128</code> to return an optional value of this type. If the
|
|
value cannot be represented by this type, then <code>None</code> is returned. <a href="../num_traits/cast/trait.FromPrimitive.html#method.from_u128">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-FromStr-for-OrderedFloat%3CT%3E" class="impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#442-457">Source</a><a href="#impl-FromStr-for-OrderedFloat%3CT%3E" class="anchor">§</a><h3 class="code-header">impl<T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/str/traits/trait.FromStr.html" title="trait core::str::traits::FromStr">FromStr</a>> <a class="trait" href="https://doc.rust-lang.org/nightly/core/str/traits/trait.FromStr.html" title="trait core::str::traits::FromStr">FromStr</a> for <a class="struct" href="struct.OrderedFloat.html" title="struct ordered_float::OrderedFloat">OrderedFloat</a><T></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.from_str" class="method trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#454-456">Source</a><a href="#method.from_str" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/str/traits/trait.FromStr.html#tymethod.from_str" class="fn">from_str</a>(s: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><Self, Self::<a class="associatedtype" href="https://doc.rust-lang.org/nightly/core/str/traits/trait.FromStr.html#associatedtype.Err" title="type core::str::traits::FromStr::Err">Err</a>></h4></section></summary><div class="docblock"><p>Convert a &str to <code>OrderedFloat</code>. Returns an error if the string fails to parse.</p>
|
|
|
|
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>ordered_float::OrderedFloat;
|
|
|
|
<span class="macro">assert!</span>(<span class="string">"-10"</span>.parse::<OrderedFloat<f32>>().is_ok());
|
|
<span class="macro">assert!</span>(<span class="string">"abc"</span>.parse::<OrderedFloat<f32>>().is_err());
|
|
<span class="macro">assert!</span>(<span class="string">"NaN"</span>.parse::<OrderedFloat<f32>>().is_ok());</code></pre></div></div></details><details class="toggle" open><summary><section id="associatedtype.Err" class="associatedtype trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#443">Source</a><a href="#associatedtype.Err" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/nightly/core/str/traits/trait.FromStr.html#associatedtype.Err" class="associatedtype">Err</a> = <T as <a class="trait" href="https://doc.rust-lang.org/nightly/core/str/traits/trait.FromStr.html" title="trait core::str::traits::FromStr">FromStr</a>>::<a class="associatedtype" href="https://doc.rust-lang.org/nightly/core/str/traits/trait.FromStr.html#associatedtype.Err" title="type core::str::traits::FromStr::Err">Err</a></h4></section></summary><div class='docblock'>The associated error which can be returned from parsing.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Hash-for-OrderedFloat%3CT%3E" class="impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#180-190">Source</a><a href="#impl-Hash-for-OrderedFloat%3CT%3E" class="anchor">§</a><h3 class="code-header">impl<T: <a class="trait" href="trait.Float.html" title="trait ordered_float::Float">Float</a>> <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="struct.OrderedFloat.html" title="struct ordered_float::OrderedFloat">OrderedFloat</a><T></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.hash" class="method trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#181-189">Source</a><a href="#method.hash" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html#tymethod.hash" class="fn">hash</a><H: <a class="trait" href="https://doc.rust-lang.org/nightly/core/hash/trait.Hasher.html" title="trait core::hash::Hasher">Hasher</a>>(&self, state: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut H</a>)</h4></section></summary><div class='docblock'>Feeds this value into the given <a href="https://doc.rust-lang.org/nightly/core/hash/trait.Hasher.html" title="trait core::hash::Hasher"><code>Hasher</code></a>. <a href="https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html#tymethod.hash">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.hash_slice" class="method trait-impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.3.0">1.3.0</span> · <a class="src" href="https://doc.rust-lang.org/nightly/src/core/hash/mod.rs.html#234-236">Source</a></span><a href="#method.hash_slice" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html#method.hash_slice" class="fn">hash_slice</a><H>(data: &[Self], state: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut H</a>)<div class="where">where
|
|
H: <a class="trait" href="https://doc.rust-lang.org/nightly/core/hash/trait.Hasher.html" title="trait core::hash::Hasher">Hasher</a>,
|
|
Self: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h4></section></summary><div class='docblock'>Feeds a slice of this type into the given <a href="https://doc.rust-lang.org/nightly/core/hash/trait.Hasher.html" title="trait core::hash::Hasher"><code>Hasher</code></a>. <a href="https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html#method.hash_slice">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Mul%3C%26OrderedFloat%3CT%3E%3E-for-OrderedFloat%3CT%3E" class="impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#375">Source</a><a href="#impl-Mul%3C%26OrderedFloat%3CT%3E%3E-for-OrderedFloat%3CT%3E" class="anchor">§</a><h3 class="code-header">impl<'a, T> <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html" title="trait core::ops::arith::Mul">Mul</a><&'a <a class="struct" href="struct.OrderedFloat.html" title="struct ordered_float::OrderedFloat">OrderedFloat</a><T>> for <a class="struct" href="struct.OrderedFloat.html" title="struct ordered_float::OrderedFloat">OrderedFloat</a><T><div class="where">where
|
|
T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html" title="trait core::ops::arith::Mul">Mul</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a T</a>>,</div></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output-19" class="associatedtype trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#375">Source</a><a href="#associatedtype.Output-19" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.OrderedFloat.html" title="struct ordered_float::OrderedFloat">OrderedFloat</a><<T as <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html" title="trait core::ops::arith::Mul">Mul</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a T</a>>>::<a class="associatedtype" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html#associatedtype.Output" title="type core::ops::arith::Mul::Output">Output</a>></h4></section></summary><div class='docblock'>The resulting type after applying the <code>*</code> operator.</div></details><details class="toggle method-toggle" open><summary><section id="method.mul-3" class="method trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#375">Source</a><a href="#method.mul-3" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html#tymethod.mul" class="fn">mul</a>(self, other: &'a Self) -> Self::<a class="associatedtype" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html#associatedtype.Output" title="type core::ops::arith::Mul::Output">Output</a></h4></section></summary><div class='docblock'>Performs the <code>*</code> operation. <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html#tymethod.mul">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Mul%3C%26T%3E-for-%26OrderedFloat%3CT%3E" class="impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#375">Source</a><a href="#impl-Mul%3C%26T%3E-for-%26OrderedFloat%3CT%3E" class="anchor">§</a><h3 class="code-header">impl<'a, T> <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html" title="trait core::ops::arith::Mul">Mul</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a T</a>> for &'a <a class="struct" href="struct.OrderedFloat.html" title="struct ordered_float::OrderedFloat">OrderedFloat</a><T><div class="where">where
|
|
<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a T</a>: <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html" title="trait core::ops::arith::Mul">Mul</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output-23" class="associatedtype trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#375">Source</a><a href="#associatedtype.Output-23" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.OrderedFloat.html" title="struct ordered_float::OrderedFloat">OrderedFloat</a><<<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a T</a> as <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html" title="trait core::ops::arith::Mul">Mul</a>>::<a class="associatedtype" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html#associatedtype.Output" title="type core::ops::arith::Mul::Output">Output</a>></h4></section></summary><div class='docblock'>The resulting type after applying the <code>*</code> operator.</div></details><details class="toggle method-toggle" open><summary><section id="method.mul-7" class="method trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#375">Source</a><a href="#method.mul-7" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html#tymethod.mul" class="fn">mul</a>(self, other: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a T</a>) -> Self::<a class="associatedtype" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html#associatedtype.Output" title="type core::ops::arith::Mul::Output">Output</a></h4></section></summary><div class='docblock'>Performs the <code>*</code> operation. <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html#tymethod.mul">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Mul%3C%26T%3E-for-OrderedFloat%3CT%3E" class="impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#375">Source</a><a href="#impl-Mul%3C%26T%3E-for-OrderedFloat%3CT%3E" class="anchor">§</a><h3 class="code-header">impl<'a, T> <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html" title="trait core::ops::arith::Mul">Mul</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a T</a>> for <a class="struct" href="struct.OrderedFloat.html" title="struct ordered_float::OrderedFloat">OrderedFloat</a><T><div class="where">where
|
|
T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html" title="trait core::ops::arith::Mul">Mul</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a T</a>>,</div></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output-18" class="associatedtype trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#375">Source</a><a href="#associatedtype.Output-18" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.OrderedFloat.html" title="struct ordered_float::OrderedFloat">OrderedFloat</a><<T as <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html" title="trait core::ops::arith::Mul">Mul</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a T</a>>>::<a class="associatedtype" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html#associatedtype.Output" title="type core::ops::arith::Mul::Output">Output</a>></h4></section></summary><div class='docblock'>The resulting type after applying the <code>*</code> operator.</div></details><details class="toggle method-toggle" open><summary><section id="method.mul-2" class="method trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#375">Source</a><a href="#method.mul-2" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html#tymethod.mul" class="fn">mul</a>(self, other: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a T</a>) -> Self::<a class="associatedtype" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html#associatedtype.Output" title="type core::ops::arith::Mul::Output">Output</a></h4></section></summary><div class='docblock'>Performs the <code>*</code> operation. <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html#tymethod.mul">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Mul%3COrderedFloat%3CT%3E%3E-for-%26OrderedFloat%3CT%3E" class="impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#375">Source</a><a href="#impl-Mul%3COrderedFloat%3CT%3E%3E-for-%26OrderedFloat%3CT%3E" class="anchor">§</a><h3 class="code-header">impl<'a, T> <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html" title="trait core::ops::arith::Mul">Mul</a><<a class="struct" href="struct.OrderedFloat.html" title="struct ordered_float::OrderedFloat">OrderedFloat</a><T>> for &'a <a class="struct" href="struct.OrderedFloat.html" title="struct ordered_float::OrderedFloat">OrderedFloat</a><T><div class="where">where
|
|
<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a T</a>: <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html" title="trait core::ops::arith::Mul">Mul</a><T>,</div></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output-21" class="associatedtype trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#375">Source</a><a href="#associatedtype.Output-21" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.OrderedFloat.html" title="struct ordered_float::OrderedFloat">OrderedFloat</a><<<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a T</a> as <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html" title="trait core::ops::arith::Mul">Mul</a><T>>::<a class="associatedtype" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html#associatedtype.Output" title="type core::ops::arith::Mul::Output">Output</a>></h4></section></summary><div class='docblock'>The resulting type after applying the <code>*</code> operator.</div></details><details class="toggle method-toggle" open><summary><section id="method.mul-5" class="method trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#375">Source</a><a href="#method.mul-5" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html#tymethod.mul" class="fn">mul</a>(self, other: <a class="struct" href="struct.OrderedFloat.html" title="struct ordered_float::OrderedFloat">OrderedFloat</a><T>) -> Self::<a class="associatedtype" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html#associatedtype.Output" title="type core::ops::arith::Mul::Output">Output</a></h4></section></summary><div class='docblock'>Performs the <code>*</code> operation. <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html#tymethod.mul">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Mul%3CT%3E-for-%26OrderedFloat%3CT%3E" class="impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#375">Source</a><a href="#impl-Mul%3CT%3E-for-%26OrderedFloat%3CT%3E" class="anchor">§</a><h3 class="code-header">impl<'a, T> <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html" title="trait core::ops::arith::Mul">Mul</a><T> for &'a <a class="struct" href="struct.OrderedFloat.html" title="struct ordered_float::OrderedFloat">OrderedFloat</a><T><div class="where">where
|
|
<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a T</a>: <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html" title="trait core::ops::arith::Mul">Mul</a><T>,</div></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output-22" class="associatedtype trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#375">Source</a><a href="#associatedtype.Output-22" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.OrderedFloat.html" title="struct ordered_float::OrderedFloat">OrderedFloat</a><<<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a T</a> as <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html" title="trait core::ops::arith::Mul">Mul</a><T>>::<a class="associatedtype" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html#associatedtype.Output" title="type core::ops::arith::Mul::Output">Output</a>></h4></section></summary><div class='docblock'>The resulting type after applying the <code>*</code> operator.</div></details><details class="toggle method-toggle" open><summary><section id="method.mul-6" class="method trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#375">Source</a><a href="#method.mul-6" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html#tymethod.mul" class="fn">mul</a>(self, other: T) -> Self::<a class="associatedtype" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html#associatedtype.Output" title="type core::ops::arith::Mul::Output">Output</a></h4></section></summary><div class='docblock'>Performs the <code>*</code> operation. <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html#tymethod.mul">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Mul%3CT%3E-for-OrderedFloat%3CT%3E" class="impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#375">Source</a><a href="#impl-Mul%3CT%3E-for-OrderedFloat%3CT%3E" class="anchor">§</a><h3 class="code-header">impl<T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html" title="trait core::ops::arith::Mul">Mul</a>> <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html" title="trait core::ops::arith::Mul">Mul</a><T> for <a class="struct" href="struct.OrderedFloat.html" title="struct ordered_float::OrderedFloat">OrderedFloat</a><T></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output-17" class="associatedtype trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#375">Source</a><a href="#associatedtype.Output-17" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.OrderedFloat.html" title="struct ordered_float::OrderedFloat">OrderedFloat</a><<T as <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html" title="trait core::ops::arith::Mul">Mul</a>>::<a class="associatedtype" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html#associatedtype.Output" title="type core::ops::arith::Mul::Output">Output</a>></h4></section></summary><div class='docblock'>The resulting type after applying the <code>*</code> operator.</div></details><details class="toggle method-toggle" open><summary><section id="method.mul-1" class="method trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#375">Source</a><a href="#method.mul-1" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html#tymethod.mul" class="fn">mul</a>(self, other: T) -> Self::<a class="associatedtype" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html#associatedtype.Output" title="type core::ops::arith::Mul::Output">Output</a></h4></section></summary><div class='docblock'>Performs the <code>*</code> operation. <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html#tymethod.mul">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Mul-for-%26OrderedFloat%3CT%3E" class="impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#375">Source</a><a href="#impl-Mul-for-%26OrderedFloat%3CT%3E" class="anchor">§</a><h3 class="code-header">impl<'a, T> <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html" title="trait core::ops::arith::Mul">Mul</a> for &'a <a class="struct" href="struct.OrderedFloat.html" title="struct ordered_float::OrderedFloat">OrderedFloat</a><T><div class="where">where
|
|
<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a T</a>: <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html" title="trait core::ops::arith::Mul">Mul</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output-20" class="associatedtype trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#375">Source</a><a href="#associatedtype.Output-20" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.OrderedFloat.html" title="struct ordered_float::OrderedFloat">OrderedFloat</a><<<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a T</a> as <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html" title="trait core::ops::arith::Mul">Mul</a>>::<a class="associatedtype" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html#associatedtype.Output" title="type core::ops::arith::Mul::Output">Output</a>></h4></section></summary><div class='docblock'>The resulting type after applying the <code>*</code> operator.</div></details><details class="toggle method-toggle" open><summary><section id="method.mul-4" class="method trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#375">Source</a><a href="#method.mul-4" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html#tymethod.mul" class="fn">mul</a>(self, other: Self) -> Self::<a class="associatedtype" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html#associatedtype.Output" title="type core::ops::arith::Mul::Output">Output</a></h4></section></summary><div class='docblock'>Performs the <code>*</code> operation. <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html#tymethod.mul">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Mul-for-OrderedFloat%3CT%3E" class="impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#375">Source</a><a href="#impl-Mul-for-OrderedFloat%3CT%3E" class="anchor">§</a><h3 class="code-header">impl<T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html" title="trait core::ops::arith::Mul">Mul</a>> <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html" title="trait core::ops::arith::Mul">Mul</a> for <a class="struct" href="struct.OrderedFloat.html" title="struct ordered_float::OrderedFloat">OrderedFloat</a><T></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output-16" class="associatedtype trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#375">Source</a><a href="#associatedtype.Output-16" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.OrderedFloat.html" title="struct ordered_float::OrderedFloat">OrderedFloat</a><<T as <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html" title="trait core::ops::arith::Mul">Mul</a>>::<a class="associatedtype" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html#associatedtype.Output" title="type core::ops::arith::Mul::Output">Output</a>></h4></section></summary><div class='docblock'>The resulting type after applying the <code>*</code> operator.</div></details><details class="toggle method-toggle" open><summary><section id="method.mul" class="method trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#375">Source</a><a href="#method.mul" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html#tymethod.mul" class="fn">mul</a>(self, other: Self) -> Self::<a class="associatedtype" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html#associatedtype.Output" title="type core::ops::arith::Mul::Output">Output</a></h4></section></summary><div class='docblock'>Performs the <code>*</code> operation. <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html#tymethod.mul">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-MulAssign%3C%26OrderedFloat%3CT%3E%3E-for-OrderedFloat%3CT%3E" class="impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#375">Source</a><a href="#impl-MulAssign%3C%26OrderedFloat%3CT%3E%3E-for-OrderedFloat%3CT%3E" class="anchor">§</a><h3 class="code-header">impl<'a, T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.MulAssign.html" title="trait core::ops::arith::MulAssign">MulAssign</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a T</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><&'a <a class="struct" href="struct.OrderedFloat.html" title="struct ordered_float::OrderedFloat">OrderedFloat</a><T>> for <a class="struct" href="struct.OrderedFloat.html" title="struct ordered_float::OrderedFloat">OrderedFloat</a><T></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.mul_assign-3" class="method trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#375">Source</a><a href="#method.mul_assign-3" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.MulAssign.html#tymethod.mul_assign" class="fn">mul_assign</a>(&mut self, other: &'a Self)</h4></section></summary><div class='docblock'>Performs the <code>*=</code> operation. <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.MulAssign.html#tymethod.mul_assign">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-MulAssign%3C%26T%3E-for-OrderedFloat%3CT%3E" class="impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#375">Source</a><a href="#impl-MulAssign%3C%26T%3E-for-OrderedFloat%3CT%3E" class="anchor">§</a><h3 class="code-header">impl<'a, T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.MulAssign.html" title="trait core::ops::arith::MulAssign">MulAssign</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a T</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><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a T</a>> for <a class="struct" href="struct.OrderedFloat.html" title="struct ordered_float::OrderedFloat">OrderedFloat</a><T></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.mul_assign-1" class="method trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#375">Source</a><a href="#method.mul_assign-1" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.MulAssign.html#tymethod.mul_assign" class="fn">mul_assign</a>(&mut self, other: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a T</a>)</h4></section></summary><div class='docblock'>Performs the <code>*=</code> operation. <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.MulAssign.html#tymethod.mul_assign">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-MulAssign%3CT%3E-for-OrderedFloat%3CT%3E" class="impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#375">Source</a><a href="#impl-MulAssign%3CT%3E-for-OrderedFloat%3CT%3E" class="anchor">§</a><h3 class="code-header">impl<T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.MulAssign.html" title="trait core::ops::arith::MulAssign">MulAssign</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><T> for <a class="struct" href="struct.OrderedFloat.html" title="struct ordered_float::OrderedFloat">OrderedFloat</a><T></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.mul_assign" class="method trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#375">Source</a><a href="#method.mul_assign" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.MulAssign.html#tymethod.mul_assign" class="fn">mul_assign</a>(&mut self, other: T)</h4></section></summary><div class='docblock'>Performs the <code>*=</code> operation. <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.MulAssign.html#tymethod.mul_assign">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-MulAssign-for-OrderedFloat%3CT%3E" class="impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#375">Source</a><a href="#impl-MulAssign-for-OrderedFloat%3CT%3E" class="anchor">§</a><h3 class="code-header">impl<T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.MulAssign.html" title="trait core::ops::arith::MulAssign">MulAssign</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> for <a class="struct" href="struct.OrderedFloat.html" title="struct ordered_float::OrderedFloat">OrderedFloat</a><T></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.mul_assign-2" class="method trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#375">Source</a><a href="#method.mul_assign-2" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.MulAssign.html#tymethod.mul_assign" class="fn">mul_assign</a>(&mut self, other: Self)</h4></section></summary><div class='docblock'>Performs the <code>*=</code> operation. <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.MulAssign.html#tymethod.mul_assign">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Neg-for-%26OrderedFloat%3CT%3E" class="impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#468-478">Source</a><a href="#impl-Neg-for-%26OrderedFloat%3CT%3E" class="anchor">§</a><h3 class="code-header">impl<'a, T> <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 <a class="struct" href="struct.OrderedFloat.html" title="struct ordered_float::OrderedFloat">OrderedFloat</a><T><div class="where">where
|
|
<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a T</a>: <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Neg.html" title="trait core::ops::arith::Neg">Neg</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output-41" class="associatedtype trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#472">Source</a><a href="#associatedtype.Output-41" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Neg.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.OrderedFloat.html" title="struct ordered_float::OrderedFloat">OrderedFloat</a><<<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a T</a> as <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Neg.html" title="trait core::ops::arith::Neg">Neg</a>>::<a class="associatedtype" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Neg.html#associatedtype.Output" title="type core::ops::arith::Neg::Output">Output</a>></h4></section></summary><div class='docblock'>The resulting type after applying the <code>-</code> operator.</div></details><details class="toggle method-toggle" open><summary><section id="method.neg-1" class="method trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#475-477">Source</a><a href="#method.neg-1" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Neg.html#tymethod.neg" class="fn">neg</a>(self) -> Self::<a class="associatedtype" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Neg.html#associatedtype.Output" title="type core::ops::arith::Neg::Output">Output</a></h4></section></summary><div class='docblock'>Performs the unary <code>-</code> operation. <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Neg.html#tymethod.neg">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Neg-for-OrderedFloat%3CT%3E" class="impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#459-466">Source</a><a href="#impl-Neg-for-OrderedFloat%3CT%3E" class="anchor">§</a><h3 class="code-header">impl<T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Neg.html" title="trait core::ops::arith::Neg">Neg</a>> <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="struct.OrderedFloat.html" title="struct ordered_float::OrderedFloat">OrderedFloat</a><T></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output-40" class="associatedtype trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#460">Source</a><a href="#associatedtype.Output-40" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Neg.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.OrderedFloat.html" title="struct ordered_float::OrderedFloat">OrderedFloat</a><<T as <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Neg.html" title="trait core::ops::arith::Neg">Neg</a>>::<a class="associatedtype" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Neg.html#associatedtype.Output" title="type core::ops::arith::Neg::Output">Output</a>></h4></section></summary><div class='docblock'>The resulting type after applying the <code>-</code> operator.</div></details><details class="toggle method-toggle" open><summary><section id="method.neg" class="method trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#463-465">Source</a><a href="#method.neg" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Neg.html#tymethod.neg" class="fn">neg</a>(self) -> Self::<a class="associatedtype" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Neg.html#associatedtype.Output" title="type core::ops::arith::Neg::Output">Output</a></h4></section></summary><div class='docblock'>Performs the unary <code>-</code> operation. <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Neg.html#tymethod.neg">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Num-for-OrderedFloat%3CT%3E" class="impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#844-849">Source</a><a href="#impl-Num-for-OrderedFloat%3CT%3E" class="anchor">§</a><h3 class="code-header">impl<T: <a class="trait" href="trait.Float.html" title="trait ordered_float::Float">Float</a> + <a class="trait" href="../num_traits/trait.Num.html" title="trait num_traits::Num">Num</a>> <a class="trait" href="../num_traits/trait.Num.html" title="trait num_traits::Num">Num</a> for <a class="struct" href="struct.OrderedFloat.html" title="struct ordered_float::OrderedFloat">OrderedFloat</a><T></h3></section></summary><div class="impl-items"><section id="associatedtype.FromStrRadixErr" class="associatedtype trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#845">Source</a><a href="#associatedtype.FromStrRadixErr" class="anchor">§</a><h4 class="code-header">type <a href="../num_traits/trait.Num.html#associatedtype.FromStrRadixErr" class="associatedtype">FromStrRadixErr</a> = <T as <a class="trait" href="../num_traits/trait.Num.html" title="trait num_traits::Num">Num</a>>::<a class="associatedtype" href="../num_traits/trait.Num.html#associatedtype.FromStrRadixErr" title="type num_traits::Num::FromStrRadixErr">FromStrRadixErr</a></h4></section><details class="toggle method-toggle" open><summary><section id="method.from_str_radix" class="method trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#846-848">Source</a><a href="#method.from_str_radix" class="anchor">§</a><h4 class="code-header">fn <a href="../num_traits/trait.Num.html#tymethod.from_str_radix" class="fn">from_str_radix</a>(str: &<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>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><Self, Self::<a class="associatedtype" href="../num_traits/trait.Num.html#associatedtype.FromStrRadixErr" title="type num_traits::Num::FromStrRadixErr">FromStrRadixErr</a>></h4></section></summary><div class='docblock'>Convert from a string and radix (typically <code>2..=36</code>). <a href="../num_traits/trait.Num.html#tymethod.from_str_radix">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-NumCast-for-OrderedFloat%3CT%3E" class="impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#499-504">Source</a><a href="#impl-NumCast-for-OrderedFloat%3CT%3E" class="anchor">§</a><h3 class="code-header">impl<T: <a class="trait" href="../num_traits/cast/trait.NumCast.html" title="trait num_traits::cast::NumCast">NumCast</a>> <a class="trait" href="../num_traits/cast/trait.NumCast.html" title="trait num_traits::cast::NumCast">NumCast</a> for <a class="struct" href="struct.OrderedFloat.html" title="struct ordered_float::OrderedFloat">OrderedFloat</a><T></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.from-5" class="method trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#501-503">Source</a><a href="#method.from-5" class="anchor">§</a><h4 class="code-header">fn <a href="../num_traits/cast/trait.NumCast.html#tymethod.from" class="fn">from</a><F: <a class="trait" href="../num_traits/cast/trait.ToPrimitive.html" title="trait num_traits::cast::ToPrimitive">ToPrimitive</a>>(n: F) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></h4></section></summary><div class='docblock'>Creates a number from another value that can be converted into
|
|
a primitive via the <code>ToPrimitive</code> trait. If the source value cannot be
|
|
represented by the target type, then <code>None</code> is returned. <a href="../num_traits/cast/trait.NumCast.html#tymethod.from">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-One-for-OrderedFloat%3CT%3E" class="impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#492-497">Source</a><a href="#impl-One-for-OrderedFloat%3CT%3E" class="anchor">§</a><h3 class="code-header">impl<T: <a class="trait" href="../num_traits/identities/trait.One.html" title="trait num_traits::identities::One">One</a>> <a class="trait" href="../num_traits/identities/trait.One.html" title="trait num_traits::identities::One">One</a> for <a class="struct" href="struct.OrderedFloat.html" title="struct ordered_float::OrderedFloat">OrderedFloat</a><T></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.one" class="method trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#494-496">Source</a><a href="#method.one" class="anchor">§</a><h4 class="code-header">fn <a href="../num_traits/identities/trait.One.html#tymethod.one" class="fn">one</a>() -> Self</h4></section></summary><div class='docblock'>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></div></details><details class="toggle method-toggle" open><summary><section id="method.set_one" class="method trait-impl"><a class="src rightside" href="../src/num_traits/identities.rs.html#118">Source</a><a href="#method.set_one" class="anchor">§</a><h4 class="code-header">fn <a href="../num_traits/identities/trait.One.html#method.set_one" class="fn">set_one</a>(&mut self)</h4></section></summary><div class='docblock'>Sets <code>self</code> to the multiplicative identity element of <code>Self</code>, <code>1</code>.</div></details><details class="toggle method-toggle" open><summary><section id="method.is_one" class="method trait-impl"><a class="src rightside" href="../src/num_traits/identities.rs.html#128-130">Source</a><a href="#method.is_one" class="anchor">§</a><h4 class="code-header">fn <a href="../num_traits/identities/trait.One.html#method.is_one" class="fn">is_one</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a><div class="where">where
|
|
Self: <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a>,</div></h4></section></summary><div class='docblock'>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></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Ord-for-OrderedFloat%3CT%3E" class="impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#148-160">Source</a><a href="#impl-Ord-for-OrderedFloat%3CT%3E" class="anchor">§</a><h3 class="code-header">impl<T: <a class="trait" href="trait.Float.html" title="trait ordered_float::Float">Float</a>> <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="struct.OrderedFloat.html" title="struct ordered_float::OrderedFloat">OrderedFloat</a><T></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.cmp" class="method trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#151-159">Source</a><a href="#method.cmp" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.Ord.html#tymethod.cmp" class="fn">cmp</a>(&self, other: &Self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/cmp/enum.Ordering.html" title="enum core::cmp::Ordering">Ordering</a></h4></section></summary><div class='docblock'>This method returns an <a href="https://doc.rust-lang.org/nightly/core/cmp/enum.Ordering.html" title="enum core::cmp::Ordering"><code>Ordering</code></a> 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></div></details><details class="toggle method-toggle" open><summary><section id="method.max" class="method trait-impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.21.0">1.21.0</span> · <a class="src" href="https://doc.rust-lang.org/nightly/src/core/cmp.rs.html#1033-1035">Source</a></span><a href="#method.max" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.Ord.html#method.max" class="fn">max</a>(self, other: Self) -> Self<div class="where">where
|
|
Self: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h4></section></summary><div class='docblock'>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></div></details><details class="toggle method-toggle" open><summary><section id="method.min" class="method trait-impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.21.0">1.21.0</span> · <a class="src" href="https://doc.rust-lang.org/nightly/src/core/cmp.rs.html#1072-1074">Source</a></span><a href="#method.min" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.Ord.html#method.min" class="fn">min</a>(self, other: Self) -> Self<div class="where">where
|
|
Self: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h4></section></summary><div class='docblock'>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></div></details><details class="toggle method-toggle" open><summary><section id="method.clamp" class="method trait-impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.50.0">1.50.0</span> · <a class="src" href="https://doc.rust-lang.org/nightly/src/core/cmp.rs.html#1098-1100">Source</a></span><a href="#method.clamp" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.Ord.html#method.clamp" class="fn">clamp</a>(self, min: Self, max: Self) -> Self<div class="where">where
|
|
Self: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h4></section></summary><div class='docblock'>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></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-PartialEq%3CT%3E-for-OrderedFloat%3CT%3E" class="impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#173-178">Source</a><a href="#impl-PartialEq%3CT%3E-for-OrderedFloat%3CT%3E" class="anchor">§</a><h3 class="code-header">impl<T: <a class="trait" href="trait.Float.html" title="trait ordered_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><T> for <a class="struct" href="struct.OrderedFloat.html" title="struct ordered_float::OrderedFloat">OrderedFloat</a><T></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.eq-1" class="method trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#175-177">Source</a><a href="#method.eq-1" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq" class="fn">eq</a>(&self, other: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&T</a>) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests for <code>self</code> and <code>other</code> values to be equal, and is used by <code>==</code>.</div></details><details class="toggle method-toggle" open><summary><section id="method.ne-1" class="method trait-impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="src" href="https://doc.rust-lang.org/nightly/src/core/cmp.rs.html#263">Source</a></span><a href="#method.ne-1" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#method.ne" class="fn">ne</a>(&self, other: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&Rhs</a>) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests for <code>!=</code>. The default implementation is almost always sufficient,
|
|
and should not be overridden without very good reason.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-PartialEq-for-OrderedFloat%3CT%3E" class="impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#162-171">Source</a><a href="#impl-PartialEq-for-OrderedFloat%3CT%3E" class="anchor">§</a><h3 class="code-header">impl<T: <a class="trait" href="trait.Float.html" title="trait ordered_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> for <a class="struct" href="struct.OrderedFloat.html" title="struct ordered_float::OrderedFloat">OrderedFloat</a><T></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.eq" class="method trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#164-170">Source</a><a href="#method.eq" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq" class="fn">eq</a>(&self, other: &<a class="struct" href="struct.OrderedFloat.html" title="struct ordered_float::OrderedFloat">OrderedFloat</a><T>) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests for <code>self</code> and <code>other</code> values to be equal, and is used by <code>==</code>.</div></details><details class="toggle method-toggle" open><summary><section id="method.ne" class="method trait-impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="src" href="https://doc.rust-lang.org/nightly/src/core/cmp.rs.html#263">Source</a></span><a href="#method.ne" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#method.ne" class="fn">ne</a>(&self, other: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&Rhs</a>) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests for <code>!=</code>. The default implementation is almost always sufficient,
|
|
and should not be overridden without very good reason.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-PartialOrd-for-OrderedFloat%3CT%3E" class="impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#116-146">Source</a><a href="#impl-PartialOrd-for-OrderedFloat%3CT%3E" class="anchor">§</a><h3 class="code-header">impl<T: <a class="trait" href="trait.Float.html" title="trait ordered_float::Float">Float</a>> <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html" title="trait core::cmp::PartialOrd">PartialOrd</a> for <a class="struct" href="struct.OrderedFloat.html" title="struct ordered_float::OrderedFloat">OrderedFloat</a><T></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.partial_cmp" class="method trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#118-120">Source</a><a href="#method.partial_cmp" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html#tymethod.partial_cmp" class="fn">partial_cmp</a>(&self, other: &Self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="enum" href="https://doc.rust-lang.org/nightly/core/cmp/enum.Ordering.html" title="enum core::cmp::Ordering">Ordering</a>></h4></section></summary><div class='docblock'>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></div></details><details class="toggle method-toggle" open><summary><section id="method.lt" class="method trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#123-125">Source</a><a href="#method.lt" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html#method.lt" class="fn">lt</a>(&self, other: &Self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests less than (for <code>self</code> and <code>other</code>) and is used by the <code><</code> operator. <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html#method.lt">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.le" class="method trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#128-130">Source</a><a href="#method.le" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html#method.le" class="fn">le</a>(&self, other: &Self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests less than or equal to (for <code>self</code> and <code>other</code>) and is used by the
|
|
<code><=</code> operator. <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html#method.le">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.gt" class="method trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#133-135">Source</a><a href="#method.gt" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html#method.gt" class="fn">gt</a>(&self, other: &Self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests greater than (for <code>self</code> and <code>other</code>) and is used by the <code>></code>
|
|
operator. <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html#method.gt">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.ge" class="method trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#138-145">Source</a><a href="#method.ge" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html#method.ge" class="fn">ge</a>(&self, other: &Self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests greater than or equal to (for <code>self</code> and <code>other</code>) and is used by
|
|
the <code>>=</code> operator. <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html#method.ge">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Product%3C%26OrderedFloat%3CT%3E%3E-for-OrderedFloat%3CT%3E" class="impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#399-404">Source</a><a href="#impl-Product%3C%26OrderedFloat%3CT%3E%3E-for-OrderedFloat%3CT%3E" class="anchor">§</a><h3 class="code-header">impl<'a, T: <a class="trait" href="trait.Float.html" title="trait ordered_float::Float">Float</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/traits/accum/trait.Product.html" title="trait core::iter::traits::accum::Product">Product</a> + 'a> <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/traits/accum/trait.Product.html" title="trait core::iter::traits::accum::Product">Product</a><&'a <a class="struct" href="struct.OrderedFloat.html" title="struct ordered_float::OrderedFloat">OrderedFloat</a><T>> for <a class="struct" href="struct.OrderedFloat.html" title="struct ordered_float::OrderedFloat">OrderedFloat</a><T></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.product-1" class="method trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#401-403">Source</a><a href="#method.product-1" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/iter/traits/accum/trait.Product.html#tymethod.product" class="fn">product</a><I: <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html" title="trait core::iter::traits::iterator::Iterator">Iterator</a><Item = &'a <a class="struct" href="struct.OrderedFloat.html" title="struct ordered_float::OrderedFloat">OrderedFloat</a><T>>>(iter: I) -> Self</h4></section></summary><div class='docblock'>Takes an iterator and generates <code>Self</code> from the elements by multiplying
|
|
the items.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Product-for-OrderedFloat%3CT%3E" class="impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#393-397">Source</a><a href="#impl-Product-for-OrderedFloat%3CT%3E" class="anchor">§</a><h3 class="code-header">impl<T: <a class="trait" href="trait.Float.html" title="trait ordered_float::Float">Float</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/traits/accum/trait.Product.html" title="trait core::iter::traits::accum::Product">Product</a>> <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/traits/accum/trait.Product.html" title="trait core::iter::traits::accum::Product">Product</a> for <a class="struct" href="struct.OrderedFloat.html" title="struct ordered_float::OrderedFloat">OrderedFloat</a><T></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.product" class="method trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#394-396">Source</a><a href="#method.product" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/iter/traits/accum/trait.Product.html#tymethod.product" class="fn">product</a><I: <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html" title="trait core::iter::traits::iterator::Iterator">Iterator</a><Item = <a class="struct" href="struct.OrderedFloat.html" title="struct ordered_float::OrderedFloat">OrderedFloat</a><T>>>(iter: I) -> Self</h4></section></summary><div class='docblock'>Takes an iterator and generates <code>Self</code> from the elements by multiplying
|
|
the items.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Rem%3C%26OrderedFloat%3CT%3E%3E-for-OrderedFloat%3CT%3E" class="impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#377">Source</a><a href="#impl-Rem%3C%26OrderedFloat%3CT%3E%3E-for-OrderedFloat%3CT%3E" class="anchor">§</a><h3 class="code-header">impl<'a, T> <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Rem.html" title="trait core::ops::arith::Rem">Rem</a><&'a <a class="struct" href="struct.OrderedFloat.html" title="struct ordered_float::OrderedFloat">OrderedFloat</a><T>> for <a class="struct" href="struct.OrderedFloat.html" title="struct ordered_float::OrderedFloat">OrderedFloat</a><T><div class="where">where
|
|
T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Rem.html" title="trait core::ops::arith::Rem">Rem</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a T</a>>,</div></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output-35" class="associatedtype trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#377">Source</a><a href="#associatedtype.Output-35" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Rem.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.OrderedFloat.html" title="struct ordered_float::OrderedFloat">OrderedFloat</a><<T as <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Rem.html" title="trait core::ops::arith::Rem">Rem</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a T</a>>>::<a class="associatedtype" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Rem.html#associatedtype.Output" title="type core::ops::arith::Rem::Output">Output</a>></h4></section></summary><div class='docblock'>The resulting type after applying the <code>%</code> operator.</div></details><details class="toggle method-toggle" open><summary><section id="method.rem-3" class="method trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#377">Source</a><a href="#method.rem-3" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Rem.html#tymethod.rem" class="fn">rem</a>(self, other: &'a Self) -> Self::<a class="associatedtype" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Rem.html#associatedtype.Output" title="type core::ops::arith::Rem::Output">Output</a></h4></section></summary><div class='docblock'>Performs the <code>%</code> operation. <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Rem.html#tymethod.rem">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Rem%3C%26T%3E-for-%26OrderedFloat%3CT%3E" class="impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#377">Source</a><a href="#impl-Rem%3C%26T%3E-for-%26OrderedFloat%3CT%3E" class="anchor">§</a><h3 class="code-header">impl<'a, T> <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Rem.html" title="trait core::ops::arith::Rem">Rem</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a T</a>> for &'a <a class="struct" href="struct.OrderedFloat.html" title="struct ordered_float::OrderedFloat">OrderedFloat</a><T><div class="where">where
|
|
<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a T</a>: <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Rem.html" title="trait core::ops::arith::Rem">Rem</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output-39" class="associatedtype trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#377">Source</a><a href="#associatedtype.Output-39" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Rem.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.OrderedFloat.html" title="struct ordered_float::OrderedFloat">OrderedFloat</a><<<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a T</a> as <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Rem.html" title="trait core::ops::arith::Rem">Rem</a>>::<a class="associatedtype" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Rem.html#associatedtype.Output" title="type core::ops::arith::Rem::Output">Output</a>></h4></section></summary><div class='docblock'>The resulting type after applying the <code>%</code> operator.</div></details><details class="toggle method-toggle" open><summary><section id="method.rem-7" class="method trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#377">Source</a><a href="#method.rem-7" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Rem.html#tymethod.rem" class="fn">rem</a>(self, other: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a T</a>) -> Self::<a class="associatedtype" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Rem.html#associatedtype.Output" title="type core::ops::arith::Rem::Output">Output</a></h4></section></summary><div class='docblock'>Performs the <code>%</code> operation. <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Rem.html#tymethod.rem">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Rem%3C%26T%3E-for-OrderedFloat%3CT%3E" class="impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#377">Source</a><a href="#impl-Rem%3C%26T%3E-for-OrderedFloat%3CT%3E" class="anchor">§</a><h3 class="code-header">impl<'a, T> <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Rem.html" title="trait core::ops::arith::Rem">Rem</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a T</a>> for <a class="struct" href="struct.OrderedFloat.html" title="struct ordered_float::OrderedFloat">OrderedFloat</a><T><div class="where">where
|
|
T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Rem.html" title="trait core::ops::arith::Rem">Rem</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a T</a>>,</div></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output-34" class="associatedtype trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#377">Source</a><a href="#associatedtype.Output-34" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Rem.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.OrderedFloat.html" title="struct ordered_float::OrderedFloat">OrderedFloat</a><<T as <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Rem.html" title="trait core::ops::arith::Rem">Rem</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a T</a>>>::<a class="associatedtype" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Rem.html#associatedtype.Output" title="type core::ops::arith::Rem::Output">Output</a>></h4></section></summary><div class='docblock'>The resulting type after applying the <code>%</code> operator.</div></details><details class="toggle method-toggle" open><summary><section id="method.rem-2" class="method trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#377">Source</a><a href="#method.rem-2" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Rem.html#tymethod.rem" class="fn">rem</a>(self, other: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a T</a>) -> Self::<a class="associatedtype" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Rem.html#associatedtype.Output" title="type core::ops::arith::Rem::Output">Output</a></h4></section></summary><div class='docblock'>Performs the <code>%</code> operation. <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Rem.html#tymethod.rem">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Rem%3COrderedFloat%3CT%3E%3E-for-%26OrderedFloat%3CT%3E" class="impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#377">Source</a><a href="#impl-Rem%3COrderedFloat%3CT%3E%3E-for-%26OrderedFloat%3CT%3E" class="anchor">§</a><h3 class="code-header">impl<'a, T> <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Rem.html" title="trait core::ops::arith::Rem">Rem</a><<a class="struct" href="struct.OrderedFloat.html" title="struct ordered_float::OrderedFloat">OrderedFloat</a><T>> for &'a <a class="struct" href="struct.OrderedFloat.html" title="struct ordered_float::OrderedFloat">OrderedFloat</a><T><div class="where">where
|
|
<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a T</a>: <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Rem.html" title="trait core::ops::arith::Rem">Rem</a><T>,</div></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output-37" class="associatedtype trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#377">Source</a><a href="#associatedtype.Output-37" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Rem.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.OrderedFloat.html" title="struct ordered_float::OrderedFloat">OrderedFloat</a><<<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a T</a> as <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Rem.html" title="trait core::ops::arith::Rem">Rem</a><T>>::<a class="associatedtype" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Rem.html#associatedtype.Output" title="type core::ops::arith::Rem::Output">Output</a>></h4></section></summary><div class='docblock'>The resulting type after applying the <code>%</code> operator.</div></details><details class="toggle method-toggle" open><summary><section id="method.rem-5" class="method trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#377">Source</a><a href="#method.rem-5" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Rem.html#tymethod.rem" class="fn">rem</a>(self, other: <a class="struct" href="struct.OrderedFloat.html" title="struct ordered_float::OrderedFloat">OrderedFloat</a><T>) -> Self::<a class="associatedtype" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Rem.html#associatedtype.Output" title="type core::ops::arith::Rem::Output">Output</a></h4></section></summary><div class='docblock'>Performs the <code>%</code> operation. <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Rem.html#tymethod.rem">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Rem%3CT%3E-for-%26OrderedFloat%3CT%3E" class="impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#377">Source</a><a href="#impl-Rem%3CT%3E-for-%26OrderedFloat%3CT%3E" class="anchor">§</a><h3 class="code-header">impl<'a, T> <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Rem.html" title="trait core::ops::arith::Rem">Rem</a><T> for &'a <a class="struct" href="struct.OrderedFloat.html" title="struct ordered_float::OrderedFloat">OrderedFloat</a><T><div class="where">where
|
|
<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a T</a>: <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Rem.html" title="trait core::ops::arith::Rem">Rem</a><T>,</div></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output-38" class="associatedtype trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#377">Source</a><a href="#associatedtype.Output-38" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Rem.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.OrderedFloat.html" title="struct ordered_float::OrderedFloat">OrderedFloat</a><<<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a T</a> as <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Rem.html" title="trait core::ops::arith::Rem">Rem</a><T>>::<a class="associatedtype" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Rem.html#associatedtype.Output" title="type core::ops::arith::Rem::Output">Output</a>></h4></section></summary><div class='docblock'>The resulting type after applying the <code>%</code> operator.</div></details><details class="toggle method-toggle" open><summary><section id="method.rem-6" class="method trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#377">Source</a><a href="#method.rem-6" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Rem.html#tymethod.rem" class="fn">rem</a>(self, other: T) -> Self::<a class="associatedtype" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Rem.html#associatedtype.Output" title="type core::ops::arith::Rem::Output">Output</a></h4></section></summary><div class='docblock'>Performs the <code>%</code> operation. <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Rem.html#tymethod.rem">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Rem%3CT%3E-for-OrderedFloat%3CT%3E" class="impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#377">Source</a><a href="#impl-Rem%3CT%3E-for-OrderedFloat%3CT%3E" class="anchor">§</a><h3 class="code-header">impl<T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Rem.html" title="trait core::ops::arith::Rem">Rem</a>> <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Rem.html" title="trait core::ops::arith::Rem">Rem</a><T> for <a class="struct" href="struct.OrderedFloat.html" title="struct ordered_float::OrderedFloat">OrderedFloat</a><T></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output-33" class="associatedtype trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#377">Source</a><a href="#associatedtype.Output-33" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Rem.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.OrderedFloat.html" title="struct ordered_float::OrderedFloat">OrderedFloat</a><<T as <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Rem.html" title="trait core::ops::arith::Rem">Rem</a>>::<a class="associatedtype" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Rem.html#associatedtype.Output" title="type core::ops::arith::Rem::Output">Output</a>></h4></section></summary><div class='docblock'>The resulting type after applying the <code>%</code> operator.</div></details><details class="toggle method-toggle" open><summary><section id="method.rem-1" class="method trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#377">Source</a><a href="#method.rem-1" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Rem.html#tymethod.rem" class="fn">rem</a>(self, other: T) -> Self::<a class="associatedtype" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Rem.html#associatedtype.Output" title="type core::ops::arith::Rem::Output">Output</a></h4></section></summary><div class='docblock'>Performs the <code>%</code> operation. <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Rem.html#tymethod.rem">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Rem-for-%26OrderedFloat%3CT%3E" class="impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#377">Source</a><a href="#impl-Rem-for-%26OrderedFloat%3CT%3E" class="anchor">§</a><h3 class="code-header">impl<'a, T> <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Rem.html" title="trait core::ops::arith::Rem">Rem</a> for &'a <a class="struct" href="struct.OrderedFloat.html" title="struct ordered_float::OrderedFloat">OrderedFloat</a><T><div class="where">where
|
|
<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a T</a>: <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Rem.html" title="trait core::ops::arith::Rem">Rem</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output-36" class="associatedtype trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#377">Source</a><a href="#associatedtype.Output-36" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Rem.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.OrderedFloat.html" title="struct ordered_float::OrderedFloat">OrderedFloat</a><<<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a T</a> as <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Rem.html" title="trait core::ops::arith::Rem">Rem</a>>::<a class="associatedtype" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Rem.html#associatedtype.Output" title="type core::ops::arith::Rem::Output">Output</a>></h4></section></summary><div class='docblock'>The resulting type after applying the <code>%</code> operator.</div></details><details class="toggle method-toggle" open><summary><section id="method.rem-4" class="method trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#377">Source</a><a href="#method.rem-4" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Rem.html#tymethod.rem" class="fn">rem</a>(self, other: Self) -> Self::<a class="associatedtype" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Rem.html#associatedtype.Output" title="type core::ops::arith::Rem::Output">Output</a></h4></section></summary><div class='docblock'>Performs the <code>%</code> operation. <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Rem.html#tymethod.rem">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Rem-for-OrderedFloat%3CT%3E" class="impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#377">Source</a><a href="#impl-Rem-for-OrderedFloat%3CT%3E" class="anchor">§</a><h3 class="code-header">impl<T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Rem.html" title="trait core::ops::arith::Rem">Rem</a>> <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Rem.html" title="trait core::ops::arith::Rem">Rem</a> for <a class="struct" href="struct.OrderedFloat.html" title="struct ordered_float::OrderedFloat">OrderedFloat</a><T></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output-32" class="associatedtype trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#377">Source</a><a href="#associatedtype.Output-32" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Rem.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.OrderedFloat.html" title="struct ordered_float::OrderedFloat">OrderedFloat</a><<T as <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Rem.html" title="trait core::ops::arith::Rem">Rem</a>>::<a class="associatedtype" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Rem.html#associatedtype.Output" title="type core::ops::arith::Rem::Output">Output</a>></h4></section></summary><div class='docblock'>The resulting type after applying the <code>%</code> operator.</div></details><details class="toggle method-toggle" open><summary><section id="method.rem" class="method trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#377">Source</a><a href="#method.rem" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Rem.html#tymethod.rem" class="fn">rem</a>(self, other: Self) -> Self::<a class="associatedtype" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Rem.html#associatedtype.Output" title="type core::ops::arith::Rem::Output">Output</a></h4></section></summary><div class='docblock'>Performs the <code>%</code> operation. <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Rem.html#tymethod.rem">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-RemAssign%3C%26OrderedFloat%3CT%3E%3E-for-OrderedFloat%3CT%3E" class="impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#377">Source</a><a href="#impl-RemAssign%3C%26OrderedFloat%3CT%3E%3E-for-OrderedFloat%3CT%3E" class="anchor">§</a><h3 class="code-header">impl<'a, T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.RemAssign.html" title="trait core::ops::arith::RemAssign">RemAssign</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a T</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><&'a <a class="struct" href="struct.OrderedFloat.html" title="struct ordered_float::OrderedFloat">OrderedFloat</a><T>> for <a class="struct" href="struct.OrderedFloat.html" title="struct ordered_float::OrderedFloat">OrderedFloat</a><T></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.rem_assign-3" class="method trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#377">Source</a><a href="#method.rem_assign-3" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.RemAssign.html#tymethod.rem_assign" class="fn">rem_assign</a>(&mut self, other: &'a Self)</h4></section></summary><div class='docblock'>Performs the <code>%=</code> operation. <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.RemAssign.html#tymethod.rem_assign">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-RemAssign%3C%26T%3E-for-OrderedFloat%3CT%3E" class="impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#377">Source</a><a href="#impl-RemAssign%3C%26T%3E-for-OrderedFloat%3CT%3E" class="anchor">§</a><h3 class="code-header">impl<'a, T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.RemAssign.html" title="trait core::ops::arith::RemAssign">RemAssign</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a T</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><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a T</a>> for <a class="struct" href="struct.OrderedFloat.html" title="struct ordered_float::OrderedFloat">OrderedFloat</a><T></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.rem_assign-1" class="method trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#377">Source</a><a href="#method.rem_assign-1" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.RemAssign.html#tymethod.rem_assign" class="fn">rem_assign</a>(&mut self, other: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a T</a>)</h4></section></summary><div class='docblock'>Performs the <code>%=</code> operation. <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.RemAssign.html#tymethod.rem_assign">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-RemAssign%3CT%3E-for-OrderedFloat%3CT%3E" class="impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#377">Source</a><a href="#impl-RemAssign%3CT%3E-for-OrderedFloat%3CT%3E" class="anchor">§</a><h3 class="code-header">impl<T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.RemAssign.html" title="trait core::ops::arith::RemAssign">RemAssign</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><T> for <a class="struct" href="struct.OrderedFloat.html" title="struct ordered_float::OrderedFloat">OrderedFloat</a><T></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.rem_assign" class="method trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#377">Source</a><a href="#method.rem_assign" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.RemAssign.html#tymethod.rem_assign" class="fn">rem_assign</a>(&mut self, other: T)</h4></section></summary><div class='docblock'>Performs the <code>%=</code> operation. <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.RemAssign.html#tymethod.rem_assign">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-RemAssign-for-OrderedFloat%3CT%3E" class="impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#377">Source</a><a href="#impl-RemAssign-for-OrderedFloat%3CT%3E" class="anchor">§</a><h3 class="code-header">impl<T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.RemAssign.html" title="trait core::ops::arith::RemAssign">RemAssign</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> for <a class="struct" href="struct.OrderedFloat.html" title="struct ordered_float::OrderedFloat">OrderedFloat</a><T></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.rem_assign-2" class="method trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#377">Source</a><a href="#method.rem_assign-2" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.RemAssign.html#tymethod.rem_assign" class="fn">rem_assign</a>(&mut self, other: Self)</h4></section></summary><div class='docblock'>Performs the <code>%=</code> operation. <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.RemAssign.html#tymethod.rem_assign">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Signed-for-OrderedFloat%3CT%3E" class="impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#406-428">Source</a><a href="#impl-Signed-for-OrderedFloat%3CT%3E" class="anchor">§</a><h3 class="code-header">impl<T: <a class="trait" href="trait.Float.html" title="trait ordered_float::Float">Float</a> + <a class="trait" href="../num_traits/sign/trait.Signed.html" title="trait num_traits::sign::Signed">Signed</a>> <a class="trait" href="../num_traits/sign/trait.Signed.html" title="trait num_traits::sign::Signed">Signed</a> for <a class="struct" href="struct.OrderedFloat.html" title="struct ordered_float::OrderedFloat">OrderedFloat</a><T></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.abs" class="method trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#408-410">Source</a><a href="#method.abs" class="anchor">§</a><h4 class="code-header">fn <a href="../num_traits/sign/trait.Signed.html#tymethod.abs" class="fn">abs</a>(&self) -> Self</h4></section></summary><div class='docblock'>Computes the absolute value. <a href="../num_traits/sign/trait.Signed.html#tymethod.abs">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.abs_sub" class="method trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#412-414">Source</a><a href="#method.abs_sub" class="anchor">§</a><h4 class="code-header">fn <a href="../num_traits/sign/trait.Signed.html#tymethod.abs_sub" class="fn">abs_sub</a>(&self, other: &Self) -> Self</h4></section></summary><div class='docblock'>The positive difference of two numbers. <a href="../num_traits/sign/trait.Signed.html#tymethod.abs_sub">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.signum" class="method trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#417-419">Source</a><a href="#method.signum" class="anchor">§</a><h4 class="code-header">fn <a href="../num_traits/sign/trait.Signed.html#tymethod.signum" class="fn">signum</a>(&self) -> Self</h4></section></summary><div class='docblock'>Returns the sign of the number. <a href="../num_traits/sign/trait.Signed.html#tymethod.signum">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.is_positive" class="method trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#421-423">Source</a><a href="#method.is_positive" class="anchor">§</a><h4 class="code-header">fn <a href="../num_traits/sign/trait.Signed.html#tymethod.is_positive" class="fn">is_positive</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Returns true if the number is positive and false if the number is zero or negative.</div></details><details class="toggle method-toggle" open><summary><section id="method.is_negative" class="method trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#425-427">Source</a><a href="#method.is_negative" class="anchor">§</a><h4 class="code-header">fn <a href="../num_traits/sign/trait.Signed.html#tymethod.is_negative" class="fn">is_negative</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Returns true if the number is negative and false if the number is zero or positive.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Sub%3C%26OrderedFloat%3CT%3E%3E-for-OrderedFloat%3CT%3E" class="impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#374">Source</a><a href="#impl-Sub%3C%26OrderedFloat%3CT%3E%3E-for-OrderedFloat%3CT%3E" class="anchor">§</a><h3 class="code-header">impl<'a, 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><&'a <a class="struct" href="struct.OrderedFloat.html" title="struct ordered_float::OrderedFloat">OrderedFloat</a><T>> for <a class="struct" href="struct.OrderedFloat.html" title="struct ordered_float::OrderedFloat">OrderedFloat</a><T><div class="where">where
|
|
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><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a T</a>>,</div></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output-11" class="associatedtype trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#374">Source</a><a href="#associatedtype.Output-11" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Sub.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.OrderedFloat.html" title="struct ordered_float::OrderedFloat">OrderedFloat</a><<T as <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Sub.html" title="trait core::ops::arith::Sub">Sub</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a T</a>>>::<a class="associatedtype" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Sub.html#associatedtype.Output" title="type core::ops::arith::Sub::Output">Output</a>></h4></section></summary><div class='docblock'>The resulting type after applying the <code>-</code> operator.</div></details><details class="toggle method-toggle" open><summary><section id="method.sub-3" class="method trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#374">Source</a><a href="#method.sub-3" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Sub.html#tymethod.sub" class="fn">sub</a>(self, other: &'a Self) -> Self::<a class="associatedtype" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Sub.html#associatedtype.Output" title="type core::ops::arith::Sub::Output">Output</a></h4></section></summary><div class='docblock'>Performs the <code>-</code> operation. <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Sub.html#tymethod.sub">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Sub%3C%26T%3E-for-%26OrderedFloat%3CT%3E" class="impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#374">Source</a><a href="#impl-Sub%3C%26T%3E-for-%26OrderedFloat%3CT%3E" class="anchor">§</a><h3 class="code-header">impl<'a, 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><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a T</a>> for &'a <a class="struct" href="struct.OrderedFloat.html" title="struct ordered_float::OrderedFloat">OrderedFloat</a><T><div class="where">where
|
|
<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a T</a>: <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Sub.html" title="trait core::ops::arith::Sub">Sub</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output-15" class="associatedtype trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#374">Source</a><a href="#associatedtype.Output-15" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Sub.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.OrderedFloat.html" title="struct ordered_float::OrderedFloat">OrderedFloat</a><<<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a T</a> as <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Sub.html" title="trait core::ops::arith::Sub">Sub</a>>::<a class="associatedtype" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Sub.html#associatedtype.Output" title="type core::ops::arith::Sub::Output">Output</a>></h4></section></summary><div class='docblock'>The resulting type after applying the <code>-</code> operator.</div></details><details class="toggle method-toggle" open><summary><section id="method.sub-7" class="method trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#374">Source</a><a href="#method.sub-7" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Sub.html#tymethod.sub" class="fn">sub</a>(self, other: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a T</a>) -> Self::<a class="associatedtype" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Sub.html#associatedtype.Output" title="type core::ops::arith::Sub::Output">Output</a></h4></section></summary><div class='docblock'>Performs the <code>-</code> operation. <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Sub.html#tymethod.sub">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Sub%3C%26T%3E-for-OrderedFloat%3CT%3E" class="impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#374">Source</a><a href="#impl-Sub%3C%26T%3E-for-OrderedFloat%3CT%3E" class="anchor">§</a><h3 class="code-header">impl<'a, 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><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a T</a>> for <a class="struct" href="struct.OrderedFloat.html" title="struct ordered_float::OrderedFloat">OrderedFloat</a><T><div class="where">where
|
|
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><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a T</a>>,</div></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output-10" class="associatedtype trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#374">Source</a><a href="#associatedtype.Output-10" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Sub.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.OrderedFloat.html" title="struct ordered_float::OrderedFloat">OrderedFloat</a><<T as <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Sub.html" title="trait core::ops::arith::Sub">Sub</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a T</a>>>::<a class="associatedtype" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Sub.html#associatedtype.Output" title="type core::ops::arith::Sub::Output">Output</a>></h4></section></summary><div class='docblock'>The resulting type after applying the <code>-</code> operator.</div></details><details class="toggle method-toggle" open><summary><section id="method.sub-2" class="method trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#374">Source</a><a href="#method.sub-2" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Sub.html#tymethod.sub" class="fn">sub</a>(self, other: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a T</a>) -> Self::<a class="associatedtype" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Sub.html#associatedtype.Output" title="type core::ops::arith::Sub::Output">Output</a></h4></section></summary><div class='docblock'>Performs the <code>-</code> operation. <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Sub.html#tymethod.sub">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Sub%3COrderedFloat%3CT%3E%3E-for-%26OrderedFloat%3CT%3E" class="impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#374">Source</a><a href="#impl-Sub%3COrderedFloat%3CT%3E%3E-for-%26OrderedFloat%3CT%3E" class="anchor">§</a><h3 class="code-header">impl<'a, 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><<a class="struct" href="struct.OrderedFloat.html" title="struct ordered_float::OrderedFloat">OrderedFloat</a><T>> for &'a <a class="struct" href="struct.OrderedFloat.html" title="struct ordered_float::OrderedFloat">OrderedFloat</a><T><div class="where">where
|
|
<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a T</a>: <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Sub.html" title="trait core::ops::arith::Sub">Sub</a><T>,</div></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output-13" class="associatedtype trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#374">Source</a><a href="#associatedtype.Output-13" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Sub.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.OrderedFloat.html" title="struct ordered_float::OrderedFloat">OrderedFloat</a><<<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a T</a> as <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Sub.html" title="trait core::ops::arith::Sub">Sub</a><T>>::<a class="associatedtype" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Sub.html#associatedtype.Output" title="type core::ops::arith::Sub::Output">Output</a>></h4></section></summary><div class='docblock'>The resulting type after applying the <code>-</code> operator.</div></details><details class="toggle method-toggle" open><summary><section id="method.sub-5" class="method trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#374">Source</a><a href="#method.sub-5" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Sub.html#tymethod.sub" class="fn">sub</a>(self, other: <a class="struct" href="struct.OrderedFloat.html" title="struct ordered_float::OrderedFloat">OrderedFloat</a><T>) -> Self::<a class="associatedtype" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Sub.html#associatedtype.Output" title="type core::ops::arith::Sub::Output">Output</a></h4></section></summary><div class='docblock'>Performs the <code>-</code> operation. <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Sub.html#tymethod.sub">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Sub%3CT%3E-for-%26OrderedFloat%3CT%3E" class="impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#374">Source</a><a href="#impl-Sub%3CT%3E-for-%26OrderedFloat%3CT%3E" class="anchor">§</a><h3 class="code-header">impl<'a, 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><T> for &'a <a class="struct" href="struct.OrderedFloat.html" title="struct ordered_float::OrderedFloat">OrderedFloat</a><T><div class="where">where
|
|
<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a T</a>: <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Sub.html" title="trait core::ops::arith::Sub">Sub</a><T>,</div></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output-14" class="associatedtype trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#374">Source</a><a href="#associatedtype.Output-14" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Sub.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.OrderedFloat.html" title="struct ordered_float::OrderedFloat">OrderedFloat</a><<<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a T</a> as <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Sub.html" title="trait core::ops::arith::Sub">Sub</a><T>>::<a class="associatedtype" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Sub.html#associatedtype.Output" title="type core::ops::arith::Sub::Output">Output</a>></h4></section></summary><div class='docblock'>The resulting type after applying the <code>-</code> operator.</div></details><details class="toggle method-toggle" open><summary><section id="method.sub-6" class="method trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#374">Source</a><a href="#method.sub-6" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Sub.html#tymethod.sub" class="fn">sub</a>(self, other: T) -> Self::<a class="associatedtype" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Sub.html#associatedtype.Output" title="type core::ops::arith::Sub::Output">Output</a></h4></section></summary><div class='docblock'>Performs the <code>-</code> operation. <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Sub.html#tymethod.sub">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Sub%3CT%3E-for-OrderedFloat%3CT%3E" class="impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#374">Source</a><a href="#impl-Sub%3CT%3E-for-OrderedFloat%3CT%3E" class="anchor">§</a><h3 class="code-header">impl<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>> <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Sub.html" title="trait core::ops::arith::Sub">Sub</a><T> for <a class="struct" href="struct.OrderedFloat.html" title="struct ordered_float::OrderedFloat">OrderedFloat</a><T></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output-9" class="associatedtype trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#374">Source</a><a href="#associatedtype.Output-9" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Sub.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.OrderedFloat.html" title="struct ordered_float::OrderedFloat">OrderedFloat</a><<T as <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Sub.html" title="trait core::ops::arith::Sub">Sub</a>>::<a class="associatedtype" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Sub.html#associatedtype.Output" title="type core::ops::arith::Sub::Output">Output</a>></h4></section></summary><div class='docblock'>The resulting type after applying the <code>-</code> operator.</div></details><details class="toggle method-toggle" open><summary><section id="method.sub-1" class="method trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#374">Source</a><a href="#method.sub-1" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Sub.html#tymethod.sub" class="fn">sub</a>(self, other: T) -> Self::<a class="associatedtype" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Sub.html#associatedtype.Output" title="type core::ops::arith::Sub::Output">Output</a></h4></section></summary><div class='docblock'>Performs the <code>-</code> operation. <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Sub.html#tymethod.sub">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Sub-for-%26OrderedFloat%3CT%3E" class="impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#374">Source</a><a href="#impl-Sub-for-%26OrderedFloat%3CT%3E" class="anchor">§</a><h3 class="code-header">impl<'a, 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> for &'a <a class="struct" href="struct.OrderedFloat.html" title="struct ordered_float::OrderedFloat">OrderedFloat</a><T><div class="where">where
|
|
<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a T</a>: <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Sub.html" title="trait core::ops::arith::Sub">Sub</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output-12" class="associatedtype trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#374">Source</a><a href="#associatedtype.Output-12" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Sub.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.OrderedFloat.html" title="struct ordered_float::OrderedFloat">OrderedFloat</a><<<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a T</a> as <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Sub.html" title="trait core::ops::arith::Sub">Sub</a>>::<a class="associatedtype" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Sub.html#associatedtype.Output" title="type core::ops::arith::Sub::Output">Output</a>></h4></section></summary><div class='docblock'>The resulting type after applying the <code>-</code> operator.</div></details><details class="toggle method-toggle" open><summary><section id="method.sub-4" class="method trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#374">Source</a><a href="#method.sub-4" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Sub.html#tymethod.sub" class="fn">sub</a>(self, other: Self) -> Self::<a class="associatedtype" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Sub.html#associatedtype.Output" title="type core::ops::arith::Sub::Output">Output</a></h4></section></summary><div class='docblock'>Performs the <code>-</code> operation. <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Sub.html#tymethod.sub">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Sub-for-OrderedFloat%3CT%3E" class="impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#374">Source</a><a href="#impl-Sub-for-OrderedFloat%3CT%3E" class="anchor">§</a><h3 class="code-header">impl<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>> <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Sub.html" title="trait core::ops::arith::Sub">Sub</a> for <a class="struct" href="struct.OrderedFloat.html" title="struct ordered_float::OrderedFloat">OrderedFloat</a><T></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output-8" class="associatedtype trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#374">Source</a><a href="#associatedtype.Output-8" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Sub.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.OrderedFloat.html" title="struct ordered_float::OrderedFloat">OrderedFloat</a><<T as <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Sub.html" title="trait core::ops::arith::Sub">Sub</a>>::<a class="associatedtype" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Sub.html#associatedtype.Output" title="type core::ops::arith::Sub::Output">Output</a>></h4></section></summary><div class='docblock'>The resulting type after applying the <code>-</code> operator.</div></details><details class="toggle method-toggle" open><summary><section id="method.sub" class="method trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#374">Source</a><a href="#method.sub" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Sub.html#tymethod.sub" class="fn">sub</a>(self, other: Self) -> Self::<a class="associatedtype" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Sub.html#associatedtype.Output" title="type core::ops::arith::Sub::Output">Output</a></h4></section></summary><div class='docblock'>Performs the <code>-</code> operation. <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Sub.html#tymethod.sub">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-SubAssign%3C%26OrderedFloat%3CT%3E%3E-for-OrderedFloat%3CT%3E" class="impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#374">Source</a><a href="#impl-SubAssign%3C%26OrderedFloat%3CT%3E%3E-for-OrderedFloat%3CT%3E" class="anchor">§</a><h3 class="code-header">impl<'a, T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.SubAssign.html" title="trait core::ops::arith::SubAssign">SubAssign</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a T</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><&'a <a class="struct" href="struct.OrderedFloat.html" title="struct ordered_float::OrderedFloat">OrderedFloat</a><T>> for <a class="struct" href="struct.OrderedFloat.html" title="struct ordered_float::OrderedFloat">OrderedFloat</a><T></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.sub_assign-3" class="method trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#374">Source</a><a href="#method.sub_assign-3" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.SubAssign.html#tymethod.sub_assign" class="fn">sub_assign</a>(&mut self, other: &'a Self)</h4></section></summary><div class='docblock'>Performs the <code>-=</code> operation. <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.SubAssign.html#tymethod.sub_assign">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-SubAssign%3C%26T%3E-for-OrderedFloat%3CT%3E" class="impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#374">Source</a><a href="#impl-SubAssign%3C%26T%3E-for-OrderedFloat%3CT%3E" class="anchor">§</a><h3 class="code-header">impl<'a, T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.SubAssign.html" title="trait core::ops::arith::SubAssign">SubAssign</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a T</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><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a T</a>> for <a class="struct" href="struct.OrderedFloat.html" title="struct ordered_float::OrderedFloat">OrderedFloat</a><T></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.sub_assign-1" class="method trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#374">Source</a><a href="#method.sub_assign-1" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.SubAssign.html#tymethod.sub_assign" class="fn">sub_assign</a>(&mut self, other: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a T</a>)</h4></section></summary><div class='docblock'>Performs the <code>-=</code> operation. <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.SubAssign.html#tymethod.sub_assign">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-SubAssign%3CT%3E-for-OrderedFloat%3CT%3E" class="impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#374">Source</a><a href="#impl-SubAssign%3CT%3E-for-OrderedFloat%3CT%3E" class="anchor">§</a><h3 class="code-header">impl<T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.SubAssign.html" title="trait core::ops::arith::SubAssign">SubAssign</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><T> for <a class="struct" href="struct.OrderedFloat.html" title="struct ordered_float::OrderedFloat">OrderedFloat</a><T></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.sub_assign" class="method trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#374">Source</a><a href="#method.sub_assign" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.SubAssign.html#tymethod.sub_assign" class="fn">sub_assign</a>(&mut self, other: T)</h4></section></summary><div class='docblock'>Performs the <code>-=</code> operation. <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.SubAssign.html#tymethod.sub_assign">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-SubAssign-for-OrderedFloat%3CT%3E" class="impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#374">Source</a><a href="#impl-SubAssign-for-OrderedFloat%3CT%3E" class="anchor">§</a><h3 class="code-header">impl<T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.SubAssign.html" title="trait core::ops::arith::SubAssign">SubAssign</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> for <a class="struct" href="struct.OrderedFloat.html" title="struct ordered_float::OrderedFloat">OrderedFloat</a><T></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.sub_assign-2" class="method trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#374">Source</a><a href="#method.sub_assign-2" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.SubAssign.html#tymethod.sub_assign" class="fn">sub_assign</a>(&mut self, other: Self)</h4></section></summary><div class='docblock'>Performs the <code>-=</code> operation. <a href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.SubAssign.html#tymethod.sub_assign">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Sum%3C%26OrderedFloat%3CT%3E%3E-for-OrderedFloat%3CT%3E" class="impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#386-391">Source</a><a href="#impl-Sum%3C%26OrderedFloat%3CT%3E%3E-for-OrderedFloat%3CT%3E" class="anchor">§</a><h3 class="code-header">impl<'a, T: <a class="trait" href="trait.Float.html" title="trait ordered_float::Float">Float</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/traits/accum/trait.Sum.html" title="trait core::iter::traits::accum::Sum">Sum</a> + 'a> <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/traits/accum/trait.Sum.html" title="trait core::iter::traits::accum::Sum">Sum</a><&'a <a class="struct" href="struct.OrderedFloat.html" title="struct ordered_float::OrderedFloat">OrderedFloat</a><T>> for <a class="struct" href="struct.OrderedFloat.html" title="struct ordered_float::OrderedFloat">OrderedFloat</a><T></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.sum-1" class="method trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#388-390">Source</a><a href="#method.sum-1" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/iter/traits/accum/trait.Sum.html#tymethod.sum" class="fn">sum</a><I: <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html" title="trait core::iter::traits::iterator::Iterator">Iterator</a><Item = &'a <a class="struct" href="struct.OrderedFloat.html" title="struct ordered_float::OrderedFloat">OrderedFloat</a><T>>>(iter: I) -> Self</h4></section></summary><div class='docblock'>Takes an iterator and generates <code>Self</code> from the elements by “summing up”
|
|
the items.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Sum-for-OrderedFloat%3CT%3E" class="impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#380-384">Source</a><a href="#impl-Sum-for-OrderedFloat%3CT%3E" class="anchor">§</a><h3 class="code-header">impl<T: <a class="trait" href="trait.Float.html" title="trait ordered_float::Float">Float</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/traits/accum/trait.Sum.html" title="trait core::iter::traits::accum::Sum">Sum</a>> <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/traits/accum/trait.Sum.html" title="trait core::iter::traits::accum::Sum">Sum</a> for <a class="struct" href="struct.OrderedFloat.html" title="struct ordered_float::OrderedFloat">OrderedFloat</a><T></h3><div class="docblock"><p>Adds a float directly.</p>
|
|
</div></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.sum" class="method trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#381-383">Source</a><a href="#method.sum" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/iter/traits/accum/trait.Sum.html#tymethod.sum" class="fn">sum</a><I: <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html" title="trait core::iter::traits::iterator::Iterator">Iterator</a><Item = <a class="struct" href="struct.OrderedFloat.html" title="struct ordered_float::OrderedFloat">OrderedFloat</a><T>>>(iter: I) -> Self</h4></section></summary><div class='docblock'>Takes an iterator and generates <code>Self</code> from the elements by “summing up”
|
|
the items.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-ToPrimitive-for-OrderedFloat%3CT%3E" class="impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#545-582">Source</a><a href="#impl-ToPrimitive-for-OrderedFloat%3CT%3E" class="anchor">§</a><h3 class="code-header">impl<T: <a class="trait" href="../num_traits/cast/trait.ToPrimitive.html" title="trait num_traits::cast::ToPrimitive">ToPrimitive</a>> <a class="trait" href="../num_traits/cast/trait.ToPrimitive.html" title="trait num_traits::cast::ToPrimitive">ToPrimitive</a> for <a class="struct" href="struct.OrderedFloat.html" title="struct ordered_float::OrderedFloat">OrderedFloat</a><T></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.to_i64" class="method trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#546-548">Source</a><a href="#method.to_i64" class="anchor">§</a><h4 class="code-header">fn <a href="../num_traits/cast/trait.ToPrimitive.html#tymethod.to_i64" class="fn">to_i64</a>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i64.html">i64</a>></h4></section></summary><div class='docblock'>Converts the value of <code>self</code> to an <code>i64</code>. If the value cannot be
|
|
represented by an <code>i64</code>, then <code>None</code> is returned.</div></details><details class="toggle method-toggle" open><summary><section id="method.to_u64" class="method trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#549-551">Source</a><a href="#method.to_u64" class="anchor">§</a><h4 class="code-header">fn <a href="../num_traits/cast/trait.ToPrimitive.html#tymethod.to_u64" class="fn">to_u64</a>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>></h4></section></summary><div class='docblock'>Converts the value of <code>self</code> to a <code>u64</code>. If the value cannot be
|
|
represented by a <code>u64</code>, then <code>None</code> is returned.</div></details><details class="toggle method-toggle" open><summary><section id="method.to_isize" class="method trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#552-554">Source</a><a href="#method.to_isize" class="anchor">§</a><h4 class="code-header">fn <a href="../num_traits/cast/trait.ToPrimitive.html#method.to_isize" class="fn">to_isize</a>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.isize.html">isize</a>></h4></section></summary><div class='docblock'>Converts the value of <code>self</code> to an <code>isize</code>. If the value cannot be
|
|
represented by an <code>isize</code>, then <code>None</code> is returned.</div></details><details class="toggle method-toggle" open><summary><section id="method.to_i8" class="method trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#555-557">Source</a><a href="#method.to_i8" class="anchor">§</a><h4 class="code-header">fn <a href="../num_traits/cast/trait.ToPrimitive.html#method.to_i8" class="fn">to_i8</a>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i8.html">i8</a>></h4></section></summary><div class='docblock'>Converts the value of <code>self</code> to an <code>i8</code>. If the value cannot be
|
|
represented by an <code>i8</code>, then <code>None</code> is returned.</div></details><details class="toggle method-toggle" open><summary><section id="method.to_i16" class="method trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#558-560">Source</a><a href="#method.to_i16" class="anchor">§</a><h4 class="code-header">fn <a href="../num_traits/cast/trait.ToPrimitive.html#method.to_i16" class="fn">to_i16</a>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i16.html">i16</a>></h4></section></summary><div class='docblock'>Converts the value of <code>self</code> to an <code>i16</code>. If the value cannot be
|
|
represented by an <code>i16</code>, then <code>None</code> is returned.</div></details><details class="toggle method-toggle" open><summary><section id="method.to_i32" class="method trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#561-563">Source</a><a href="#method.to_i32" class="anchor">§</a><h4 class="code-header">fn <a href="../num_traits/cast/trait.ToPrimitive.html#method.to_i32" class="fn">to_i32</a>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>></h4></section></summary><div class='docblock'>Converts the value of <code>self</code> to an <code>i32</code>. If the value cannot be
|
|
represented by an <code>i32</code>, then <code>None</code> is returned.</div></details><details class="toggle method-toggle" open><summary><section id="method.to_usize" class="method trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#564-566">Source</a><a href="#method.to_usize" class="anchor">§</a><h4 class="code-header">fn <a href="../num_traits/cast/trait.ToPrimitive.html#method.to_usize" class="fn">to_usize</a>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>></h4></section></summary><div class='docblock'>Converts the value of <code>self</code> to a <code>usize</code>. If the value cannot be
|
|
represented by a <code>usize</code>, then <code>None</code> is returned.</div></details><details class="toggle method-toggle" open><summary><section id="method.to_u8" class="method trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#567-569">Source</a><a href="#method.to_u8" class="anchor">§</a><h4 class="code-header">fn <a href="../num_traits/cast/trait.ToPrimitive.html#method.to_u8" class="fn">to_u8</a>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>></h4></section></summary><div class='docblock'>Converts the value of <code>self</code> to a <code>u8</code>. If the value cannot be
|
|
represented by a <code>u8</code>, then <code>None</code> is returned.</div></details><details class="toggle method-toggle" open><summary><section id="method.to_u16" class="method trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#570-572">Source</a><a href="#method.to_u16" class="anchor">§</a><h4 class="code-header">fn <a href="../num_traits/cast/trait.ToPrimitive.html#method.to_u16" class="fn">to_u16</a>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u16.html">u16</a>></h4></section></summary><div class='docblock'>Converts the value of <code>self</code> to a <code>u16</code>. If the value cannot be
|
|
represented by a <code>u16</code>, then <code>None</code> is returned.</div></details><details class="toggle method-toggle" open><summary><section id="method.to_u32" class="method trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#573-575">Source</a><a href="#method.to_u32" class="anchor">§</a><h4 class="code-header">fn <a href="../num_traits/cast/trait.ToPrimitive.html#method.to_u32" class="fn">to_u32</a>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>></h4></section></summary><div class='docblock'>Converts the value of <code>self</code> to a <code>u32</code>. If the value cannot be
|
|
represented by a <code>u32</code>, then <code>None</code> is returned.</div></details><details class="toggle method-toggle" open><summary><section id="method.to_f32" class="method trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#576-578">Source</a><a href="#method.to_f32" class="anchor">§</a><h4 class="code-header">fn <a href="../num_traits/cast/trait.ToPrimitive.html#method.to_f32" class="fn">to_f32</a>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a>></h4></section></summary><div class='docblock'>Converts the value of <code>self</code> to an <code>f32</code>. Overflows may map to positive
|
|
or negative inifinity, otherwise <code>None</code> is returned if the value cannot
|
|
be represented by an <code>f32</code>.</div></details><details class="toggle method-toggle" open><summary><section id="method.to_f64" class="method trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#579-581">Source</a><a href="#method.to_f64" class="anchor">§</a><h4 class="code-header">fn <a href="../num_traits/cast/trait.ToPrimitive.html#method.to_f64" class="fn">to_f64</a>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a>></h4></section></summary><div class='docblock'>Converts the value of <code>self</code> to an <code>f64</code>. Overflows may map to positive
|
|
or negative inifinity, otherwise <code>None</code> is returned if the value cannot
|
|
be represented by an <code>f64</code>. <a href="../num_traits/cast/trait.ToPrimitive.html#method.to_f64">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.to_i128" class="method trait-impl"><a class="src rightside" href="../src/num_traits/cast.rs.html#57">Source</a><a href="#method.to_i128" class="anchor">§</a><h4 class="code-header">fn <a href="../num_traits/cast/trait.ToPrimitive.html#method.to_i128" class="fn">to_i128</a>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i128.html">i128</a>></h4></section></summary><div class='docblock'>Converts the value of <code>self</code> to an <code>i128</code>. If the value cannot be
|
|
represented by an <code>i128</code> (<code>i64</code> under the default implementation), then
|
|
<code>None</code> is returned. <a href="../num_traits/cast/trait.ToPrimitive.html#method.to_i128">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.to_u128" class="method trait-impl"><a class="src rightside" href="../src/num_traits/cast.rs.html#100">Source</a><a href="#method.to_u128" class="anchor">§</a><h4 class="code-header">fn <a href="../num_traits/cast/trait.ToPrimitive.html#method.to_u128" class="fn">to_u128</a>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u128.html">u128</a>></h4></section></summary><div class='docblock'>Converts the value of <code>self</code> to a <code>u128</code>. If the value cannot be
|
|
represented by a <code>u128</code> (<code>u64</code> under the default implementation), then
|
|
<code>None</code> is returned. <a href="../num_traits/cast/trait.ToPrimitive.html#method.to_u128">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Zero-for-OrderedFloat%3CT%3E" class="impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#480-490">Source</a><a href="#impl-Zero-for-OrderedFloat%3CT%3E" class="anchor">§</a><h3 class="code-header">impl<T: <a class="trait" href="../num_traits/identities/trait.Zero.html" title="trait num_traits::identities::Zero">Zero</a>> <a class="trait" href="../num_traits/identities/trait.Zero.html" title="trait num_traits::identities::Zero">Zero</a> for <a class="struct" href="struct.OrderedFloat.html" title="struct ordered_float::OrderedFloat">OrderedFloat</a><T></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.zero" class="method trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#482-484">Source</a><a href="#method.zero" class="anchor">§</a><h4 class="code-header">fn <a href="../num_traits/identities/trait.Zero.html#tymethod.zero" class="fn">zero</a>() -> Self</h4></section></summary><div class='docblock'>Returns the additive identity element of <code>Self</code>, <code>0</code>. <a href="../num_traits/identities/trait.Zero.html#tymethod.zero">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.is_zero" class="method trait-impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#487-489">Source</a><a href="#method.is_zero" class="anchor">§</a><h4 class="code-header">fn <a href="../num_traits/identities/trait.Zero.html#tymethod.is_zero" class="fn">is_zero</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Returns <code>true</code> if <code>self</code> is equal to the additive identity.</div></details><details class="toggle method-toggle" open><summary><section id="method.set_zero" class="method trait-impl"><a class="src rightside" href="../src/num_traits/identities.rs.html#23">Source</a><a href="#method.set_zero" class="anchor">§</a><h4 class="code-header">fn <a href="../num_traits/identities/trait.Zero.html#method.set_zero" class="fn">set_zero</a>(&mut self)</h4></section></summary><div class='docblock'>Sets <code>self</code> to the additive identity element of <code>Self</code>, <code>0</code>.</div></details></div></details><section id="impl-Copy-for-OrderedFloat%3CT%3E" class="impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#74">Source</a><a href="#impl-Copy-for-OrderedFloat%3CT%3E" class="anchor">§</a><h3 class="code-header">impl<T: <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="https://doc.rust-lang.org/nightly/core/marker/trait.Copy.html" title="trait core::marker::Copy">Copy</a> for <a class="struct" href="struct.OrderedFloat.html" title="struct ordered_float::OrderedFloat">OrderedFloat</a><T></h3></section><section id="impl-Eq-for-OrderedFloat%3CT%3E" class="impl"><a class="src rightside" href="../src/ordered_float/lib.rs.html#236">Source</a><a href="#impl-Eq-for-OrderedFloat%3CT%3E" class="anchor">§</a><h3 class="code-header">impl<T: <a class="trait" href="trait.Float.html" title="trait ordered_float::Float">Float</a>> <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="struct.OrderedFloat.html" title="struct ordered_float::OrderedFloat">OrderedFloat</a><T></h3></section></div><h2 id="synthetic-implementations" class="section-header">Auto Trait Implementations<a href="#synthetic-implementations" class="anchor">§</a></h2><div id="synthetic-implementations-list"><section id="impl-Freeze-for-OrderedFloat%3CT%3E" class="impl"><a href="#impl-Freeze-for-OrderedFloat%3CT%3E" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Freeze.html" title="trait core::marker::Freeze">Freeze</a> for <a class="struct" href="struct.OrderedFloat.html" title="struct ordered_float::OrderedFloat">OrderedFloat</a><T><div class="where">where
|
|
T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Freeze.html" title="trait core::marker::Freeze">Freeze</a>,</div></h3></section><section id="impl-RefUnwindSafe-for-OrderedFloat%3CT%3E" class="impl"><a href="#impl-RefUnwindSafe-for-OrderedFloat%3CT%3E" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="https://doc.rust-lang.org/nightly/core/panic/unwind_safe/trait.RefUnwindSafe.html" title="trait core::panic::unwind_safe::RefUnwindSafe">RefUnwindSafe</a> for <a class="struct" href="struct.OrderedFloat.html" title="struct ordered_float::OrderedFloat">OrderedFloat</a><T><div class="where">where
|
|
T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/panic/unwind_safe/trait.RefUnwindSafe.html" title="trait core::panic::unwind_safe::RefUnwindSafe">RefUnwindSafe</a>,</div></h3></section><section id="impl-Send-for-OrderedFloat%3CT%3E" class="impl"><a href="#impl-Send-for-OrderedFloat%3CT%3E" class="anchor">§</a><h3 class="code-header">impl<T> <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="struct.OrderedFloat.html" title="struct ordered_float::OrderedFloat">OrderedFloat</a><T><div class="where">where
|
|
T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a>,</div></h3></section><section id="impl-Sync-for-OrderedFloat%3CT%3E" class="impl"><a href="#impl-Sync-for-OrderedFloat%3CT%3E" class="anchor">§</a><h3 class="code-header">impl<T> <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="struct.OrderedFloat.html" title="struct ordered_float::OrderedFloat">OrderedFloat</a><T><div class="where">where
|
|
T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a>,</div></h3></section><section id="impl-Unpin-for-OrderedFloat%3CT%3E" class="impl"><a href="#impl-Unpin-for-OrderedFloat%3CT%3E" class="anchor">§</a><h3 class="code-header">impl<T> <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="struct.OrderedFloat.html" title="struct ordered_float::OrderedFloat">OrderedFloat</a><T><div class="where">where
|
|
T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a>,</div></h3></section><section id="impl-UnsafeUnpin-for-OrderedFloat%3CT%3E" class="impl"><a href="#impl-UnsafeUnpin-for-OrderedFloat%3CT%3E" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.UnsafeUnpin.html" title="trait core::marker::UnsafeUnpin">UnsafeUnpin</a> for <a class="struct" href="struct.OrderedFloat.html" title="struct ordered_float::OrderedFloat">OrderedFloat</a><T><div class="where">where
|
|
T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.UnsafeUnpin.html" title="trait core::marker::UnsafeUnpin">UnsafeUnpin</a>,</div></h3></section><section id="impl-UnwindSafe-for-OrderedFloat%3CT%3E" class="impl"><a href="#impl-UnwindSafe-for-OrderedFloat%3CT%3E" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="https://doc.rust-lang.org/nightly/core/panic/unwind_safe/trait.UnwindSafe.html" title="trait core::panic::unwind_safe::UnwindSafe">UnwindSafe</a> for <a class="struct" href="struct.OrderedFloat.html" title="struct ordered_float::OrderedFloat">OrderedFloat</a><T><div class="where">where
|
|
T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/panic/unwind_safe/trait.UnwindSafe.html" title="trait core::panic::unwind_safe::UnwindSafe">UnwindSafe</a>,</div></h3></section></div><h2 id="blanket-implementations" class="section-header">Blanket Implementations<a href="#blanket-implementations" class="anchor">§</a></h2><div id="blanket-implementations-list"><details class="toggle implementors-toggle"><summary><section id="impl-Any-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/any.rs.html#141">Source</a><a href="#impl-Any-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="https://doc.rust-lang.org/nightly/core/any/trait.Any.html" title="trait core::any::Any">Any</a> for T<div class="where">where
|
|
T: 'static + ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.type_id" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/any.rs.html#142">Source</a><a href="#method.type_id" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/any/trait.Any.html#tymethod.type_id" class="fn">type_id</a>(&self) -> <a class="struct" href="https://doc.rust-lang.org/nightly/core/any/struct.TypeId.html" title="struct core::any::TypeId">TypeId</a></h4></section></summary><div class='docblock'>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></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Borrow%3CT%3E-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/borrow.rs.html#212">Source</a><a href="#impl-Borrow%3CT%3E-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="https://doc.rust-lang.org/nightly/core/borrow/trait.Borrow.html" title="trait core::borrow::Borrow">Borrow</a><T> for T<div class="where">where
|
|
T: ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.borrow" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/borrow.rs.html#214">Source</a><a href="#method.borrow" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/borrow/trait.Borrow.html#tymethod.borrow" class="fn">borrow</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&T</a></h4></section></summary><div class='docblock'>Immutably borrows from an owned value. <a href="https://doc.rust-lang.org/nightly/core/borrow/trait.Borrow.html#tymethod.borrow">Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-BorrowMut%3CT%3E-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/borrow.rs.html#221">Source</a><a href="#impl-BorrowMut%3CT%3E-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="https://doc.rust-lang.org/nightly/core/borrow/trait.BorrowMut.html" title="trait core::borrow::BorrowMut">BorrowMut</a><T> for T<div class="where">where
|
|
T: ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.borrow_mut" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/borrow.rs.html#222">Source</a><a href="#method.borrow_mut" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/borrow/trait.BorrowMut.html#tymethod.borrow_mut" class="fn">borrow_mut</a>(&mut self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut T</a></h4></section></summary><div class='docblock'>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></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-CloneToUninit-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/clone.rs.html#547">Source</a><a href="#impl-CloneToUninit-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.CloneToUninit.html" title="trait core::clone::CloneToUninit">CloneToUninit</a> for T<div class="where">where
|
|
T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.clone_to_uninit" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/clone.rs.html#549">Source</a><a href="#method.clone_to_uninit" class="anchor">§</a><h4 class="code-header">unsafe fn <a href="https://doc.rust-lang.org/nightly/core/clone/trait.CloneToUninit.html#tymethod.clone_to_uninit" class="fn">clone_to_uninit</a>(&self, dest: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.pointer.html">*mut </a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>)</h4></section></summary><span class="item-info"><div class="stab unstable"><span class="emoji">🔬</span><span>This is a nightly-only experimental API. (<code>clone_to_uninit</code>)</span></div></span><div class='docblock'>Performs copy-assignment from <code>self</code> to <code>dest</code>. <a href="https://doc.rust-lang.org/nightly/core/clone/trait.CloneToUninit.html#tymethod.clone_to_uninit">Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-From%3CT%3E-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#785">Source</a><a href="#impl-From%3CT%3E-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><T> for T</h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.from-6" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#788">Source</a><a href="#method.from-6" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from" class="fn">from</a>(t: T) -> T</h4></section></summary><div class="docblock"><p>Returns the argument unchanged.</p>
|
|
</div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Into%3CU%3E-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#767-769">Source</a><a href="#impl-Into%3CU%3E-for-T" class="anchor">§</a><h3 class="code-header">impl<T, U> <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a><U> for T<div class="where">where
|
|
U: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><T>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.into" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#777">Source</a><a href="#method.into" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html#tymethod.into" class="fn">into</a>(self) -> U</h4></section></summary><div class="docblock"><p>Calls <code>U::from(self)</code>.</p>
|
|
<p>That is, this conversion is whatever the implementation of
|
|
<code><a href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><T> for U</code> chooses to do.</p>
|
|
</div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-LowerBounded-for-T" class="impl"><a class="src rightside" href="../src/num_traits/bounds.rs.html#22">Source</a><a href="#impl-LowerBounded-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="../num_traits/bounds/trait.LowerBounded.html" title="trait num_traits::bounds::LowerBounded">LowerBounded</a> for T<div class="where">where
|
|
T: <a class="trait" href="../num_traits/bounds/trait.Bounded.html" title="trait num_traits::bounds::Bounded">Bounded</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.min_value-3" class="method trait-impl"><a class="src rightside" href="../src/num_traits/bounds.rs.html#23">Source</a><a href="#method.min_value-3" class="anchor">§</a><h4 class="code-header">fn <a href="../num_traits/bounds/trait.LowerBounded.html#tymethod.min_value" class="fn">min_value</a>() -> T</h4></section></summary><div class='docblock'>Returns the smallest finite number this type can represent</div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Real-for-T" class="impl"><a class="src rightside" href="../src/num_traits/real.rs.html#782">Source</a><a href="#impl-Real-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="../num_traits/real/trait.Real.html" title="trait num_traits::real::Real">Real</a> for T<div class="where">where
|
|
T: <a class="trait" href="trait.Float.html" title="trait ordered_float::Float">Float</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.min_value-4" class="method trait-impl"><a class="src rightside" href="../src/num_traits/real.rs.html#783-788">Source</a><a href="#method.min_value-4" class="anchor">§</a><h4 class="code-header">fn <a href="../num_traits/real/trait.Real.html#tymethod.min_value" class="fn">min_value</a>() -> T</h4></section></summary><div class='docblock'>Returns the smallest finite value that this type can represent. <a href="../num_traits/real/trait.Real.html#tymethod.min_value">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.min_positive_value-2" class="method trait-impl"><a class="src rightside" href="../src/num_traits/real.rs.html#783-788">Source</a><a href="#method.min_positive_value-2" class="anchor">§</a><h4 class="code-header">fn <a href="../num_traits/real/trait.Real.html#tymethod.min_positive_value" class="fn">min_positive_value</a>() -> T</h4></section></summary><div class='docblock'>Returns the smallest positive, normalized value that this type can represent. <a href="../num_traits/real/trait.Real.html#tymethod.min_positive_value">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.epsilon-2" class="method trait-impl"><a class="src rightside" href="../src/num_traits/real.rs.html#783-788">Source</a><a href="#method.epsilon-2" class="anchor">§</a><h4 class="code-header">fn <a href="../num_traits/real/trait.Real.html#tymethod.epsilon" class="fn">epsilon</a>() -> T</h4></section></summary><div class='docblock'>Returns epsilon, a small positive value. <a href="../num_traits/real/trait.Real.html#tymethod.epsilon">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.max_value-4" class="method trait-impl"><a class="src rightside" href="../src/num_traits/real.rs.html#783-788">Source</a><a href="#method.max_value-4" class="anchor">§</a><h4 class="code-header">fn <a href="../num_traits/real/trait.Real.html#tymethod.max_value" class="fn">max_value</a>() -> T</h4></section></summary><div class='docblock'>Returns the largest finite value that this type can represent. <a href="../num_traits/real/trait.Real.html#tymethod.max_value">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.floor-2" class="method trait-impl"><a class="src rightside" href="../src/num_traits/real.rs.html#789-833">Source</a><a href="#method.floor-2" class="anchor">§</a><h4 class="code-header">fn <a href="../num_traits/real/trait.Real.html#tymethod.floor" class="fn">floor</a>(self) -> T</h4></section></summary><div class='docblock'>Returns the largest integer less than or equal to a number. <a href="../num_traits/real/trait.Real.html#tymethod.floor">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.ceil-2" class="method trait-impl"><a class="src rightside" href="../src/num_traits/real.rs.html#789-833">Source</a><a href="#method.ceil-2" class="anchor">§</a><h4 class="code-header">fn <a href="../num_traits/real/trait.Real.html#tymethod.ceil" class="fn">ceil</a>(self) -> T</h4></section></summary><div class='docblock'>Returns the smallest integer greater than or equal to a number. <a href="../num_traits/real/trait.Real.html#tymethod.ceil">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.round-2" class="method trait-impl"><a class="src rightside" href="../src/num_traits/real.rs.html#789-833">Source</a><a href="#method.round-2" class="anchor">§</a><h4 class="code-header">fn <a href="../num_traits/real/trait.Real.html#tymethod.round" class="fn">round</a>(self) -> T</h4></section></summary><div class='docblock'>Returns the nearest integer to a number. Round half-way cases away from
|
|
<code>0.0</code>. <a href="../num_traits/real/trait.Real.html#tymethod.round">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.trunc-2" class="method trait-impl"><a class="src rightside" href="../src/num_traits/real.rs.html#789-833">Source</a><a href="#method.trunc-2" class="anchor">§</a><h4 class="code-header">fn <a href="../num_traits/real/trait.Real.html#tymethod.trunc" class="fn">trunc</a>(self) -> T</h4></section></summary><div class='docblock'>Return the integer part of a number. <a href="../num_traits/real/trait.Real.html#tymethod.trunc">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.fract-2" class="method trait-impl"><a class="src rightside" href="../src/num_traits/real.rs.html#789-833">Source</a><a href="#method.fract-2" class="anchor">§</a><h4 class="code-header">fn <a href="../num_traits/real/trait.Real.html#tymethod.fract" class="fn">fract</a>(self) -> T</h4></section></summary><div class='docblock'>Returns the fractional part of a number. <a href="../num_traits/real/trait.Real.html#tymethod.fract">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.abs-3" class="method trait-impl"><a class="src rightside" href="../src/num_traits/real.rs.html#789-833">Source</a><a href="#method.abs-3" class="anchor">§</a><h4 class="code-header">fn <a href="../num_traits/real/trait.Real.html#tymethod.abs" class="fn">abs</a>(self) -> T</h4></section></summary><div class='docblock'>Computes the absolute value of <code>self</code>. Returns <code>Float::nan()</code> if the
|
|
number is <code>Float::nan()</code>. <a href="../num_traits/real/trait.Real.html#tymethod.abs">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.signum-3" class="method trait-impl"><a class="src rightside" href="../src/num_traits/real.rs.html#789-833">Source</a><a href="#method.signum-3" class="anchor">§</a><h4 class="code-header">fn <a href="../num_traits/real/trait.Real.html#tymethod.signum" class="fn">signum</a>(self) -> T</h4></section></summary><div class='docblock'>Returns a number that represents the sign of <code>self</code>. <a href="../num_traits/real/trait.Real.html#tymethod.signum">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.is_sign_positive-2" class="method trait-impl"><a class="src rightside" href="../src/num_traits/real.rs.html#789-833">Source</a><a href="#method.is_sign_positive-2" class="anchor">§</a><h4 class="code-header">fn <a href="../num_traits/real/trait.Real.html#tymethod.is_sign_positive" class="fn">is_sign_positive</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Returns <code>true</code> if <code>self</code> is positive, including <code>+0.0</code>,
|
|
<code>Float::infinity()</code>, and with newer versions of Rust <code>f64::NAN</code>. <a href="../num_traits/real/trait.Real.html#tymethod.is_sign_positive">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.is_sign_negative-2" class="method trait-impl"><a class="src rightside" href="../src/num_traits/real.rs.html#789-833">Source</a><a href="#method.is_sign_negative-2" class="anchor">§</a><h4 class="code-header">fn <a href="../num_traits/real/trait.Real.html#tymethod.is_sign_negative" class="fn">is_sign_negative</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Returns <code>true</code> if <code>self</code> is negative, including <code>-0.0</code>,
|
|
<code>Float::neg_infinity()</code>, and with newer versions of Rust <code>-f64::NAN</code>. <a href="../num_traits/real/trait.Real.html#tymethod.is_sign_negative">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.mul_add-1" class="method trait-impl"><a class="src rightside" href="../src/num_traits/real.rs.html#789-833">Source</a><a href="#method.mul_add-1" class="anchor">§</a><h4 class="code-header">fn <a href="../num_traits/real/trait.Real.html#tymethod.mul_add" class="fn">mul_add</a>(self, a: T, b: T) -> T</h4></section></summary><div class='docblock'>Fused multiply-add. Computes <code>(self * a) + b</code> with only one rounding
|
|
error, yielding a more accurate result than an unfused multiply-add. <a href="../num_traits/real/trait.Real.html#tymethod.mul_add">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.recip-2" class="method trait-impl"><a class="src rightside" href="../src/num_traits/real.rs.html#789-833">Source</a><a href="#method.recip-2" class="anchor">§</a><h4 class="code-header">fn <a href="../num_traits/real/trait.Real.html#tymethod.recip" class="fn">recip</a>(self) -> T</h4></section></summary><div class='docblock'>Take the reciprocal (inverse) of a number, <code>1/x</code>. <a href="../num_traits/real/trait.Real.html#tymethod.recip">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.powi-2" class="method trait-impl"><a class="src rightside" href="../src/num_traits/real.rs.html#789-833">Source</a><a href="#method.powi-2" class="anchor">§</a><h4 class="code-header">fn <a href="../num_traits/real/trait.Real.html#tymethod.powi" class="fn">powi</a>(self, n: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>) -> T</h4></section></summary><div class='docblock'>Raise a number to an integer power. <a href="../num_traits/real/trait.Real.html#tymethod.powi">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.powf-1" class="method trait-impl"><a class="src rightside" href="../src/num_traits/real.rs.html#789-833">Source</a><a href="#method.powf-1" class="anchor">§</a><h4 class="code-header">fn <a href="../num_traits/real/trait.Real.html#tymethod.powf" class="fn">powf</a>(self, n: T) -> T</h4></section></summary><div class='docblock'>Raise a number to a real number power. <a href="../num_traits/real/trait.Real.html#tymethod.powf">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.sqrt-1" class="method trait-impl"><a class="src rightside" href="../src/num_traits/real.rs.html#789-833">Source</a><a href="#method.sqrt-1" class="anchor">§</a><h4 class="code-header">fn <a href="../num_traits/real/trait.Real.html#tymethod.sqrt" class="fn">sqrt</a>(self) -> T</h4></section></summary><div class='docblock'>Take the square root of a number. <a href="../num_traits/real/trait.Real.html#tymethod.sqrt">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.exp-1" class="method trait-impl"><a class="src rightside" href="../src/num_traits/real.rs.html#789-833">Source</a><a href="#method.exp-1" class="anchor">§</a><h4 class="code-header">fn <a href="../num_traits/real/trait.Real.html#tymethod.exp" class="fn">exp</a>(self) -> T</h4></section></summary><div class='docblock'>Returns <code>e^(self)</code>, (the exponential function). <a href="../num_traits/real/trait.Real.html#tymethod.exp">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.exp2-1" class="method trait-impl"><a class="src rightside" href="../src/num_traits/real.rs.html#789-833">Source</a><a href="#method.exp2-1" class="anchor">§</a><h4 class="code-header">fn <a href="../num_traits/real/trait.Real.html#tymethod.exp2" class="fn">exp2</a>(self) -> T</h4></section></summary><div class='docblock'>Returns <code>2^(self)</code>. <a href="../num_traits/real/trait.Real.html#tymethod.exp2">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.ln-1" class="method trait-impl"><a class="src rightside" href="../src/num_traits/real.rs.html#789-833">Source</a><a href="#method.ln-1" class="anchor">§</a><h4 class="code-header">fn <a href="../num_traits/real/trait.Real.html#tymethod.ln" class="fn">ln</a>(self) -> T</h4></section></summary><div class='docblock'>Returns the natural logarithm of the number. <a href="../num_traits/real/trait.Real.html#tymethod.ln">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.log-1" class="method trait-impl"><a class="src rightside" href="../src/num_traits/real.rs.html#789-833">Source</a><a href="#method.log-1" class="anchor">§</a><h4 class="code-header">fn <a href="../num_traits/real/trait.Real.html#tymethod.log" class="fn">log</a>(self, base: T) -> T</h4></section></summary><div class='docblock'>Returns the logarithm of the number with respect to an arbitrary base. <a href="../num_traits/real/trait.Real.html#tymethod.log">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.log2-1" class="method trait-impl"><a class="src rightside" href="../src/num_traits/real.rs.html#789-833">Source</a><a href="#method.log2-1" class="anchor">§</a><h4 class="code-header">fn <a href="../num_traits/real/trait.Real.html#tymethod.log2" class="fn">log2</a>(self) -> T</h4></section></summary><div class='docblock'>Returns the base 2 logarithm of the number. <a href="../num_traits/real/trait.Real.html#tymethod.log2">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.log10-1" class="method trait-impl"><a class="src rightside" href="../src/num_traits/real.rs.html#789-833">Source</a><a href="#method.log10-1" class="anchor">§</a><h4 class="code-header">fn <a href="../num_traits/real/trait.Real.html#tymethod.log10" class="fn">log10</a>(self) -> T</h4></section></summary><div class='docblock'>Returns the base 10 logarithm of the number. <a href="../num_traits/real/trait.Real.html#tymethod.log10">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.to_degrees-2" class="method trait-impl"><a class="src rightside" href="../src/num_traits/real.rs.html#789-833">Source</a><a href="#method.to_degrees-2" class="anchor">§</a><h4 class="code-header">fn <a href="../num_traits/real/trait.Real.html#tymethod.to_degrees" class="fn">to_degrees</a>(self) -> T</h4></section></summary><div class='docblock'>Converts radians to degrees. <a href="../num_traits/real/trait.Real.html#tymethod.to_degrees">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.to_radians-2" class="method trait-impl"><a class="src rightside" href="../src/num_traits/real.rs.html#789-833">Source</a><a href="#method.to_radians-2" class="anchor">§</a><h4 class="code-header">fn <a href="../num_traits/real/trait.Real.html#tymethod.to_radians" class="fn">to_radians</a>(self) -> T</h4></section></summary><div class='docblock'>Converts degrees to radians. <a href="../num_traits/real/trait.Real.html#tymethod.to_radians">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.max-3" class="method trait-impl"><a class="src rightside" href="../src/num_traits/real.rs.html#789-833">Source</a><a href="#method.max-3" class="anchor">§</a><h4 class="code-header">fn <a href="../num_traits/real/trait.Real.html#tymethod.max" class="fn">max</a>(self, other: T) -> T</h4></section></summary><div class='docblock'>Returns the maximum of the two numbers. <a href="../num_traits/real/trait.Real.html#tymethod.max">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.min-3" class="method trait-impl"><a class="src rightside" href="../src/num_traits/real.rs.html#789-833">Source</a><a href="#method.min-3" class="anchor">§</a><h4 class="code-header">fn <a href="../num_traits/real/trait.Real.html#tymethod.min" class="fn">min</a>(self, other: T) -> T</h4></section></summary><div class='docblock'>Returns the minimum of the two numbers. <a href="../num_traits/real/trait.Real.html#tymethod.min">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.abs_sub-2" class="method trait-impl"><a class="src rightside" href="../src/num_traits/real.rs.html#789-833">Source</a><a href="#method.abs_sub-2" class="anchor">§</a><h4 class="code-header">fn <a href="../num_traits/real/trait.Real.html#tymethod.abs_sub" class="fn">abs_sub</a>(self, other: T) -> T</h4></section></summary><div class='docblock'>The positive difference of two numbers. <a href="../num_traits/real/trait.Real.html#tymethod.abs_sub">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.cbrt-1" class="method trait-impl"><a class="src rightside" href="../src/num_traits/real.rs.html#789-833">Source</a><a href="#method.cbrt-1" class="anchor">§</a><h4 class="code-header">fn <a href="../num_traits/real/trait.Real.html#tymethod.cbrt" class="fn">cbrt</a>(self) -> T</h4></section></summary><div class='docblock'>Take the cubic root of a number. <a href="../num_traits/real/trait.Real.html#tymethod.cbrt">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.hypot-1" class="method trait-impl"><a class="src rightside" href="../src/num_traits/real.rs.html#789-833">Source</a><a href="#method.hypot-1" class="anchor">§</a><h4 class="code-header">fn <a href="../num_traits/real/trait.Real.html#tymethod.hypot" class="fn">hypot</a>(self, other: T) -> T</h4></section></summary><div class='docblock'>Calculate the length of the hypotenuse of a right-angle triangle given
|
|
legs of length <code>x</code> and <code>y</code>. <a href="../num_traits/real/trait.Real.html#tymethod.hypot">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.sin-1" class="method trait-impl"><a class="src rightside" href="../src/num_traits/real.rs.html#789-833">Source</a><a href="#method.sin-1" class="anchor">§</a><h4 class="code-header">fn <a href="../num_traits/real/trait.Real.html#tymethod.sin" class="fn">sin</a>(self) -> T</h4></section></summary><div class='docblock'>Computes the sine of a number (in radians). <a href="../num_traits/real/trait.Real.html#tymethod.sin">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.cos-1" class="method trait-impl"><a class="src rightside" href="../src/num_traits/real.rs.html#789-833">Source</a><a href="#method.cos-1" class="anchor">§</a><h4 class="code-header">fn <a href="../num_traits/real/trait.Real.html#tymethod.cos" class="fn">cos</a>(self) -> T</h4></section></summary><div class='docblock'>Computes the cosine of a number (in radians). <a href="../num_traits/real/trait.Real.html#tymethod.cos">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.tan-1" class="method trait-impl"><a class="src rightside" href="../src/num_traits/real.rs.html#789-833">Source</a><a href="#method.tan-1" class="anchor">§</a><h4 class="code-header">fn <a href="../num_traits/real/trait.Real.html#tymethod.tan" class="fn">tan</a>(self) -> T</h4></section></summary><div class='docblock'>Computes the tangent of a number (in radians). <a href="../num_traits/real/trait.Real.html#tymethod.tan">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.asin-1" class="method trait-impl"><a class="src rightside" href="../src/num_traits/real.rs.html#789-833">Source</a><a href="#method.asin-1" class="anchor">§</a><h4 class="code-header">fn <a href="../num_traits/real/trait.Real.html#tymethod.asin" class="fn">asin</a>(self) -> T</h4></section></summary><div class='docblock'>Computes the arcsine of a number. Return value is in radians in
|
|
the range [-pi/2, pi/2] or NaN if the number is outside the range
|
|
[-1, 1]. <a href="../num_traits/real/trait.Real.html#tymethod.asin">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.acos-1" class="method trait-impl"><a class="src rightside" href="../src/num_traits/real.rs.html#789-833">Source</a><a href="#method.acos-1" class="anchor">§</a><h4 class="code-header">fn <a href="../num_traits/real/trait.Real.html#tymethod.acos" class="fn">acos</a>(self) -> T</h4></section></summary><div class='docblock'>Computes the arccosine of a number. Return value is in radians in
|
|
the range [0, pi] or NaN if the number is outside the range
|
|
[-1, 1]. <a href="../num_traits/real/trait.Real.html#tymethod.acos">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.atan-1" class="method trait-impl"><a class="src rightside" href="../src/num_traits/real.rs.html#789-833">Source</a><a href="#method.atan-1" class="anchor">§</a><h4 class="code-header">fn <a href="../num_traits/real/trait.Real.html#tymethod.atan" class="fn">atan</a>(self) -> T</h4></section></summary><div class='docblock'>Computes the arctangent of a number. Return value is in radians in the
|
|
range [-pi/2, pi/2]; <a href="../num_traits/real/trait.Real.html#tymethod.atan">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.atan2-1" class="method trait-impl"><a class="src rightside" href="../src/num_traits/real.rs.html#789-833">Source</a><a href="#method.atan2-1" class="anchor">§</a><h4 class="code-header">fn <a href="../num_traits/real/trait.Real.html#tymethod.atan2" class="fn">atan2</a>(self, other: T) -> T</h4></section></summary><div class='docblock'>Computes the four quadrant arctangent of <code>self</code> (<code>y</code>) and <code>other</code> (<code>x</code>). <a href="../num_traits/real/trait.Real.html#tymethod.atan2">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.sin_cos-1" class="method trait-impl"><a class="src rightside" href="../src/num_traits/real.rs.html#789-833">Source</a><a href="#method.sin_cos-1" class="anchor">§</a><h4 class="code-header">fn <a href="../num_traits/real/trait.Real.html#tymethod.sin_cos" class="fn">sin_cos</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">(T, T)</a></h4></section></summary><div class='docblock'>Simultaneously computes the sine and cosine of the number, <code>x</code>. Returns
|
|
<code>(sin(x), cos(x))</code>. <a href="../num_traits/real/trait.Real.html#tymethod.sin_cos">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.exp_m1-1" class="method trait-impl"><a class="src rightside" href="../src/num_traits/real.rs.html#789-833">Source</a><a href="#method.exp_m1-1" class="anchor">§</a><h4 class="code-header">fn <a href="../num_traits/real/trait.Real.html#tymethod.exp_m1" class="fn">exp_m1</a>(self) -> T</h4></section></summary><div class='docblock'>Returns <code>e^(self) - 1</code> in a way that is accurate even if the
|
|
number is close to zero. <a href="../num_traits/real/trait.Real.html#tymethod.exp_m1">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.ln_1p-1" class="method trait-impl"><a class="src rightside" href="../src/num_traits/real.rs.html#789-833">Source</a><a href="#method.ln_1p-1" class="anchor">§</a><h4 class="code-header">fn <a href="../num_traits/real/trait.Real.html#tymethod.ln_1p" class="fn">ln_1p</a>(self) -> T</h4></section></summary><div class='docblock'>Returns <code>ln(1+n)</code> (natural logarithm) more accurately than if
|
|
the operations were performed separately. <a href="../num_traits/real/trait.Real.html#tymethod.ln_1p">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.sinh-1" class="method trait-impl"><a class="src rightside" href="../src/num_traits/real.rs.html#789-833">Source</a><a href="#method.sinh-1" class="anchor">§</a><h4 class="code-header">fn <a href="../num_traits/real/trait.Real.html#tymethod.sinh" class="fn">sinh</a>(self) -> T</h4></section></summary><div class='docblock'>Hyperbolic sine function. <a href="../num_traits/real/trait.Real.html#tymethod.sinh">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.cosh-1" class="method trait-impl"><a class="src rightside" href="../src/num_traits/real.rs.html#789-833">Source</a><a href="#method.cosh-1" class="anchor">§</a><h4 class="code-header">fn <a href="../num_traits/real/trait.Real.html#tymethod.cosh" class="fn">cosh</a>(self) -> T</h4></section></summary><div class='docblock'>Hyperbolic cosine function. <a href="../num_traits/real/trait.Real.html#tymethod.cosh">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.tanh-1" class="method trait-impl"><a class="src rightside" href="../src/num_traits/real.rs.html#789-833">Source</a><a href="#method.tanh-1" class="anchor">§</a><h4 class="code-header">fn <a href="../num_traits/real/trait.Real.html#tymethod.tanh" class="fn">tanh</a>(self) -> T</h4></section></summary><div class='docblock'>Hyperbolic tangent function. <a href="../num_traits/real/trait.Real.html#tymethod.tanh">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.asinh-1" class="method trait-impl"><a class="src rightside" href="../src/num_traits/real.rs.html#789-833">Source</a><a href="#method.asinh-1" class="anchor">§</a><h4 class="code-header">fn <a href="../num_traits/real/trait.Real.html#tymethod.asinh" class="fn">asinh</a>(self) -> T</h4></section></summary><div class='docblock'>Inverse hyperbolic sine function. <a href="../num_traits/real/trait.Real.html#tymethod.asinh">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.acosh-1" class="method trait-impl"><a class="src rightside" href="../src/num_traits/real.rs.html#789-833">Source</a><a href="#method.acosh-1" class="anchor">§</a><h4 class="code-header">fn <a href="../num_traits/real/trait.Real.html#tymethod.acosh" class="fn">acosh</a>(self) -> T</h4></section></summary><div class='docblock'>Inverse hyperbolic cosine function. <a href="../num_traits/real/trait.Real.html#tymethod.acosh">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.atanh-1" class="method trait-impl"><a class="src rightside" href="../src/num_traits/real.rs.html#789-833">Source</a><a href="#method.atanh-1" class="anchor">§</a><h4 class="code-header">fn <a href="../num_traits/real/trait.Real.html#tymethod.atanh" class="fn">atanh</a>(self) -> T</h4></section></summary><div class='docblock'>Inverse hyperbolic tangent function. <a href="../num_traits/real/trait.Real.html#tymethod.atanh">Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Receiver-for-P" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/ops/deref.rs.html#378-380">Source</a><a href="#impl-Receiver-for-P" class="anchor">§</a><h3 class="code-header">impl<P, T> <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/deref/trait.Receiver.html" title="trait core::ops::deref::Receiver">Receiver</a> for P<div class="where">where
|
|
P: <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/deref/trait.Deref.html" title="trait core::ops::deref::Deref">Deref</a><Target = T> + ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,
|
|
T: ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Target-1" class="associatedtype trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/ops/deref.rs.html#382">Source</a><a href="#associatedtype.Target-1" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/nightly/core/ops/deref/trait.Receiver.html#associatedtype.Target" class="associatedtype">Target</a> = T</h4></section></summary><span class="item-info"><div class="stab unstable"><span class="emoji">🔬</span><span>This is a nightly-only experimental API. (<code>arbitrary_self_types</code>)</span></div></span><div class='docblock'>The target type on which the method may be called.</div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-ToOwned-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/alloc/borrow.rs.html#72-74">Source</a><a href="#impl-ToOwned-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html" title="trait alloc::borrow::ToOwned">ToOwned</a> for T<div class="where">where
|
|
T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Owned" class="associatedtype trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/alloc/borrow.rs.html#76">Source</a><a href="#associatedtype.Owned" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#associatedtype.Owned" class="associatedtype">Owned</a> = T</h4></section></summary><div class='docblock'>The resulting type after obtaining ownership.</div></details><details class="toggle method-toggle" open><summary><section id="method.to_owned" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/alloc/borrow.rs.html#77">Source</a><a href="#method.to_owned" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#tymethod.to_owned" class="fn">to_owned</a>(&self) -> T</h4></section></summary><div class='docblock'>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></div></details><details class="toggle method-toggle" open><summary><section id="method.clone_into" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/alloc/borrow.rs.html#81">Source</a><a href="#method.clone_into" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#method.clone_into" class="fn">clone_into</a>(&self, target: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut T</a>)</h4></section></summary><div class='docblock'>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></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-ToString-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/alloc/string.rs.html#2891">Source</a><a href="#impl-ToString-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="https://doc.rust-lang.org/nightly/alloc/string/trait.ToString.html" title="trait alloc::string::ToString">ToString</a> for T<div class="where">where
|
|
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>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.to_string" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/alloc/string.rs.html#2893">Source</a><a href="#method.to_string" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/alloc/string/trait.ToString.html#tymethod.to_string" class="fn">to_string</a>(&self) -> <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html" title="struct alloc::string::String">String</a></h4></section></summary><div class='docblock'>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></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-TryFrom%3CU%3E-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#827-829">Source</a><a href="#impl-TryFrom%3CU%3E-for-T" class="anchor">§</a><h3 class="code-header">impl<T, U> <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a><U> for T<div class="where">where
|
|
U: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a><T>,</div></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Error-1" class="associatedtype trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#831">Source</a><a href="#associatedtype.Error-1" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#associatedtype.Error" class="associatedtype">Error</a> = <a class="enum" href="https://doc.rust-lang.org/nightly/core/convert/enum.Infallible.html" title="enum core::convert::Infallible">Infallible</a></h4></section></summary><div class='docblock'>The type returned in the event of a conversion error.</div></details><details class="toggle method-toggle" open><summary><section id="method.try_from" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#834">Source</a><a href="#method.try_from" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#tymethod.try_from" class="fn">try_from</a>(value: U) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><T, <T as <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a><U>>::<a class="associatedtype" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#associatedtype.Error" title="type core::convert::TryFrom::Error">Error</a>></h4></section></summary><div class='docblock'>Performs the conversion.</div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-TryInto%3CU%3E-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#811-813">Source</a><a href="#impl-TryInto%3CU%3E-for-T" class="anchor">§</a><h3 class="code-header">impl<T, U> <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryInto.html" title="trait core::convert::TryInto">TryInto</a><U> for T<div class="where">where
|
|
U: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a><T>,</div></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Error" class="associatedtype trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#815">Source</a><a href="#associatedtype.Error" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/nightly/core/convert/trait.TryInto.html#associatedtype.Error" class="associatedtype">Error</a> = <U as <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a><T>>::<a class="associatedtype" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#associatedtype.Error" title="type core::convert::TryFrom::Error">Error</a></h4></section></summary><div class='docblock'>The type returned in the event of a conversion error.</div></details><details class="toggle method-toggle" open><summary><section id="method.try_into" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#818">Source</a><a href="#method.try_into" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/convert/trait.TryInto.html#tymethod.try_into" class="fn">try_into</a>(self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><U, <U as <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a><T>>::<a class="associatedtype" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#associatedtype.Error" title="type core::convert::TryFrom::Error">Error</a>></h4></section></summary><div class='docblock'>Performs the conversion.</div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-UpperBounded-for-T" class="impl"><a class="src rightside" href="../src/num_traits/bounds.rs.html#35">Source</a><a href="#impl-UpperBounded-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="../num_traits/bounds/trait.UpperBounded.html" title="trait num_traits::bounds::UpperBounded">UpperBounded</a> for T<div class="where">where
|
|
T: <a class="trait" href="../num_traits/bounds/trait.Bounded.html" title="trait num_traits::bounds::Bounded">Bounded</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.max_value-3" class="method trait-impl"><a class="src rightside" href="../src/num_traits/bounds.rs.html#36">Source</a><a href="#method.max_value-3" class="anchor">§</a><h4 class="code-header">fn <a href="../num_traits/bounds/trait.UpperBounded.html#tymethod.max_value" class="fn">max_value</a>() -> T</h4></section></summary><div class='docblock'>Returns the largest finite number this type can represent</div></details></div></details><section id="impl-NumAssign-for-T" class="impl"><a class="src rightside" href="../src/num_traits/lib.rs.html#152">Source</a><a href="#impl-NumAssign-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="../num_traits/trait.NumAssign.html" title="trait num_traits::NumAssign">NumAssign</a> for T<div class="where">where
|
|
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>,</div></h3></section><section id="impl-NumAssignOps%3CRhs%3E-for-T" class="impl"><a class="src rightside" href="../src/num_traits/lib.rs.html#143-144">Source</a><a href="#impl-NumAssignOps%3CRhs%3E-for-T" class="anchor">§</a><h3 class="code-header">impl<T, Rhs> <a class="trait" href="../num_traits/trait.NumAssignOps.html" title="trait num_traits::NumAssignOps">NumAssignOps</a><Rhs> for T<div class="where">where
|
|
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><Rhs> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.SubAssign.html" title="trait core::ops::arith::SubAssign">SubAssign</a><Rhs> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.MulAssign.html" title="trait core::ops::arith::MulAssign">MulAssign</a><Rhs> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.DivAssign.html" title="trait core::ops::arith::DivAssign">DivAssign</a><Rhs> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.RemAssign.html" title="trait core::ops::arith::RemAssign">RemAssign</a><Rhs>,</div></h3></section><section id="impl-NumAssignRef-for-T" class="impl"><a class="src rightside" href="../src/num_traits/lib.rs.html#159">Source</a><a href="#impl-NumAssignRef-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="../num_traits/trait.NumAssignRef.html" title="trait num_traits::NumAssignRef">NumAssignRef</a> for T<div class="where">where
|
|
T: <a class="trait" href="../num_traits/trait.NumAssign.html" title="trait num_traits::NumAssign">NumAssign</a> + for<'r> <a class="trait" href="../num_traits/trait.NumAssignOps.html" title="trait num_traits::NumAssignOps">NumAssignOps</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'r T</a>>,</div></h3></section><section id="impl-NumOps%3CRhs,+Output%3E-for-T" class="impl"><a class="src rightside" href="../src/num_traits/lib.rs.html#110-115">Source</a><a href="#impl-NumOps%3CRhs,+Output%3E-for-T" class="anchor">§</a><h3 class="code-header">impl<T, Rhs, Output> <a class="trait" href="../num_traits/trait.NumOps.html" title="trait num_traits::NumOps">NumOps</a><Rhs, Output> for T<div class="where">where
|
|
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><Rhs, Output = Output> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html" title="trait core::ops::arith::Mul">Mul</a><Rhs, Output = Output> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html" title="trait core::ops::arith::Div">Div</a><Rhs, Output = Output> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Add.html" title="trait core::ops::arith::Add">Add</a><Rhs, Output = Output> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Rem.html" title="trait core::ops::arith::Rem">Rem</a><Rhs, Output = Output>,</div></h3></section><section id="impl-NumRef-for-T" class="impl"><a class="src rightside" href="../src/num_traits/lib.rs.html#124">Source</a><a href="#impl-NumRef-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="../num_traits/trait.NumRef.html" title="trait num_traits::NumRef">NumRef</a> for T<div class="where">where
|
|
T: <a class="trait" href="../num_traits/trait.Num.html" title="trait num_traits::Num">Num</a> + for<'r> <a class="trait" href="../num_traits/trait.NumOps.html" title="trait num_traits::NumOps">NumOps</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'r T</a>>,</div></h3></section><section id="impl-RefNum%3CBase%3E-for-T" class="impl"><a class="src rightside" href="../src/num_traits/lib.rs.html#133">Source</a><a href="#impl-RefNum%3CBase%3E-for-T" class="anchor">§</a><h3 class="code-header">impl<T, Base> <a class="trait" href="../num_traits/trait.RefNum.html" title="trait num_traits::RefNum">RefNum</a><Base> for T<div class="where">where
|
|
T: <a class="trait" href="../num_traits/trait.NumOps.html" title="trait num_traits::NumOps">NumOps</a><Base, Base> + for<'r> <a class="trait" href="../num_traits/trait.NumOps.html" title="trait num_traits::NumOps">NumOps</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'r Base</a>, Base>,</div></h3></section></div></section></div></main></body></html> |