Auto Generated Documentation

This commit is contained in:
github-actions[bot]
2021-03-14 20:06:11 +00:00
parent fcf47cbac9
commit 799a22692f
11450 changed files with 65837 additions and 83717 deletions
+4 -5
View File
@@ -1,14 +1,14 @@
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `checked` mod in crate `num_traits`."><meta name="keywords" content="rust, rustlang, rust-lang, checked"><title>num_traits::ops::checked - Rust</title><link rel="stylesheet" type="text/css" href="../../../normalize.css"><link rel="stylesheet" type="text/css" href="../../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../../../light.css" id="themeStyle"><link rel="stylesheet" type="text/css" href="../../../dark.css" disabled ><link rel="stylesheet" type="text/css" href="../../../ayu.css" disabled ><script id="default-settings"></script><script src="../../../storage.js"></script><noscript><link rel="stylesheet" href="../../../noscript.css"></noscript><link rel="icon" type="image/svg+xml" href="../../../favicon.svg">
<link rel="alternate icon" type="image/png" href="../../../favicon-16x16.png">
<link rel="alternate icon" type="image/png" href="../../../favicon-32x32.png"><style type="text/css">#crate-search{background-image:url("../../../down-arrow.svg");}</style></head><body class="rustdoc mod"><!--[if lte IE 8]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu">&#9776;</div><a href='../../../num_traits/index.html'><div class='logo-container rust-logo'><img src='../../../rust-logo.png' alt='logo'></div></a><p class="location">Module checked</p><div class="sidebar-elems"><div class="block items"><ul><li><a href="#traits">Traits</a></li></ul></div><p class="location"><a href="../../index.html">num_traits</a>::<wbr><a href="../index.html">ops</a></p><div id="sidebar-vars" data-name="checked" data-ty="mod" data-relpath="../"></div><script defer src="../sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!" aria-haspopup="menu"><img src="../../../brush.svg" width="18" alt="Pick another theme!"></button><div id="theme-choices" role="menu"></div></div><script src="../../../theme.js"></script><nav class="sub"><form class="search-form"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input" name="search" disabled autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"></div><button type="button" class="help-button">?</button>
<a id="settings-menu" href="../../../settings.html"><img src="../../../wheel.svg" width="18" alt="Change settings"></a></div></form></nav><section id="main" class="content"><h1 class="fqn"><span class="in-band">Module <a href="../../index.html">num_traits</a>::<wbr><a href="../index.html">ops</a>::<wbr><a class="mod" href="">checked</a></span><span class="out-of-band"><span id="render-detail"><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">&#x2212;</span>]</a></span><a class="srclink" href="../../../src/num_traits/ops/checked.rs.html#1-277" title="goto source code">[src]</a></span></h1><h2 id="traits" class="section-header"><a href="#traits">Traits</a></h2>
<link rel="alternate icon" type="image/png" href="../../../favicon-32x32.png"><style type="text/css">#crate-search{background-image:url("../../../down-arrow.svg");}</style></head><body class="rustdoc mod"><!--[if lte IE 8]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu">&#9776;</div><a href='../../../num_traits/index.html'><div class='logo-container rust-logo'><img src='../../../rust-logo.png' alt='logo'></div></a><p class="location">Module checked</p><div class="sidebar-elems"><div class="block items"><ul><li><a href="#traits">Traits</a></li></ul></div><p class="location"><a href="../../index.html">num_traits</a>::<wbr><a href="../index.html">ops</a></p><script>window.sidebarCurrent = {name: "checked", ty: "mod", relpath: "../"};</script><script defer src="../sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!" aria-haspopup="menu"><img src="../../../brush.svg" width="18" alt="Pick another theme!"></button><div id="theme-choices" role="menu"></div></div><script src="../../../theme.js"></script><nav class="sub"><form class="search-form"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input" name="search" disabled autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"></div><button type="button" class="help-button">?</button>
<a id="settings-menu" href="../../../settings.html"><img src="../../../wheel.svg" width="18" alt="Change settings"></a></div></form></nav><section id="main" class="content"><h1 class="fqn"><span class="out-of-band"><span id="render-detail"><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">&#x2212;</span>]</a></span><a class="srclink" href="../../../src/num_traits/ops/checked.rs.html#1-277" title="goto source code">[src]</a></span><span class="in-band">Module <a href="../../index.html">num_traits</a>::<wbr><a href="../index.html">ops</a>::<wbr><a class="mod" href="">checked</a></span></h1><h2 id="traits" class="section-header"><a href="#traits">Traits</a></h2>
<table><tr class="module-item"><td><a class="trait" href="trait.CheckedAdd.html" title="num_traits::ops::checked::CheckedAdd trait">CheckedAdd</a></td><td class="docblock-short"><p>Performs addition that returns <code>None</code> instead of wrapping around on
overflow.</p>
</td></tr><tr class="module-item"><td><a class="trait" href="trait.CheckedDiv.html" title="num_traits::ops::checked::CheckedDiv trait">CheckedDiv</a></td><td class="docblock-short"><p>Performs division that returns <code>None</code> instead of panicking on division by zero and instead of
wrapping around on underflow and overflow.</p>
</td></tr><tr class="module-item"><td><a class="trait" href="trait.CheckedMul.html" title="num_traits::ops::checked::CheckedMul trait">CheckedMul</a></td><td class="docblock-short"><p>Performs multiplication that returns <code>None</code> instead of wrapping around on underflow or
overflow.</p>
</td></tr><tr class="module-item"><td><a class="trait" href="trait.CheckedNeg.html" title="num_traits::ops::checked::CheckedNeg trait">CheckedNeg</a></td><td class="docblock-short"><p>Performs negation that returns <code>None</code> if the result cant be represented.</p>
</td></tr><tr class="module-item"><td><a class="trait" href="trait.CheckedNeg.html" title="num_traits::ops::checked::CheckedNeg trait">CheckedNeg</a></td><td class="docblock-short"><p>Performs negation that returns <code>None</code> if the result can't be represented.</p>
</td></tr><tr class="module-item"><td><a class="trait" href="trait.CheckedRem.html" title="num_traits::ops::checked::CheckedRem trait">CheckedRem</a></td><td class="docblock-short"><p>Performs an integral remainder that returns <code>None</code> instead of panicking on division by zero and
instead of wrapping around on underflow and overflow.</p>
</td></tr><tr class="module-item"><td><a class="trait" href="trait.CheckedShl.html" title="num_traits::ops::checked::CheckedShl trait">CheckedShl</a></td><td class="docblock-short"><p>Performs a left shift that returns <code>None</code> on shifts larger than
@@ -16,5 +16,4 @@ the type width.</p>
</td></tr><tr class="module-item"><td><a class="trait" href="trait.CheckedShr.html" title="num_traits::ops::checked::CheckedShr trait">CheckedShr</a></td><td class="docblock-short"><p>Performs a right shift that returns <code>None</code> on shifts larger than
the type width.</p>
</td></tr><tr class="module-item"><td><a class="trait" href="trait.CheckedSub.html" title="num_traits::ops::checked::CheckedSub trait">CheckedSub</a></td><td class="docblock-short"><p>Performs subtraction that returns <code>None</code> instead of wrapping around on underflow.</p>
</td></tr></table></section><section id="search" class="content hidden"></section><section class="footer"></section><div id="rustdoc-vars" data-root-path="../../../" data-current-crate="num_traits"></div>
<script src="../../../main.js"></script><script defer src="../../../search-index.js"></script></body></html>
</td></tr></table></section><section id="search" class="content hidden"></section><section class="footer"></section><script>window.rootPath = "../../../";window.currentCrate = "num_traits";</script><script src="../../../main.js"></script><script defer src="../../../search-index.js"></script></body></html>
+1 -1
View File
@@ -1 +1 @@
initSidebarItems({"trait":[["CheckedAdd","Performs addition that returns `None` instead of wrapping around on overflow."],["CheckedDiv","Performs division that returns `None` instead of panicking on division by zero and instead of wrapping around on underflow and overflow."],["CheckedMul","Performs multiplication that returns `None` instead of wrapping around on underflow or overflow."],["CheckedNeg","Performs negation that returns `None` if the result cant be represented."],["CheckedRem","Performs an integral remainder that returns `None` instead of panicking on division by zero and instead of wrapping around on underflow and overflow."],["CheckedShl","Performs a left shift that returns `None` on shifts larger than the type width."],["CheckedShr","Performs a right shift that returns `None` on shifts larger than the type width."],["CheckedSub","Performs subtraction that returns `None` instead of wrapping around on underflow."]]});
initSidebarItems({"trait":[["CheckedAdd","Performs addition that returns `None` instead of wrapping around on overflow."],["CheckedDiv","Performs division that returns `None` instead of panicking on division by zero and instead of wrapping around on underflow and overflow."],["CheckedMul","Performs multiplication that returns `None` instead of wrapping around on underflow or overflow."],["CheckedNeg","Performs negation that returns `None` if the result can't be represented."],["CheckedRem","Performs an integral remainder that returns `None` instead of panicking on division by zero and instead of wrapping around on underflow and overflow."],["CheckedShl","Performs a left shift that returns `None` on shifts larger than the type width."],["CheckedShr","Performs a right shift that returns `None` on shifts larger than the type width."],["CheckedSub","Performs subtraction that returns `None` instead of wrapping around on underflow."]]});
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+3 -4
View File
@@ -1,6 +1,5 @@
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `ops` mod in crate `num_traits`."><meta name="keywords" content="rust, rustlang, rust-lang, ops"><title>num_traits::ops - Rust</title><link rel="stylesheet" type="text/css" href="../../normalize.css"><link rel="stylesheet" type="text/css" href="../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../../light.css" id="themeStyle"><link rel="stylesheet" type="text/css" href="../../dark.css" disabled ><link rel="stylesheet" type="text/css" href="../../ayu.css" disabled ><script id="default-settings"></script><script src="../../storage.js"></script><noscript><link rel="stylesheet" href="../../noscript.css"></noscript><link rel="icon" type="image/svg+xml" href="../../favicon.svg">
<link rel="alternate icon" type="image/png" href="../../favicon-16x16.png">
<link rel="alternate icon" type="image/png" href="../../favicon-32x32.png"><style type="text/css">#crate-search{background-image:url("../../down-arrow.svg");}</style></head><body class="rustdoc mod"><!--[if lte IE 8]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu">&#9776;</div><a href='../../num_traits/index.html'><div class='logo-container rust-logo'><img src='../../rust-logo.png' alt='logo'></div></a><p class="location">Module ops</p><div class="sidebar-elems"><div class="block items"><ul><li><a href="#modules">Modules</a></li></ul></div><p class="location"><a href="../index.html">num_traits</a></p><div id="sidebar-vars" data-name="ops" data-ty="mod" data-relpath="../"></div><script defer src="../sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!" aria-haspopup="menu"><img src="../../brush.svg" width="18" alt="Pick another theme!"></button><div id="theme-choices" role="menu"></div></div><script src="../../theme.js"></script><nav class="sub"><form class="search-form"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input" name="search" disabled autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"></div><button type="button" class="help-button">?</button>
<a id="settings-menu" href="../../settings.html"><img src="../../wheel.svg" width="18" alt="Change settings"></a></div></form></nav><section id="main" class="content"><h1 class="fqn"><span class="in-band">Module <a href="../index.html">num_traits</a>::<wbr><a class="mod" href="">ops</a></span><span class="out-of-band"><span id="render-detail"><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">&#x2212;</span>]</a></span><a class="srclink" href="../../src/num_traits/ops/mod.rs.html#1-6" title="goto source code">[src]</a></span></h1><h2 id="modules" class="section-header"><a href="#modules">Modules</a></h2>
<table><tr class="module-item"><td><a class="mod" href="checked/index.html" title="num_traits::ops::checked mod">checked</a></td><td class="docblock-short"></td></tr><tr class="module-item"><td><a class="mod" href="inv/index.html" title="num_traits::ops::inv mod">inv</a></td><td class="docblock-short"></td></tr><tr class="module-item"><td><a class="mod" href="mul_add/index.html" title="num_traits::ops::mul_add mod">mul_add</a></td><td class="docblock-short"></td></tr><tr class="module-item"><td><a class="mod" href="overflowing/index.html" title="num_traits::ops::overflowing mod">overflowing</a></td><td class="docblock-short"></td></tr><tr class="module-item"><td><a class="mod" href="saturating/index.html" title="num_traits::ops::saturating mod">saturating</a></td><td class="docblock-short"></td></tr><tr class="module-item"><td><a class="mod" href="wrapping/index.html" title="num_traits::ops::wrapping mod">wrapping</a></td><td class="docblock-short"></td></tr></table></section><section id="search" class="content hidden"></section><section class="footer"></section><div id="rustdoc-vars" data-root-path="../../" data-current-crate="num_traits"></div>
<script src="../../main.js"></script><script defer src="../../search-index.js"></script></body></html>
<link rel="alternate icon" type="image/png" href="../../favicon-32x32.png"><style type="text/css">#crate-search{background-image:url("../../down-arrow.svg");}</style></head><body class="rustdoc mod"><!--[if lte IE 8]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu">&#9776;</div><a href='../../num_traits/index.html'><div class='logo-container rust-logo'><img src='../../rust-logo.png' alt='logo'></div></a><p class="location">Module ops</p><div class="sidebar-elems"><div class="block items"><ul><li><a href="#modules">Modules</a></li></ul></div><p class="location"><a href="../index.html">num_traits</a></p><script>window.sidebarCurrent = {name: "ops", ty: "mod", relpath: "../"};</script><script defer src="../sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!" aria-haspopup="menu"><img src="../../brush.svg" width="18" alt="Pick another theme!"></button><div id="theme-choices" role="menu"></div></div><script src="../../theme.js"></script><nav class="sub"><form class="search-form"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input" name="search" disabled autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"></div><button type="button" class="help-button">?</button>
<a id="settings-menu" href="../../settings.html"><img src="../../wheel.svg" width="18" alt="Change settings"></a></div></form></nav><section id="main" class="content"><h1 class="fqn"><span class="out-of-band"><span id="render-detail"><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">&#x2212;</span>]</a></span><a class="srclink" href="../../src/num_traits/ops/mod.rs.html#1-6" title="goto source code">[src]</a></span><span class="in-band">Module <a href="../index.html">num_traits</a>::<wbr><a class="mod" href="">ops</a></span></h1><h2 id="modules" class="section-header"><a href="#modules">Modules</a></h2>
<table><tr class="module-item"><td><a class="mod" href="checked/index.html" title="num_traits::ops::checked mod">checked</a></td><td class="docblock-short"></td></tr><tr class="module-item"><td><a class="mod" href="inv/index.html" title="num_traits::ops::inv mod">inv</a></td><td class="docblock-short"></td></tr><tr class="module-item"><td><a class="mod" href="mul_add/index.html" title="num_traits::ops::mul_add mod">mul_add</a></td><td class="docblock-short"></td></tr><tr class="module-item"><td><a class="mod" href="overflowing/index.html" title="num_traits::ops::overflowing mod">overflowing</a></td><td class="docblock-short"></td></tr><tr class="module-item"><td><a class="mod" href="saturating/index.html" title="num_traits::ops::saturating mod">saturating</a></td><td class="docblock-short"></td></tr><tr class="module-item"><td><a class="mod" href="wrapping/index.html" title="num_traits::ops::wrapping mod">wrapping</a></td><td class="docblock-short"></td></tr></table></section><section id="search" class="content hidden"></section><section class="footer"></section><script>window.rootPath = "../../";window.currentCrate = "num_traits";</script><script src="../../main.js"></script><script defer src="../../search-index.js"></script></body></html>
+3 -4
View File
@@ -1,7 +1,6 @@
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `inv` mod in crate `num_traits`."><meta name="keywords" content="rust, rustlang, rust-lang, inv"><title>num_traits::ops::inv - Rust</title><link rel="stylesheet" type="text/css" href="../../../normalize.css"><link rel="stylesheet" type="text/css" href="../../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../../../light.css" id="themeStyle"><link rel="stylesheet" type="text/css" href="../../../dark.css" disabled ><link rel="stylesheet" type="text/css" href="../../../ayu.css" disabled ><script id="default-settings"></script><script src="../../../storage.js"></script><noscript><link rel="stylesheet" href="../../../noscript.css"></noscript><link rel="icon" type="image/svg+xml" href="../../../favicon.svg">
<link rel="alternate icon" type="image/png" href="../../../favicon-16x16.png">
<link rel="alternate icon" type="image/png" href="../../../favicon-32x32.png"><style type="text/css">#crate-search{background-image:url("../../../down-arrow.svg");}</style></head><body class="rustdoc mod"><!--[if lte IE 8]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu">&#9776;</div><a href='../../../num_traits/index.html'><div class='logo-container rust-logo'><img src='../../../rust-logo.png' alt='logo'></div></a><p class="location">Module inv</p><div class="sidebar-elems"><div class="block items"><ul><li><a href="#traits">Traits</a></li></ul></div><p class="location"><a href="../../index.html">num_traits</a>::<wbr><a href="../index.html">ops</a></p><div id="sidebar-vars" data-name="inv" data-ty="mod" data-relpath="../"></div><script defer src="../sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!" aria-haspopup="menu"><img src="../../../brush.svg" width="18" alt="Pick another theme!"></button><div id="theme-choices" role="menu"></div></div><script src="../../../theme.js"></script><nav class="sub"><form class="search-form"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input" name="search" disabled autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"></div><button type="button" class="help-button">?</button>
<a id="settings-menu" href="../../../settings.html"><img src="../../../wheel.svg" width="18" alt="Change settings"></a></div></form></nav><section id="main" class="content"><h1 class="fqn"><span class="in-band">Module <a href="../../index.html">num_traits</a>::<wbr><a href="../index.html">ops</a>::<wbr><a class="mod" href="">inv</a></span><span class="out-of-band"><span id="render-detail"><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">&#x2212;</span>]</a></span><a class="srclink" href="../../../src/num_traits/ops/inv.rs.html#1-47" title="goto source code">[src]</a></span></h1><h2 id="traits" class="section-header"><a href="#traits">Traits</a></h2>
<link rel="alternate icon" type="image/png" href="../../../favicon-32x32.png"><style type="text/css">#crate-search{background-image:url("../../../down-arrow.svg");}</style></head><body class="rustdoc mod"><!--[if lte IE 8]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu">&#9776;</div><a href='../../../num_traits/index.html'><div class='logo-container rust-logo'><img src='../../../rust-logo.png' alt='logo'></div></a><p class="location">Module inv</p><div class="sidebar-elems"><div class="block items"><ul><li><a href="#traits">Traits</a></li></ul></div><p class="location"><a href="../../index.html">num_traits</a>::<wbr><a href="../index.html">ops</a></p><script>window.sidebarCurrent = {name: "inv", ty: "mod", relpath: "../"};</script><script defer src="../sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!" aria-haspopup="menu"><img src="../../../brush.svg" width="18" alt="Pick another theme!"></button><div id="theme-choices" role="menu"></div></div><script src="../../../theme.js"></script><nav class="sub"><form class="search-form"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input" name="search" disabled autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"></div><button type="button" class="help-button">?</button>
<a id="settings-menu" href="../../../settings.html"><img src="../../../wheel.svg" width="18" alt="Change settings"></a></div></form></nav><section id="main" class="content"><h1 class="fqn"><span class="out-of-band"><span id="render-detail"><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">&#x2212;</span>]</a></span><a class="srclink" href="../../../src/num_traits/ops/inv.rs.html#1-47" title="goto source code">[src]</a></span><span class="in-band">Module <a href="../../index.html">num_traits</a>::<wbr><a href="../index.html">ops</a>::<wbr><a class="mod" href="">inv</a></span></h1><h2 id="traits" class="section-header"><a href="#traits">Traits</a></h2>
<table><tr class="module-item"><td><a class="trait" href="trait.Inv.html" title="num_traits::ops::inv::Inv trait">Inv</a></td><td class="docblock-short"><p>Unary operator for retrieving the multiplicative inverse, or reciprocal, of a value.</p>
</td></tr></table></section><section id="search" class="content hidden"></section><section class="footer"></section><div id="rustdoc-vars" data-root-path="../../../" data-current-crate="num_traits"></div>
<script src="../../../main.js"></script><script defer src="../../../search-index.js"></script></body></html>
</td></tr></table></section><section id="search" class="content hidden"></section><section class="footer"></section><script>window.rootPath = "../../../";window.currentCrate = "num_traits";</script><script src="../../../main.js"></script><script defer src="../../../search-index.js"></script></body></html>
+4 -5
View File
@@ -1,7 +1,7 @@
<!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="Unary operator for retrieving the multiplicative inverse, or reciprocal, of a value."><meta name="keywords" content="rust, rustlang, rust-lang, Inv"><title>num_traits::ops::inv::Inv - Rust</title><link rel="stylesheet" type="text/css" href="../../../normalize.css"><link rel="stylesheet" type="text/css" href="../../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../../../light.css" id="themeStyle"><link rel="stylesheet" type="text/css" href="../../../dark.css" disabled ><link rel="stylesheet" type="text/css" href="../../../ayu.css" disabled ><script id="default-settings"></script><script src="../../../storage.js"></script><noscript><link rel="stylesheet" href="../../../noscript.css"></noscript><link rel="icon" type="image/svg+xml" href="../../../favicon.svg">
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `Inv` trait in crate `num_traits`."><meta name="keywords" content="rust, rustlang, rust-lang, Inv"><title>num_traits::ops::inv::Inv - Rust</title><link rel="stylesheet" type="text/css" href="../../../normalize.css"><link rel="stylesheet" type="text/css" href="../../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../../../light.css" id="themeStyle"><link rel="stylesheet" type="text/css" href="../../../dark.css" disabled ><link rel="stylesheet" type="text/css" href="../../../ayu.css" disabled ><script id="default-settings"></script><script src="../../../storage.js"></script><noscript><link rel="stylesheet" href="../../../noscript.css"></noscript><link rel="icon" type="image/svg+xml" href="../../../favicon.svg">
<link rel="alternate icon" type="image/png" href="../../../favicon-16x16.png">
<link rel="alternate icon" type="image/png" href="../../../favicon-32x32.png"><style type="text/css">#crate-search{background-image:url("../../../down-arrow.svg");}</style></head><body class="rustdoc trait"><!--[if lte IE 8]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu">&#9776;</div><a href='../../../num_traits/index.html'><div class='logo-container rust-logo'><img src='../../../rust-logo.png' alt='logo'></div></a><p class="location">Trait Inv</p><div class="sidebar-elems"><div class="block items"><a class="sidebar-title" href="#associated-types">Associated Types</a><div class="sidebar-links"><a href="#associatedtype.Output">Output</a></div><a class="sidebar-title" href="#required-methods">Required Methods</a><div class="sidebar-links"><a href="#tymethod.inv">inv</a></div><a class="sidebar-title" href="#implementors">Implementors</a></div><p class="location"><a href="../../index.html">num_traits</a>::<wbr><a href="../index.html">ops</a>::<wbr><a href="index.html">inv</a></p><div id="sidebar-vars" data-name="Inv" data-ty="trait" data-relpath=""></div><script defer src="sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!" aria-haspopup="menu"><img src="../../../brush.svg" width="18" alt="Pick another theme!"></button><div id="theme-choices" role="menu"></div></div><script src="../../../theme.js"></script><nav class="sub"><form class="search-form"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input" name="search" disabled autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"></div><button type="button" class="help-button">?</button>
<a id="settings-menu" href="../../../settings.html"><img src="../../../wheel.svg" width="18" alt="Change settings"></a></div></form></nav><section id="main" class="content"><h1 class="fqn"><span class="in-band">Trait <a href="../../index.html">num_traits</a>::<wbr><a href="../index.html">ops</a>::<wbr><a href="index.html">inv</a>::<wbr><a class="trait" href="">Inv</a></span><span class="out-of-band"><span id="render-detail"><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">&#x2212;</span>]</a></span><a class="srclink" href="../../../src/num_traits/ops/inv.rs.html#2-18" title="goto source code">[src]</a></span></h1><div class="docblock type-decl hidden-by-usual-hider"><pre class="rust trait">pub trait Inv {
<link rel="alternate icon" type="image/png" href="../../../favicon-32x32.png"><style type="text/css">#crate-search{background-image:url("../../../down-arrow.svg");}</style></head><body class="rustdoc trait"><!--[if lte IE 8]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu">&#9776;</div><a href='../../../num_traits/index.html'><div class='logo-container rust-logo'><img src='../../../rust-logo.png' alt='logo'></div></a><p class="location">Trait Inv</p><div class="sidebar-elems"><div class="block items"><a class="sidebar-title" href="#associated-types">Associated Types</a><div class="sidebar-links"><a href="#associatedtype.Output">Output</a></div><a class="sidebar-title" href="#required-methods">Required Methods</a><div class="sidebar-links"><a href="#tymethod.inv">inv</a></div><a class="sidebar-title" href="#implementors">Implementors</a></div><p class="location"><a href="../../index.html">num_traits</a>::<wbr><a href="../index.html">ops</a>::<wbr><a href="index.html">inv</a></p><script>window.sidebarCurrent = {name: "Inv", ty: "trait", relpath: ""};</script><script defer src="sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!" aria-haspopup="menu"><img src="../../../brush.svg" width="18" alt="Pick another theme!"></button><div id="theme-choices" role="menu"></div></div><script src="../../../theme.js"></script><nav class="sub"><form class="search-form"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input" name="search" disabled autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"></div><button type="button" class="help-button">?</button>
<a id="settings-menu" href="../../../settings.html"><img src="../../../wheel.svg" width="18" alt="Change settings"></a></div></form></nav><section id="main" class="content"><h1 class="fqn"><span class="out-of-band"><span id="render-detail"><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">&#x2212;</span>]</a></span><a class="srclink" href="../../../src/num_traits/ops/inv.rs.html#2-18" title="goto source code">[src]</a></span><span class="in-band">Trait <a href="../../index.html">num_traits</a>::<wbr><a href="../index.html">ops</a>::<wbr><a href="index.html">inv</a>::<wbr><a class="trait" href="">Inv</a></span></h1><div class="docblock type-decl hidden-by-usual-hider"><pre class="rust trait">pub trait Inv {
type <a href="#associatedtype.Output" class="type">Output</a>;
fn <a href="#tymethod.inv" class="fnname">inv</a>(self) -&gt; Self::<a class="type" href="../../../num_traits/ops/inv/trait.Inv.html#associatedtype.Output" title="type num_traits::ops::inv::Inv::Output">Output</a>;
}</pre></div><div class="docblock"><p>Unary operator for retrieving the multiplicative inverse, or reciprocal, of a value.</p>
@@ -14,5 +14,4 @@
<span class="macro">assert_eq</span><span class="macro">!</span>(<span class="number">7.0</span>.<span class="ident">inv</span>() <span class="op">*</span> <span class="number">7.0</span>, <span class="number">1.0</span>);
<span class="macro">assert_eq</span><span class="macro">!</span>((<span class="op">-</span><span class="number">0.0</span>).<span class="ident">inv</span>(), <span class="op">-</span><span class="ident">INFINITY</span>);</pre></div>
</div></div><span class="loading-content">Loading content...</span><h2 id="implementors" class="small-section-header">Implementors<a href="#implementors" class="anchor"></a></h2><div class="item-list" id="implementors-list"><h3 id="impl-Inv" class="impl"><code class="in-band">impl <a class="trait" href="../../../num_traits/ops/inv/trait.Inv.html" title="trait num_traits::ops::inv::Inv">Inv</a> for f32</code><a href="#impl-Inv" class="anchor"></a><a class="srclink" href="../../../src/num_traits/ops/inv.rs.html#20-26" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="associatedtype.Output-1" class="type"><code>type <a href="#associatedtype.Output-1" class="type">Output</a> = f32</code></h4><h4 id="method.inv" class="method hidden"><code>fn <a href="#method.inv" class="fnname">inv</a>(self) -&gt; f32</code><a class="srclink" href="../../../src/num_traits/ops/inv.rs.html#23-25" title="goto source code">[src]</a></h4></div><h3 id="impl-Inv-1" class="impl"><code class="in-band">impl <a class="trait" href="../../../num_traits/ops/inv/trait.Inv.html" title="trait num_traits::ops::inv::Inv">Inv</a> for f64</code><a href="#impl-Inv-1" class="anchor"></a><a class="srclink" href="../../../src/num_traits/ops/inv.rs.html#27-33" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="associatedtype.Output-2" class="type"><code>type <a href="#associatedtype.Output-2" class="type">Output</a> = f64</code></h4><h4 id="method.inv-1" class="method hidden"><code>fn <a href="#method.inv-1" class="fnname">inv</a>(self) -&gt; f64</code><a class="srclink" href="../../../src/num_traits/ops/inv.rs.html#30-32" title="goto source code">[src]</a></h4></div><h3 id="impl-Inv-2" class="impl"><code class="in-band">impl&lt;'a&gt; <a class="trait" href="../../../num_traits/ops/inv/trait.Inv.html" title="trait num_traits::ops::inv::Inv">Inv</a> for &amp;'a f32</code><a href="#impl-Inv-2" class="anchor"></a><a class="srclink" href="../../../src/num_traits/ops/inv.rs.html#34-40" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="associatedtype.Output-3" class="type"><code>type <a href="#associatedtype.Output-3" class="type">Output</a> = f32</code></h4><h4 id="method.inv-2" class="method hidden"><code>fn <a href="#method.inv-2" class="fnname">inv</a>(self) -&gt; f32</code><a class="srclink" href="../../../src/num_traits/ops/inv.rs.html#37-39" title="goto source code">[src]</a></h4></div><h3 id="impl-Inv-3" class="impl"><code class="in-band">impl&lt;'a&gt; <a class="trait" href="../../../num_traits/ops/inv/trait.Inv.html" title="trait num_traits::ops::inv::Inv">Inv</a> for &amp;'a f64</code><a href="#impl-Inv-3" class="anchor"></a><a class="srclink" href="../../../src/num_traits/ops/inv.rs.html#41-47" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="associatedtype.Output-4" class="type"><code>type <a href="#associatedtype.Output-4" class="type">Output</a> = f64</code></h4><h4 id="method.inv-3" class="method hidden"><code>fn <a href="#method.inv-3" class="fnname">inv</a>(self) -&gt; f64</code><a class="srclink" href="../../../src/num_traits/ops/inv.rs.html#44-46" title="goto source code">[src]</a></h4></div></div><span class="loading-content">Loading content...</span><script type="text/javascript" src="../../../implementors/num_traits/ops/inv/trait.Inv.js" async></script></section><section id="search" class="content hidden"></section><section class="footer"></section><div id="rustdoc-vars" data-root-path="../../../" data-current-crate="num_traits"></div>
<script src="../../../main.js"></script><script defer src="../../../search-index.js"></script></body></html>
</div></div><span class="loading-content">Loading content...</span><h2 id="implementors" class="small-section-header">Implementors<a href="#implementors" class="anchor"></a></h2><div class="item-list" id="implementors-list"><h3 id="impl-Inv" class="impl"><code class="in-band">impl Inv for f32</code><a href="#impl-Inv" class="anchor"></a><a class="srclink" href="../../../src/num_traits/ops/inv.rs.html#20-26" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="associatedtype.Output-1" class="type"><code>type <a href="#associatedtype.Output-1" class="type">Output</a> = f32</code></h4><h4 id="method.inv" class="method hidden"><code>fn <a href="#method.inv" class="fnname">inv</a>(self) -&gt; f32</code><a class="srclink" href="../../../src/num_traits/ops/inv.rs.html#23-25" title="goto source code">[src]</a></h4></div><h3 id="impl-Inv-1" class="impl"><code class="in-band">impl Inv for f64</code><a href="#impl-Inv-1" class="anchor"></a><a class="srclink" href="../../../src/num_traits/ops/inv.rs.html#27-33" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="associatedtype.Output-2" class="type"><code>type <a href="#associatedtype.Output-2" class="type">Output</a> = f64</code></h4><h4 id="method.inv-1" class="method hidden"><code>fn <a href="#method.inv-1" class="fnname">inv</a>(self) -&gt; f64</code><a class="srclink" href="../../../src/num_traits/ops/inv.rs.html#30-32" title="goto source code">[src]</a></h4></div><h3 id="impl-Inv-2" class="impl"><code class="in-band">impl&lt;'a&gt; Inv for &amp;'a f32</code><a href="#impl-Inv-2" class="anchor"></a><a class="srclink" href="../../../src/num_traits/ops/inv.rs.html#34-40" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="associatedtype.Output-3" class="type"><code>type <a href="#associatedtype.Output-3" class="type">Output</a> = f32</code></h4><h4 id="method.inv-2" class="method hidden"><code>fn <a href="#method.inv-2" class="fnname">inv</a>(self) -&gt; f32</code><a class="srclink" href="../../../src/num_traits/ops/inv.rs.html#37-39" title="goto source code">[src]</a></h4></div><h3 id="impl-Inv-3" class="impl"><code class="in-band">impl&lt;'a&gt; Inv for &amp;'a f64</code><a href="#impl-Inv-3" class="anchor"></a><a class="srclink" href="../../../src/num_traits/ops/inv.rs.html#41-47" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="associatedtype.Output-4" class="type"><code>type <a href="#associatedtype.Output-4" class="type">Output</a> = f64</code></h4><h4 id="method.inv-3" class="method hidden"><code>fn <a href="#method.inv-3" class="fnname">inv</a>(self) -&gt; f64</code><a class="srclink" href="../../../src/num_traits/ops/inv.rs.html#44-46" title="goto source code">[src]</a></h4></div></div><span class="loading-content">Loading content...</span><script type="text/javascript" src="../../../implementors/num_traits/ops/inv/trait.Inv.js" async></script></section><section id="search" class="content hidden"></section><section class="footer"></section><script>window.rootPath = "../../../";window.currentCrate = "num_traits";</script><script src="../../../main.js"></script><script defer src="../../../search-index.js"></script></body></html>
+3 -4
View File
@@ -1,9 +1,8 @@
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `mul_add` mod in crate `num_traits`."><meta name="keywords" content="rust, rustlang, rust-lang, mul_add"><title>num_traits::ops::mul_add - Rust</title><link rel="stylesheet" type="text/css" href="../../../normalize.css"><link rel="stylesheet" type="text/css" href="../../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../../../light.css" id="themeStyle"><link rel="stylesheet" type="text/css" href="../../../dark.css" disabled ><link rel="stylesheet" type="text/css" href="../../../ayu.css" disabled ><script id="default-settings"></script><script src="../../../storage.js"></script><noscript><link rel="stylesheet" href="../../../noscript.css"></noscript><link rel="icon" type="image/svg+xml" href="../../../favicon.svg">
<link rel="alternate icon" type="image/png" href="../../../favicon-16x16.png">
<link rel="alternate icon" type="image/png" href="../../../favicon-32x32.png"><style type="text/css">#crate-search{background-image:url("../../../down-arrow.svg");}</style></head><body class="rustdoc mod"><!--[if lte IE 8]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu">&#9776;</div><a href='../../../num_traits/index.html'><div class='logo-container rust-logo'><img src='../../../rust-logo.png' alt='logo'></div></a><p class="location">Module mul_add</p><div class="sidebar-elems"><div class="block items"><ul><li><a href="#traits">Traits</a></li></ul></div><p class="location"><a href="../../index.html">num_traits</a>::<wbr><a href="../index.html">ops</a></p><div id="sidebar-vars" data-name="mul_add" data-ty="mod" data-relpath="../"></div><script defer src="../sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!" aria-haspopup="menu"><img src="../../../brush.svg" width="18" alt="Pick another theme!"></button><div id="theme-choices" role="menu"></div></div><script src="../../../theme.js"></script><nav class="sub"><form class="search-form"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input" name="search" disabled autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"></div><button type="button" class="help-button">?</button>
<a id="settings-menu" href="../../../settings.html"><img src="../../../wheel.svg" width="18" alt="Change settings"></a></div></form></nav><section id="main" class="content"><h1 class="fqn"><span class="in-band">Module <a href="../../index.html">num_traits</a>::<wbr><a href="../index.html">ops</a>::<wbr><a class="mod" href="">mul_add</a></span><span class="out-of-band"><span id="render-detail"><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">&#x2212;</span>]</a></span><a class="srclink" href="../../../src/num_traits/ops/mul_add.rs.html#1-151" title="goto source code">[src]</a></span></h1><h2 id="traits" class="section-header"><a href="#traits">Traits</a></h2>
<link rel="alternate icon" type="image/png" href="../../../favicon-32x32.png"><style type="text/css">#crate-search{background-image:url("../../../down-arrow.svg");}</style></head><body class="rustdoc mod"><!--[if lte IE 8]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu">&#9776;</div><a href='../../../num_traits/index.html'><div class='logo-container rust-logo'><img src='../../../rust-logo.png' alt='logo'></div></a><p class="location">Module mul_add</p><div class="sidebar-elems"><div class="block items"><ul><li><a href="#traits">Traits</a></li></ul></div><p class="location"><a href="../../index.html">num_traits</a>::<wbr><a href="../index.html">ops</a></p><script>window.sidebarCurrent = {name: "mul_add", ty: "mod", relpath: "../"};</script><script defer src="../sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!" aria-haspopup="menu"><img src="../../../brush.svg" width="18" alt="Pick another theme!"></button><div id="theme-choices" role="menu"></div></div><script src="../../../theme.js"></script><nav class="sub"><form class="search-form"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input" name="search" disabled autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"></div><button type="button" class="help-button">?</button>
<a id="settings-menu" href="../../../settings.html"><img src="../../../wheel.svg" width="18" alt="Change settings"></a></div></form></nav><section id="main" class="content"><h1 class="fqn"><span class="out-of-band"><span id="render-detail"><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">&#x2212;</span>]</a></span><a class="srclink" href="../../../src/num_traits/ops/mul_add.rs.html#1-151" title="goto source code">[src]</a></span><span class="in-band">Module <a href="../../index.html">num_traits</a>::<wbr><a href="../index.html">ops</a>::<wbr><a class="mod" href="">mul_add</a></span></h1><h2 id="traits" class="section-header"><a href="#traits">Traits</a></h2>
<table><tr class="module-item"><td><a class="trait" href="trait.MulAdd.html" title="num_traits::ops::mul_add::MulAdd trait">MulAdd</a></td><td class="docblock-short"><p>Fused multiply-add. Computes <code>(self * a) + b</code> with only one rounding
error, yielding a more accurate result than an unfused multiply-add.</p>
</td></tr><tr class="module-item"><td><a class="trait" href="trait.MulAddAssign.html" title="num_traits::ops::mul_add::MulAddAssign trait">MulAddAssign</a></td><td class="docblock-short"><p>The fused multiply-add assignment operation.</p>
</td></tr></table></section><section id="search" class="content hidden"></section><section class="footer"></section><div id="rustdoc-vars" data-root-path="../../../" data-current-crate="num_traits"></div>
<script src="../../../main.js"></script><script defer src="../../../search-index.js"></script></body></html>
</td></tr></table></section><section id="search" class="content hidden"></section><section class="footer"></section><script>window.rootPath = "../../../";window.currentCrate = "num_traits";</script><script src="../../../main.js"></script><script defer src="../../../search-index.js"></script></body></html>
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+3 -4
View File
@@ -1,9 +1,8 @@
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `overflowing` mod in crate `num_traits`."><meta name="keywords" content="rust, rustlang, rust-lang, overflowing"><title>num_traits::ops::overflowing - Rust</title><link rel="stylesheet" type="text/css" href="../../../normalize.css"><link rel="stylesheet" type="text/css" href="../../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../../../light.css" id="themeStyle"><link rel="stylesheet" type="text/css" href="../../../dark.css" disabled ><link rel="stylesheet" type="text/css" href="../../../ayu.css" disabled ><script id="default-settings"></script><script src="../../../storage.js"></script><noscript><link rel="stylesheet" href="../../../noscript.css"></noscript><link rel="icon" type="image/svg+xml" href="../../../favicon.svg">
<link rel="alternate icon" type="image/png" href="../../../favicon-16x16.png">
<link rel="alternate icon" type="image/png" href="../../../favicon-32x32.png"><style type="text/css">#crate-search{background-image:url("../../../down-arrow.svg");}</style></head><body class="rustdoc mod"><!--[if lte IE 8]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu">&#9776;</div><a href='../../../num_traits/index.html'><div class='logo-container rust-logo'><img src='../../../rust-logo.png' alt='logo'></div></a><p class="location">Module overflowing</p><div class="sidebar-elems"><div class="block items"><ul><li><a href="#traits">Traits</a></li></ul></div><p class="location"><a href="../../index.html">num_traits</a>::<wbr><a href="../index.html">ops</a></p><div id="sidebar-vars" data-name="overflowing" data-ty="mod" data-relpath="../"></div><script defer src="../sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!" aria-haspopup="menu"><img src="../../../brush.svg" width="18" alt="Pick another theme!"></button><div id="theme-choices" role="menu"></div></div><script src="../../../theme.js"></script><nav class="sub"><form class="search-form"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input" name="search" disabled autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"></div><button type="button" class="help-button">?</button>
<a id="settings-menu" href="../../../settings.html"><img src="../../../wheel.svg" width="18" alt="Change settings"></a></div></form></nav><section id="main" class="content"><h1 class="fqn"><span class="in-band">Module <a href="../../index.html">num_traits</a>::<wbr><a href="../index.html">ops</a>::<wbr><a class="mod" href="">overflowing</a></span><span class="out-of-band"><span id="render-detail"><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">&#x2212;</span>]</a></span><a class="srclink" href="../../../src/num_traits/ops/overflowing.rs.html#1-104" title="goto source code">[src]</a></span></h1><h2 id="traits" class="section-header"><a href="#traits">Traits</a></h2>
<link rel="alternate icon" type="image/png" href="../../../favicon-32x32.png"><style type="text/css">#crate-search{background-image:url("../../../down-arrow.svg");}</style></head><body class="rustdoc mod"><!--[if lte IE 8]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu">&#9776;</div><a href='../../../num_traits/index.html'><div class='logo-container rust-logo'><img src='../../../rust-logo.png' alt='logo'></div></a><p class="location">Module overflowing</p><div class="sidebar-elems"><div class="block items"><ul><li><a href="#traits">Traits</a></li></ul></div><p class="location"><a href="../../index.html">num_traits</a>::<wbr><a href="../index.html">ops</a></p><script>window.sidebarCurrent = {name: "overflowing", ty: "mod", relpath: "../"};</script><script defer src="../sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!" aria-haspopup="menu"><img src="../../../brush.svg" width="18" alt="Pick another theme!"></button><div id="theme-choices" role="menu"></div></div><script src="../../../theme.js"></script><nav class="sub"><form class="search-form"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input" name="search" disabled autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"></div><button type="button" class="help-button">?</button>
<a id="settings-menu" href="../../../settings.html"><img src="../../../wheel.svg" width="18" alt="Change settings"></a></div></form></nav><section id="main" class="content"><h1 class="fqn"><span class="out-of-band"><span id="render-detail"><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">&#x2212;</span>]</a></span><a class="srclink" href="../../../src/num_traits/ops/overflowing.rs.html#1-104" title="goto source code">[src]</a></span><span class="in-band">Module <a href="../../index.html">num_traits</a>::<wbr><a href="../index.html">ops</a>::<wbr><a class="mod" href="">overflowing</a></span></h1><h2 id="traits" class="section-header"><a href="#traits">Traits</a></h2>
<table><tr class="module-item"><td><a class="trait" href="trait.OverflowingAdd.html" title="num_traits::ops::overflowing::OverflowingAdd trait">OverflowingAdd</a></td><td class="docblock-short"><p>Performs addition with a flag for overflow.</p>
</td></tr><tr class="module-item"><td><a class="trait" href="trait.OverflowingMul.html" title="num_traits::ops::overflowing::OverflowingMul trait">OverflowingMul</a></td><td class="docblock-short"><p>Performs multiplication with a flag for overflow.</p>
</td></tr><tr class="module-item"><td><a class="trait" href="trait.OverflowingSub.html" title="num_traits::ops::overflowing::OverflowingSub trait">OverflowingSub</a></td><td class="docblock-short"><p>Performs substraction with a flag for overflow.</p>
</td></tr></table></section><section id="search" class="content hidden"></section><section class="footer"></section><div id="rustdoc-vars" data-root-path="../../../" data-current-crate="num_traits"></div>
<script src="../../../main.js"></script><script defer src="../../../search-index.js"></script></body></html>
</td></tr></table></section><section id="search" class="content hidden"></section><section class="footer"></section><script>window.rootPath = "../../../";window.currentCrate = "num_traits";</script><script src="../../../main.js"></script><script defer src="../../../search-index.js"></script></body></html>
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+3 -4
View File
@@ -1,11 +1,10 @@
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `saturating` mod in crate `num_traits`."><meta name="keywords" content="rust, rustlang, rust-lang, saturating"><title>num_traits::ops::saturating - Rust</title><link rel="stylesheet" type="text/css" href="../../../normalize.css"><link rel="stylesheet" type="text/css" href="../../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../../../light.css" id="themeStyle"><link rel="stylesheet" type="text/css" href="../../../dark.css" disabled ><link rel="stylesheet" type="text/css" href="../../../ayu.css" disabled ><script id="default-settings"></script><script src="../../../storage.js"></script><noscript><link rel="stylesheet" href="../../../noscript.css"></noscript><link rel="icon" type="image/svg+xml" href="../../../favicon.svg">
<link rel="alternate icon" type="image/png" href="../../../favicon-16x16.png">
<link rel="alternate icon" type="image/png" href="../../../favicon-32x32.png"><style type="text/css">#crate-search{background-image:url("../../../down-arrow.svg");}</style></head><body class="rustdoc mod"><!--[if lte IE 8]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu">&#9776;</div><a href='../../../num_traits/index.html'><div class='logo-container rust-logo'><img src='../../../rust-logo.png' alt='logo'></div></a><p class="location">Module saturating</p><div class="sidebar-elems"><div class="block items"><ul><li><a href="#traits">Traits</a></li></ul></div><p class="location"><a href="../../index.html">num_traits</a>::<wbr><a href="../index.html">ops</a></p><div id="sidebar-vars" data-name="saturating" data-ty="mod" data-relpath="../"></div><script defer src="../sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!" aria-haspopup="menu"><img src="../../../brush.svg" width="18" alt="Pick another theme!"></button><div id="theme-choices" role="menu"></div></div><script src="../../../theme.js"></script><nav class="sub"><form class="search-form"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input" name="search" disabled autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"></div><button type="button" class="help-button">?</button>
<a id="settings-menu" href="../../../settings.html"><img src="../../../wheel.svg" width="18" alt="Change settings"></a></div></form></nav><section id="main" class="content"><h1 class="fqn"><span class="in-band">Module <a href="../../index.html">num_traits</a>::<wbr><a href="../index.html">ops</a>::<wbr><a class="mod" href="">saturating</a></span><span class="out-of-band"><span id="render-detail"><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">&#x2212;</span>]</a></span><a class="srclink" href="../../../src/num_traits/ops/saturating.rs.html#1-137" title="goto source code">[src]</a></span></h1><h2 id="traits" class="section-header"><a href="#traits">Traits</a></h2>
<link rel="alternate icon" type="image/png" href="../../../favicon-32x32.png"><style type="text/css">#crate-search{background-image:url("../../../down-arrow.svg");}</style></head><body class="rustdoc mod"><!--[if lte IE 8]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu">&#9776;</div><a href='../../../num_traits/index.html'><div class='logo-container rust-logo'><img src='../../../rust-logo.png' alt='logo'></div></a><p class="location">Module saturating</p><div class="sidebar-elems"><div class="block items"><ul><li><a href="#traits">Traits</a></li></ul></div><p class="location"><a href="../../index.html">num_traits</a>::<wbr><a href="../index.html">ops</a></p><script>window.sidebarCurrent = {name: "saturating", ty: "mod", relpath: "../"};</script><script defer src="../sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!" aria-haspopup="menu"><img src="../../../brush.svg" width="18" alt="Pick another theme!"></button><div id="theme-choices" role="menu"></div></div><script src="../../../theme.js"></script><nav class="sub"><form class="search-form"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input" name="search" disabled autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"></div><button type="button" class="help-button">?</button>
<a id="settings-menu" href="../../../settings.html"><img src="../../../wheel.svg" width="18" alt="Change settings"></a></div></form></nav><section id="main" class="content"><h1 class="fqn"><span class="out-of-band"><span id="render-detail"><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">&#x2212;</span>]</a></span><a class="srclink" href="../../../src/num_traits/ops/saturating.rs.html#1-137" title="goto source code">[src]</a></span><span class="in-band">Module <a href="../../index.html">num_traits</a>::<wbr><a href="../index.html">ops</a>::<wbr><a class="mod" href="">saturating</a></span></h1><h2 id="traits" class="section-header"><a href="#traits">Traits</a></h2>
<table><tr class="module-item"><td><a class="trait" href="trait.Saturating.html" title="num_traits::ops::saturating::Saturating trait">Saturating</a></td><td class="docblock-short"><p>Saturating math operations. Deprecated, use <code>SaturatingAdd</code>, <code>SaturatingSub</code> and
<code>SaturatingMul</code> instead.</p>
</td></tr><tr class="module-item"><td><a class="trait" href="trait.SaturatingAdd.html" title="num_traits::ops::saturating::SaturatingAdd trait">SaturatingAdd</a></td><td class="docblock-short"><p>Performs addition that saturates at the numeric bounds instead of overflowing.</p>
</td></tr><tr class="module-item"><td><a class="trait" href="trait.SaturatingMul.html" title="num_traits::ops::saturating::SaturatingMul trait">SaturatingMul</a></td><td class="docblock-short"><p>Performs multiplication that saturates at the numeric bounds instead of overflowing.</p>
</td></tr><tr class="module-item"><td><a class="trait" href="trait.SaturatingSub.html" title="num_traits::ops::saturating::SaturatingSub trait">SaturatingSub</a></td><td class="docblock-short"><p>Performs subtraction that saturates at the numeric bounds instead of overflowing.</p>
</td></tr></table></section><section id="search" class="content hidden"></section><section class="footer"></section><div id="rustdoc-vars" data-root-path="../../../" data-current-crate="num_traits"></div>
<script src="../../../main.js"></script><script defer src="../../../search-index.js"></script></body></html>
</td></tr></table></section><section id="search" class="content hidden"></section><section class="footer"></section><script>window.rootPath = "../../../";window.currentCrate = "num_traits";</script><script src="../../../main.js"></script><script defer src="../../../search-index.js"></script></body></html>
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+3 -4
View File
@@ -1,12 +1,11 @@
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `wrapping` mod in crate `num_traits`."><meta name="keywords" content="rust, rustlang, rust-lang, wrapping"><title>num_traits::ops::wrapping - Rust</title><link rel="stylesheet" type="text/css" href="../../../normalize.css"><link rel="stylesheet" type="text/css" href="../../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../../../light.css" id="themeStyle"><link rel="stylesheet" type="text/css" href="../../../dark.css" disabled ><link rel="stylesheet" type="text/css" href="../../../ayu.css" disabled ><script id="default-settings"></script><script src="../../../storage.js"></script><noscript><link rel="stylesheet" href="../../../noscript.css"></noscript><link rel="icon" type="image/svg+xml" href="../../../favicon.svg">
<link rel="alternate icon" type="image/png" href="../../../favicon-16x16.png">
<link rel="alternate icon" type="image/png" href="../../../favicon-32x32.png"><style type="text/css">#crate-search{background-image:url("../../../down-arrow.svg");}</style></head><body class="rustdoc mod"><!--[if lte IE 8]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu">&#9776;</div><a href='../../../num_traits/index.html'><div class='logo-container rust-logo'><img src='../../../rust-logo.png' alt='logo'></div></a><p class="location">Module wrapping</p><div class="sidebar-elems"><div class="block items"><ul><li><a href="#traits">Traits</a></li></ul></div><p class="location"><a href="../../index.html">num_traits</a>::<wbr><a href="../index.html">ops</a></p><div id="sidebar-vars" data-name="wrapping" data-ty="mod" data-relpath="../"></div><script defer src="../sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!" aria-haspopup="menu"><img src="../../../brush.svg" width="18" alt="Pick another theme!"></button><div id="theme-choices" role="menu"></div></div><script src="../../../theme.js"></script><nav class="sub"><form class="search-form"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input" name="search" disabled autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"></div><button type="button" class="help-button">?</button>
<a id="settings-menu" href="../../../settings.html"><img src="../../../wheel.svg" width="18" alt="Change settings"></a></div></form></nav><section id="main" class="content"><h1 class="fqn"><span class="in-band">Module <a href="../../index.html">num_traits</a>::<wbr><a href="../index.html">ops</a>::<wbr><a class="mod" href="">wrapping</a></span><span class="out-of-band"><span id="render-detail"><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">&#x2212;</span>]</a></span><a class="srclink" href="../../../src/num_traits/ops/wrapping.rs.html#1-337" title="goto source code">[src]</a></span></h1><h2 id="traits" class="section-header"><a href="#traits">Traits</a></h2>
<link rel="alternate icon" type="image/png" href="../../../favicon-32x32.png"><style type="text/css">#crate-search{background-image:url("../../../down-arrow.svg");}</style></head><body class="rustdoc mod"><!--[if lte IE 8]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu">&#9776;</div><a href='../../../num_traits/index.html'><div class='logo-container rust-logo'><img src='../../../rust-logo.png' alt='logo'></div></a><p class="location">Module wrapping</p><div class="sidebar-elems"><div class="block items"><ul><li><a href="#traits">Traits</a></li></ul></div><p class="location"><a href="../../index.html">num_traits</a>::<wbr><a href="../index.html">ops</a></p><script>window.sidebarCurrent = {name: "wrapping", ty: "mod", relpath: "../"};</script><script defer src="../sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!" aria-haspopup="menu"><img src="../../../brush.svg" width="18" alt="Pick another theme!"></button><div id="theme-choices" role="menu"></div></div><script src="../../../theme.js"></script><nav class="sub"><form class="search-form"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input" name="search" disabled autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"></div><button type="button" class="help-button">?</button>
<a id="settings-menu" href="../../../settings.html"><img src="../../../wheel.svg" width="18" alt="Change settings"></a></div></form></nav><section id="main" class="content"><h1 class="fqn"><span class="out-of-band"><span id="render-detail"><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">&#x2212;</span>]</a></span><a class="srclink" href="../../../src/num_traits/ops/wrapping.rs.html#1-337" title="goto source code">[src]</a></span><span class="in-band">Module <a href="../../index.html">num_traits</a>::<wbr><a href="../index.html">ops</a>::<wbr><a class="mod" href="">wrapping</a></span></h1><h2 id="traits" class="section-header"><a href="#traits">Traits</a></h2>
<table><tr class="module-item"><td><a class="trait" href="trait.WrappingAdd.html" title="num_traits::ops::wrapping::WrappingAdd trait">WrappingAdd</a></td><td class="docblock-short"><p>Performs addition that wraps around on overflow.</p>
</td></tr><tr class="module-item"><td><a class="trait" href="trait.WrappingMul.html" title="num_traits::ops::wrapping::WrappingMul trait">WrappingMul</a></td><td class="docblock-short"><p>Performs multiplication that wraps around on overflow.</p>
</td></tr><tr class="module-item"><td><a class="trait" href="trait.WrappingNeg.html" title="num_traits::ops::wrapping::WrappingNeg trait">WrappingNeg</a></td><td class="docblock-short"><p>Performs a negation that does not panic.</p>
</td></tr><tr class="module-item"><td><a class="trait" href="trait.WrappingShl.html" title="num_traits::ops::wrapping::WrappingShl trait">WrappingShl</a></td><td class="docblock-short"><p>Performs a left shift that does not panic.</p>
</td></tr><tr class="module-item"><td><a class="trait" href="trait.WrappingShr.html" title="num_traits::ops::wrapping::WrappingShr trait">WrappingShr</a></td><td class="docblock-short"><p>Performs a right shift that does not panic.</p>
</td></tr><tr class="module-item"><td><a class="trait" href="trait.WrappingSub.html" title="num_traits::ops::wrapping::WrappingSub trait">WrappingSub</a></td><td class="docblock-short"><p>Performs subtraction that wraps around on overflow.</p>
</td></tr></table></section><section id="search" class="content hidden"></section><section class="footer"></section><div id="rustdoc-vars" data-root-path="../../../" data-current-crate="num_traits"></div>
<script src="../../../main.js"></script><script defer src="../../../search-index.js"></script></body></html>
</td></tr></table></section><section id="search" class="content hidden"></section><section class="footer"></section><script>window.rootPath = "../../../";window.currentCrate = "num_traits";</script><script src="../../../main.js"></script><script defer src="../../../search-index.js"></script></body></html>
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long