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
+15 -16
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="API documentation for the Rust `Integer` trait in crate `num_integer`."><meta name="keywords" content="rust, rustlang, rust-lang, Integer"><title>num_integer::Integer - 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_integer/index.html'><div class='logo-container rust-logo'><img src='../rust-logo.png' alt='logo'></div></a><p class="location">Trait Integer</p><div class="sidebar-elems"><div class="block items"><a class="sidebar-title" href="#required-methods">Required Methods</a><div class="sidebar-links"><a href="#tymethod.div_floor">div_floor</a><a href="#tymethod.mod_floor">mod_floor</a><a href="#tymethod.gcd">gcd</a><a href="#tymethod.lcm">lcm</a><a href="#tymethod.divides">divides</a><a href="#tymethod.is_multiple_of">is_multiple_of</a><a href="#tymethod.is_even">is_even</a><a href="#tymethod.is_odd">is_odd</a><a href="#tymethod.div_rem">div_rem</a></div><a class="sidebar-title" href="#provided-methods">Provided Methods</a><div class="sidebar-links"><a href="#method.div_ceil">div_ceil</a><a href="#method.div_mod_floor">div_mod_floor</a><a href="#method.gcd_lcm">gcd_lcm</a><a href="#method.extended_gcd">extended_gcd</a><a href="#method.extended_gcd_lcm">extended_gcd_lcm</a><a href="#method.next_multiple_of">next_multiple_of</a><a href="#method.prev_multiple_of">prev_multiple_of</a></div><a class="sidebar-title" href="#implementors">Implementors</a></div><p class="location"><a href="index.html">num_integer</a></p><div id="sidebar-vars" data-name="Integer" 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_integer</a>::<wbr><a class="trait" href="">Integer</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_integer/lib.rs.html#37-346" title="goto source code">[src]</a></span></h1><div class="docblock type-decl hidden-by-usual-hider"><pre class="rust trait">pub trait Integer: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a> + <a class="trait" href="../num_traits/trait.Num.html" title="trait num_traits::Num">Num</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html" title="trait core::cmp::PartialOrd">PartialOrd</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.Ord.html" title="trait core::cmp::Ord">Ord</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.Eq.html" title="trait core::cmp::Eq">Eq</a> {
<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_integer/index.html'><div class='logo-container rust-logo'><img src='../rust-logo.png' alt='logo'></div></a><p class="location">Trait Integer</p><div class="sidebar-elems"><div class="block items"><a class="sidebar-title" href="#required-methods">Required Methods</a><div class="sidebar-links"><a href="#tymethod.div_floor">div_floor</a><a href="#tymethod.div_rem">div_rem</a><a href="#tymethod.divides">divides</a><a href="#tymethod.gcd">gcd</a><a href="#tymethod.is_even">is_even</a><a href="#tymethod.is_multiple_of">is_multiple_of</a><a href="#tymethod.is_odd">is_odd</a><a href="#tymethod.lcm">lcm</a><a href="#tymethod.mod_floor">mod_floor</a></div><a class="sidebar-title" href="#provided-methods">Provided Methods</a><div class="sidebar-links"><a href="#method.div_ceil">div_ceil</a><a href="#method.div_mod_floor">div_mod_floor</a><a href="#method.extended_gcd">extended_gcd</a><a href="#method.extended_gcd_lcm">extended_gcd_lcm</a><a href="#method.gcd_lcm">gcd_lcm</a><a href="#method.next_multiple_of">next_multiple_of</a><a href="#method.prev_multiple_of">prev_multiple_of</a></div><a class="sidebar-title" href="#implementors">Implementors</a></div><p class="location"><a href="index.html">num_integer</a></p><script>window.sidebarCurrent = {name: "Integer", 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_integer/lib.rs.html#37-346" title="goto source code">[src]</a></span><span class="in-band">Trait <a href="index.html">num_integer</a>::<wbr><a class="trait" href="">Integer</a></span></h1><div class="docblock type-decl hidden-by-usual-hider"><pre class="rust trait">pub trait Integer: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a> + <a class="trait" href="../num_traits/trait.Num.html" title="trait num_traits::Num">Num</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html" title="trait core::cmp::PartialOrd">PartialOrd</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.Ord.html" title="trait core::cmp::Ord">Ord</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.Eq.html" title="trait core::cmp::Eq">Eq</a> {
fn <a href="#tymethod.div_floor" class="fnname">div_floor</a>(&amp;self, other: &amp;Self) -&gt; Self;
<div class="item-spacer"></div> fn <a href="#tymethod.mod_floor" class="fnname">mod_floor</a>(&amp;self, other: &amp;Self) -&gt; Self;
<div class="item-spacer"></div> fn <a href="#tymethod.gcd" class="fnname">gcd</a>(&amp;self, other: &amp;Self) -&gt; Self;
@@ -159,7 +159,7 @@ Returns <code>(quotient, remainder)</code>.</p>
<span class="macro">assert_eq</span><span class="macro">!</span>((<span class="op">-</span><span class="number">23</span>).<span class="ident">prev_multiple_of</span>(<span class="op">&amp;</span> <span class="number">8</span>), <span class="op">-</span><span class="number">24</span>);
<span class="macro">assert_eq</span><span class="macro">!</span>((<span class="op">-</span><span class="number">16</span>).<span class="ident">prev_multiple_of</span>(<span class="kw-2">&amp;</span><span class="op">-</span><span class="number">8</span>), <span class="op">-</span><span class="number">16</span>);
<span class="macro">assert_eq</span><span class="macro">!</span>((<span class="op">-</span><span class="number">23</span>).<span class="ident">prev_multiple_of</span>(<span class="kw-2">&amp;</span><span class="op">-</span><span class="number">8</span>), <span class="op">-</span><span class="number">16</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-Integer" class="impl"><code class="in-band">impl <a class="trait" href="../num_integer/trait.Integer.html" title="trait num_integer::Integer">Integer</a> for i8</code><a href="#impl-Integer" class="anchor"></a><a class="srclink" href="../src/num_integer/lib.rs.html#791" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.div_floor" class="method"><code>fn <a href="#method.div_floor" class="fnname">div_floor</a>(&amp;self, other: &amp;Self) -&gt; Self</code><a class="srclink" href="../src/num_integer/lib.rs.html#791" title="goto source code">[src]</a></h4><div class="docblock"><p>Floored integer division</p>
</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-Integer" class="impl"><code class="in-band">impl Integer for i8</code><a href="#impl-Integer" class="anchor"></a><a class="srclink" href="../src/num_integer/lib.rs.html#791" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.div_floor" class="method"><code>fn <a href="#method.div_floor" class="fnname">div_floor</a>(&amp;self, other: &amp;Self) -&gt; Self</code><a class="srclink" href="../src/num_integer/lib.rs.html#791" title="goto source code">[src]</a></h4><div class="docblock"><p>Floored integer division</p>
</div><h4 id="method.mod_floor" class="method"><code>fn <a href="#method.mod_floor" class="fnname">mod_floor</a>(&amp;self, other: &amp;Self) -&gt; Self</code><a class="srclink" href="../src/num_integer/lib.rs.html#791" title="goto source code">[src]</a></h4><div class="docblock"><p>Floored integer modulo</p>
</div><h4 id="method.div_mod_floor-1" class="method"><code>fn <a href="#method.div_mod_floor-1" class="fnname">div_mod_floor</a>(&amp;self, other: &amp;Self) -&gt; (Self, Self)</code><a class="srclink" href="../src/num_integer/lib.rs.html#791" title="goto source code">[src]</a></h4><div class="docblock"><p>Calculates <code>div_floor</code> and <code>mod_floor</code> simultaneously</p>
</div><h4 id="method.div_ceil-1" class="method hidden"><code>fn <a href="#method.div_ceil-1" class="fnname">div_ceil</a>(&amp;self, other: &amp;Self) -&gt; Self</code><a class="srclink" href="../src/num_integer/lib.rs.html#791" title="goto source code">[src]</a></h4><h4 id="method.gcd" class="method"><code>fn <a href="#method.gcd" class="fnname">gcd</a>(&amp;self, other: &amp;Self) -&gt; Self</code><a class="srclink" href="../src/num_integer/lib.rs.html#791" title="goto source code">[src]</a></h4><div class="docblock"><p>Calculates the Greatest Common Divisor (GCD) of the number and
@@ -173,7 +173,7 @@ Lowest Common Multiple (LCM) of the number and <code>other</code>.</p>
</div><h4 id="method.is_even" class="method"><code>fn <a href="#method.is_even" class="fnname">is_even</a>(&amp;self) -&gt; bool</code><a class="srclink" href="../src/num_integer/lib.rs.html#791" title="goto source code">[src]</a></h4><div class="docblock"><p>Returns <code>true</code> if the number is divisible by <code>2</code></p>
</div><h4 id="method.is_odd" class="method"><code>fn <a href="#method.is_odd" class="fnname">is_odd</a>(&amp;self) -&gt; bool</code><a class="srclink" href="../src/num_integer/lib.rs.html#791" title="goto source code">[src]</a></h4><div class="docblock"><p>Returns <code>true</code> if the number is not divisible by <code>2</code></p>
</div><h4 id="method.div_rem" class="method"><code>fn <a href="#method.div_rem" class="fnname">div_rem</a>(&amp;self, other: &amp;Self) -&gt; (Self, Self)</code><a class="srclink" href="../src/num_integer/lib.rs.html#791" title="goto source code">[src]</a></h4><div class="docblock"><p>Simultaneous truncated integer division and modulus.</p>
</div></div><h3 id="impl-Integer-1" class="impl"><code class="in-band">impl <a class="trait" href="../num_integer/trait.Integer.html" title="trait num_integer::Integer">Integer</a> for i16</code><a href="#impl-Integer-1" class="anchor"></a><a class="srclink" href="../src/num_integer/lib.rs.html#792" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.div_floor-1" class="method"><code>fn <a href="#method.div_floor-1" class="fnname">div_floor</a>(&amp;self, other: &amp;Self) -&gt; Self</code><a class="srclink" href="../src/num_integer/lib.rs.html#792" title="goto source code">[src]</a></h4><div class="docblock"><p>Floored integer division</p>
</div></div><h3 id="impl-Integer-1" class="impl"><code class="in-band">impl Integer for i16</code><a href="#impl-Integer-1" class="anchor"></a><a class="srclink" href="../src/num_integer/lib.rs.html#792" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.div_floor-1" class="method"><code>fn <a href="#method.div_floor-1" class="fnname">div_floor</a>(&amp;self, other: &amp;Self) -&gt; Self</code><a class="srclink" href="../src/num_integer/lib.rs.html#792" title="goto source code">[src]</a></h4><div class="docblock"><p>Floored integer division</p>
</div><h4 id="method.mod_floor-1" class="method"><code>fn <a href="#method.mod_floor-1" class="fnname">mod_floor</a>(&amp;self, other: &amp;Self) -&gt; Self</code><a class="srclink" href="../src/num_integer/lib.rs.html#792" title="goto source code">[src]</a></h4><div class="docblock"><p>Floored integer modulo</p>
</div><h4 id="method.div_mod_floor-2" class="method"><code>fn <a href="#method.div_mod_floor-2" class="fnname">div_mod_floor</a>(&amp;self, other: &amp;Self) -&gt; (Self, Self)</code><a class="srclink" href="../src/num_integer/lib.rs.html#792" title="goto source code">[src]</a></h4><div class="docblock"><p>Calculates <code>div_floor</code> and <code>mod_floor</code> simultaneously</p>
</div><h4 id="method.div_ceil-2" class="method hidden"><code>fn <a href="#method.div_ceil-2" class="fnname">div_ceil</a>(&amp;self, other: &amp;Self) -&gt; Self</code><a class="srclink" href="../src/num_integer/lib.rs.html#792" title="goto source code">[src]</a></h4><h4 id="method.gcd-1" class="method"><code>fn <a href="#method.gcd-1" class="fnname">gcd</a>(&amp;self, other: &amp;Self) -&gt; Self</code><a class="srclink" href="../src/num_integer/lib.rs.html#792" title="goto source code">[src]</a></h4><div class="docblock"><p>Calculates the Greatest Common Divisor (GCD) of the number and
@@ -187,7 +187,7 @@ Lowest Common Multiple (LCM) of the number and <code>other</code>.</p>
</div><h4 id="method.is_even-1" class="method"><code>fn <a href="#method.is_even-1" class="fnname">is_even</a>(&amp;self) -&gt; bool</code><a class="srclink" href="../src/num_integer/lib.rs.html#792" title="goto source code">[src]</a></h4><div class="docblock"><p>Returns <code>true</code> if the number is divisible by <code>2</code></p>
</div><h4 id="method.is_odd-1" class="method"><code>fn <a href="#method.is_odd-1" class="fnname">is_odd</a>(&amp;self) -&gt; bool</code><a class="srclink" href="../src/num_integer/lib.rs.html#792" title="goto source code">[src]</a></h4><div class="docblock"><p>Returns <code>true</code> if the number is not divisible by <code>2</code></p>
</div><h4 id="method.div_rem-1" class="method"><code>fn <a href="#method.div_rem-1" class="fnname">div_rem</a>(&amp;self, other: &amp;Self) -&gt; (Self, Self)</code><a class="srclink" href="../src/num_integer/lib.rs.html#792" title="goto source code">[src]</a></h4><div class="docblock"><p>Simultaneous truncated integer division and modulus.</p>
</div></div><h3 id="impl-Integer-2" class="impl"><code class="in-band">impl <a class="trait" href="../num_integer/trait.Integer.html" title="trait num_integer::Integer">Integer</a> for i32</code><a href="#impl-Integer-2" class="anchor"></a><a class="srclink" href="../src/num_integer/lib.rs.html#793" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.div_floor-2" class="method"><code>fn <a href="#method.div_floor-2" class="fnname">div_floor</a>(&amp;self, other: &amp;Self) -&gt; Self</code><a class="srclink" href="../src/num_integer/lib.rs.html#793" title="goto source code">[src]</a></h4><div class="docblock"><p>Floored integer division</p>
</div></div><h3 id="impl-Integer-2" class="impl"><code class="in-band">impl Integer for i32</code><a href="#impl-Integer-2" class="anchor"></a><a class="srclink" href="../src/num_integer/lib.rs.html#793" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.div_floor-2" class="method"><code>fn <a href="#method.div_floor-2" class="fnname">div_floor</a>(&amp;self, other: &amp;Self) -&gt; Self</code><a class="srclink" href="../src/num_integer/lib.rs.html#793" title="goto source code">[src]</a></h4><div class="docblock"><p>Floored integer division</p>
</div><h4 id="method.mod_floor-2" class="method"><code>fn <a href="#method.mod_floor-2" class="fnname">mod_floor</a>(&amp;self, other: &amp;Self) -&gt; Self</code><a class="srclink" href="../src/num_integer/lib.rs.html#793" title="goto source code">[src]</a></h4><div class="docblock"><p>Floored integer modulo</p>
</div><h4 id="method.div_mod_floor-3" class="method"><code>fn <a href="#method.div_mod_floor-3" class="fnname">div_mod_floor</a>(&amp;self, other: &amp;Self) -&gt; (Self, Self)</code><a class="srclink" href="../src/num_integer/lib.rs.html#793" title="goto source code">[src]</a></h4><div class="docblock"><p>Calculates <code>div_floor</code> and <code>mod_floor</code> simultaneously</p>
</div><h4 id="method.div_ceil-3" class="method hidden"><code>fn <a href="#method.div_ceil-3" class="fnname">div_ceil</a>(&amp;self, other: &amp;Self) -&gt; Self</code><a class="srclink" href="../src/num_integer/lib.rs.html#793" title="goto source code">[src]</a></h4><h4 id="method.gcd-2" class="method"><code>fn <a href="#method.gcd-2" class="fnname">gcd</a>(&amp;self, other: &amp;Self) -&gt; Self</code><a class="srclink" href="../src/num_integer/lib.rs.html#793" title="goto source code">[src]</a></h4><div class="docblock"><p>Calculates the Greatest Common Divisor (GCD) of the number and
@@ -201,7 +201,7 @@ Lowest Common Multiple (LCM) of the number and <code>other</code>.</p>
</div><h4 id="method.is_even-2" class="method"><code>fn <a href="#method.is_even-2" class="fnname">is_even</a>(&amp;self) -&gt; bool</code><a class="srclink" href="../src/num_integer/lib.rs.html#793" title="goto source code">[src]</a></h4><div class="docblock"><p>Returns <code>true</code> if the number is divisible by <code>2</code></p>
</div><h4 id="method.is_odd-2" class="method"><code>fn <a href="#method.is_odd-2" class="fnname">is_odd</a>(&amp;self) -&gt; bool</code><a class="srclink" href="../src/num_integer/lib.rs.html#793" title="goto source code">[src]</a></h4><div class="docblock"><p>Returns <code>true</code> if the number is not divisible by <code>2</code></p>
</div><h4 id="method.div_rem-2" class="method"><code>fn <a href="#method.div_rem-2" class="fnname">div_rem</a>(&amp;self, other: &amp;Self) -&gt; (Self, Self)</code><a class="srclink" href="../src/num_integer/lib.rs.html#793" title="goto source code">[src]</a></h4><div class="docblock"><p>Simultaneous truncated integer division and modulus.</p>
</div></div><h3 id="impl-Integer-3" class="impl"><code class="in-band">impl <a class="trait" href="../num_integer/trait.Integer.html" title="trait num_integer::Integer">Integer</a> for i64</code><a href="#impl-Integer-3" class="anchor"></a><a class="srclink" href="../src/num_integer/lib.rs.html#794" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.div_floor-3" class="method"><code>fn <a href="#method.div_floor-3" class="fnname">div_floor</a>(&amp;self, other: &amp;Self) -&gt; Self</code><a class="srclink" href="../src/num_integer/lib.rs.html#794" title="goto source code">[src]</a></h4><div class="docblock"><p>Floored integer division</p>
</div></div><h3 id="impl-Integer-3" class="impl"><code class="in-band">impl Integer for i64</code><a href="#impl-Integer-3" class="anchor"></a><a class="srclink" href="../src/num_integer/lib.rs.html#794" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.div_floor-3" class="method"><code>fn <a href="#method.div_floor-3" class="fnname">div_floor</a>(&amp;self, other: &amp;Self) -&gt; Self</code><a class="srclink" href="../src/num_integer/lib.rs.html#794" title="goto source code">[src]</a></h4><div class="docblock"><p>Floored integer division</p>
</div><h4 id="method.mod_floor-3" class="method"><code>fn <a href="#method.mod_floor-3" class="fnname">mod_floor</a>(&amp;self, other: &amp;Self) -&gt; Self</code><a class="srclink" href="../src/num_integer/lib.rs.html#794" title="goto source code">[src]</a></h4><div class="docblock"><p>Floored integer modulo</p>
</div><h4 id="method.div_mod_floor-4" class="method"><code>fn <a href="#method.div_mod_floor-4" class="fnname">div_mod_floor</a>(&amp;self, other: &amp;Self) -&gt; (Self, Self)</code><a class="srclink" href="../src/num_integer/lib.rs.html#794" title="goto source code">[src]</a></h4><div class="docblock"><p>Calculates <code>div_floor</code> and <code>mod_floor</code> simultaneously</p>
</div><h4 id="method.div_ceil-4" class="method hidden"><code>fn <a href="#method.div_ceil-4" class="fnname">div_ceil</a>(&amp;self, other: &amp;Self) -&gt; Self</code><a class="srclink" href="../src/num_integer/lib.rs.html#794" title="goto source code">[src]</a></h4><h4 id="method.gcd-3" class="method"><code>fn <a href="#method.gcd-3" class="fnname">gcd</a>(&amp;self, other: &amp;Self) -&gt; Self</code><a class="srclink" href="../src/num_integer/lib.rs.html#794" title="goto source code">[src]</a></h4><div class="docblock"><p>Calculates the Greatest Common Divisor (GCD) of the number and
@@ -215,7 +215,7 @@ Lowest Common Multiple (LCM) of the number and <code>other</code>.</p>
</div><h4 id="method.is_even-3" class="method"><code>fn <a href="#method.is_even-3" class="fnname">is_even</a>(&amp;self) -&gt; bool</code><a class="srclink" href="../src/num_integer/lib.rs.html#794" title="goto source code">[src]</a></h4><div class="docblock"><p>Returns <code>true</code> if the number is divisible by <code>2</code></p>
</div><h4 id="method.is_odd-3" class="method"><code>fn <a href="#method.is_odd-3" class="fnname">is_odd</a>(&amp;self) -&gt; bool</code><a class="srclink" href="../src/num_integer/lib.rs.html#794" title="goto source code">[src]</a></h4><div class="docblock"><p>Returns <code>true</code> if the number is not divisible by <code>2</code></p>
</div><h4 id="method.div_rem-3" class="method"><code>fn <a href="#method.div_rem-3" class="fnname">div_rem</a>(&amp;self, other: &amp;Self) -&gt; (Self, Self)</code><a class="srclink" href="../src/num_integer/lib.rs.html#794" title="goto source code">[src]</a></h4><div class="docblock"><p>Simultaneous truncated integer division and modulus.</p>
</div></div><h3 id="impl-Integer-4" class="impl"><code class="in-band">impl <a class="trait" href="../num_integer/trait.Integer.html" title="trait num_integer::Integer">Integer</a> for i128</code><a href="#impl-Integer-4" class="anchor"></a><a class="srclink" href="../src/num_integer/lib.rs.html#797" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.div_floor-4" class="method"><code>fn <a href="#method.div_floor-4" class="fnname">div_floor</a>(&amp;self, other: &amp;Self) -&gt; Self</code><a class="srclink" href="../src/num_integer/lib.rs.html#797" title="goto source code">[src]</a></h4><div class="docblock"><p>Floored integer division</p>
</div></div><h3 id="impl-Integer-4" class="impl"><code class="in-band">impl Integer for i128</code><a href="#impl-Integer-4" class="anchor"></a><a class="srclink" href="../src/num_integer/lib.rs.html#797" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.div_floor-4" class="method"><code>fn <a href="#method.div_floor-4" class="fnname">div_floor</a>(&amp;self, other: &amp;Self) -&gt; Self</code><a class="srclink" href="../src/num_integer/lib.rs.html#797" title="goto source code">[src]</a></h4><div class="docblock"><p>Floored integer division</p>
</div><h4 id="method.mod_floor-4" class="method"><code>fn <a href="#method.mod_floor-4" class="fnname">mod_floor</a>(&amp;self, other: &amp;Self) -&gt; Self</code><a class="srclink" href="../src/num_integer/lib.rs.html#797" title="goto source code">[src]</a></h4><div class="docblock"><p>Floored integer modulo</p>
</div><h4 id="method.div_mod_floor-5" class="method"><code>fn <a href="#method.div_mod_floor-5" class="fnname">div_mod_floor</a>(&amp;self, other: &amp;Self) -&gt; (Self, Self)</code><a class="srclink" href="../src/num_integer/lib.rs.html#797" title="goto source code">[src]</a></h4><div class="docblock"><p>Calculates <code>div_floor</code> and <code>mod_floor</code> simultaneously</p>
</div><h4 id="method.div_ceil-5" class="method hidden"><code>fn <a href="#method.div_ceil-5" class="fnname">div_ceil</a>(&amp;self, other: &amp;Self) -&gt; Self</code><a class="srclink" href="../src/num_integer/lib.rs.html#797" title="goto source code">[src]</a></h4><h4 id="method.gcd-4" class="method"><code>fn <a href="#method.gcd-4" class="fnname">gcd</a>(&amp;self, other: &amp;Self) -&gt; Self</code><a class="srclink" href="../src/num_integer/lib.rs.html#797" title="goto source code">[src]</a></h4><div class="docblock"><p>Calculates the Greatest Common Divisor (GCD) of the number and
@@ -229,7 +229,7 @@ Lowest Common Multiple (LCM) of the number and <code>other</code>.</p>
</div><h4 id="method.is_even-4" class="method"><code>fn <a href="#method.is_even-4" class="fnname">is_even</a>(&amp;self) -&gt; bool</code><a class="srclink" href="../src/num_integer/lib.rs.html#797" title="goto source code">[src]</a></h4><div class="docblock"><p>Returns <code>true</code> if the number is divisible by <code>2</code></p>
</div><h4 id="method.is_odd-4" class="method"><code>fn <a href="#method.is_odd-4" class="fnname">is_odd</a>(&amp;self) -&gt; bool</code><a class="srclink" href="../src/num_integer/lib.rs.html#797" title="goto source code">[src]</a></h4><div class="docblock"><p>Returns <code>true</code> if the number is not divisible by <code>2</code></p>
</div><h4 id="method.div_rem-4" class="method"><code>fn <a href="#method.div_rem-4" class="fnname">div_rem</a>(&amp;self, other: &amp;Self) -&gt; (Self, Self)</code><a class="srclink" href="../src/num_integer/lib.rs.html#797" title="goto source code">[src]</a></h4><div class="docblock"><p>Simultaneous truncated integer division and modulus.</p>
</div></div><h3 id="impl-Integer-5" class="impl"><code class="in-band">impl <a class="trait" href="../num_integer/trait.Integer.html" title="trait num_integer::Integer">Integer</a> for isize</code><a href="#impl-Integer-5" class="anchor"></a><a class="srclink" href="../src/num_integer/lib.rs.html#795" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.div_floor-5" class="method"><code>fn <a href="#method.div_floor-5" class="fnname">div_floor</a>(&amp;self, other: &amp;Self) -&gt; Self</code><a class="srclink" href="../src/num_integer/lib.rs.html#795" title="goto source code">[src]</a></h4><div class="docblock"><p>Floored integer division</p>
</div></div><h3 id="impl-Integer-5" class="impl"><code class="in-band">impl Integer for isize</code><a href="#impl-Integer-5" class="anchor"></a><a class="srclink" href="../src/num_integer/lib.rs.html#795" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.div_floor-5" class="method"><code>fn <a href="#method.div_floor-5" class="fnname">div_floor</a>(&amp;self, other: &amp;Self) -&gt; Self</code><a class="srclink" href="../src/num_integer/lib.rs.html#795" title="goto source code">[src]</a></h4><div class="docblock"><p>Floored integer division</p>
</div><h4 id="method.mod_floor-5" class="method"><code>fn <a href="#method.mod_floor-5" class="fnname">mod_floor</a>(&amp;self, other: &amp;Self) -&gt; Self</code><a class="srclink" href="../src/num_integer/lib.rs.html#795" title="goto source code">[src]</a></h4><div class="docblock"><p>Floored integer modulo</p>
</div><h4 id="method.div_mod_floor-6" class="method"><code>fn <a href="#method.div_mod_floor-6" class="fnname">div_mod_floor</a>(&amp;self, other: &amp;Self) -&gt; (Self, Self)</code><a class="srclink" href="../src/num_integer/lib.rs.html#795" title="goto source code">[src]</a></h4><div class="docblock"><p>Calculates <code>div_floor</code> and <code>mod_floor</code> simultaneously</p>
</div><h4 id="method.div_ceil-6" class="method hidden"><code>fn <a href="#method.div_ceil-6" class="fnname">div_ceil</a>(&amp;self, other: &amp;Self) -&gt; Self</code><a class="srclink" href="../src/num_integer/lib.rs.html#795" title="goto source code">[src]</a></h4><h4 id="method.gcd-5" class="method"><code>fn <a href="#method.gcd-5" class="fnname">gcd</a>(&amp;self, other: &amp;Self) -&gt; Self</code><a class="srclink" href="../src/num_integer/lib.rs.html#795" title="goto source code">[src]</a></h4><div class="docblock"><p>Calculates the Greatest Common Divisor (GCD) of the number and
@@ -243,7 +243,7 @@ Lowest Common Multiple (LCM) of the number and <code>other</code>.</p>
</div><h4 id="method.is_even-5" class="method"><code>fn <a href="#method.is_even-5" class="fnname">is_even</a>(&amp;self) -&gt; bool</code><a class="srclink" href="../src/num_integer/lib.rs.html#795" title="goto source code">[src]</a></h4><div class="docblock"><p>Returns <code>true</code> if the number is divisible by <code>2</code></p>
</div><h4 id="method.is_odd-5" class="method"><code>fn <a href="#method.is_odd-5" class="fnname">is_odd</a>(&amp;self) -&gt; bool</code><a class="srclink" href="../src/num_integer/lib.rs.html#795" title="goto source code">[src]</a></h4><div class="docblock"><p>Returns <code>true</code> if the number is not divisible by <code>2</code></p>
</div><h4 id="method.div_rem-5" class="method"><code>fn <a href="#method.div_rem-5" class="fnname">div_rem</a>(&amp;self, other: &amp;Self) -&gt; (Self, Self)</code><a class="srclink" href="../src/num_integer/lib.rs.html#795" title="goto source code">[src]</a></h4><div class="docblock"><p>Simultaneous truncated integer division and modulus.</p>
</div></div><h3 id="impl-Integer-6" class="impl"><code class="in-band">impl <a class="trait" href="../num_integer/trait.Integer.html" title="trait num_integer::Integer">Integer</a> for u8</code><a href="#impl-Integer-6" class="anchor"></a><a class="srclink" href="../src/num_integer/lib.rs.html#1008" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.div_floor-6" class="method"><code>fn <a href="#method.div_floor-6" class="fnname">div_floor</a>(&amp;self, other: &amp;Self) -&gt; Self</code><a class="srclink" href="../src/num_integer/lib.rs.html#1008" title="goto source code">[src]</a></h4><div class="docblock"><p>Unsigned integer division. Returns the same result as <code>div</code> (<code>/</code>).</p>
</div></div><h3 id="impl-Integer-6" class="impl"><code class="in-band">impl Integer for u8</code><a href="#impl-Integer-6" class="anchor"></a><a class="srclink" href="../src/num_integer/lib.rs.html#1008" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.div_floor-6" class="method"><code>fn <a href="#method.div_floor-6" class="fnname">div_floor</a>(&amp;self, other: &amp;Self) -&gt; Self</code><a class="srclink" href="../src/num_integer/lib.rs.html#1008" title="goto source code">[src]</a></h4><div class="docblock"><p>Unsigned integer division. Returns the same result as <code>div</code> (<code>/</code>).</p>
</div><h4 id="method.mod_floor-6" class="method"><code>fn <a href="#method.mod_floor-6" class="fnname">mod_floor</a>(&amp;self, other: &amp;Self) -&gt; Self</code><a class="srclink" href="../src/num_integer/lib.rs.html#1008" title="goto source code">[src]</a></h4><div class="docblock"><p>Unsigned integer modulo operation. Returns the same result as <code>rem</code> (<code>%</code>).</p>
</div><h4 id="method.div_ceil-7" class="method hidden"><code>fn <a href="#method.div_ceil-7" class="fnname">div_ceil</a>(&amp;self, other: &amp;Self) -&gt; Self</code><a class="srclink" href="../src/num_integer/lib.rs.html#1008" title="goto source code">[src]</a></h4><h4 id="method.gcd-6" class="method"><code>fn <a href="#method.gcd-6" class="fnname">gcd</a>(&amp;self, other: &amp;Self) -&gt; Self</code><a class="srclink" href="../src/num_integer/lib.rs.html#1008" title="goto source code">[src]</a></h4><div class="docblock"><p>Calculates the Greatest Common Divisor (GCD) of the number and <code>other</code></p>
</div><h4 id="method.extended_gcd_lcm-7" class="method hidden"><code>fn <a href="#method.extended_gcd_lcm-7" class="fnname">extended_gcd_lcm</a>(&amp;self, other: &amp;Self) -&gt; (<a class="struct" href="../num_integer/struct.ExtendedGcd.html" title="struct num_integer::ExtendedGcd">ExtendedGcd</a>&lt;Self&gt;, Self)</code><a class="srclink" href="../src/num_integer/lib.rs.html#1008" title="goto source code">[src]</a></h4><h4 id="method.lcm-6" class="method"><code>fn <a href="#method.lcm-6" class="fnname">lcm</a>(&amp;self, other: &amp;Self) -&gt; Self</code><a class="srclink" href="../src/num_integer/lib.rs.html#1008" title="goto source code">[src]</a></h4><div class="docblock"><p>Calculates the Lowest Common Multiple (LCM) of the number and <code>other</code>.</p>
@@ -254,7 +254,7 @@ Lowest Common Multiple (LCM) of the number and <code>other</code>.</p>
</div><h4 id="method.is_even-6" class="method"><code>fn <a href="#method.is_even-6" class="fnname">is_even</a>(&amp;self) -&gt; bool</code><a class="srclink" href="../src/num_integer/lib.rs.html#1008" title="goto source code">[src]</a></h4><div class="docblock"><p>Returns <code>true</code> if the number is divisible by <code>2</code>.</p>
</div><h4 id="method.is_odd-6" class="method"><code>fn <a href="#method.is_odd-6" class="fnname">is_odd</a>(&amp;self) -&gt; bool</code><a class="srclink" href="../src/num_integer/lib.rs.html#1008" title="goto source code">[src]</a></h4><div class="docblock"><p>Returns <code>true</code> if the number is not divisible by <code>2</code>.</p>
</div><h4 id="method.div_rem-6" class="method"><code>fn <a href="#method.div_rem-6" class="fnname">div_rem</a>(&amp;self, other: &amp;Self) -&gt; (Self, Self)</code><a class="srclink" href="../src/num_integer/lib.rs.html#1008" title="goto source code">[src]</a></h4><div class="docblock"><p>Simultaneous truncated integer division and modulus.</p>
</div></div><h3 id="impl-Integer-7" class="impl"><code class="in-band">impl <a class="trait" href="../num_integer/trait.Integer.html" title="trait num_integer::Integer">Integer</a> for u16</code><a href="#impl-Integer-7" class="anchor"></a><a class="srclink" href="../src/num_integer/lib.rs.html#1009" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.div_floor-7" class="method"><code>fn <a href="#method.div_floor-7" class="fnname">div_floor</a>(&amp;self, other: &amp;Self) -&gt; Self</code><a class="srclink" href="../src/num_integer/lib.rs.html#1009" title="goto source code">[src]</a></h4><div class="docblock"><p>Unsigned integer division. Returns the same result as <code>div</code> (<code>/</code>).</p>
</div></div><h3 id="impl-Integer-7" class="impl"><code class="in-band">impl Integer for u16</code><a href="#impl-Integer-7" class="anchor"></a><a class="srclink" href="../src/num_integer/lib.rs.html#1009" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.div_floor-7" class="method"><code>fn <a href="#method.div_floor-7" class="fnname">div_floor</a>(&amp;self, other: &amp;Self) -&gt; Self</code><a class="srclink" href="../src/num_integer/lib.rs.html#1009" title="goto source code">[src]</a></h4><div class="docblock"><p>Unsigned integer division. Returns the same result as <code>div</code> (<code>/</code>).</p>
</div><h4 id="method.mod_floor-7" class="method"><code>fn <a href="#method.mod_floor-7" class="fnname">mod_floor</a>(&amp;self, other: &amp;Self) -&gt; Self</code><a class="srclink" href="../src/num_integer/lib.rs.html#1009" title="goto source code">[src]</a></h4><div class="docblock"><p>Unsigned integer modulo operation. Returns the same result as <code>rem</code> (<code>%</code>).</p>
</div><h4 id="method.div_ceil-8" class="method hidden"><code>fn <a href="#method.div_ceil-8" class="fnname">div_ceil</a>(&amp;self, other: &amp;Self) -&gt; Self</code><a class="srclink" href="../src/num_integer/lib.rs.html#1009" title="goto source code">[src]</a></h4><h4 id="method.gcd-7" class="method"><code>fn <a href="#method.gcd-7" class="fnname">gcd</a>(&amp;self, other: &amp;Self) -&gt; Self</code><a class="srclink" href="../src/num_integer/lib.rs.html#1009" title="goto source code">[src]</a></h4><div class="docblock"><p>Calculates the Greatest Common Divisor (GCD) of the number and <code>other</code></p>
</div><h4 id="method.extended_gcd_lcm-8" class="method hidden"><code>fn <a href="#method.extended_gcd_lcm-8" class="fnname">extended_gcd_lcm</a>(&amp;self, other: &amp;Self) -&gt; (<a class="struct" href="../num_integer/struct.ExtendedGcd.html" title="struct num_integer::ExtendedGcd">ExtendedGcd</a>&lt;Self&gt;, Self)</code><a class="srclink" href="../src/num_integer/lib.rs.html#1009" title="goto source code">[src]</a></h4><h4 id="method.lcm-7" class="method"><code>fn <a href="#method.lcm-7" class="fnname">lcm</a>(&amp;self, other: &amp;Self) -&gt; Self</code><a class="srclink" href="../src/num_integer/lib.rs.html#1009" title="goto source code">[src]</a></h4><div class="docblock"><p>Calculates the Lowest Common Multiple (LCM) of the number and <code>other</code>.</p>
@@ -265,7 +265,7 @@ Lowest Common Multiple (LCM) of the number and <code>other</code>.</p>
</div><h4 id="method.is_even-7" class="method"><code>fn <a href="#method.is_even-7" class="fnname">is_even</a>(&amp;self) -&gt; bool</code><a class="srclink" href="../src/num_integer/lib.rs.html#1009" title="goto source code">[src]</a></h4><div class="docblock"><p>Returns <code>true</code> if the number is divisible by <code>2</code>.</p>
</div><h4 id="method.is_odd-7" class="method"><code>fn <a href="#method.is_odd-7" class="fnname">is_odd</a>(&amp;self) -&gt; bool</code><a class="srclink" href="../src/num_integer/lib.rs.html#1009" title="goto source code">[src]</a></h4><div class="docblock"><p>Returns <code>true</code> if the number is not divisible by <code>2</code>.</p>
</div><h4 id="method.div_rem-7" class="method"><code>fn <a href="#method.div_rem-7" class="fnname">div_rem</a>(&amp;self, other: &amp;Self) -&gt; (Self, Self)</code><a class="srclink" href="../src/num_integer/lib.rs.html#1009" title="goto source code">[src]</a></h4><div class="docblock"><p>Simultaneous truncated integer division and modulus.</p>
</div></div><h3 id="impl-Integer-8" class="impl"><code class="in-band">impl <a class="trait" href="../num_integer/trait.Integer.html" title="trait num_integer::Integer">Integer</a> for u32</code><a href="#impl-Integer-8" class="anchor"></a><a class="srclink" href="../src/num_integer/lib.rs.html#1010" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.div_floor-8" class="method"><code>fn <a href="#method.div_floor-8" class="fnname">div_floor</a>(&amp;self, other: &amp;Self) -&gt; Self</code><a class="srclink" href="../src/num_integer/lib.rs.html#1010" title="goto source code">[src]</a></h4><div class="docblock"><p>Unsigned integer division. Returns the same result as <code>div</code> (<code>/</code>).</p>
</div></div><h3 id="impl-Integer-8" class="impl"><code class="in-band">impl Integer for u32</code><a href="#impl-Integer-8" class="anchor"></a><a class="srclink" href="../src/num_integer/lib.rs.html#1010" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.div_floor-8" class="method"><code>fn <a href="#method.div_floor-8" class="fnname">div_floor</a>(&amp;self, other: &amp;Self) -&gt; Self</code><a class="srclink" href="../src/num_integer/lib.rs.html#1010" title="goto source code">[src]</a></h4><div class="docblock"><p>Unsigned integer division. Returns the same result as <code>div</code> (<code>/</code>).</p>
</div><h4 id="method.mod_floor-8" class="method"><code>fn <a href="#method.mod_floor-8" class="fnname">mod_floor</a>(&amp;self, other: &amp;Self) -&gt; Self</code><a class="srclink" href="../src/num_integer/lib.rs.html#1010" title="goto source code">[src]</a></h4><div class="docblock"><p>Unsigned integer modulo operation. Returns the same result as <code>rem</code> (<code>%</code>).</p>
</div><h4 id="method.div_ceil-9" class="method hidden"><code>fn <a href="#method.div_ceil-9" class="fnname">div_ceil</a>(&amp;self, other: &amp;Self) -&gt; Self</code><a class="srclink" href="../src/num_integer/lib.rs.html#1010" title="goto source code">[src]</a></h4><h4 id="method.gcd-8" class="method"><code>fn <a href="#method.gcd-8" class="fnname">gcd</a>(&amp;self, other: &amp;Self) -&gt; Self</code><a class="srclink" href="../src/num_integer/lib.rs.html#1010" title="goto source code">[src]</a></h4><div class="docblock"><p>Calculates the Greatest Common Divisor (GCD) of the number and <code>other</code></p>
</div><h4 id="method.extended_gcd_lcm-9" class="method hidden"><code>fn <a href="#method.extended_gcd_lcm-9" class="fnname">extended_gcd_lcm</a>(&amp;self, other: &amp;Self) -&gt; (<a class="struct" href="../num_integer/struct.ExtendedGcd.html" title="struct num_integer::ExtendedGcd">ExtendedGcd</a>&lt;Self&gt;, Self)</code><a class="srclink" href="../src/num_integer/lib.rs.html#1010" title="goto source code">[src]</a></h4><h4 id="method.lcm-8" class="method"><code>fn <a href="#method.lcm-8" class="fnname">lcm</a>(&amp;self, other: &amp;Self) -&gt; Self</code><a class="srclink" href="../src/num_integer/lib.rs.html#1010" title="goto source code">[src]</a></h4><div class="docblock"><p>Calculates the Lowest Common Multiple (LCM) of the number and <code>other</code>.</p>
@@ -276,7 +276,7 @@ Lowest Common Multiple (LCM) of the number and <code>other</code>.</p>
</div><h4 id="method.is_even-8" class="method"><code>fn <a href="#method.is_even-8" class="fnname">is_even</a>(&amp;self) -&gt; bool</code><a class="srclink" href="../src/num_integer/lib.rs.html#1010" title="goto source code">[src]</a></h4><div class="docblock"><p>Returns <code>true</code> if the number is divisible by <code>2</code>.</p>
</div><h4 id="method.is_odd-8" class="method"><code>fn <a href="#method.is_odd-8" class="fnname">is_odd</a>(&amp;self) -&gt; bool</code><a class="srclink" href="../src/num_integer/lib.rs.html#1010" title="goto source code">[src]</a></h4><div class="docblock"><p>Returns <code>true</code> if the number is not divisible by <code>2</code>.</p>
</div><h4 id="method.div_rem-8" class="method"><code>fn <a href="#method.div_rem-8" class="fnname">div_rem</a>(&amp;self, other: &amp;Self) -&gt; (Self, Self)</code><a class="srclink" href="../src/num_integer/lib.rs.html#1010" title="goto source code">[src]</a></h4><div class="docblock"><p>Simultaneous truncated integer division and modulus.</p>
</div></div><h3 id="impl-Integer-9" class="impl"><code class="in-band">impl <a class="trait" href="../num_integer/trait.Integer.html" title="trait num_integer::Integer">Integer</a> for u64</code><a href="#impl-Integer-9" class="anchor"></a><a class="srclink" href="../src/num_integer/lib.rs.html#1011" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.div_floor-9" class="method"><code>fn <a href="#method.div_floor-9" class="fnname">div_floor</a>(&amp;self, other: &amp;Self) -&gt; Self</code><a class="srclink" href="../src/num_integer/lib.rs.html#1011" title="goto source code">[src]</a></h4><div class="docblock"><p>Unsigned integer division. Returns the same result as <code>div</code> (<code>/</code>).</p>
</div></div><h3 id="impl-Integer-9" class="impl"><code class="in-band">impl Integer for u64</code><a href="#impl-Integer-9" class="anchor"></a><a class="srclink" href="../src/num_integer/lib.rs.html#1011" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.div_floor-9" class="method"><code>fn <a href="#method.div_floor-9" class="fnname">div_floor</a>(&amp;self, other: &amp;Self) -&gt; Self</code><a class="srclink" href="../src/num_integer/lib.rs.html#1011" title="goto source code">[src]</a></h4><div class="docblock"><p>Unsigned integer division. Returns the same result as <code>div</code> (<code>/</code>).</p>
</div><h4 id="method.mod_floor-9" class="method"><code>fn <a href="#method.mod_floor-9" class="fnname">mod_floor</a>(&amp;self, other: &amp;Self) -&gt; Self</code><a class="srclink" href="../src/num_integer/lib.rs.html#1011" title="goto source code">[src]</a></h4><div class="docblock"><p>Unsigned integer modulo operation. Returns the same result as <code>rem</code> (<code>%</code>).</p>
</div><h4 id="method.div_ceil-10" class="method hidden"><code>fn <a href="#method.div_ceil-10" class="fnname">div_ceil</a>(&amp;self, other: &amp;Self) -&gt; Self</code><a class="srclink" href="../src/num_integer/lib.rs.html#1011" title="goto source code">[src]</a></h4><h4 id="method.gcd-9" class="method"><code>fn <a href="#method.gcd-9" class="fnname">gcd</a>(&amp;self, other: &amp;Self) -&gt; Self</code><a class="srclink" href="../src/num_integer/lib.rs.html#1011" title="goto source code">[src]</a></h4><div class="docblock"><p>Calculates the Greatest Common Divisor (GCD) of the number and <code>other</code></p>
</div><h4 id="method.extended_gcd_lcm-10" class="method hidden"><code>fn <a href="#method.extended_gcd_lcm-10" class="fnname">extended_gcd_lcm</a>(&amp;self, other: &amp;Self) -&gt; (<a class="struct" href="../num_integer/struct.ExtendedGcd.html" title="struct num_integer::ExtendedGcd">ExtendedGcd</a>&lt;Self&gt;, Self)</code><a class="srclink" href="../src/num_integer/lib.rs.html#1011" title="goto source code">[src]</a></h4><h4 id="method.lcm-9" class="method"><code>fn <a href="#method.lcm-9" class="fnname">lcm</a>(&amp;self, other: &amp;Self) -&gt; Self</code><a class="srclink" href="../src/num_integer/lib.rs.html#1011" title="goto source code">[src]</a></h4><div class="docblock"><p>Calculates the Lowest Common Multiple (LCM) of the number and <code>other</code>.</p>
@@ -287,7 +287,7 @@ Lowest Common Multiple (LCM) of the number and <code>other</code>.</p>
</div><h4 id="method.is_even-9" class="method"><code>fn <a href="#method.is_even-9" class="fnname">is_even</a>(&amp;self) -&gt; bool</code><a class="srclink" href="../src/num_integer/lib.rs.html#1011" title="goto source code">[src]</a></h4><div class="docblock"><p>Returns <code>true</code> if the number is divisible by <code>2</code>.</p>
</div><h4 id="method.is_odd-9" class="method"><code>fn <a href="#method.is_odd-9" class="fnname">is_odd</a>(&amp;self) -&gt; bool</code><a class="srclink" href="../src/num_integer/lib.rs.html#1011" title="goto source code">[src]</a></h4><div class="docblock"><p>Returns <code>true</code> if the number is not divisible by <code>2</code>.</p>
</div><h4 id="method.div_rem-9" class="method"><code>fn <a href="#method.div_rem-9" class="fnname">div_rem</a>(&amp;self, other: &amp;Self) -&gt; (Self, Self)</code><a class="srclink" href="../src/num_integer/lib.rs.html#1011" title="goto source code">[src]</a></h4><div class="docblock"><p>Simultaneous truncated integer division and modulus.</p>
</div></div><h3 id="impl-Integer-10" class="impl"><code class="in-band">impl <a class="trait" href="../num_integer/trait.Integer.html" title="trait num_integer::Integer">Integer</a> for u128</code><a href="#impl-Integer-10" class="anchor"></a><a class="srclink" href="../src/num_integer/lib.rs.html#1014" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.div_floor-10" class="method"><code>fn <a href="#method.div_floor-10" class="fnname">div_floor</a>(&amp;self, other: &amp;Self) -&gt; Self</code><a class="srclink" href="../src/num_integer/lib.rs.html#1014" title="goto source code">[src]</a></h4><div class="docblock"><p>Unsigned integer division. Returns the same result as <code>div</code> (<code>/</code>).</p>
</div></div><h3 id="impl-Integer-10" class="impl"><code class="in-band">impl Integer for u128</code><a href="#impl-Integer-10" class="anchor"></a><a class="srclink" href="../src/num_integer/lib.rs.html#1014" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.div_floor-10" class="method"><code>fn <a href="#method.div_floor-10" class="fnname">div_floor</a>(&amp;self, other: &amp;Self) -&gt; Self</code><a class="srclink" href="../src/num_integer/lib.rs.html#1014" title="goto source code">[src]</a></h4><div class="docblock"><p>Unsigned integer division. Returns the same result as <code>div</code> (<code>/</code>).</p>
</div><h4 id="method.mod_floor-10" class="method"><code>fn <a href="#method.mod_floor-10" class="fnname">mod_floor</a>(&amp;self, other: &amp;Self) -&gt; Self</code><a class="srclink" href="../src/num_integer/lib.rs.html#1014" title="goto source code">[src]</a></h4><div class="docblock"><p>Unsigned integer modulo operation. Returns the same result as <code>rem</code> (<code>%</code>).</p>
</div><h4 id="method.div_ceil-11" class="method hidden"><code>fn <a href="#method.div_ceil-11" class="fnname">div_ceil</a>(&amp;self, other: &amp;Self) -&gt; Self</code><a class="srclink" href="../src/num_integer/lib.rs.html#1014" title="goto source code">[src]</a></h4><h4 id="method.gcd-10" class="method"><code>fn <a href="#method.gcd-10" class="fnname">gcd</a>(&amp;self, other: &amp;Self) -&gt; Self</code><a class="srclink" href="../src/num_integer/lib.rs.html#1014" title="goto source code">[src]</a></h4><div class="docblock"><p>Calculates the Greatest Common Divisor (GCD) of the number and <code>other</code></p>
</div><h4 id="method.extended_gcd_lcm-11" class="method hidden"><code>fn <a href="#method.extended_gcd_lcm-11" class="fnname">extended_gcd_lcm</a>(&amp;self, other: &amp;Self) -&gt; (<a class="struct" href="../num_integer/struct.ExtendedGcd.html" title="struct num_integer::ExtendedGcd">ExtendedGcd</a>&lt;Self&gt;, Self)</code><a class="srclink" href="../src/num_integer/lib.rs.html#1014" title="goto source code">[src]</a></h4><h4 id="method.lcm-10" class="method"><code>fn <a href="#method.lcm-10" class="fnname">lcm</a>(&amp;self, other: &amp;Self) -&gt; Self</code><a class="srclink" href="../src/num_integer/lib.rs.html#1014" title="goto source code">[src]</a></h4><div class="docblock"><p>Calculates the Lowest Common Multiple (LCM) of the number and <code>other</code>.</p>
@@ -298,7 +298,7 @@ Lowest Common Multiple (LCM) of the number and <code>other</code>.</p>
</div><h4 id="method.is_even-10" class="method"><code>fn <a href="#method.is_even-10" class="fnname">is_even</a>(&amp;self) -&gt; bool</code><a class="srclink" href="../src/num_integer/lib.rs.html#1014" title="goto source code">[src]</a></h4><div class="docblock"><p>Returns <code>true</code> if the number is divisible by <code>2</code>.</p>
</div><h4 id="method.is_odd-10" class="method"><code>fn <a href="#method.is_odd-10" class="fnname">is_odd</a>(&amp;self) -&gt; bool</code><a class="srclink" href="../src/num_integer/lib.rs.html#1014" title="goto source code">[src]</a></h4><div class="docblock"><p>Returns <code>true</code> if the number is not divisible by <code>2</code>.</p>
</div><h4 id="method.div_rem-10" class="method"><code>fn <a href="#method.div_rem-10" class="fnname">div_rem</a>(&amp;self, other: &amp;Self) -&gt; (Self, Self)</code><a class="srclink" href="../src/num_integer/lib.rs.html#1014" title="goto source code">[src]</a></h4><div class="docblock"><p>Simultaneous truncated integer division and modulus.</p>
</div></div><h3 id="impl-Integer-11" class="impl"><code class="in-band">impl <a class="trait" href="../num_integer/trait.Integer.html" title="trait num_integer::Integer">Integer</a> for usize</code><a href="#impl-Integer-11" class="anchor"></a><a class="srclink" href="../src/num_integer/lib.rs.html#1012" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.div_floor-11" class="method"><code>fn <a href="#method.div_floor-11" class="fnname">div_floor</a>(&amp;self, other: &amp;Self) -&gt; Self</code><a class="srclink" href="../src/num_integer/lib.rs.html#1012" title="goto source code">[src]</a></h4><div class="docblock"><p>Unsigned integer division. Returns the same result as <code>div</code> (<code>/</code>).</p>
</div></div><h3 id="impl-Integer-11" class="impl"><code class="in-band">impl Integer for usize</code><a href="#impl-Integer-11" class="anchor"></a><a class="srclink" href="../src/num_integer/lib.rs.html#1012" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.div_floor-11" class="method"><code>fn <a href="#method.div_floor-11" class="fnname">div_floor</a>(&amp;self, other: &amp;Self) -&gt; Self</code><a class="srclink" href="../src/num_integer/lib.rs.html#1012" title="goto source code">[src]</a></h4><div class="docblock"><p>Unsigned integer division. Returns the same result as <code>div</code> (<code>/</code>).</p>
</div><h4 id="method.mod_floor-11" class="method"><code>fn <a href="#method.mod_floor-11" class="fnname">mod_floor</a>(&amp;self, other: &amp;Self) -&gt; Self</code><a class="srclink" href="../src/num_integer/lib.rs.html#1012" title="goto source code">[src]</a></h4><div class="docblock"><p>Unsigned integer modulo operation. Returns the same result as <code>rem</code> (<code>%</code>).</p>
</div><h4 id="method.div_ceil-12" class="method hidden"><code>fn <a href="#method.div_ceil-12" class="fnname">div_ceil</a>(&amp;self, other: &amp;Self) -&gt; Self</code><a class="srclink" href="../src/num_integer/lib.rs.html#1012" title="goto source code">[src]</a></h4><h4 id="method.gcd-11" class="method"><code>fn <a href="#method.gcd-11" class="fnname">gcd</a>(&amp;self, other: &amp;Self) -&gt; Self</code><a class="srclink" href="../src/num_integer/lib.rs.html#1012" title="goto source code">[src]</a></h4><div class="docblock"><p>Calculates the Greatest Common Divisor (GCD) of the number and <code>other</code></p>
</div><h4 id="method.extended_gcd_lcm-12" class="method hidden"><code>fn <a href="#method.extended_gcd_lcm-12" class="fnname">extended_gcd_lcm</a>(&amp;self, other: &amp;Self) -&gt; (<a class="struct" href="../num_integer/struct.ExtendedGcd.html" title="struct num_integer::ExtendedGcd">ExtendedGcd</a>&lt;Self&gt;, Self)</code><a class="srclink" href="../src/num_integer/lib.rs.html#1012" title="goto source code">[src]</a></h4><h4 id="method.lcm-11" class="method"><code>fn <a href="#method.lcm-11" class="fnname">lcm</a>(&amp;self, other: &amp;Self) -&gt; Self</code><a class="srclink" href="../src/num_integer/lib.rs.html#1012" title="goto source code">[src]</a></h4><div class="docblock"><p>Calculates the Lowest Common Multiple (LCM) of the number and <code>other</code>.</p>
@@ -309,5 +309,4 @@ Lowest Common Multiple (LCM) of the number and <code>other</code>.</p>
</div><h4 id="method.is_even-11" class="method"><code>fn <a href="#method.is_even-11" class="fnname">is_even</a>(&amp;self) -&gt; bool</code><a class="srclink" href="../src/num_integer/lib.rs.html#1012" title="goto source code">[src]</a></h4><div class="docblock"><p>Returns <code>true</code> if the number is divisible by <code>2</code>.</p>
</div><h4 id="method.is_odd-11" class="method"><code>fn <a href="#method.is_odd-11" class="fnname">is_odd</a>(&amp;self) -&gt; bool</code><a class="srclink" href="../src/num_integer/lib.rs.html#1012" title="goto source code">[src]</a></h4><div class="docblock"><p>Returns <code>true</code> if the number is not divisible by <code>2</code>.</p>
</div><h4 id="method.div_rem-11" class="method"><code>fn <a href="#method.div_rem-11" class="fnname">div_rem</a>(&amp;self, other: &amp;Self) -&gt; (Self, Self)</code><a class="srclink" href="../src/num_integer/lib.rs.html#1012" title="goto source code">[src]</a></h4><div class="docblock"><p>Simultaneous truncated integer division and modulus.</p>
</div></div></div><span class="loading-content">Loading content...</span><script type="text/javascript" src="../implementors/num_integer/trait.Integer.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_integer"></div>
<script src="../main.js"></script><script defer src="../search-index.js"></script></body></html>
</div></div></div><span class="loading-content">Loading content...</span><script type="text/javascript" src="../implementors/num_integer/trait.Integer.js" async></script></section><section id="search" class="content hidden"></section><section class="footer"></section><script>window.rootPath = "../";window.currentCrate = "num_integer";</script><script src="../main.js"></script><script defer src="../search-index.js"></script></body></html>