453 lines
443 KiB
HTML
453 lines
443 KiB
HTML
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `Ratio` struct in crate `num_rational`."><meta name="keywords" content="rust, rustlang, rust-lang, Ratio"><title>num_rational::Ratio - Rust</title><link rel="stylesheet" type="text/css" href="../normalize.css"><link rel="stylesheet" type="text/css" href="../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../dark.css"><link rel="stylesheet" type="text/css" href="../light.css" id="themeStyle"><script src="../storage.js"></script><noscript><link rel="stylesheet" href="../noscript.css"></noscript><link rel="shortcut icon" href="../favicon.ico"><style type="text/css">#crate-search{background-image:url("../down-arrow.svg");}</style></head><body class="rustdoc struct"><!--[if lte IE 8]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu">☰</div><a href='../num_rational/index.html'><div class='logo-container'><img src='../rust-logo.png' alt='logo'></div></a><p class='location'>Struct Ratio</p><div class="sidebar-elems"><div class="block items"><a class="sidebar-title" href="#methods">Methods</a><div class="sidebar-links"><a href="#method.approximate_float">approximate_float</a><a href="#method.ceil">ceil</a><a href="#method.denom">denom</a><a href="#method.floor">floor</a><a href="#method.fract">fract</a><a href="#method.from_float">from_float</a><a href="#method.from_integer">from_integer</a><a href="#method.is_integer">is_integer</a><a href="#method.new">new</a><a href="#method.new_raw">new_raw</a><a href="#method.numer">numer</a><a href="#method.pow">pow</a><a href="#method.recip">recip</a><a href="#method.reduced">reduced</a><a href="#method.round">round</a><a href="#method.to_integer">to_integer</a><a href="#method.trunc">trunc</a></div><a class="sidebar-title" href="#implementations">Trait Implementations</a><div class="sidebar-links"><a href="#impl-Add%3C%26%27a%20Ratio%3CT%3E%3E">Add<&'a Ratio<T>></a><a href="#impl-Add%3C%26%27a%20T%3E">Add<&'a T></a><a href="#impl-Add%3C%26%27b%20Ratio%3CT%3E%3E">Add<&'b Ratio<T>></a><a href="#impl-Add%3C%26%27b%20T%3E">Add<&'b T></a><a href="#impl-Add%3CRatio%3CT%3E%3E">Add<Ratio<T>></a><a href="#impl-Add%3CT%3E">Add<T></a><a href="#impl-AddAssign%3C%26%27a%20Ratio%3CT%3E%3E">AddAssign<&'a Ratio<T>></a><a href="#impl-AddAssign%3C%26%27a%20T%3E">AddAssign<&'a T></a><a href="#impl-AddAssign%3CRatio%3CT%3E%3E">AddAssign<Ratio<T>></a><a href="#impl-AddAssign%3CT%3E">AddAssign<T></a><a href="#impl-CheckedAdd">CheckedAdd</a><a href="#impl-CheckedDiv">CheckedDiv</a><a href="#impl-CheckedMul">CheckedMul</a><a href="#impl-CheckedSub">CheckedSub</a><a href="#impl-Clone">Clone</a><a href="#impl-Copy">Copy</a><a href="#impl-Debug">Debug</a><a href="#impl-Display">Display</a><a href="#impl-Div%3C%26%27a%20Ratio%3CT%3E%3E">Div<&'a Ratio<T>></a><a href="#impl-Div%3C%26%27a%20T%3E">Div<&'a T></a><a href="#impl-Div%3C%26%27b%20Ratio%3CT%3E%3E">Div<&'b Ratio<T>></a><a href="#impl-Div%3C%26%27b%20T%3E">Div<&'b T></a><a href="#impl-Div%3CRatio%3CT%3E%3E">Div<Ratio<T>></a><a href="#impl-Div%3CT%3E">Div<T></a><a href="#impl-DivAssign%3C%26%27a%20Ratio%3CT%3E%3E">DivAssign<&'a Ratio<T>></a><a href="#impl-DivAssign%3C%26%27a%20T%3E">DivAssign<&'a T></a><a href="#impl-DivAssign%3CRatio%3CT%3E%3E">DivAssign<Ratio<T>></a><a href="#impl-DivAssign%3CT%3E">DivAssign<T></a><a href="#impl-Eq">Eq</a><a href="#impl-From%3C(T%2C%20T)%3E">From<(T, T)></a><a href="#impl-From%3CT%3E">From<T></a><a href="#impl-FromPrimitive">FromPrimitive</a><a href="#impl-FromStr">FromStr</a><a href="#impl-Hash">Hash</a><a href="#impl-Into%3C(T%2C%20T)%3E">Into<(T, T)></a><a href="#impl-Inv">Inv</a><a href="#impl-Mul%3C%26%27a%20Ratio%3CT%3E%3E">Mul<&'a Ratio<T>></a><a href="#impl-Mul%3C%26%27a%20T%3E">Mul<&'a T></a><a href="#impl-Mul%3C%26%27b%20Ratio%3CT%3E%3E">Mul<&'b Ratio<T>></a><a href="#impl-Mul%3C%26%27b%20T%3E">Mul<&'b T></a><a href="#impl-Mul%3CRatio%3CT%3E%3E">Mul<Ratio<T>></a><a href="#impl-Mul%3CT%3E">Mul<T></a><a href="#impl-MulAssign%3C%26%27a%20Ratio%3CT%3E%3E">MulAssign<&'a Ratio<T>></a><a href="#impl-MulAssign%3C%26%27a%20T%3E">MulAssign<&'a T></a><a href="#impl-MulAssign%3CRatio%3CT%3E%3E">MulAssign<Ratio<T>></a><a href="#impl-MulAssign%3CT%3E">MulAssign<T></a><a href="#impl-Neg">Neg</a><a href="#impl-Num">Num</a><a href="#impl-One">One</a><a href="#impl-Ord">Ord</a><a href="#impl-PartialEq%3CRatio%3CT%3E%3E">PartialEq<Ratio<T>></a><a href="#impl-PartialOrd%3CRatio%3CT%3E%3E">PartialOrd<Ratio<T>></a><a href="#impl-Pow%3C%26%27a%20i16%3E">Pow<&'a i16></a><a href="#impl-Pow%3C%26%27a%20i32%3E">Pow<&'a i32></a><a href="#impl-Pow%3C%26%27a%20i64%3E">Pow<&'a i64></a><a href="#impl-Pow%3C%26%27a%20i8%3E">Pow<&'a i8></a><a href="#impl-Pow%3C%26%27a%20isize%3E">Pow<&'a isize></a><a href="#impl-Pow%3C%26%27a%20u16%3E">Pow<&'a u16></a><a href="#impl-Pow%3C%26%27a%20u32%3E">Pow<&'a u32></a><a href="#impl-Pow%3C%26%27a%20u64%3E">Pow<&'a u64></a><a href="#impl-Pow%3C%26%27a%20u8%3E">Pow<&'a u8></a><a href="#impl-Pow%3C%26%27a%20usize%3E">Pow<&'a usize></a><a href="#impl-Pow%3Ci16%3E">Pow<i16></a><a href="#impl-Pow%3Ci32%3E">Pow<i32></a><a href="#impl-Pow%3Ci64%3E">Pow<i64></a><a href="#impl-Pow%3Ci8%3E">Pow<i8></a><a href="#impl-Pow%3Cisize%3E">Pow<isize></a><a href="#impl-Pow%3Cu16%3E">Pow<u16></a><a href="#impl-Pow%3Cu32%3E">Pow<u32></a><a href="#impl-Pow%3Cu64%3E">Pow<u64></a><a href="#impl-Pow%3Cu8%3E">Pow<u8></a><a href="#impl-Pow%3Cusize%3E">Pow<usize></a><a href="#impl-Product%3C%26%27a%20Ratio%3CT%3E%3E">Product<&'a Ratio<T>></a><a href="#impl-Product%3CRatio%3CT%3E%3E">Product<Ratio<T>></a><a href="#impl-Rem%3C%26%27a%20Ratio%3CT%3E%3E">Rem<&'a Ratio<T>></a><a href="#impl-Rem%3C%26%27a%20T%3E">Rem<&'a T></a><a href="#impl-Rem%3C%26%27b%20Ratio%3CT%3E%3E">Rem<&'b Ratio<T>></a><a href="#impl-Rem%3C%26%27b%20T%3E">Rem<&'b T></a><a href="#impl-Rem%3CRatio%3CT%3E%3E">Rem<Ratio<T>></a><a href="#impl-Rem%3CT%3E">Rem<T></a><a href="#impl-RemAssign%3C%26%27a%20Ratio%3CT%3E%3E">RemAssign<&'a Ratio<T>></a><a href="#impl-RemAssign%3C%26%27a%20T%3E">RemAssign<&'a T></a><a href="#impl-RemAssign%3CRatio%3CT%3E%3E">RemAssign<Ratio<T>></a><a href="#impl-RemAssign%3CT%3E">RemAssign<T></a><a href="#impl-Signed">Signed</a><a href="#impl-Sub%3C%26%27a%20Ratio%3CT%3E%3E">Sub<&'a Ratio<T>></a><a href="#impl-Sub%3C%26%27a%20T%3E">Sub<&'a T></a><a href="#impl-Sub%3C%26%27b%20Ratio%3CT%3E%3E">Sub<&'b Ratio<T>></a><a href="#impl-Sub%3C%26%27b%20T%3E">Sub<&'b T></a><a href="#impl-Sub%3CRatio%3CT%3E%3E">Sub<Ratio<T>></a><a href="#impl-Sub%3CT%3E">Sub<T></a><a href="#impl-SubAssign%3C%26%27a%20Ratio%3CT%3E%3E">SubAssign<&'a Ratio<T>></a><a href="#impl-SubAssign%3C%26%27a%20T%3E">SubAssign<&'a T></a><a href="#impl-SubAssign%3CRatio%3CT%3E%3E">SubAssign<Ratio<T>></a><a href="#impl-SubAssign%3CT%3E">SubAssign<T></a><a href="#impl-Sum%3C%26%27a%20Ratio%3CT%3E%3E">Sum<&'a Ratio<T>></a><a href="#impl-Sum%3CRatio%3CT%3E%3E">Sum<Ratio<T>></a><a href="#impl-Zero">Zero</a></div><a class="sidebar-title" href="#synthetic-implementations">Auto Trait Implementations</a><div class="sidebar-links"><a href="#impl-RefUnwindSafe">RefUnwindSafe</a><a href="#impl-Send">Send</a><a href="#impl-Sync">Sync</a><a href="#impl-Unpin">Unpin</a><a href="#impl-UnwindSafe">UnwindSafe</a></div><a class="sidebar-title" href="#blanket-implementations">Blanket Implementations</a><div class="sidebar-links"><a href="#impl-Any">Any</a><a href="#impl-Borrow%3CT%3E">Borrow<T></a><a href="#impl-BorrowMut%3CT%3E">BorrowMut<T></a><a href="#impl-From%3CT%3E">From<T></a><a href="#impl-Into%3CU%3E">Into<U></a><a href="#impl-NumAssign">NumAssign</a><a href="#impl-NumAssignOps%3CRhs%3E">NumAssignOps<Rhs></a><a href="#impl-NumAssignRef">NumAssignRef</a><a href="#impl-NumOps%3CRhs%2C%20Output%3E">NumOps<Rhs, Output></a><a href="#impl-NumRef">NumRef</a><a href="#impl-RefNum%3CBase%3E">RefNum<Base></a><a href="#impl-ToOwned">ToOwned</a><a href="#impl-ToString">ToString</a><a href="#impl-TryFrom%3CU%3E">TryFrom<U></a><a href="#impl-TryInto%3CU%3E">TryInto<U></a></div></div><p class='location'><a href='index.html'>num_rational</a></p><script>window.sidebarCurrent = {name: 'Ratio', ty: 'struct', relpath: ''};</script><script defer src="sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!"><img src="../brush.svg" width="18" alt="Pick another theme!"></button><div id="theme-choices"></div></div><script src="../theme.js"></script><nav class="sub"><form class="search-form js-only"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input" name="search" autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"></div><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'>−</span>]</a></span><a class='srclink' href='../src/num_rational/lib.rs.html#53-58' title='goto source code'>[src]</a></span><span class='in-band'>Struct <a href='index.html'>num_rational</a>::<wbr><a class="struct" href=''>Ratio</a></span></h1><div class="docblock type-decl hidden-by-usual-hider"><pre class='rust struct'>pub struct Ratio<T> { /* fields omitted */ }</pre></div><div class='docblock'><p>Represents the ratio between two numbers.</p>
|
||
</div><h2 id='methods' class='small-section-header'>Methods<a href='#methods' class='anchor'></a></h2><h3 id='impl' class='impl'><code class='in-band'>impl<T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> + <a class="trait" href="../num_integer/trait.Integer.html" title="trait num_integer::Integer">Integer</a>> <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code><a href='#impl' class='anchor'></a><a class='srclink' href='../src/num_rational/lib.rs.html#71-240' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.new' class="method"><code id='new.v'>pub fn <a href='#method.new' class='fnname'>new</a>(numer: T, denom: T) -> <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code><a class='srclink' href='../src/num_rational/lib.rs.html#74-81' title='goto source code'>[src]</a></h4><div class='docblock'><p>Creates a new <code>Ratio</code>. Fails if <code>denom</code> is zero.</p>
|
||
</div><h4 id='method.from_integer' class="method"><code id='from_integer.v'>pub fn <a href='#method.from_integer' class='fnname'>from_integer</a>(t: T) -> <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code><a class='srclink' href='../src/num_rational/lib.rs.html#85-87' title='goto source code'>[src]</a></h4><div class='docblock'><p>Creates a <code>Ratio</code> representing the integer <code>t</code>.</p>
|
||
</div><h4 id='method.new_raw' class="method"><code id='new_raw.v'>pub fn <a href='#method.new_raw' class='fnname'>new_raw</a>(numer: T, denom: T) -> <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code><a class='srclink' href='../src/num_rational/lib.rs.html#91-96' title='goto source code'>[src]</a></h4><div class='docblock'><p>Creates a <code>Ratio</code> without checking for <code>denom == 0</code> or reducing.</p>
|
||
</div><h4 id='method.to_integer' class="method"><code id='to_integer.v'>pub fn <a href='#method.to_integer' class='fnname'>to_integer</a>(&self) -> T</code><a class='srclink' href='../src/num_rational/lib.rs.html#100-102' title='goto source code'>[src]</a></h4><div class='docblock'><p>Converts to an integer, rounding towards zero.</p>
|
||
</div><h4 id='method.numer' class="method"><code id='numer.v'>pub fn <a href='#method.numer' class='fnname'>numer</a><'a>(&'a self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a </a>T</code><a class='srclink' href='../src/num_rational/lib.rs.html#106-108' title='goto source code'>[src]</a></h4><div class='docblock'><p>Gets an immutable reference to the numerator.</p>
|
||
</div><h4 id='method.denom' class="method"><code id='denom.v'>pub fn <a href='#method.denom' class='fnname'>denom</a><'a>(&'a self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a </a>T</code><a class='srclink' href='../src/num_rational/lib.rs.html#112-114' title='goto source code'>[src]</a></h4><div class='docblock'><p>Gets an immutable reference to the denominator.</p>
|
||
</div><h4 id='method.is_integer' class="method"><code id='is_integer.v'>pub fn <a href='#method.is_integer' class='fnname'>is_integer</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code><a class='srclink' href='../src/num_rational/lib.rs.html#118-120' title='goto source code'>[src]</a></h4><div class='docblock'><p>Returns true if the rational number is an integer (denominator is 1).</p>
|
||
</div><h4 id='method.reduced' class="method"><code id='reduced.v'>pub fn <a href='#method.reduced' class='fnname'>reduced</a>(&self) -> <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code><a class='srclink' href='../src/num_rational/lib.rs.html#146-150' title='goto source code'>[src]</a></h4><div class='docblock'><p>Returns a reduced copy of self.</p>
|
||
<p>In general, it is not necessary to use this method, as the only
|
||
method of procuring a non-reduced fraction is through <code>new_raw</code>.</p>
|
||
</div><h4 id='method.recip' class="method"><code id='recip.v'>pub fn <a href='#method.recip' class='fnname'>recip</a>(&self) -> <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code><a class='srclink' href='../src/num_rational/lib.rs.html#156-165' title='goto source code'>[src]</a></h4><div class='docblock'><p>Returns the reciprocal.</p>
|
||
<p>Fails if the <code>Ratio</code> is zero.</p>
|
||
</div><h4 id='method.floor' class="method"><code id='floor.v'>pub fn <a href='#method.floor' class='fnname'>floor</a>(&self) -> <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code><a class='srclink' href='../src/num_rational/lib.rs.html#169-178' title='goto source code'>[src]</a></h4><div class='docblock'><p>Rounds towards minus infinity.</p>
|
||
</div><h4 id='method.ceil' class="method"><code id='ceil.v'>pub fn <a href='#method.ceil' class='fnname'>ceil</a>(&self) -> <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code><a class='srclink' href='../src/num_rational/lib.rs.html#182-191' title='goto source code'>[src]</a></h4><div class='docblock'><p>Rounds towards plus infinity.</p>
|
||
</div><h4 id='method.round' class="method"><code id='round.v'>pub fn <a href='#method.round' class='fnname'>round</a>(&self) -> <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code><a class='srclink' href='../src/num_rational/lib.rs.html#195-225' title='goto source code'>[src]</a></h4><div class='docblock'><p>Rounds to the nearest integer. Rounds half-way cases away from zero.</p>
|
||
</div><h4 id='method.trunc' class="method"><code id='trunc.v'>pub fn <a href='#method.trunc' class='fnname'>trunc</a>(&self) -> <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code><a class='srclink' href='../src/num_rational/lib.rs.html#229-231' title='goto source code'>[src]</a></h4><div class='docblock'><p>Rounds towards zero.</p>
|
||
</div><h4 id='method.fract' class="method"><code id='fract.v'>pub fn <a href='#method.fract' class='fnname'>fract</a>(&self) -> <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code><a class='srclink' href='../src/num_rational/lib.rs.html#237-239' title='goto source code'>[src]</a></h4><div class='docblock'><p>Returns the fractional part of a number, with division rounded towards zero.</p>
|
||
<p>Satisfies <code>self == self.trunc() + self.fract()</code>.</p>
|
||
</div></div><h3 id='impl-1' class='impl'><code class='in-band'>impl<T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> + <a class="trait" href="../num_integer/trait.Integer.html" title="trait num_integer::Integer">Integer</a> + <a class="trait" href="../num_traits/pow/trait.Pow.html" title="trait num_traits::pow::Pow">Pow</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>, Output = T>> <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code><a href='#impl-1' class='anchor'></a><a class='srclink' href='../src/num_rational/lib.rs.html#242-248' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.pow' class="method"><code id='pow.v'>pub fn <a href='#method.pow' class='fnname'>pow</a>(&self, expon: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>) -> <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code><a class='srclink' href='../src/num_rational/lib.rs.html#245-247' title='goto source code'>[src]</a></h4><div class='docblock'><p>Raises the <code>Ratio</code> to the power of an exponent.</p>
|
||
</div></div><h3 id='impl-2' class='impl'><code class='in-band'>impl <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><<a class="struct" href="../num_bigint/bigint/struct.BigInt.html" title="struct num_bigint::bigint::BigInt">BigInt</a>></code><a href='#impl-2' class='anchor'></a><a class='srclink' href='../src/num_rational/lib.rs.html#324-346' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.from_float' class="method"><code id='from_float.v'>pub fn <a href='#method.from_float' class='fnname'>from_float</a><T: <a class="trait" href="../num_traits/float/trait.FloatCore.html" title="trait num_traits::float::FloatCore">FloatCore</a>>(f: T) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="type" href="../num_rational/type.BigRational.html" title="type num_rational::BigRational">BigRational</a>></code><a class='srclink' href='../src/num_rational/lib.rs.html#326-345' title='goto source code'>[src]</a></h4><div class='docblock'><p>Converts a float into a rational number.</p>
|
||
</div></div><h3 id='impl-3' class='impl'><code class='in-band'>impl<T: <a class="trait" href="../num_integer/trait.Integer.html" title="trait num_integer::Integer">Integer</a> + <a class="trait" href="../num_traits/sign/trait.Signed.html" title="trait num_traits::sign::Signed">Signed</a> + <a class="trait" href="../num_traits/bounds/trait.Bounded.html" title="trait num_traits::bounds::Bounded">Bounded</a> + <a class="trait" href="../num_traits/cast/trait.NumCast.html" title="trait num_traits::cast::NumCast">NumCast</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a>> <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code><a href='#impl-3' class='anchor'></a><a class='srclink' href='../src/num_rational/lib.rs.html#1190-1198' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.approximate_float' class="method"><code id='approximate_float.v'>pub fn <a href='#method.approximate_float' class='fnname'>approximate_float</a><F: <a class="trait" href="../num_traits/float/trait.FloatCore.html" title="trait num_traits::float::FloatCore">FloatCore</a> + <a class="trait" href="../num_traits/cast/trait.NumCast.html" title="trait num_traits::cast::NumCast">NumCast</a>>(f: F) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T>></code><a class='srclink' href='../src/num_rational/lib.rs.html#1191-1197' title='goto source code'>[src]</a></h4></div><h2 id='implementations' class='small-section-header'>Trait Implementations<a href='#implementations' class='anchor'></a></h2><div id='implementations-list'><h3 id='impl-From%3CT%3E' class='impl'><code class='in-band'>impl<T> <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><T> for <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T> <span class="where fmt-newline">where<br> T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> + <a class="trait" href="../num_integer/trait.Integer.html" title="trait num_integer::Integer">Integer</a>, </span></code><a href='#impl-From%3CT%3E' class='anchor'></a><a class='srclink' href='../src/num_rational/lib.rs.html#349-356' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.from' class="method hidden"><code id='from.v'>fn <a href='https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from' class='fnname'>from</a>(x: T) -> <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code><a class='srclink' href='../src/num_rational/lib.rs.html#353-355' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p>
|
||
</div></div><h3 id='impl-From%3C(T%2C%20T)%3E' class='impl'><code class='in-band'>impl<T> <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">(</a>T, T<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">)</a>> for <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T> <span class="where fmt-newline">where<br> T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> + <a class="trait" href="../num_integer/trait.Integer.html" title="trait num_integer::Integer">Integer</a>, </span></code><a href='#impl-From%3C(T%2C%20T)%3E' class='anchor'></a><a class='srclink' href='../src/num_rational/lib.rs.html#359-366' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.from-1' class="method hidden"><code id='from.v-1'>fn <a href='https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from' class='fnname'>from</a>(pair: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">(</a>T, T<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">)</a>) -> <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code><a class='srclink' href='../src/num_rational/lib.rs.html#363-365' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p>
|
||
</div></div><h3 id='impl-Display' class='impl'><code class='in-band'>impl<T> <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.Display.html" title="trait core::fmt::Display">Display</a> for <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T> <span class="where fmt-newline">where<br> T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.Display.html" title="trait core::fmt::Display">Display</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.Eq.html" title="trait core::cmp::Eq">Eq</a> + <a class="trait" href="../num_traits/identities/trait.One.html" title="trait num_traits::identities::One">One</a>, </span></code><a href='#impl-Display' class='anchor'></a><a class='srclink' href='../src/num_rational/lib.rs.html#994-1006' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.fmt' class="method"><code id='fmt.v'>fn <a href='https://doc.rust-lang.org/nightly/core/fmt/trait.Display.html#tymethod.fmt' class='fnname'>fmt</a>(&self, f: &mut <a class="struct" href="https://doc.rust-lang.org/nightly/core/fmt/struct.Formatter.html" title="struct core::fmt::Formatter">Formatter</a>) -> <a class="type" href="https://doc.rust-lang.org/nightly/core/fmt/type.Result.html" title="type core::fmt::Result">Result</a></code><a class='srclink' href='../src/num_rational/lib.rs.html#999-1005' title='goto source code'>[src]</a></h4><div class='docblock'><p>Renders as <code>numer/denom</code>. If denom=1, renders as numer.</p>
|
||
</div></div><h3 id='impl-Debug' class='impl'><code class='in-band'>impl<T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a>> <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a> for <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code><a href='#impl-Debug' class='anchor'></a><a class='srclink' href='../src/num_rational/lib.rs.html#51' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.fmt-1' class="method hidden"><code id='fmt.v-1'>fn <a href='https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html#tymethod.fmt' class='fnname'>fmt</a>(&self, f: &mut <a class="struct" href="https://doc.rust-lang.org/nightly/core/fmt/struct.Formatter.html" title="struct core::fmt::Formatter">Formatter</a>) -> <a class="type" href="https://doc.rust-lang.org/nightly/core/fmt/type.Result.html" title="type core::fmt::Result">Result</a></code><a class='srclink' href='../src/num_rational/lib.rs.html#51' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Formats the value using the given formatter. <a href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html#tymethod.fmt">Read more</a></p>
|
||
</div></div><h3 id='impl-Div%3C%26%27b%20Ratio%3CT%3E%3E' class='impl'><code class='in-band'>impl<'a, 'b, T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> + <a class="trait" href="../num_integer/trait.Integer.html" title="trait num_integer::Integer">Integer</a>> <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html" title="trait core::ops::arith::Div">Div</a><&'b <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T>> for &'a <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code><a href='#impl-Div%3C%26%27b%20Ratio%3CT%3E%3E' class='anchor'></a><a class='srclink' href='../src/num_rational/lib.rs.html#614-621' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Output' class="type"><code id='Output.t'>type <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html#associatedtype.Output' class="type">Output</a> = <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code></h4><div class='docblock'><p>The resulting type after applying the <code>/</code> operator.</p>
|
||
</div><h4 id='method.div' class="method hidden"><code id='div.v'>fn <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html#tymethod.div' class='fnname'>div</a>(self, other: &'b <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T>) -> <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code><a class='srclink' href='../src/num_rational/lib.rs.html#618-620' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the <code>/</code> operation.</p>
|
||
</div></div><h3 id='impl-Div%3C%26%27b%20T%3E' class='impl'><code class='in-band'>impl<'a, 'b, T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> + <a class="trait" href="../num_integer/trait.Integer.html" title="trait num_integer::Integer">Integer</a>> <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html" title="trait core::ops::arith::Div">Div</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'b </a>T> for &'a <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code><a href='#impl-Div%3C%26%27b%20T%3E' class='anchor'></a><a class='srclink' href='../src/num_rational/lib.rs.html#622-629' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Output-1' class="type"><code id='Output.t-1'>type <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html#associatedtype.Output' class="type">Output</a> = <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code></h4><div class='docblock'><p>The resulting type after applying the <code>/</code> operator.</p>
|
||
</div><h4 id='method.div-1' class="method hidden"><code id='div.v-1'>fn <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html#tymethod.div' class='fnname'>div</a>(self, other: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'b </a>T) -> <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code><a class='srclink' href='../src/num_rational/lib.rs.html#626-628' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the <code>/</code> operation.</p>
|
||
</div></div><h3 id='impl-Div%3CRatio%3CT%3E%3E' class='impl'><code class='in-band'>impl<'a, T> <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html" title="trait core::ops::arith::Div">Div</a><<a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T>> for &'a <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T> <span class="where fmt-newline">where<br> T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> + <a class="trait" href="../num_integer/trait.Integer.html" title="trait num_integer::Integer">Integer</a>, </span></code><a href='#impl-Div%3CRatio%3CT%3E%3E' class='anchor'></a><a class='srclink' href='../src/num_rational/lib.rs.html#635-645' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Output-2' class="type"><code id='Output.t-2'>type <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html#associatedtype.Output' class="type">Output</a> = <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code></h4><div class='docblock'><p>The resulting type after applying the <code>/</code> operator.</p>
|
||
</div><h4 id='method.div-2' class="method hidden"><code id='div.v-2'>fn <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html#tymethod.div' class='fnname'>div</a>(self, other: <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T>) -> <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code><a class='srclink' href='../src/num_rational/lib.rs.html#642-644' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the <code>/</code> operation.</p>
|
||
</div></div><h3 id='impl-Div%3CT%3E' class='impl'><code class='in-band'>impl<'a, T> <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html" title="trait core::ops::arith::Div">Div</a><T> for &'a <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T> <span class="where fmt-newline">where<br> T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> + <a class="trait" href="../num_integer/trait.Integer.html" title="trait num_integer::Integer">Integer</a>, </span></code><a href='#impl-Div%3CT%3E' class='anchor'></a><a class='srclink' href='../src/num_rational/lib.rs.html#646-656' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Output-3' class="type"><code id='Output.t-3'>type <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html#associatedtype.Output' class="type">Output</a> = <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code></h4><div class='docblock'><p>The resulting type after applying the <code>/</code> operator.</p>
|
||
</div><h4 id='method.div-3' class="method hidden"><code id='div.v-3'>fn <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html#tymethod.div' class='fnname'>div</a>(self, other: T) -> <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code><a class='srclink' href='../src/num_rational/lib.rs.html#653-655' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the <code>/</code> operation.</p>
|
||
</div></div><h3 id='impl-Div%3C%26%27a%20Ratio%3CT%3E%3E' class='impl'><code class='in-band'>impl<'a, T> <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html" title="trait core::ops::arith::Div">Div</a><&'a <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T>> for <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T> <span class="where fmt-newline">where<br> T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> + <a class="trait" href="../num_integer/trait.Integer.html" title="trait num_integer::Integer">Integer</a>, </span></code><a href='#impl-Div%3C%26%27a%20Ratio%3CT%3E%3E' class='anchor'></a><a class='srclink' href='../src/num_rational/lib.rs.html#662-672' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Output-4' class="type"><code id='Output.t-4'>type <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html#associatedtype.Output' class="type">Output</a> = <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code></h4><div class='docblock'><p>The resulting type after applying the <code>/</code> operator.</p>
|
||
</div><h4 id='method.div-4' class="method hidden"><code id='div.v-4'>fn <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html#tymethod.div' class='fnname'>div</a>(self, other: &<a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T>) -> <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code><a class='srclink' href='../src/num_rational/lib.rs.html#669-671' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the <code>/</code> operation.</p>
|
||
</div></div><h3 id='impl-Div%3C%26%27a%20T%3E' class='impl'><code class='in-band'>impl<'a, T> <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html" title="trait core::ops::arith::Div">Div</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a </a>T> for <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T> <span class="where fmt-newline">where<br> T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> + <a class="trait" href="../num_integer/trait.Integer.html" title="trait num_integer::Integer">Integer</a>, </span></code><a href='#impl-Div%3C%26%27a%20T%3E' class='anchor'></a><a class='srclink' href='../src/num_rational/lib.rs.html#673-683' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Output-5' class="type"><code id='Output.t-5'>type <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html#associatedtype.Output' class="type">Output</a> = <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code></h4><div class='docblock'><p>The resulting type after applying the <code>/</code> operator.</p>
|
||
</div><h4 id='method.div-5' class="method hidden"><code id='div.v-5'>fn <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html#tymethod.div' class='fnname'>div</a>(self, other: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&</a>T) -> <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code><a class='srclink' href='../src/num_rational/lib.rs.html#680-682' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the <code>/</code> operation.</p>
|
||
</div></div><h3 id='impl-Div%3CRatio%3CT%3E%3E-1' class='impl'><code class='in-band'>impl<T> <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html" title="trait core::ops::arith::Div">Div</a><<a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T>> for <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T> <span class="where fmt-newline">where<br> T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> + <a class="trait" href="../num_integer/trait.Integer.html" title="trait num_integer::Integer">Integer</a>, </span></code><a href='#impl-Div%3CRatio%3CT%3E%3E-1' class='anchor'></a><a class='srclink' href='../src/num_rational/lib.rs.html#722-732' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Output-6' class="type"><code id='Output.t-6'>type <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html#associatedtype.Output' class="type">Output</a> = <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code></h4><div class='docblock'><p>The resulting type after applying the <code>/</code> operator.</p>
|
||
</div><h4 id='method.div-6' class="method hidden"><code id='div.v-6'>fn <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html#tymethod.div' class='fnname'>div</a>(self, rhs: <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T>) -> <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code><a class='srclink' href='../src/num_rational/lib.rs.html#729-731' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the <code>/</code> operation.</p>
|
||
</div></div><h3 id='impl-Div%3CT%3E-1' class='impl'><code class='in-band'>impl<T> <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html" title="trait core::ops::arith::Div">Div</a><T> for <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T> <span class="where fmt-newline">where<br> T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> + <a class="trait" href="../num_integer/trait.Integer.html" title="trait num_integer::Integer">Integer</a>, </span></code><a href='#impl-Div%3CT%3E-1' class='anchor'></a><a class='srclink' href='../src/num_rational/lib.rs.html#734-744' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Output-7' class="type"><code id='Output.t-7'>type <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html#associatedtype.Output' class="type">Output</a> = <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code></h4><div class='docblock'><p>The resulting type after applying the <code>/</code> operator.</p>
|
||
</div><h4 id='method.div-7' class="method hidden"><code id='div.v-7'>fn <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html#tymethod.div' class='fnname'>div</a>(self, rhs: T) -> <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code><a class='srclink' href='../src/num_rational/lib.rs.html#741-743' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the <code>/</code> operation.</p>
|
||
</div></div><h3 id='impl-Rem%3C%26%27b%20Ratio%3CT%3E%3E' class='impl'><code class='in-band'>impl<'a, 'b, T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> + <a class="trait" href="../num_integer/trait.Integer.html" title="trait num_integer::Integer">Integer</a>> <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Rem.html" title="trait core::ops::arith::Rem">Rem</a><&'b <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T>> for &'a <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code><a href='#impl-Rem%3C%26%27b%20Ratio%3CT%3E%3E' class='anchor'></a><a class='srclink' href='../src/num_rational/lib.rs.html#614-621' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Output-8' class="type"><code id='Output.t-8'>type <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.Rem.html#associatedtype.Output' class="type">Output</a> = <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code></h4><div class='docblock'><p>The resulting type after applying the <code>%</code> operator.</p>
|
||
</div><h4 id='method.rem' class="method hidden"><code id='rem.v'>fn <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.Rem.html#tymethod.rem' class='fnname'>rem</a>(self, other: &'b <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T>) -> <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code><a class='srclink' href='../src/num_rational/lib.rs.html#618-620' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the <code>%</code> operation.</p>
|
||
</div></div><h3 id='impl-Rem%3C%26%27b%20T%3E' class='impl'><code class='in-band'>impl<'a, 'b, T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> + <a class="trait" href="../num_integer/trait.Integer.html" title="trait num_integer::Integer">Integer</a>> <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Rem.html" title="trait core::ops::arith::Rem">Rem</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'b </a>T> for &'a <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code><a href='#impl-Rem%3C%26%27b%20T%3E' class='anchor'></a><a class='srclink' href='../src/num_rational/lib.rs.html#622-629' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Output-9' class="type"><code id='Output.t-9'>type <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.Rem.html#associatedtype.Output' class="type">Output</a> = <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code></h4><div class='docblock'><p>The resulting type after applying the <code>%</code> operator.</p>
|
||
</div><h4 id='method.rem-1' class="method hidden"><code id='rem.v-1'>fn <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.Rem.html#tymethod.rem' class='fnname'>rem</a>(self, other: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'b </a>T) -> <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code><a class='srclink' href='../src/num_rational/lib.rs.html#626-628' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the <code>%</code> operation.</p>
|
||
</div></div><h3 id='impl-Rem%3CRatio%3CT%3E%3E' class='impl'><code class='in-band'>impl<'a, T> <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Rem.html" title="trait core::ops::arith::Rem">Rem</a><<a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T>> for &'a <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T> <span class="where fmt-newline">where<br> T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> + <a class="trait" href="../num_integer/trait.Integer.html" title="trait num_integer::Integer">Integer</a>, </span></code><a href='#impl-Rem%3CRatio%3CT%3E%3E' class='anchor'></a><a class='srclink' href='../src/num_rational/lib.rs.html#635-645' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Output-10' class="type"><code id='Output.t-10'>type <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.Rem.html#associatedtype.Output' class="type">Output</a> = <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code></h4><div class='docblock'><p>The resulting type after applying the <code>%</code> operator.</p>
|
||
</div><h4 id='method.rem-2' class="method hidden"><code id='rem.v-2'>fn <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.Rem.html#tymethod.rem' class='fnname'>rem</a>(self, other: <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T>) -> <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code><a class='srclink' href='../src/num_rational/lib.rs.html#642-644' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the <code>%</code> operation.</p>
|
||
</div></div><h3 id='impl-Rem%3CT%3E' class='impl'><code class='in-band'>impl<'a, T> <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Rem.html" title="trait core::ops::arith::Rem">Rem</a><T> for &'a <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T> <span class="where fmt-newline">where<br> T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> + <a class="trait" href="../num_integer/trait.Integer.html" title="trait num_integer::Integer">Integer</a>, </span></code><a href='#impl-Rem%3CT%3E' class='anchor'></a><a class='srclink' href='../src/num_rational/lib.rs.html#646-656' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Output-11' class="type"><code id='Output.t-11'>type <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.Rem.html#associatedtype.Output' class="type">Output</a> = <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code></h4><div class='docblock'><p>The resulting type after applying the <code>%</code> operator.</p>
|
||
</div><h4 id='method.rem-3' class="method hidden"><code id='rem.v-3'>fn <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.Rem.html#tymethod.rem' class='fnname'>rem</a>(self, other: T) -> <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code><a class='srclink' href='../src/num_rational/lib.rs.html#653-655' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the <code>%</code> operation.</p>
|
||
</div></div><h3 id='impl-Rem%3C%26%27a%20Ratio%3CT%3E%3E' class='impl'><code class='in-band'>impl<'a, T> <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Rem.html" title="trait core::ops::arith::Rem">Rem</a><&'a <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T>> for <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T> <span class="where fmt-newline">where<br> T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> + <a class="trait" href="../num_integer/trait.Integer.html" title="trait num_integer::Integer">Integer</a>, </span></code><a href='#impl-Rem%3C%26%27a%20Ratio%3CT%3E%3E' class='anchor'></a><a class='srclink' href='../src/num_rational/lib.rs.html#662-672' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Output-12' class="type"><code id='Output.t-12'>type <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.Rem.html#associatedtype.Output' class="type">Output</a> = <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code></h4><div class='docblock'><p>The resulting type after applying the <code>%</code> operator.</p>
|
||
</div><h4 id='method.rem-4' class="method hidden"><code id='rem.v-4'>fn <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.Rem.html#tymethod.rem' class='fnname'>rem</a>(self, other: &<a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T>) -> <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code><a class='srclink' href='../src/num_rational/lib.rs.html#669-671' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the <code>%</code> operation.</p>
|
||
</div></div><h3 id='impl-Rem%3C%26%27a%20T%3E' class='impl'><code class='in-band'>impl<'a, T> <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Rem.html" title="trait core::ops::arith::Rem">Rem</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a </a>T> for <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T> <span class="where fmt-newline">where<br> T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> + <a class="trait" href="../num_integer/trait.Integer.html" title="trait num_integer::Integer">Integer</a>, </span></code><a href='#impl-Rem%3C%26%27a%20T%3E' class='anchor'></a><a class='srclink' href='../src/num_rational/lib.rs.html#673-683' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Output-13' class="type"><code id='Output.t-13'>type <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.Rem.html#associatedtype.Output' class="type">Output</a> = <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code></h4><div class='docblock'><p>The resulting type after applying the <code>%</code> operator.</p>
|
||
</div><h4 id='method.rem-5' class="method hidden"><code id='rem.v-5'>fn <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.Rem.html#tymethod.rem' class='fnname'>rem</a>(self, other: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&</a>T) -> <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code><a class='srclink' href='../src/num_rational/lib.rs.html#680-682' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the <code>%</code> operation.</p>
|
||
</div></div><h3 id='impl-Rem%3CRatio%3CT%3E%3E-1' class='impl'><code class='in-band'>impl<T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> + <a class="trait" href="../num_integer/trait.Integer.html" title="trait num_integer::Integer">Integer</a>> <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Rem.html" title="trait core::ops::arith::Rem">Rem</a><<a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T>> for <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code><a href='#impl-Rem%3CRatio%3CT%3E%3E-1' class='anchor'></a><a class='srclink' href='../src/num_rational/lib.rs.html#750-759' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Output-14' class="type"><code id='Output.t-14'>type <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.Rem.html#associatedtype.Output' class="type">Output</a> = <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code></h4><div class='docblock'><p>The resulting type after applying the <code>%</code> operator.</p>
|
||
</div><h4 id='method.rem-6' class="method hidden"><code id='rem.v-6'>fn <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.Rem.html#tymethod.rem' class='fnname'>rem</a>(self, rhs: <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T>) -> <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code><a class='srclink' href='../src/num_rational/lib.rs.html#753-758' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the <code>%</code> operation.</p>
|
||
</div></div><h3 id='impl-Rem%3CT%3E-1' class='impl'><code class='in-band'>impl<T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> + <a class="trait" href="../num_integer/trait.Integer.html" title="trait num_integer::Integer">Integer</a>> <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Rem.html" title="trait core::ops::arith::Rem">Rem</a><T> for <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code><a href='#impl-Rem%3CT%3E-1' class='anchor'></a><a class='srclink' href='../src/num_rational/lib.rs.html#761-767' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Output-15' class="type"><code id='Output.t-15'>type <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.Rem.html#associatedtype.Output' class="type">Output</a> = <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code></h4><div class='docblock'><p>The resulting type after applying the <code>%</code> operator.</p>
|
||
</div><h4 id='method.rem-7' class="method hidden"><code id='rem.v-7'>fn <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.Rem.html#tymethod.rem' class='fnname'>rem</a>(self, rhs: T) -> <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code><a class='srclink' href='../src/num_rational/lib.rs.html#764-766' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the <code>%</code> operation.</p>
|
||
</div></div><h3 id='impl-Sub%3C%26%27b%20Ratio%3CT%3E%3E' class='impl'><code class='in-band'>impl<'a, 'b, T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> + <a class="trait" href="../num_integer/trait.Integer.html" title="trait num_integer::Integer">Integer</a>> <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Sub.html" title="trait core::ops::arith::Sub">Sub</a><&'b <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T>> for &'a <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code><a href='#impl-Sub%3C%26%27b%20Ratio%3CT%3E%3E' class='anchor'></a><a class='srclink' href='../src/num_rational/lib.rs.html#614-621' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Output-16' class="type"><code id='Output.t-16'>type <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.Sub.html#associatedtype.Output' class="type">Output</a> = <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code></h4><div class='docblock'><p>The resulting type after applying the <code>-</code> operator.</p>
|
||
</div><h4 id='method.sub' class="method hidden"><code id='sub.v'>fn <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.Sub.html#tymethod.sub' class='fnname'>sub</a>(self, other: &'b <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T>) -> <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code><a class='srclink' href='../src/num_rational/lib.rs.html#618-620' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the <code>-</code> operation.</p>
|
||
</div></div><h3 id='impl-Sub%3C%26%27b%20T%3E' class='impl'><code class='in-band'>impl<'a, 'b, T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> + <a class="trait" href="../num_integer/trait.Integer.html" title="trait num_integer::Integer">Integer</a>> <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Sub.html" title="trait core::ops::arith::Sub">Sub</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'b </a>T> for &'a <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code><a href='#impl-Sub%3C%26%27b%20T%3E' class='anchor'></a><a class='srclink' href='../src/num_rational/lib.rs.html#622-629' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Output-17' class="type"><code id='Output.t-17'>type <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.Sub.html#associatedtype.Output' class="type">Output</a> = <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code></h4><div class='docblock'><p>The resulting type after applying the <code>-</code> operator.</p>
|
||
</div><h4 id='method.sub-1' class="method hidden"><code id='sub.v-1'>fn <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.Sub.html#tymethod.sub' class='fnname'>sub</a>(self, other: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'b </a>T) -> <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code><a class='srclink' href='../src/num_rational/lib.rs.html#626-628' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the <code>-</code> operation.</p>
|
||
</div></div><h3 id='impl-Sub%3CRatio%3CT%3E%3E' class='impl'><code class='in-band'>impl<'a, T> <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Sub.html" title="trait core::ops::arith::Sub">Sub</a><<a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T>> for &'a <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T> <span class="where fmt-newline">where<br> T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> + <a class="trait" href="../num_integer/trait.Integer.html" title="trait num_integer::Integer">Integer</a>, </span></code><a href='#impl-Sub%3CRatio%3CT%3E%3E' class='anchor'></a><a class='srclink' href='../src/num_rational/lib.rs.html#635-645' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Output-18' class="type"><code id='Output.t-18'>type <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.Sub.html#associatedtype.Output' class="type">Output</a> = <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code></h4><div class='docblock'><p>The resulting type after applying the <code>-</code> operator.</p>
|
||
</div><h4 id='method.sub-2' class="method hidden"><code id='sub.v-2'>fn <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.Sub.html#tymethod.sub' class='fnname'>sub</a>(self, other: <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T>) -> <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code><a class='srclink' href='../src/num_rational/lib.rs.html#642-644' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the <code>-</code> operation.</p>
|
||
</div></div><h3 id='impl-Sub%3CT%3E' class='impl'><code class='in-band'>impl<'a, T> <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Sub.html" title="trait core::ops::arith::Sub">Sub</a><T> for &'a <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T> <span class="where fmt-newline">where<br> T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> + <a class="trait" href="../num_integer/trait.Integer.html" title="trait num_integer::Integer">Integer</a>, </span></code><a href='#impl-Sub%3CT%3E' class='anchor'></a><a class='srclink' href='../src/num_rational/lib.rs.html#646-656' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Output-19' class="type"><code id='Output.t-19'>type <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.Sub.html#associatedtype.Output' class="type">Output</a> = <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code></h4><div class='docblock'><p>The resulting type after applying the <code>-</code> operator.</p>
|
||
</div><h4 id='method.sub-3' class="method hidden"><code id='sub.v-3'>fn <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.Sub.html#tymethod.sub' class='fnname'>sub</a>(self, other: T) -> <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code><a class='srclink' href='../src/num_rational/lib.rs.html#653-655' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the <code>-</code> operation.</p>
|
||
</div></div><h3 id='impl-Sub%3C%26%27a%20Ratio%3CT%3E%3E' class='impl'><code class='in-band'>impl<'a, T> <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Sub.html" title="trait core::ops::arith::Sub">Sub</a><&'a <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T>> for <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T> <span class="where fmt-newline">where<br> T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> + <a class="trait" href="../num_integer/trait.Integer.html" title="trait num_integer::Integer">Integer</a>, </span></code><a href='#impl-Sub%3C%26%27a%20Ratio%3CT%3E%3E' class='anchor'></a><a class='srclink' href='../src/num_rational/lib.rs.html#662-672' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Output-20' class="type"><code id='Output.t-20'>type <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.Sub.html#associatedtype.Output' class="type">Output</a> = <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code></h4><div class='docblock'><p>The resulting type after applying the <code>-</code> operator.</p>
|
||
</div><h4 id='method.sub-4' class="method hidden"><code id='sub.v-4'>fn <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.Sub.html#tymethod.sub' class='fnname'>sub</a>(self, other: &<a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T>) -> <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code><a class='srclink' href='../src/num_rational/lib.rs.html#669-671' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the <code>-</code> operation.</p>
|
||
</div></div><h3 id='impl-Sub%3C%26%27a%20T%3E' class='impl'><code class='in-band'>impl<'a, T> <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Sub.html" title="trait core::ops::arith::Sub">Sub</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a </a>T> for <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T> <span class="where fmt-newline">where<br> T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> + <a class="trait" href="../num_integer/trait.Integer.html" title="trait num_integer::Integer">Integer</a>, </span></code><a href='#impl-Sub%3C%26%27a%20T%3E' class='anchor'></a><a class='srclink' href='../src/num_rational/lib.rs.html#673-683' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Output-21' class="type"><code id='Output.t-21'>type <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.Sub.html#associatedtype.Output' class="type">Output</a> = <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code></h4><div class='docblock'><p>The resulting type after applying the <code>-</code> operator.</p>
|
||
</div><h4 id='method.sub-5' class="method hidden"><code id='sub.v-5'>fn <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.Sub.html#tymethod.sub' class='fnname'>sub</a>(self, other: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&</a>T) -> <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code><a class='srclink' href='../src/num_rational/lib.rs.html#680-682' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the <code>-</code> operation.</p>
|
||
</div></div><h3 id='impl-Sub%3CRatio%3CT%3E%3E-1' class='impl'><code class='in-band'>impl<T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> + <a class="trait" href="../num_integer/trait.Integer.html" title="trait num_integer::Integer">Integer</a>> <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Sub.html" title="trait core::ops::arith::Sub">Sub</a><<a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T>> for <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code><a href='#impl-Sub%3CRatio%3CT%3E%3E-1' class='anchor'></a><a class='srclink' href='../src/num_rational/lib.rs.html#750-759' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Output-22' class="type"><code id='Output.t-22'>type <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.Sub.html#associatedtype.Output' class="type">Output</a> = <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code></h4><div class='docblock'><p>The resulting type after applying the <code>-</code> operator.</p>
|
||
</div><h4 id='method.sub-6' class="method hidden"><code id='sub.v-6'>fn <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.Sub.html#tymethod.sub' class='fnname'>sub</a>(self, rhs: <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T>) -> <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code><a class='srclink' href='../src/num_rational/lib.rs.html#753-758' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the <code>-</code> operation.</p>
|
||
</div></div><h3 id='impl-Sub%3CT%3E-1' class='impl'><code class='in-band'>impl<T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> + <a class="trait" href="../num_integer/trait.Integer.html" title="trait num_integer::Integer">Integer</a>> <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Sub.html" title="trait core::ops::arith::Sub">Sub</a><T> for <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code><a href='#impl-Sub%3CT%3E-1' class='anchor'></a><a class='srclink' href='../src/num_rational/lib.rs.html#761-767' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Output-23' class="type"><code id='Output.t-23'>type <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.Sub.html#associatedtype.Output' class="type">Output</a> = <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code></h4><div class='docblock'><p>The resulting type after applying the <code>-</code> operator.</p>
|
||
</div><h4 id='method.sub-7' class="method hidden"><code id='sub.v-7'>fn <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.Sub.html#tymethod.sub' class='fnname'>sub</a>(self, rhs: T) -> <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code><a class='srclink' href='../src/num_rational/lib.rs.html#764-766' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the <code>-</code> operation.</p>
|
||
</div></div><h3 id='impl-PartialEq%3CRatio%3CT%3E%3E' class='impl'><code class='in-band'>impl<T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> + <a class="trait" href="../num_integer/trait.Integer.html" title="trait num_integer::Integer">Integer</a>> <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><<a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T>> for <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code><a href='#impl-PartialEq%3CRatio%3CT%3E%3E' class='anchor'></a><a class='srclink' href='../src/num_rational/lib.rs.html#430-435' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.eq' class="method hidden"><code id='eq.v'>fn <a href='https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq' class='fnname'>eq</a>(&self, other: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&</a>Self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code><a class='srclink' href='../src/num_rational/lib.rs.html#432-434' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used by <code>==</code>. <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq">Read more</a></p>
|
||
</div><h4 id='method.ne' class="method hidden"><code id='ne.v'><span class="docblock attributes">#[must_use]
|
||
</span>fn <a href='https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#method.ne' class='fnname'>ne</a>(&self, other: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&</a>Rhs) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code><span class='since' title='Stable since Rust version 1.0.0'>1.0.0</span><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/cmp.rs.html#208' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>This method tests for <code>!=</code>.</p>
|
||
</div></div><h3 id='impl-Eq' class='impl'><code class='in-band'>impl<T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> + <a class="trait" href="../num_integer/trait.Integer.html" title="trait num_integer::Integer">Integer</a>> <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.Eq.html" title="trait core::cmp::Eq">Eq</a> for <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code><a href='#impl-Eq' class='anchor'></a><a class='srclink' href='../src/num_rational/lib.rs.html#437' title='goto source code'>[src]</a></h3><div class='impl-items'></div><h3 id='impl-Ord' class='impl'><code class='in-band'>impl<T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> + <a class="trait" href="../num_integer/trait.Integer.html" title="trait num_integer::Integer">Integer</a>> <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.Ord.html" title="trait core::cmp::Ord">Ord</a> for <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code><a href='#impl-Ord' class='anchor'></a><a class='srclink' href='../src/num_rational/lib.rs.html#373-421' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.cmp' class="method hidden"><code id='cmp.v'>fn <a href='https://doc.rust-lang.org/nightly/core/cmp/trait.Ord.html#tymethod.cmp' class='fnname'>cmp</a>(&self, other: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&</a>Self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/cmp/enum.Ordering.html" title="enum core::cmp::Ordering">Ordering</a></code><a class='srclink' href='../src/num_rational/lib.rs.html#375-420' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>This method returns an <code>Ordering</code> between <code>self</code> and <code>other</code>. <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.Ord.html#tymethod.cmp">Read more</a></p>
|
||
</div><h4 id='method.max' class="method hidden"><code id='max.v'>fn <a href='https://doc.rust-lang.org/nightly/core/cmp/trait.Ord.html#method.max' class='fnname'>max</a>(self, other: Self) -> Self</code><span class='since' title='Stable since Rust version 1.21.0'>1.21.0</span><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/cmp.rs.html#569-572' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Compares and returns the maximum of two values. <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.Ord.html#method.max">Read more</a></p>
|
||
</div><h4 id='method.min' class="method hidden"><code id='min.v'>fn <a href='https://doc.rust-lang.org/nightly/core/cmp/trait.Ord.html#method.min' class='fnname'>min</a>(self, other: Self) -> Self</code><span class='since' title='Stable since Rust version 1.21.0'>1.21.0</span><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/cmp.rs.html#586-589' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Compares and returns the minimum of two values. <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.Ord.html#method.min">Read more</a></p>
|
||
</div><h4 id='method.clamp' class="method hidden"><code id='clamp.v'>fn <a href='https://doc.rust-lang.org/nightly/core/cmp/trait.Ord.html#method.clamp' class='fnname'>clamp</a>(self, min: Self, max: Self) -> Self</code><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/cmp.rs.html#610-620' title='goto source code'>[src]</a></h4><div class='stability hidden'><div class='stab unstable'><span class='emoji'>🔬</span> This is a nightly-only experimental API. (<code>clamp</code>)</div></div><div class='docblock hidden'><p>Restrict a value to a certain interval. <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.Ord.html#method.clamp">Read more</a></p>
|
||
</div></div><h3 id='impl-PartialOrd%3CRatio%3CT%3E%3E' class='impl'><code class='in-band'>impl<T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> + <a class="trait" href="../num_integer/trait.Integer.html" title="trait num_integer::Integer">Integer</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="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T>> for <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code><a href='#impl-PartialOrd%3CRatio%3CT%3E%3E' class='anchor'></a><a class='srclink' href='../src/num_rational/lib.rs.html#423-428' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.partial_cmp' class="method hidden"><code id='partial_cmp.v'>fn <a href='https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html#tymethod.partial_cmp' class='fnname'>partial_cmp</a>(&self, other: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&</a>Self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="enum" href="https://doc.rust-lang.org/nightly/core/cmp/enum.Ordering.html" title="enum core::cmp::Ordering">Ordering</a>></code><a class='srclink' href='../src/num_rational/lib.rs.html#425-427' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>This method returns an ordering between <code>self</code> and <code>other</code> values if one exists. <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html#tymethod.partial_cmp">Read more</a></p>
|
||
</div><h4 id='method.lt' class="method hidden"><code id='lt.v'><span class="docblock attributes">#[must_use]
|
||
</span>fn <a href='https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html#method.lt' class='fnname'>lt</a>(&self, other: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&</a>Rhs) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code><span class='since' title='Stable since Rust version 1.0.0'>1.0.0</span><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/cmp.rs.html#798-803' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>This method tests less than (for <code>self</code> and <code>other</code>) and is used by the <code><</code> operator. <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html#method.lt">Read more</a></p>
|
||
</div><h4 id='method.le' class="method hidden"><code id='le.v'><span class="docblock attributes">#[must_use]
|
||
</span>fn <a href='https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html#method.le' class='fnname'>le</a>(&self, other: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&</a>Rhs) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code><span class='since' title='Stable since Rust version 1.0.0'>1.0.0</span><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/cmp.rs.html#820-825' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>This method tests less than or equal to (for <code>self</code> and <code>other</code>) and is used by the <code><=</code> operator. <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html#method.le">Read more</a></p>
|
||
</div><h4 id='method.gt' class="method hidden"><code id='gt.v'><span class="docblock attributes">#[must_use]
|
||
</span>fn <a href='https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html#method.gt' class='fnname'>gt</a>(&self, other: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&</a>Rhs) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code><span class='since' title='Stable since Rust version 1.0.0'>1.0.0</span><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/cmp.rs.html#841-846' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>This method tests greater than (for <code>self</code> and <code>other</code>) and is used by the <code>></code> operator. <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html#method.gt">Read more</a></p>
|
||
</div><h4 id='method.ge' class="method hidden"><code id='ge.v'><span class="docblock attributes">#[must_use]
|
||
</span>fn <a href='https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html#method.ge' class='fnname'>ge</a>(&self, other: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&</a>Rhs) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code><span class='since' title='Stable since Rust version 1.0.0'>1.0.0</span><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/cmp.rs.html#863-868' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>This method tests greater than or equal to (for <code>self</code> and <code>other</code>) and is used by the <code>>=</code> operator. <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html#method.ge">Read more</a></p>
|
||
</div></div><h3 id='impl-FromStr' class='impl'><code class='in-band'>impl<T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/str/trait.FromStr.html" title="trait core::str::FromStr">FromStr</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> + <a class="trait" href="../num_integer/trait.Integer.html" title="trait num_integer::Integer">Integer</a>> <a class="trait" href="https://doc.rust-lang.org/nightly/core/str/trait.FromStr.html" title="trait core::str::FromStr">FromStr</a> for <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code><a href='#impl-FromStr' class='anchor'></a><a class='srclink' href='../src/num_rational/lib.rs.html#1008-1035' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Err' class="type"><code id='Err.t'>type <a href='https://doc.rust-lang.org/nightly/core/str/trait.FromStr.html#associatedtype.Err' class="type">Err</a> = <a class="struct" href="../num_rational/struct.ParseRatioError.html" title="struct num_rational::ParseRatioError">ParseRatioError</a></code></h4><div class='docblock'><p>The associated error which can be returned from parsing.</p>
|
||
</div><h4 id='method.from_str' class="method"><code id='from_str.v'>fn <a href='https://doc.rust-lang.org/nightly/core/str/trait.FromStr.html#tymethod.from_str' class='fnname'>from_str</a>(s: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T>, <a class="struct" href="../num_rational/struct.ParseRatioError.html" title="struct num_rational::ParseRatioError">ParseRatioError</a>></code><a class='srclink' href='../src/num_rational/lib.rs.html#1012-1034' title='goto source code'>[src]</a></h4><div class='docblock'><p>Parses <code>numer/denom</code> or just <code>numer</code>.</p>
|
||
</div></div><h3 id='impl-Add%3C%26%27b%20Ratio%3CT%3E%3E' class='impl'><code class='in-band'>impl<'a, 'b, T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> + <a class="trait" href="../num_integer/trait.Integer.html" title="trait num_integer::Integer">Integer</a>> <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Add.html" title="trait core::ops::arith::Add">Add</a><&'b <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T>> for &'a <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code><a href='#impl-Add%3C%26%27b%20Ratio%3CT%3E%3E' class='anchor'></a><a class='srclink' href='../src/num_rational/lib.rs.html#614-621' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Output-24' class="type"><code id='Output.t-24'>type <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.Add.html#associatedtype.Output' class="type">Output</a> = <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code></h4><div class='docblock'><p>The resulting type after applying the <code>+</code> operator.</p>
|
||
</div><h4 id='method.add' class="method hidden"><code id='add.v'>fn <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.Add.html#tymethod.add' class='fnname'>add</a>(self, other: &'b <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T>) -> <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code><a class='srclink' href='../src/num_rational/lib.rs.html#618-620' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the <code>+</code> operation.</p>
|
||
</div></div><h3 id='impl-Add%3C%26%27b%20T%3E' class='impl'><code class='in-band'>impl<'a, 'b, T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> + <a class="trait" href="../num_integer/trait.Integer.html" title="trait num_integer::Integer">Integer</a>> <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Add.html" title="trait core::ops::arith::Add">Add</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'b </a>T> for &'a <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code><a href='#impl-Add%3C%26%27b%20T%3E' class='anchor'></a><a class='srclink' href='../src/num_rational/lib.rs.html#622-629' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Output-25' class="type"><code id='Output.t-25'>type <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.Add.html#associatedtype.Output' class="type">Output</a> = <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code></h4><div class='docblock'><p>The resulting type after applying the <code>+</code> operator.</p>
|
||
</div><h4 id='method.add-1' class="method hidden"><code id='add.v-1'>fn <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.Add.html#tymethod.add' class='fnname'>add</a>(self, other: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'b </a>T) -> <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code><a class='srclink' href='../src/num_rational/lib.rs.html#626-628' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the <code>+</code> operation.</p>
|
||
</div></div><h3 id='impl-Add%3CRatio%3CT%3E%3E' class='impl'><code class='in-band'>impl<'a, T> <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Add.html" title="trait core::ops::arith::Add">Add</a><<a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T>> for &'a <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T> <span class="where fmt-newline">where<br> T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> + <a class="trait" href="../num_integer/trait.Integer.html" title="trait num_integer::Integer">Integer</a>, </span></code><a href='#impl-Add%3CRatio%3CT%3E%3E' class='anchor'></a><a class='srclink' href='../src/num_rational/lib.rs.html#635-645' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Output-26' class="type"><code id='Output.t-26'>type <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.Add.html#associatedtype.Output' class="type">Output</a> = <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code></h4><div class='docblock'><p>The resulting type after applying the <code>+</code> operator.</p>
|
||
</div><h4 id='method.add-2' class="method hidden"><code id='add.v-2'>fn <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.Add.html#tymethod.add' class='fnname'>add</a>(self, other: <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T>) -> <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code><a class='srclink' href='../src/num_rational/lib.rs.html#642-644' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the <code>+</code> operation.</p>
|
||
</div></div><h3 id='impl-Add%3CT%3E' class='impl'><code class='in-band'>impl<'a, T> <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Add.html" title="trait core::ops::arith::Add">Add</a><T> for &'a <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T> <span class="where fmt-newline">where<br> T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> + <a class="trait" href="../num_integer/trait.Integer.html" title="trait num_integer::Integer">Integer</a>, </span></code><a href='#impl-Add%3CT%3E' class='anchor'></a><a class='srclink' href='../src/num_rational/lib.rs.html#646-656' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Output-27' class="type"><code id='Output.t-27'>type <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.Add.html#associatedtype.Output' class="type">Output</a> = <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code></h4><div class='docblock'><p>The resulting type after applying the <code>+</code> operator.</p>
|
||
</div><h4 id='method.add-3' class="method hidden"><code id='add.v-3'>fn <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.Add.html#tymethod.add' class='fnname'>add</a>(self, other: T) -> <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code><a class='srclink' href='../src/num_rational/lib.rs.html#653-655' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the <code>+</code> operation.</p>
|
||
</div></div><h3 id='impl-Add%3C%26%27a%20Ratio%3CT%3E%3E' class='impl'><code class='in-band'>impl<'a, T> <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Add.html" title="trait core::ops::arith::Add">Add</a><&'a <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T>> for <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T> <span class="where fmt-newline">where<br> T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> + <a class="trait" href="../num_integer/trait.Integer.html" title="trait num_integer::Integer">Integer</a>, </span></code><a href='#impl-Add%3C%26%27a%20Ratio%3CT%3E%3E' class='anchor'></a><a class='srclink' href='../src/num_rational/lib.rs.html#662-672' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Output-28' class="type"><code id='Output.t-28'>type <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.Add.html#associatedtype.Output' class="type">Output</a> = <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code></h4><div class='docblock'><p>The resulting type after applying the <code>+</code> operator.</p>
|
||
</div><h4 id='method.add-4' class="method hidden"><code id='add.v-4'>fn <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.Add.html#tymethod.add' class='fnname'>add</a>(self, other: &<a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T>) -> <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code><a class='srclink' href='../src/num_rational/lib.rs.html#669-671' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the <code>+</code> operation.</p>
|
||
</div></div><h3 id='impl-Add%3C%26%27a%20T%3E' class='impl'><code class='in-band'>impl<'a, T> <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Add.html" title="trait core::ops::arith::Add">Add</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a </a>T> for <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T> <span class="where fmt-newline">where<br> T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> + <a class="trait" href="../num_integer/trait.Integer.html" title="trait num_integer::Integer">Integer</a>, </span></code><a href='#impl-Add%3C%26%27a%20T%3E' class='anchor'></a><a class='srclink' href='../src/num_rational/lib.rs.html#673-683' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Output-29' class="type"><code id='Output.t-29'>type <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.Add.html#associatedtype.Output' class="type">Output</a> = <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code></h4><div class='docblock'><p>The resulting type after applying the <code>+</code> operator.</p>
|
||
</div><h4 id='method.add-5' class="method hidden"><code id='add.v-5'>fn <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.Add.html#tymethod.add' class='fnname'>add</a>(self, other: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&</a>T) -> <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code><a class='srclink' href='../src/num_rational/lib.rs.html#680-682' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the <code>+</code> operation.</p>
|
||
</div></div><h3 id='impl-Add%3CRatio%3CT%3E%3E-1' class='impl'><code class='in-band'>impl<T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> + <a class="trait" href="../num_integer/trait.Integer.html" title="trait num_integer::Integer">Integer</a>> <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Add.html" title="trait core::ops::arith::Add">Add</a><<a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T>> for <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code><a href='#impl-Add%3CRatio%3CT%3E%3E-1' class='anchor'></a><a class='srclink' href='../src/num_rational/lib.rs.html#750-759' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Output-30' class="type"><code id='Output.t-30'>type <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.Add.html#associatedtype.Output' class="type">Output</a> = <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code></h4><div class='docblock'><p>The resulting type after applying the <code>+</code> operator.</p>
|
||
</div><h4 id='method.add-6' class="method hidden"><code id='add.v-6'>fn <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.Add.html#tymethod.add' class='fnname'>add</a>(self, rhs: <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T>) -> <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code><a class='srclink' href='../src/num_rational/lib.rs.html#753-758' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the <code>+</code> operation.</p>
|
||
</div></div><h3 id='impl-Add%3CT%3E-1' class='impl'><code class='in-band'>impl<T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> + <a class="trait" href="../num_integer/trait.Integer.html" title="trait num_integer::Integer">Integer</a>> <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Add.html" title="trait core::ops::arith::Add">Add</a><T> for <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code><a href='#impl-Add%3CT%3E-1' class='anchor'></a><a class='srclink' href='../src/num_rational/lib.rs.html#761-767' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Output-31' class="type"><code id='Output.t-31'>type <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.Add.html#associatedtype.Output' class="type">Output</a> = <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code></h4><div class='docblock'><p>The resulting type after applying the <code>+</code> operator.</p>
|
||
</div><h4 id='method.add-7' class="method hidden"><code id='add.v-7'>fn <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.Add.html#tymethod.add' class='fnname'>add</a>(self, rhs: T) -> <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code><a class='srclink' href='../src/num_rational/lib.rs.html#764-766' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the <code>+</code> operation.</p>
|
||
</div></div><h3 id='impl-Mul%3C%26%27b%20Ratio%3CT%3E%3E' class='impl'><code class='in-band'>impl<'a, 'b, T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> + <a class="trait" href="../num_integer/trait.Integer.html" title="trait num_integer::Integer">Integer</a>> <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html" title="trait core::ops::arith::Mul">Mul</a><&'b <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T>> for &'a <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code><a href='#impl-Mul%3C%26%27b%20Ratio%3CT%3E%3E' class='anchor'></a><a class='srclink' href='../src/num_rational/lib.rs.html#614-621' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Output-32' class="type"><code id='Output.t-32'>type <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html#associatedtype.Output' class="type">Output</a> = <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code></h4><div class='docblock'><p>The resulting type after applying the <code>*</code> operator.</p>
|
||
</div><h4 id='method.mul' class="method hidden"><code id='mul.v'>fn <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html#tymethod.mul' class='fnname'>mul</a>(self, other: &'b <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T>) -> <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code><a class='srclink' href='../src/num_rational/lib.rs.html#618-620' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the <code>*</code> operation.</p>
|
||
</div></div><h3 id='impl-Mul%3C%26%27b%20T%3E' class='impl'><code class='in-band'>impl<'a, 'b, T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> + <a class="trait" href="../num_integer/trait.Integer.html" title="trait num_integer::Integer">Integer</a>> <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html" title="trait core::ops::arith::Mul">Mul</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'b </a>T> for &'a <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code><a href='#impl-Mul%3C%26%27b%20T%3E' class='anchor'></a><a class='srclink' href='../src/num_rational/lib.rs.html#622-629' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Output-33' class="type"><code id='Output.t-33'>type <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html#associatedtype.Output' class="type">Output</a> = <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code></h4><div class='docblock'><p>The resulting type after applying the <code>*</code> operator.</p>
|
||
</div><h4 id='method.mul-1' class="method hidden"><code id='mul.v-1'>fn <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html#tymethod.mul' class='fnname'>mul</a>(self, other: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'b </a>T) -> <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code><a class='srclink' href='../src/num_rational/lib.rs.html#626-628' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the <code>*</code> operation.</p>
|
||
</div></div><h3 id='impl-Mul%3CRatio%3CT%3E%3E' class='impl'><code class='in-band'>impl<'a, T> <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html" title="trait core::ops::arith::Mul">Mul</a><<a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T>> for &'a <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T> <span class="where fmt-newline">where<br> T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> + <a class="trait" href="../num_integer/trait.Integer.html" title="trait num_integer::Integer">Integer</a>, </span></code><a href='#impl-Mul%3CRatio%3CT%3E%3E' class='anchor'></a><a class='srclink' href='../src/num_rational/lib.rs.html#635-645' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Output-34' class="type"><code id='Output.t-34'>type <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html#associatedtype.Output' class="type">Output</a> = <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code></h4><div class='docblock'><p>The resulting type after applying the <code>*</code> operator.</p>
|
||
</div><h4 id='method.mul-2' class="method hidden"><code id='mul.v-2'>fn <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html#tymethod.mul' class='fnname'>mul</a>(self, other: <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T>) -> <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code><a class='srclink' href='../src/num_rational/lib.rs.html#642-644' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the <code>*</code> operation.</p>
|
||
</div></div><h3 id='impl-Mul%3CT%3E' class='impl'><code class='in-band'>impl<'a, T> <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html" title="trait core::ops::arith::Mul">Mul</a><T> for &'a <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T> <span class="where fmt-newline">where<br> T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> + <a class="trait" href="../num_integer/trait.Integer.html" title="trait num_integer::Integer">Integer</a>, </span></code><a href='#impl-Mul%3CT%3E' class='anchor'></a><a class='srclink' href='../src/num_rational/lib.rs.html#646-656' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Output-35' class="type"><code id='Output.t-35'>type <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html#associatedtype.Output' class="type">Output</a> = <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code></h4><div class='docblock'><p>The resulting type after applying the <code>*</code> operator.</p>
|
||
</div><h4 id='method.mul-3' class="method hidden"><code id='mul.v-3'>fn <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html#tymethod.mul' class='fnname'>mul</a>(self, other: T) -> <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code><a class='srclink' href='../src/num_rational/lib.rs.html#653-655' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the <code>*</code> operation.</p>
|
||
</div></div><h3 id='impl-Mul%3C%26%27a%20Ratio%3CT%3E%3E' class='impl'><code class='in-band'>impl<'a, T> <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html" title="trait core::ops::arith::Mul">Mul</a><&'a <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T>> for <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T> <span class="where fmt-newline">where<br> T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> + <a class="trait" href="../num_integer/trait.Integer.html" title="trait num_integer::Integer">Integer</a>, </span></code><a href='#impl-Mul%3C%26%27a%20Ratio%3CT%3E%3E' class='anchor'></a><a class='srclink' href='../src/num_rational/lib.rs.html#662-672' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Output-36' class="type"><code id='Output.t-36'>type <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html#associatedtype.Output' class="type">Output</a> = <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code></h4><div class='docblock'><p>The resulting type after applying the <code>*</code> operator.</p>
|
||
</div><h4 id='method.mul-4' class="method hidden"><code id='mul.v-4'>fn <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html#tymethod.mul' class='fnname'>mul</a>(self, other: &<a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T>) -> <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code><a class='srclink' href='../src/num_rational/lib.rs.html#669-671' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the <code>*</code> operation.</p>
|
||
</div></div><h3 id='impl-Mul%3C%26%27a%20T%3E' class='impl'><code class='in-band'>impl<'a, T> <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html" title="trait core::ops::arith::Mul">Mul</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a </a>T> for <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T> <span class="where fmt-newline">where<br> T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> + <a class="trait" href="../num_integer/trait.Integer.html" title="trait num_integer::Integer">Integer</a>, </span></code><a href='#impl-Mul%3C%26%27a%20T%3E' class='anchor'></a><a class='srclink' href='../src/num_rational/lib.rs.html#673-683' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Output-37' class="type"><code id='Output.t-37'>type <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html#associatedtype.Output' class="type">Output</a> = <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code></h4><div class='docblock'><p>The resulting type after applying the <code>*</code> operator.</p>
|
||
</div><h4 id='method.mul-5' class="method hidden"><code id='mul.v-5'>fn <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html#tymethod.mul' class='fnname'>mul</a>(self, other: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&</a>T) -> <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code><a class='srclink' href='../src/num_rational/lib.rs.html#680-682' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the <code>*</code> operation.</p>
|
||
</div></div><h3 id='impl-Mul%3CRatio%3CT%3E%3E-1' class='impl'><code class='in-band'>impl<T> <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html" title="trait core::ops::arith::Mul">Mul</a><<a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T>> for <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T> <span class="where fmt-newline">where<br> T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> + <a class="trait" href="../num_integer/trait.Integer.html" title="trait num_integer::Integer">Integer</a>, </span></code><a href='#impl-Mul%3CRatio%3CT%3E%3E-1' class='anchor'></a><a class='srclink' href='../src/num_rational/lib.rs.html#698-707' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Output-38' class="type"><code id='Output.t-38'>type <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html#associatedtype.Output' class="type">Output</a> = <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code></h4><div class='docblock'><p>The resulting type after applying the <code>*</code> operator.</p>
|
||
</div><h4 id='method.mul-6' class="method hidden"><code id='mul.v-6'>fn <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html#tymethod.mul' class='fnname'>mul</a>(self, rhs: <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T>) -> <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code><a class='srclink' href='../src/num_rational/lib.rs.html#704-706' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the <code>*</code> operation.</p>
|
||
</div></div><h3 id='impl-Mul%3CT%3E-1' class='impl'><code class='in-band'>impl<T> <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html" title="trait core::ops::arith::Mul">Mul</a><T> for <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T> <span class="where fmt-newline">where<br> T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> + <a class="trait" href="../num_integer/trait.Integer.html" title="trait num_integer::Integer">Integer</a>, </span></code><a href='#impl-Mul%3CT%3E-1' class='anchor'></a><a class='srclink' href='../src/num_rational/lib.rs.html#709-718' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Output-39' class="type"><code id='Output.t-39'>type <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html#associatedtype.Output' class="type">Output</a> = <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code></h4><div class='docblock'><p>The resulting type after applying the <code>*</code> operator.</p>
|
||
</div><h4 id='method.mul-7' class="method hidden"><code id='mul.v-7'>fn <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html#tymethod.mul' class='fnname'>mul</a>(self, rhs: T) -> <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code><a class='srclink' href='../src/num_rational/lib.rs.html#715-717' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the <code>*</code> operation.</p>
|
||
</div></div><h3 id='impl-Neg' class='impl'><code class='in-band'>impl<T> <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Neg.html" title="trait core::ops::arith::Neg">Neg</a> for <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T> <span class="where fmt-newline">where<br> T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> + <a class="trait" href="../num_integer/trait.Integer.html" title="trait num_integer::Integer">Integer</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Neg.html" title="trait core::ops::arith::Neg">Neg</a><Output = T>, </span></code><a href='#impl-Neg' class='anchor'></a><a class='srclink' href='../src/num_rational/lib.rs.html#837-847' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Output-40' class="type"><code id='Output.t-40'>type <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.Neg.html#associatedtype.Output' class="type">Output</a> = <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code></h4><div class='docblock'><p>The resulting type after applying the <code>-</code> operator.</p>
|
||
</div><h4 id='method.neg' class="method hidden"><code id='neg.v'>fn <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.Neg.html#tymethod.neg' class='fnname'>neg</a>(self) -> <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code><a class='srclink' href='../src/num_rational/lib.rs.html#844-846' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the unary <code>-</code> operation.</p>
|
||
</div></div><h3 id='impl-Neg-1' class='impl'><code class='in-band'>impl<'a, T> <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Neg.html" title="trait core::ops::arith::Neg">Neg</a> for &'a <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T> <span class="where fmt-newline">where<br> T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> + <a class="trait" href="../num_integer/trait.Integer.html" title="trait num_integer::Integer">Integer</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Neg.html" title="trait core::ops::arith::Neg">Neg</a><Output = T>, </span></code><a href='#impl-Neg-1' class='anchor'></a><a class='srclink' href='../src/num_rational/lib.rs.html#849-859' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Output-41' class="type"><code id='Output.t-41'>type <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.Neg.html#associatedtype.Output' class="type">Output</a> = <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code></h4><div class='docblock'><p>The resulting type after applying the <code>-</code> operator.</p>
|
||
</div><h4 id='method.neg-1' class="method hidden"><code id='neg.v-1'>fn <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.Neg.html#tymethod.neg' class='fnname'>neg</a>(self) -> <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code><a class='srclink' href='../src/num_rational/lib.rs.html#856-858' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the unary <code>-</code> operation.</p>
|
||
</div></div><h3 id='impl-AddAssign%3CRatio%3CT%3E%3E' class='impl'><code class='in-band'>impl<T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> + <a class="trait" href="../num_integer/trait.Integer.html" title="trait num_integer::Integer">Integer</a> + <a class="trait" href="../num_traits/trait.NumAssign.html" title="trait num_traits::NumAssign">NumAssign</a>> <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.AddAssign.html" title="trait core::ops::arith::AddAssign">AddAssign</a><<a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T>> for <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code><a href='#impl-AddAssign%3CRatio%3CT%3E%3E' class='anchor'></a><a class='srclink' href='../src/num_rational/lib.rs.html#507-514' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.add_assign' class="method hidden"><code id='add_assign.v'>fn <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.AddAssign.html#tymethod.add_assign' class='fnname'>add_assign</a>(&mut self, other: <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T>)</code><a class='srclink' href='../src/num_rational/lib.rs.html#508-513' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the <code>+=</code> operation.</p>
|
||
</div></div><h3 id='impl-AddAssign%3CT%3E' class='impl'><code class='in-band'>impl<T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> + <a class="trait" href="../num_integer/trait.Integer.html" title="trait num_integer::Integer">Integer</a> + <a class="trait" href="../num_traits/trait.NumAssign.html" title="trait num_traits::NumAssign">NumAssign</a>> <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.AddAssign.html" title="trait core::ops::arith::AddAssign">AddAssign</a><T> for <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code><a href='#impl-AddAssign%3CT%3E' class='anchor'></a><a class='srclink' href='../src/num_rational/lib.rs.html#551-556' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.add_assign-1' class="method hidden"><code id='add_assign.v-1'>fn <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.AddAssign.html#tymethod.add_assign' class='fnname'>add_assign</a>(&mut self, other: T)</code><a class='srclink' href='../src/num_rational/lib.rs.html#552-555' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the <code>+=</code> operation.</p>
|
||
</div></div><h3 id='impl-AddAssign%3C%26%27a%20Ratio%3CT%3E%3E' class='impl'><code class='in-band'>impl<'a, T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> + <a class="trait" href="../num_integer/trait.Integer.html" title="trait num_integer::Integer">Integer</a> + <a class="trait" href="../num_traits/trait.NumAssign.html" title="trait num_traits::NumAssign">NumAssign</a>> <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.AddAssign.html" title="trait core::ops::arith::AddAssign">AddAssign</a><&'a <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T>> for <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code><a href='#impl-AddAssign%3C%26%27a%20Ratio%3CT%3E%3E' class='anchor'></a><a class='srclink' href='../src/num_rational/lib.rs.html#590-595' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.add_assign-2' class="method hidden"><code id='add_assign.v-2'>fn <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.AddAssign.html#tymethod.add_assign' class='fnname'>add_assign</a>(&mut self, other: &<a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T>)</code><a class='srclink' href='../src/num_rational/lib.rs.html#592-594' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the <code>+=</code> operation.</p>
|
||
</div></div><h3 id='impl-AddAssign%3C%26%27a%20T%3E' class='impl'><code class='in-band'>impl<'a, T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> + <a class="trait" href="../num_integer/trait.Integer.html" title="trait num_integer::Integer">Integer</a> + <a class="trait" href="../num_traits/trait.NumAssign.html" title="trait num_traits::NumAssign">NumAssign</a>> <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.AddAssign.html" title="trait core::ops::arith::AddAssign">AddAssign</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a </a>T> for <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code><a href='#impl-AddAssign%3C%26%27a%20T%3E' class='anchor'></a><a class='srclink' href='../src/num_rational/lib.rs.html#596-601' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.add_assign-3' class="method hidden"><code id='add_assign.v-3'>fn <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.AddAssign.html#tymethod.add_assign' class='fnname'>add_assign</a>(&mut self, other: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&</a>T)</code><a class='srclink' href='../src/num_rational/lib.rs.html#598-600' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the <code>+=</code> operation.</p>
|
||
</div></div><h3 id='impl-SubAssign%3CRatio%3CT%3E%3E' class='impl'><code class='in-band'>impl<T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> + <a class="trait" href="../num_integer/trait.Integer.html" title="trait num_integer::Integer">Integer</a> + <a class="trait" href="../num_traits/trait.NumAssign.html" title="trait num_traits::NumAssign">NumAssign</a>> <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.SubAssign.html" title="trait core::ops::arith::SubAssign">SubAssign</a><<a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T>> for <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code><a href='#impl-SubAssign%3CRatio%3CT%3E%3E' class='anchor'></a><a class='srclink' href='../src/num_rational/lib.rs.html#541-548' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.sub_assign' class="method hidden"><code id='sub_assign.v'>fn <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.SubAssign.html#tymethod.sub_assign' class='fnname'>sub_assign</a>(&mut self, other: <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T>)</code><a class='srclink' href='../src/num_rational/lib.rs.html#542-547' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the <code>-=</code> operation.</p>
|
||
</div></div><h3 id='impl-SubAssign%3CT%3E' class='impl'><code class='in-band'>impl<T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> + <a class="trait" href="../num_integer/trait.Integer.html" title="trait num_integer::Integer">Integer</a> + <a class="trait" href="../num_traits/trait.NumAssign.html" title="trait num_traits::NumAssign">NumAssign</a>> <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.SubAssign.html" title="trait core::ops::arith::SubAssign">SubAssign</a><T> for <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code><a href='#impl-SubAssign%3CT%3E' class='anchor'></a><a class='srclink' href='../src/num_rational/lib.rs.html#581-586' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.sub_assign-1' class="method hidden"><code id='sub_assign.v-1'>fn <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.SubAssign.html#tymethod.sub_assign' class='fnname'>sub_assign</a>(&mut self, other: T)</code><a class='srclink' href='../src/num_rational/lib.rs.html#582-585' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the <code>-=</code> operation.</p>
|
||
</div></div><h3 id='impl-SubAssign%3C%26%27a%20Ratio%3CT%3E%3E' class='impl'><code class='in-band'>impl<'a, T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> + <a class="trait" href="../num_integer/trait.Integer.html" title="trait num_integer::Integer">Integer</a> + <a class="trait" href="../num_traits/trait.NumAssign.html" title="trait num_traits::NumAssign">NumAssign</a>> <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.SubAssign.html" title="trait core::ops::arith::SubAssign">SubAssign</a><&'a <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T>> for <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code><a href='#impl-SubAssign%3C%26%27a%20Ratio%3CT%3E%3E' class='anchor'></a><a class='srclink' href='../src/num_rational/lib.rs.html#590-595' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.sub_assign-2' class="method hidden"><code id='sub_assign.v-2'>fn <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.SubAssign.html#tymethod.sub_assign' class='fnname'>sub_assign</a>(&mut self, other: &<a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T>)</code><a class='srclink' href='../src/num_rational/lib.rs.html#592-594' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the <code>-=</code> operation.</p>
|
||
</div></div><h3 id='impl-SubAssign%3C%26%27a%20T%3E' class='impl'><code class='in-band'>impl<'a, T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> + <a class="trait" href="../num_integer/trait.Integer.html" title="trait num_integer::Integer">Integer</a> + <a class="trait" href="../num_traits/trait.NumAssign.html" title="trait num_traits::NumAssign">NumAssign</a>> <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.SubAssign.html" title="trait core::ops::arith::SubAssign">SubAssign</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a </a>T> for <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code><a href='#impl-SubAssign%3C%26%27a%20T%3E' class='anchor'></a><a class='srclink' href='../src/num_rational/lib.rs.html#596-601' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.sub_assign-3' class="method hidden"><code id='sub_assign.v-3'>fn <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.SubAssign.html#tymethod.sub_assign' class='fnname'>sub_assign</a>(&mut self, other: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&</a>T)</code><a class='srclink' href='../src/num_rational/lib.rs.html#598-600' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the <code>-=</code> operation.</p>
|
||
</div></div><h3 id='impl-MulAssign%3CRatio%3CT%3E%3E' class='impl'><code class='in-band'>impl<T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> + <a class="trait" href="../num_integer/trait.Integer.html" title="trait num_integer::Integer">Integer</a> + <a class="trait" href="../num_traits/trait.NumAssign.html" title="trait num_traits::NumAssign">NumAssign</a>> <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.MulAssign.html" title="trait core::ops::arith::MulAssign">MulAssign</a><<a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T>> for <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code><a href='#impl-MulAssign%3CRatio%3CT%3E%3E' class='anchor'></a><a class='srclink' href='../src/num_rational/lib.rs.html#524-530' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.mul_assign' class="method hidden"><code id='mul_assign.v'>fn <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.MulAssign.html#tymethod.mul_assign' class='fnname'>mul_assign</a>(&mut self, other: <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T>)</code><a class='srclink' href='../src/num_rational/lib.rs.html#525-529' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the <code>*=</code> operation.</p>
|
||
</div></div><h3 id='impl-MulAssign%3CT%3E' class='impl'><code class='in-band'>impl<T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> + <a class="trait" href="../num_integer/trait.Integer.html" title="trait num_integer::Integer">Integer</a> + <a class="trait" href="../num_traits/trait.NumAssign.html" title="trait num_traits::NumAssign">NumAssign</a>> <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.MulAssign.html" title="trait core::ops::arith::MulAssign">MulAssign</a><T> for <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code><a href='#impl-MulAssign%3CT%3E' class='anchor'></a><a class='srclink' href='../src/num_rational/lib.rs.html#565-570' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.mul_assign-1' class="method hidden"><code id='mul_assign.v-1'>fn <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.MulAssign.html#tymethod.mul_assign' class='fnname'>mul_assign</a>(&mut self, other: T)</code><a class='srclink' href='../src/num_rational/lib.rs.html#566-569' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the <code>*=</code> operation.</p>
|
||
</div></div><h3 id='impl-MulAssign%3C%26%27a%20Ratio%3CT%3E%3E' class='impl'><code class='in-band'>impl<'a, T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> + <a class="trait" href="../num_integer/trait.Integer.html" title="trait num_integer::Integer">Integer</a> + <a class="trait" href="../num_traits/trait.NumAssign.html" title="trait num_traits::NumAssign">NumAssign</a>> <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.MulAssign.html" title="trait core::ops::arith::MulAssign">MulAssign</a><&'a <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T>> for <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code><a href='#impl-MulAssign%3C%26%27a%20Ratio%3CT%3E%3E' class='anchor'></a><a class='srclink' href='../src/num_rational/lib.rs.html#590-595' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.mul_assign-2' class="method hidden"><code id='mul_assign.v-2'>fn <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.MulAssign.html#tymethod.mul_assign' class='fnname'>mul_assign</a>(&mut self, other: &<a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T>)</code><a class='srclink' href='../src/num_rational/lib.rs.html#592-594' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the <code>*=</code> operation.</p>
|
||
</div></div><h3 id='impl-MulAssign%3C%26%27a%20T%3E' class='impl'><code class='in-band'>impl<'a, T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> + <a class="trait" href="../num_integer/trait.Integer.html" title="trait num_integer::Integer">Integer</a> + <a class="trait" href="../num_traits/trait.NumAssign.html" title="trait num_traits::NumAssign">NumAssign</a>> <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.MulAssign.html" title="trait core::ops::arith::MulAssign">MulAssign</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a </a>T> for <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code><a href='#impl-MulAssign%3C%26%27a%20T%3E' class='anchor'></a><a class='srclink' href='../src/num_rational/lib.rs.html#596-601' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.mul_assign-3' class="method hidden"><code id='mul_assign.v-3'>fn <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.MulAssign.html#tymethod.mul_assign' class='fnname'>mul_assign</a>(&mut self, other: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&</a>T)</code><a class='srclink' href='../src/num_rational/lib.rs.html#598-600' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the <code>*=</code> operation.</p>
|
||
</div></div><h3 id='impl-DivAssign%3CRatio%3CT%3E%3E' class='impl'><code class='in-band'>impl<T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> + <a class="trait" href="../num_integer/trait.Integer.html" title="trait num_integer::Integer">Integer</a> + <a class="trait" href="../num_traits/trait.NumAssign.html" title="trait num_traits::NumAssign">NumAssign</a>> <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.DivAssign.html" title="trait core::ops::arith::DivAssign">DivAssign</a><<a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T>> for <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code><a href='#impl-DivAssign%3CRatio%3CT%3E%3E' class='anchor'></a><a class='srclink' href='../src/num_rational/lib.rs.html#516-522' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.div_assign' class="method hidden"><code id='div_assign.v'>fn <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.DivAssign.html#tymethod.div_assign' class='fnname'>div_assign</a>(&mut self, other: <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T>)</code><a class='srclink' href='../src/num_rational/lib.rs.html#517-521' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the <code>/=</code> operation.</p>
|
||
</div></div><h3 id='impl-DivAssign%3CT%3E' class='impl'><code class='in-band'>impl<T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> + <a class="trait" href="../num_integer/trait.Integer.html" title="trait num_integer::Integer">Integer</a> + <a class="trait" href="../num_traits/trait.NumAssign.html" title="trait num_traits::NumAssign">NumAssign</a>> <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.DivAssign.html" title="trait core::ops::arith::DivAssign">DivAssign</a><T> for <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code><a href='#impl-DivAssign%3CT%3E' class='anchor'></a><a class='srclink' href='../src/num_rational/lib.rs.html#558-563' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.div_assign-1' class="method hidden"><code id='div_assign.v-1'>fn <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.DivAssign.html#tymethod.div_assign' class='fnname'>div_assign</a>(&mut self, other: T)</code><a class='srclink' href='../src/num_rational/lib.rs.html#559-562' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the <code>/=</code> operation.</p>
|
||
</div></div><h3 id='impl-DivAssign%3C%26%27a%20Ratio%3CT%3E%3E' class='impl'><code class='in-band'>impl<'a, T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> + <a class="trait" href="../num_integer/trait.Integer.html" title="trait num_integer::Integer">Integer</a> + <a class="trait" href="../num_traits/trait.NumAssign.html" title="trait num_traits::NumAssign">NumAssign</a>> <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.DivAssign.html" title="trait core::ops::arith::DivAssign">DivAssign</a><&'a <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T>> for <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code><a href='#impl-DivAssign%3C%26%27a%20Ratio%3CT%3E%3E' class='anchor'></a><a class='srclink' href='../src/num_rational/lib.rs.html#590-595' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.div_assign-2' class="method hidden"><code id='div_assign.v-2'>fn <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.DivAssign.html#tymethod.div_assign' class='fnname'>div_assign</a>(&mut self, other: &<a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T>)</code><a class='srclink' href='../src/num_rational/lib.rs.html#592-594' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the <code>/=</code> operation.</p>
|
||
</div></div><h3 id='impl-DivAssign%3C%26%27a%20T%3E' class='impl'><code class='in-band'>impl<'a, T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> + <a class="trait" href="../num_integer/trait.Integer.html" title="trait num_integer::Integer">Integer</a> + <a class="trait" href="../num_traits/trait.NumAssign.html" title="trait num_traits::NumAssign">NumAssign</a>> <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.DivAssign.html" title="trait core::ops::arith::DivAssign">DivAssign</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a </a>T> for <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code><a href='#impl-DivAssign%3C%26%27a%20T%3E' class='anchor'></a><a class='srclink' href='../src/num_rational/lib.rs.html#596-601' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.div_assign-3' class="method hidden"><code id='div_assign.v-3'>fn <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.DivAssign.html#tymethod.div_assign' class='fnname'>div_assign</a>(&mut self, other: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&</a>T)</code><a class='srclink' href='../src/num_rational/lib.rs.html#598-600' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the <code>/=</code> operation.</p>
|
||
</div></div><h3 id='impl-RemAssign%3CRatio%3CT%3E%3E' class='impl'><code class='in-band'>impl<T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> + <a class="trait" href="../num_integer/trait.Integer.html" title="trait num_integer::Integer">Integer</a> + <a class="trait" href="../num_traits/trait.NumAssign.html" title="trait num_traits::NumAssign">NumAssign</a>> <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.RemAssign.html" title="trait core::ops::arith::RemAssign">RemAssign</a><<a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T>> for <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code><a href='#impl-RemAssign%3CRatio%3CT%3E%3E' class='anchor'></a><a class='srclink' href='../src/num_rational/lib.rs.html#532-539' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.rem_assign' class="method hidden"><code id='rem_assign.v'>fn <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.RemAssign.html#tymethod.rem_assign' class='fnname'>rem_assign</a>(&mut self, other: <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T>)</code><a class='srclink' href='../src/num_rational/lib.rs.html#533-538' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the <code>%=</code> operation.</p>
|
||
</div></div><h3 id='impl-RemAssign%3CT%3E' class='impl'><code class='in-band'>impl<T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> + <a class="trait" href="../num_integer/trait.Integer.html" title="trait num_integer::Integer">Integer</a> + <a class="trait" href="../num_traits/trait.NumAssign.html" title="trait num_traits::NumAssign">NumAssign</a>> <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.RemAssign.html" title="trait core::ops::arith::RemAssign">RemAssign</a><T> for <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code><a href='#impl-RemAssign%3CT%3E' class='anchor'></a><a class='srclink' href='../src/num_rational/lib.rs.html#573-578' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.rem_assign-1' class="method hidden"><code id='rem_assign.v-1'>fn <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.RemAssign.html#tymethod.rem_assign' class='fnname'>rem_assign</a>(&mut self, other: T)</code><a class='srclink' href='../src/num_rational/lib.rs.html#574-577' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the <code>%=</code> operation.</p>
|
||
</div></div><h3 id='impl-RemAssign%3C%26%27a%20Ratio%3CT%3E%3E' class='impl'><code class='in-band'>impl<'a, T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> + <a class="trait" href="../num_integer/trait.Integer.html" title="trait num_integer::Integer">Integer</a> + <a class="trait" href="../num_traits/trait.NumAssign.html" title="trait num_traits::NumAssign">NumAssign</a>> <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.RemAssign.html" title="trait core::ops::arith::RemAssign">RemAssign</a><&'a <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T>> for <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code><a href='#impl-RemAssign%3C%26%27a%20Ratio%3CT%3E%3E' class='anchor'></a><a class='srclink' href='../src/num_rational/lib.rs.html#590-595' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.rem_assign-2' class="method hidden"><code id='rem_assign.v-2'>fn <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.RemAssign.html#tymethod.rem_assign' class='fnname'>rem_assign</a>(&mut self, other: &<a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T>)</code><a class='srclink' href='../src/num_rational/lib.rs.html#592-594' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the <code>%=</code> operation.</p>
|
||
</div></div><h3 id='impl-RemAssign%3C%26%27a%20T%3E' class='impl'><code class='in-band'>impl<'a, T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> + <a class="trait" href="../num_integer/trait.Integer.html" title="trait num_integer::Integer">Integer</a> + <a class="trait" href="../num_traits/trait.NumAssign.html" title="trait num_traits::NumAssign">NumAssign</a>> <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.RemAssign.html" title="trait core::ops::arith::RemAssign">RemAssign</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a </a>T> for <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code><a href='#impl-RemAssign%3C%26%27a%20T%3E' class='anchor'></a><a class='srclink' href='../src/num_rational/lib.rs.html#596-601' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.rem_assign-3' class="method hidden"><code id='rem_assign.v-3'>fn <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.RemAssign.html#tymethod.rem_assign' class='fnname'>rem_assign</a>(&mut self, other: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&</a>T)</code><a class='srclink' href='../src/num_rational/lib.rs.html#598-600' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the <code>%=</code> operation.</p>
|
||
</div></div><h3 id='impl-Hash' class='impl'><code class='in-band'>impl<T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> + <a class="trait" href="../num_integer/trait.Integer.html" title="trait num_integer::Integer">Integer</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html" title="trait core::hash::Hash">Hash</a>> <a class="trait" href="https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html" title="trait core::hash::Hash">Hash</a> for <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code><a href='#impl-Hash' class='anchor'></a><a class='srclink' href='../src/num_rational/lib.rs.html#441-455' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.hash' class="method hidden"><code id='hash.v'>fn <a href='https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html#tymethod.hash' class='fnname'>hash</a><H: <a class="trait" href="https://doc.rust-lang.org/nightly/core/hash/trait.Hasher.html" title="trait core::hash::Hasher">Hasher</a>>(&self, state: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>H)</code><a class='srclink' href='../src/num_rational/lib.rs.html#442-454' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Feeds this value into the given [<code>Hasher</code>]. <a href="https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html#tymethod.hash">Read more</a></p>
|
||
</div><h4 id='method.hash_slice' class="method hidden"><code id='hash_slice.v'>fn <a href='https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html#method.hash_slice' class='fnname'>hash_slice</a><H>(data: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.slice.html">&[Self]</a>, state: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>H) <span class="where fmt-newline">where<br> H: <a class="trait" href="https://doc.rust-lang.org/nightly/core/hash/trait.Hasher.html" title="trait core::hash::Hasher">Hasher</a>, </span></code><span class='since' title='Stable since Rust version 1.3.0'>1.3.0</span><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/hash/mod.rs.html#192-198' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Feeds a slice of this type into the given [<code>Hasher</code>]. <a href="https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html#method.hash_slice">Read more</a></p>
|
||
</div></div><h3 id='impl-Copy' class='impl'><code class='in-band'>impl<T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Copy.html" title="trait core::marker::Copy">Copy</a>> <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Copy.html" title="trait core::marker::Copy">Copy</a> for <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code><a href='#impl-Copy' class='anchor'></a><a class='srclink' href='../src/num_rational/lib.rs.html#51' title='goto source code'>[src]</a></h3><div class='impl-items'></div><h3 id='impl-Sum%3CRatio%3CT%3E%3E' class='impl'><code class='in-band'>impl<T: <a class="trait" href="../num_integer/trait.Integer.html" title="trait num_integer::Integer">Integer</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a>> <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/traits/accum/trait.Sum.html" title="trait core::iter::traits::accum::Sum">Sum</a><<a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T>> for <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code><a href='#impl-Sum%3CRatio%3CT%3E%3E' class='anchor'></a><a class='srclink' href='../src/num_rational/lib.rs.html#463-470' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.sum' class="method hidden"><code id='sum.v'>fn <a href='https://doc.rust-lang.org/nightly/core/iter/traits/accum/trait.Sum.html#tymethod.sum' class='fnname'>sum</a><I>(iter: I) -> Self <span class="where fmt-newline">where<br> I: <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html" title="trait core::iter::traits::iterator::Iterator">Iterator</a><Item = <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T>>, </span></code><a class='srclink' href='../src/num_rational/lib.rs.html#464-469' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Method which takes an iterator and generates <code>Self</code> from the elements by "summing up" the items. <a href="https://doc.rust-lang.org/nightly/core/iter/traits/accum/trait.Sum.html#tymethod.sum">Read more</a></p>
|
||
</div></div><h3 id='impl-Sum%3C%26%27a%20Ratio%3CT%3E%3E' class='impl'><code class='in-band'>impl<'a, T: <a class="trait" href="../num_integer/trait.Integer.html" title="trait num_integer::Integer">Integer</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a>> <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/traits/accum/trait.Sum.html" title="trait core::iter::traits::accum::Sum">Sum</a><&'a <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T>> for <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code><a href='#impl-Sum%3C%26%27a%20Ratio%3CT%3E%3E' class='anchor'></a><a class='srclink' href='../src/num_rational/lib.rs.html#472-479' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.sum-1' class="method hidden"><code id='sum.v-1'>fn <a href='https://doc.rust-lang.org/nightly/core/iter/traits/accum/trait.Sum.html#tymethod.sum' class='fnname'>sum</a><I>(iter: I) -> Self <span class="where fmt-newline">where<br> I: <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html" title="trait core::iter::traits::iterator::Iterator">Iterator</a><Item = &'a <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T>>, </span></code><a class='srclink' href='../src/num_rational/lib.rs.html#473-478' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Method which takes an iterator and generates <code>Self</code> from the elements by "summing up" the items. <a href="https://doc.rust-lang.org/nightly/core/iter/traits/accum/trait.Sum.html#tymethod.sum">Read more</a></p>
|
||
</div></div><h3 id='impl-Product%3CRatio%3CT%3E%3E' class='impl'><code class='in-band'>impl<T: <a class="trait" href="../num_integer/trait.Integer.html" title="trait num_integer::Integer">Integer</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a>> <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/traits/accum/trait.Product.html" title="trait core::iter::traits::accum::Product">Product</a><<a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T>> for <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code><a href='#impl-Product%3CRatio%3CT%3E%3E' class='anchor'></a><a class='srclink' href='../src/num_rational/lib.rs.html#481-488' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.product' class="method hidden"><code id='product.v'>fn <a href='https://doc.rust-lang.org/nightly/core/iter/traits/accum/trait.Product.html#tymethod.product' class='fnname'>product</a><I>(iter: I) -> Self <span class="where fmt-newline">where<br> I: <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html" title="trait core::iter::traits::iterator::Iterator">Iterator</a><Item = <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T>>, </span></code><a class='srclink' href='../src/num_rational/lib.rs.html#482-487' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Method which takes an iterator and generates <code>Self</code> from the elements by multiplying the items. <a href="https://doc.rust-lang.org/nightly/core/iter/traits/accum/trait.Product.html#tymethod.product">Read more</a></p>
|
||
</div></div><h3 id='impl-Product%3C%26%27a%20Ratio%3CT%3E%3E' class='impl'><code class='in-band'>impl<'a, T: <a class="trait" href="../num_integer/trait.Integer.html" title="trait num_integer::Integer">Integer</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a>> <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/traits/accum/trait.Product.html" title="trait core::iter::traits::accum::Product">Product</a><&'a <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T>> for <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code><a href='#impl-Product%3C%26%27a%20Ratio%3CT%3E%3E' class='anchor'></a><a class='srclink' href='../src/num_rational/lib.rs.html#490-497' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.product-1' class="method hidden"><code id='product.v-1'>fn <a href='https://doc.rust-lang.org/nightly/core/iter/traits/accum/trait.Product.html#tymethod.product' class='fnname'>product</a><I>(iter: I) -> Self <span class="where fmt-newline">where<br> I: <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html" title="trait core::iter::traits::iterator::Iterator">Iterator</a><Item = &'a <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T>>, </span></code><a class='srclink' href='../src/num_rational/lib.rs.html#491-496' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Method which takes an iterator and generates <code>Self</code> from the elements by multiplying the items. <a href="https://doc.rust-lang.org/nightly/core/iter/traits/accum/trait.Product.html#tymethod.product">Read more</a></p>
|
||
</div></div><h3 id='impl-Into%3C(T%2C%20T)%3E' class='impl'><code class='in-band'>impl<T> <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">(</a>T, T<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">)</a>> for <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code><a href='#impl-Into%3C(T%2C%20T)%3E' class='anchor'></a><a class='srclink' href='../src/num_rational/lib.rs.html#1037-1041' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.into' class="method hidden"><code id='into.v'>fn <a href='https://doc.rust-lang.org/nightly/core/convert/trait.Into.html#tymethod.into' class='fnname'>into</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">(</a>T, T<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">)</a></code><a class='srclink' href='../src/num_rational/lib.rs.html#1038-1040' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p>
|
||
</div></div><h3 id='impl-Clone' class='impl'><code class='in-band'>impl<T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a>> <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> for <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code><a href='#impl-Clone' class='anchor'></a><a class='srclink' href='../src/num_rational/lib.rs.html#51' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.clone' class="method hidden"><code id='clone.v'>fn <a href='https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#tymethod.clone' class='fnname'>clone</a>(&self) -> <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code><a class='srclink' href='../src/num_rational/lib.rs.html#51' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Returns a copy of the value. <a href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#tymethod.clone">Read more</a></p>
|
||
</div><h4 id='method.clone_from' class="method hidden"><code id='clone_from.v'>fn <a href='https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#method.clone_from' class='fnname'>clone_from</a>(&mut self, source: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&</a>Self)</code><span class='since' title='Stable since Rust version 1.0.0'>1.0.0</span><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/clone.rs.html#131-133' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs copy-assignment from <code>source</code>. <a href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#method.clone_from">Read more</a></p>
|
||
</div></div><h3 id='impl-CheckedAdd' class='impl'><code class='in-band'>impl<T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> + <a class="trait" href="../num_integer/trait.Integer.html" title="trait num_integer::Integer">Integer</a> + <a class="trait" href="../num_traits/ops/checked/trait.CheckedMul.html" title="trait num_traits::ops::checked::CheckedMul">CheckedMul</a> + <a class="trait" href="../num_traits/ops/checked/trait.CheckedAdd.html" title="trait num_traits::ops::checked::CheckedAdd">CheckedAdd</a>> <a class="trait" href="../num_traits/ops/checked/trait.CheckedAdd.html" title="trait num_traits::ops::checked::CheckedAdd">CheckedAdd</a> for <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code><a href='#impl-CheckedAdd' class='anchor'></a><a class='srclink' href='../src/num_rational/lib.rs.html#819-827' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.checked_add' class="method hidden"><code id='checked_add.v'>fn <a href='../num_traits/ops/checked/trait.CheckedAdd.html#tymethod.checked_add' class='fnname'>checked_add</a>(&self, rhs: &<a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T>></code><a class='srclink' href='../src/num_rational/lib.rs.html#821-826' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Adds two numbers, checking for overflow. If overflow happens, <code>None</code> is returned. <a href="../num_traits/ops/checked/trait.CheckedAdd.html#tymethod.checked_add">Read more</a></p>
|
||
</div></div><h3 id='impl-CheckedDiv' class='impl'><code class='in-band'>impl<T> <a class="trait" href="../num_traits/ops/checked/trait.CheckedDiv.html" title="trait num_traits::ops::checked::CheckedDiv">CheckedDiv</a> for <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T> <span class="where fmt-newline">where<br> T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> + <a class="trait" href="../num_integer/trait.Integer.html" title="trait num_integer::Integer">Integer</a> + <a class="trait" href="../num_traits/ops/checked/trait.CheckedMul.html" title="trait num_traits::ops::checked::CheckedMul">CheckedMul</a>, </span></code><a href='#impl-CheckedDiv' class='anchor'></a><a class='srclink' href='../src/num_rational/lib.rs.html#801-814' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.checked_div' class="method hidden"><code id='checked_div.v'>fn <a href='../num_traits/ops/checked/trait.CheckedDiv.html#tymethod.checked_div' class='fnname'>checked_div</a>(&self, rhs: &<a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T>></code><a class='srclink' href='../src/num_rational/lib.rs.html#806-813' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Divides two numbers, checking for underflow, overflow and division by zero. If any of that happens, <code>None</code> is returned. <a href="../num_traits/ops/checked/trait.CheckedDiv.html#tymethod.checked_div">Read more</a></p>
|
||
</div></div><h3 id='impl-CheckedMul' class='impl'><code class='in-band'>impl<T> <a class="trait" href="../num_traits/ops/checked/trait.CheckedMul.html" title="trait num_traits::ops::checked::CheckedMul">CheckedMul</a> for <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T> <span class="where fmt-newline">where<br> T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> + <a class="trait" href="../num_integer/trait.Integer.html" title="trait num_integer::Integer">Integer</a> + <a class="trait" href="../num_traits/ops/checked/trait.CheckedMul.html" title="trait num_traits::ops::checked::CheckedMul">CheckedMul</a>, </span></code><a href='#impl-CheckedMul' class='anchor'></a><a class='srclink' href='../src/num_rational/lib.rs.html#787-798' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.checked_mul' class="method hidden"><code id='checked_mul.v'>fn <a href='../num_traits/ops/checked/trait.CheckedMul.html#tymethod.checked_mul' class='fnname'>checked_mul</a>(&self, rhs: &<a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T>></code><a class='srclink' href='../src/num_rational/lib.rs.html#792-797' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Multiplies two numbers, checking for underflow or overflow. If underflow or overflow happens, <code>None</code> is returned. <a href="../num_traits/ops/checked/trait.CheckedMul.html#tymethod.checked_mul">Read more</a></p>
|
||
</div></div><h3 id='impl-CheckedSub' class='impl'><code class='in-band'>impl<T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> + <a class="trait" href="../num_integer/trait.Integer.html" title="trait num_integer::Integer">Integer</a> + <a class="trait" href="../num_traits/ops/checked/trait.CheckedMul.html" title="trait num_traits::ops::checked::CheckedMul">CheckedMul</a> + <a class="trait" href="../num_traits/ops/checked/trait.CheckedSub.html" title="trait num_traits::ops::checked::CheckedSub">CheckedSub</a>> <a class="trait" href="../num_traits/ops/checked/trait.CheckedSub.html" title="trait num_traits::ops::checked::CheckedSub">CheckedSub</a> for <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code><a href='#impl-CheckedSub' class='anchor'></a><a class='srclink' href='../src/num_rational/lib.rs.html#819-827' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.checked_sub' class="method hidden"><code id='checked_sub.v'>fn <a href='../num_traits/ops/checked/trait.CheckedSub.html#tymethod.checked_sub' class='fnname'>checked_sub</a>(&self, rhs: &<a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T>></code><a class='srclink' href='../src/num_rational/lib.rs.html#821-826' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Subtracts two numbers, checking for underflow. If underflow happens, <code>None</code> is returned. <a href="../num_traits/ops/checked/trait.CheckedSub.html#tymethod.checked_sub">Read more</a></p>
|
||
</div></div><h3 id='impl-FromPrimitive' class='impl'><code class='in-band'>impl <a class="trait" href="../num_traits/cast/trait.FromPrimitive.html" title="trait num_traits::cast::FromPrimitive">FromPrimitive</a> for <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><<a class="struct" href="../num_bigint/bigint/struct.BigInt.html" title="struct num_bigint::bigint::BigInt">BigInt</a>></code><a href='#impl-FromPrimitive' class='anchor'></a><a class='srclink' href='../src/num_rational/lib.rs.html#1114-1140' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.from_i64' class="method hidden"><code id='from_i64.v'>fn <a href='../num_traits/cast/trait.FromPrimitive.html#tymethod.from_i64' class='fnname'>from_i64</a>(n: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i64.html">i64</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></code><a class='srclink' href='../src/num_rational/lib.rs.html#1115-1117' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Convert an <code>i64</code> to return an optional value of this type. If the type cannot be represented by this value, then <code>None</code> is returned. <a href="../num_traits/cast/trait.FromPrimitive.html#tymethod.from_i64">Read more</a></p>
|
||
</div><h4 id='method.from_i128' class="method hidden"><code id='from_i128.v'>fn <a href='../num_traits/cast/trait.FromPrimitive.html#method.from_i128' class='fnname'>from_i128</a>(n: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i128.html">i128</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></code><a class='srclink' href='../src/num_rational/lib.rs.html#1120-1122' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Convert an <code>i128</code> to return an optional value of this type. If the type cannot be represented by this value, then <code>None</code> is returned. <a href="../num_traits/cast/trait.FromPrimitive.html#method.from_i128">Read more</a></p>
|
||
</div><h4 id='method.from_u64' class="method hidden"><code id='from_u64.v'>fn <a href='../num_traits/cast/trait.FromPrimitive.html#tymethod.from_u64' class='fnname'>from_u64</a>(n: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></code><a class='srclink' href='../src/num_rational/lib.rs.html#1124-1126' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Convert an <code>u64</code> to return an optional value of this type. If the type cannot be represented by this value, then <code>None</code> is returned. <a href="../num_traits/cast/trait.FromPrimitive.html#tymethod.from_u64">Read more</a></p>
|
||
</div><h4 id='method.from_u128' class="method hidden"><code id='from_u128.v'>fn <a href='../num_traits/cast/trait.FromPrimitive.html#method.from_u128' class='fnname'>from_u128</a>(n: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u128.html">u128</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></code><a class='srclink' href='../src/num_rational/lib.rs.html#1129-1131' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Convert an <code>u128</code> to return an optional value of this type. If the type cannot be represented by this value, then <code>None</code> is returned. <a href="../num_traits/cast/trait.FromPrimitive.html#method.from_u128">Read more</a></p>
|
||
</div><h4 id='method.from_f32' class="method hidden"><code id='from_f32.v'>fn <a href='../num_traits/cast/trait.FromPrimitive.html#method.from_f32' class='fnname'>from_f32</a>(n: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></code><a class='srclink' href='../src/num_rational/lib.rs.html#1133-1135' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Convert a <code>f32</code> to return an optional value of this type. If the type cannot be represented by this value, then <code>None</code> is returned. <a href="../num_traits/cast/trait.FromPrimitive.html#method.from_f32">Read more</a></p>
|
||
</div><h4 id='method.from_f64' class="method hidden"><code id='from_f64.v'>fn <a href='../num_traits/cast/trait.FromPrimitive.html#method.from_f64' class='fnname'>from_f64</a>(n: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></code><a class='srclink' href='../src/num_rational/lib.rs.html#1137-1139' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Convert a <code>f64</code> to return an optional value of this type. If the type cannot be represented by this value, then <code>None</code> is returned. <a href="../num_traits/cast/trait.FromPrimitive.html#method.from_f64">Read more</a></p>
|
||
</div><h4 id='method.from_isize' class="method hidden"><code id='from_isize.v'>fn <a href='../num_traits/cast/trait.FromPrimitive.html#method.from_isize' class='fnname'>from_isize</a>(n: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.isize.html">isize</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></code><a class='srclink' href='../src/num_traits/cast.rs.html#368-370' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Convert an <code>isize</code> to return an optional value of this type. If the value cannot be represented by this value, then <code>None</code> is returned. <a href="../num_traits/cast/trait.FromPrimitive.html#method.from_isize">Read more</a></p>
|
||
</div><h4 id='method.from_i8' class="method hidden"><code id='from_i8.v'>fn <a href='../num_traits/cast/trait.FromPrimitive.html#method.from_i8' class='fnname'>from_i8</a>(n: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i8.html">i8</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></code><a class='srclink' href='../src/num_traits/cast.rs.html#375-377' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Convert an <code>i8</code> to return an optional value of this type. If the type cannot be represented by this value, then <code>None</code> is returned. <a href="../num_traits/cast/trait.FromPrimitive.html#method.from_i8">Read more</a></p>
|
||
</div><h4 id='method.from_i16' class="method hidden"><code id='from_i16.v'>fn <a href='../num_traits/cast/trait.FromPrimitive.html#method.from_i16' class='fnname'>from_i16</a>(n: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i16.html">i16</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></code><a class='srclink' href='../src/num_traits/cast.rs.html#382-384' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Convert an <code>i16</code> to return an optional value of this type. If the type cannot be represented by this value, then <code>None</code> is returned. <a href="../num_traits/cast/trait.FromPrimitive.html#method.from_i16">Read more</a></p>
|
||
</div><h4 id='method.from_i32' class="method hidden"><code id='from_i32.v'>fn <a href='../num_traits/cast/trait.FromPrimitive.html#method.from_i32' class='fnname'>from_i32</a>(n: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></code><a class='srclink' href='../src/num_traits/cast.rs.html#389-391' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Convert an <code>i32</code> to return an optional value of this type. If the type cannot be represented by this value, then <code>None</code> is returned. <a href="../num_traits/cast/trait.FromPrimitive.html#method.from_i32">Read more</a></p>
|
||
</div><h4 id='method.from_usize' class="method hidden"><code id='from_usize.v'>fn <a href='../num_traits/cast/trait.FromPrimitive.html#method.from_usize' class='fnname'>from_usize</a>(n: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></code><a class='srclink' href='../src/num_traits/cast.rs.html#413-415' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Convert a <code>usize</code> to return an optional value of this type. If the type cannot be represented by this value, then <code>None</code> is returned. <a href="../num_traits/cast/trait.FromPrimitive.html#method.from_usize">Read more</a></p>
|
||
</div><h4 id='method.from_u8' class="method hidden"><code id='from_u8.v'>fn <a href='../num_traits/cast/trait.FromPrimitive.html#method.from_u8' class='fnname'>from_u8</a>(n: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></code><a class='srclink' href='../src/num_traits/cast.rs.html#420-422' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Convert an <code>u8</code> to return an optional value of this type. If the type cannot be represented by this value, then <code>None</code> is returned. <a href="../num_traits/cast/trait.FromPrimitive.html#method.from_u8">Read more</a></p>
|
||
</div><h4 id='method.from_u16' class="method hidden"><code id='from_u16.v'>fn <a href='../num_traits/cast/trait.FromPrimitive.html#method.from_u16' class='fnname'>from_u16</a>(n: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u16.html">u16</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></code><a class='srclink' href='../src/num_traits/cast.rs.html#427-429' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Convert an <code>u16</code> to return an optional value of this type. If the type cannot be represented by this value, then <code>None</code> is returned. <a href="../num_traits/cast/trait.FromPrimitive.html#method.from_u16">Read more</a></p>
|
||
</div><h4 id='method.from_u32' class="method hidden"><code id='from_u32.v'>fn <a href='../num_traits/cast/trait.FromPrimitive.html#method.from_u32' class='fnname'>from_u32</a>(n: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></code><a class='srclink' href='../src/num_traits/cast.rs.html#434-436' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Convert an <code>u32</code> to return an optional value of this type. If the type cannot be represented by this value, then <code>None</code> is returned. <a href="../num_traits/cast/trait.FromPrimitive.html#method.from_u32">Read more</a></p>
|
||
</div></div><h3 id='impl-FromPrimitive-1' class='impl'><code class='in-band'>impl <a class="trait" href="../num_traits/cast/trait.FromPrimitive.html" title="trait num_traits::cast::FromPrimitive">FromPrimitive</a> for <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i8.html">i8</a>></code><a href='#impl-FromPrimitive-1' class='anchor'></a><a class='srclink' href='../src/num_rational/lib.rs.html#1144-1170' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.from_i64-1' class="method hidden"><code id='from_i64.v-1'>fn <a href='../num_traits/cast/trait.FromPrimitive.html#tymethod.from_i64' class='fnname'>from_i64</a>(n: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i64.html">i64</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></code><a class='srclink' href='../src/num_rational/lib.rs.html#1145-1147' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Convert an <code>i64</code> to return an optional value of this type. If the type cannot be represented by this value, then <code>None</code> is returned. <a href="../num_traits/cast/trait.FromPrimitive.html#tymethod.from_i64">Read more</a></p>
|
||
</div><h4 id='method.from_i128-1' class="method hidden"><code id='from_i128.v-1'>fn <a href='../num_traits/cast/trait.FromPrimitive.html#method.from_i128' class='fnname'>from_i128</a>(n: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i128.html">i128</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></code><a class='srclink' href='../src/num_rational/lib.rs.html#1150-1152' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Convert an <code>i128</code> to return an optional value of this type. If the type cannot be represented by this value, then <code>None</code> is returned. <a href="../num_traits/cast/trait.FromPrimitive.html#method.from_i128">Read more</a></p>
|
||
</div><h4 id='method.from_u64-1' class="method hidden"><code id='from_u64.v-1'>fn <a href='../num_traits/cast/trait.FromPrimitive.html#tymethod.from_u64' class='fnname'>from_u64</a>(n: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></code><a class='srclink' href='../src/num_rational/lib.rs.html#1154-1156' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Convert an <code>u64</code> to return an optional value of this type. If the type cannot be represented by this value, then <code>None</code> is returned. <a href="../num_traits/cast/trait.FromPrimitive.html#tymethod.from_u64">Read more</a></p>
|
||
</div><h4 id='method.from_u128-1' class="method hidden"><code id='from_u128.v-1'>fn <a href='../num_traits/cast/trait.FromPrimitive.html#method.from_u128' class='fnname'>from_u128</a>(n: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u128.html">u128</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></code><a class='srclink' href='../src/num_rational/lib.rs.html#1159-1161' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Convert an <code>u128</code> to return an optional value of this type. If the type cannot be represented by this value, then <code>None</code> is returned. <a href="../num_traits/cast/trait.FromPrimitive.html#method.from_u128">Read more</a></p>
|
||
</div><h4 id='method.from_f32-1' class="method hidden"><code id='from_f32.v-1'>fn <a href='../num_traits/cast/trait.FromPrimitive.html#method.from_f32' class='fnname'>from_f32</a>(n: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></code><a class='srclink' href='../src/num_rational/lib.rs.html#1163-1165' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Convert a <code>f32</code> to return an optional value of this type. If the type cannot be represented by this value, then <code>None</code> is returned. <a href="../num_traits/cast/trait.FromPrimitive.html#method.from_f32">Read more</a></p>
|
||
</div><h4 id='method.from_f64-1' class="method hidden"><code id='from_f64.v-1'>fn <a href='../num_traits/cast/trait.FromPrimitive.html#method.from_f64' class='fnname'>from_f64</a>(n: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></code><a class='srclink' href='../src/num_rational/lib.rs.html#1167-1169' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Convert a <code>f64</code> to return an optional value of this type. If the type cannot be represented by this value, then <code>None</code> is returned. <a href="../num_traits/cast/trait.FromPrimitive.html#method.from_f64">Read more</a></p>
|
||
</div><h4 id='method.from_isize-1' class="method hidden"><code id='from_isize.v-1'>fn <a href='../num_traits/cast/trait.FromPrimitive.html#method.from_isize' class='fnname'>from_isize</a>(n: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.isize.html">isize</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></code><a class='srclink' href='../src/num_traits/cast.rs.html#368-370' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Convert an <code>isize</code> to return an optional value of this type. If the value cannot be represented by this value, then <code>None</code> is returned. <a href="../num_traits/cast/trait.FromPrimitive.html#method.from_isize">Read more</a></p>
|
||
</div><h4 id='method.from_i8-1' class="method hidden"><code id='from_i8.v-1'>fn <a href='../num_traits/cast/trait.FromPrimitive.html#method.from_i8' class='fnname'>from_i8</a>(n: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i8.html">i8</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></code><a class='srclink' href='../src/num_traits/cast.rs.html#375-377' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Convert an <code>i8</code> to return an optional value of this type. If the type cannot be represented by this value, then <code>None</code> is returned. <a href="../num_traits/cast/trait.FromPrimitive.html#method.from_i8">Read more</a></p>
|
||
</div><h4 id='method.from_i16-1' class="method hidden"><code id='from_i16.v-1'>fn <a href='../num_traits/cast/trait.FromPrimitive.html#method.from_i16' class='fnname'>from_i16</a>(n: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i16.html">i16</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></code><a class='srclink' href='../src/num_traits/cast.rs.html#382-384' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Convert an <code>i16</code> to return an optional value of this type. If the type cannot be represented by this value, then <code>None</code> is returned. <a href="../num_traits/cast/trait.FromPrimitive.html#method.from_i16">Read more</a></p>
|
||
</div><h4 id='method.from_i32-1' class="method hidden"><code id='from_i32.v-1'>fn <a href='../num_traits/cast/trait.FromPrimitive.html#method.from_i32' class='fnname'>from_i32</a>(n: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></code><a class='srclink' href='../src/num_traits/cast.rs.html#389-391' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Convert an <code>i32</code> to return an optional value of this type. If the type cannot be represented by this value, then <code>None</code> is returned. <a href="../num_traits/cast/trait.FromPrimitive.html#method.from_i32">Read more</a></p>
|
||
</div><h4 id='method.from_usize-1' class="method hidden"><code id='from_usize.v-1'>fn <a href='../num_traits/cast/trait.FromPrimitive.html#method.from_usize' class='fnname'>from_usize</a>(n: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></code><a class='srclink' href='../src/num_traits/cast.rs.html#413-415' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Convert a <code>usize</code> to return an optional value of this type. If the type cannot be represented by this value, then <code>None</code> is returned. <a href="../num_traits/cast/trait.FromPrimitive.html#method.from_usize">Read more</a></p>
|
||
</div><h4 id='method.from_u8-1' class="method hidden"><code id='from_u8.v-1'>fn <a href='../num_traits/cast/trait.FromPrimitive.html#method.from_u8' class='fnname'>from_u8</a>(n: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></code><a class='srclink' href='../src/num_traits/cast.rs.html#420-422' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Convert an <code>u8</code> to return an optional value of this type. If the type cannot be represented by this value, then <code>None</code> is returned. <a href="../num_traits/cast/trait.FromPrimitive.html#method.from_u8">Read more</a></p>
|
||
</div><h4 id='method.from_u16-1' class="method hidden"><code id='from_u16.v-1'>fn <a href='../num_traits/cast/trait.FromPrimitive.html#method.from_u16' class='fnname'>from_u16</a>(n: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u16.html">u16</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></code><a class='srclink' href='../src/num_traits/cast.rs.html#427-429' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Convert an <code>u16</code> to return an optional value of this type. If the type cannot be represented by this value, then <code>None</code> is returned. <a href="../num_traits/cast/trait.FromPrimitive.html#method.from_u16">Read more</a></p>
|
||
</div><h4 id='method.from_u32-1' class="method hidden"><code id='from_u32.v-1'>fn <a href='../num_traits/cast/trait.FromPrimitive.html#method.from_u32' class='fnname'>from_u32</a>(n: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></code><a class='srclink' href='../src/num_traits/cast.rs.html#434-436' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Convert an <code>u32</code> to return an optional value of this type. If the type cannot be represented by this value, then <code>None</code> is returned. <a href="../num_traits/cast/trait.FromPrimitive.html#method.from_u32">Read more</a></p>
|
||
</div></div><h3 id='impl-FromPrimitive-2' class='impl'><code class='in-band'>impl <a class="trait" href="../num_traits/cast/trait.FromPrimitive.html" title="trait num_traits::cast::FromPrimitive">FromPrimitive</a> for <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i16.html">i16</a>></code><a href='#impl-FromPrimitive-2' class='anchor'></a><a class='srclink' href='../src/num_rational/lib.rs.html#1144-1170' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.from_i64-2' class="method hidden"><code id='from_i64.v-2'>fn <a href='../num_traits/cast/trait.FromPrimitive.html#tymethod.from_i64' class='fnname'>from_i64</a>(n: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i64.html">i64</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></code><a class='srclink' href='../src/num_rational/lib.rs.html#1145-1147' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Convert an <code>i64</code> to return an optional value of this type. If the type cannot be represented by this value, then <code>None</code> is returned. <a href="../num_traits/cast/trait.FromPrimitive.html#tymethod.from_i64">Read more</a></p>
|
||
</div><h4 id='method.from_i128-2' class="method hidden"><code id='from_i128.v-2'>fn <a href='../num_traits/cast/trait.FromPrimitive.html#method.from_i128' class='fnname'>from_i128</a>(n: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i128.html">i128</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></code><a class='srclink' href='../src/num_rational/lib.rs.html#1150-1152' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Convert an <code>i128</code> to return an optional value of this type. If the type cannot be represented by this value, then <code>None</code> is returned. <a href="../num_traits/cast/trait.FromPrimitive.html#method.from_i128">Read more</a></p>
|
||
</div><h4 id='method.from_u64-2' class="method hidden"><code id='from_u64.v-2'>fn <a href='../num_traits/cast/trait.FromPrimitive.html#tymethod.from_u64' class='fnname'>from_u64</a>(n: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></code><a class='srclink' href='../src/num_rational/lib.rs.html#1154-1156' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Convert an <code>u64</code> to return an optional value of this type. If the type cannot be represented by this value, then <code>None</code> is returned. <a href="../num_traits/cast/trait.FromPrimitive.html#tymethod.from_u64">Read more</a></p>
|
||
</div><h4 id='method.from_u128-2' class="method hidden"><code id='from_u128.v-2'>fn <a href='../num_traits/cast/trait.FromPrimitive.html#method.from_u128' class='fnname'>from_u128</a>(n: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u128.html">u128</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></code><a class='srclink' href='../src/num_rational/lib.rs.html#1159-1161' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Convert an <code>u128</code> to return an optional value of this type. If the type cannot be represented by this value, then <code>None</code> is returned. <a href="../num_traits/cast/trait.FromPrimitive.html#method.from_u128">Read more</a></p>
|
||
</div><h4 id='method.from_f32-2' class="method hidden"><code id='from_f32.v-2'>fn <a href='../num_traits/cast/trait.FromPrimitive.html#method.from_f32' class='fnname'>from_f32</a>(n: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></code><a class='srclink' href='../src/num_rational/lib.rs.html#1163-1165' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Convert a <code>f32</code> to return an optional value of this type. If the type cannot be represented by this value, then <code>None</code> is returned. <a href="../num_traits/cast/trait.FromPrimitive.html#method.from_f32">Read more</a></p>
|
||
</div><h4 id='method.from_f64-2' class="method hidden"><code id='from_f64.v-2'>fn <a href='../num_traits/cast/trait.FromPrimitive.html#method.from_f64' class='fnname'>from_f64</a>(n: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></code><a class='srclink' href='../src/num_rational/lib.rs.html#1167-1169' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Convert a <code>f64</code> to return an optional value of this type. If the type cannot be represented by this value, then <code>None</code> is returned. <a href="../num_traits/cast/trait.FromPrimitive.html#method.from_f64">Read more</a></p>
|
||
</div><h4 id='method.from_isize-2' class="method hidden"><code id='from_isize.v-2'>fn <a href='../num_traits/cast/trait.FromPrimitive.html#method.from_isize' class='fnname'>from_isize</a>(n: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.isize.html">isize</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></code><a class='srclink' href='../src/num_traits/cast.rs.html#368-370' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Convert an <code>isize</code> to return an optional value of this type. If the value cannot be represented by this value, then <code>None</code> is returned. <a href="../num_traits/cast/trait.FromPrimitive.html#method.from_isize">Read more</a></p>
|
||
</div><h4 id='method.from_i8-2' class="method hidden"><code id='from_i8.v-2'>fn <a href='../num_traits/cast/trait.FromPrimitive.html#method.from_i8' class='fnname'>from_i8</a>(n: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i8.html">i8</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></code><a class='srclink' href='../src/num_traits/cast.rs.html#375-377' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Convert an <code>i8</code> to return an optional value of this type. If the type cannot be represented by this value, then <code>None</code> is returned. <a href="../num_traits/cast/trait.FromPrimitive.html#method.from_i8">Read more</a></p>
|
||
</div><h4 id='method.from_i16-2' class="method hidden"><code id='from_i16.v-2'>fn <a href='../num_traits/cast/trait.FromPrimitive.html#method.from_i16' class='fnname'>from_i16</a>(n: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i16.html">i16</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></code><a class='srclink' href='../src/num_traits/cast.rs.html#382-384' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Convert an <code>i16</code> to return an optional value of this type. If the type cannot be represented by this value, then <code>None</code> is returned. <a href="../num_traits/cast/trait.FromPrimitive.html#method.from_i16">Read more</a></p>
|
||
</div><h4 id='method.from_i32-2' class="method hidden"><code id='from_i32.v-2'>fn <a href='../num_traits/cast/trait.FromPrimitive.html#method.from_i32' class='fnname'>from_i32</a>(n: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></code><a class='srclink' href='../src/num_traits/cast.rs.html#389-391' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Convert an <code>i32</code> to return an optional value of this type. If the type cannot be represented by this value, then <code>None</code> is returned. <a href="../num_traits/cast/trait.FromPrimitive.html#method.from_i32">Read more</a></p>
|
||
</div><h4 id='method.from_usize-2' class="method hidden"><code id='from_usize.v-2'>fn <a href='../num_traits/cast/trait.FromPrimitive.html#method.from_usize' class='fnname'>from_usize</a>(n: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></code><a class='srclink' href='../src/num_traits/cast.rs.html#413-415' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Convert a <code>usize</code> to return an optional value of this type. If the type cannot be represented by this value, then <code>None</code> is returned. <a href="../num_traits/cast/trait.FromPrimitive.html#method.from_usize">Read more</a></p>
|
||
</div><h4 id='method.from_u8-2' class="method hidden"><code id='from_u8.v-2'>fn <a href='../num_traits/cast/trait.FromPrimitive.html#method.from_u8' class='fnname'>from_u8</a>(n: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></code><a class='srclink' href='../src/num_traits/cast.rs.html#420-422' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Convert an <code>u8</code> to return an optional value of this type. If the type cannot be represented by this value, then <code>None</code> is returned. <a href="../num_traits/cast/trait.FromPrimitive.html#method.from_u8">Read more</a></p>
|
||
</div><h4 id='method.from_u16-2' class="method hidden"><code id='from_u16.v-2'>fn <a href='../num_traits/cast/trait.FromPrimitive.html#method.from_u16' class='fnname'>from_u16</a>(n: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u16.html">u16</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></code><a class='srclink' href='../src/num_traits/cast.rs.html#427-429' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Convert an <code>u16</code> to return an optional value of this type. If the type cannot be represented by this value, then <code>None</code> is returned. <a href="../num_traits/cast/trait.FromPrimitive.html#method.from_u16">Read more</a></p>
|
||
</div><h4 id='method.from_u32-2' class="method hidden"><code id='from_u32.v-2'>fn <a href='../num_traits/cast/trait.FromPrimitive.html#method.from_u32' class='fnname'>from_u32</a>(n: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></code><a class='srclink' href='../src/num_traits/cast.rs.html#434-436' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Convert an <code>u32</code> to return an optional value of this type. If the type cannot be represented by this value, then <code>None</code> is returned. <a href="../num_traits/cast/trait.FromPrimitive.html#method.from_u32">Read more</a></p>
|
||
</div></div><h3 id='impl-FromPrimitive-3' class='impl'><code class='in-band'>impl <a class="trait" href="../num_traits/cast/trait.FromPrimitive.html" title="trait num_traits::cast::FromPrimitive">FromPrimitive</a> for <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>></code><a href='#impl-FromPrimitive-3' class='anchor'></a><a class='srclink' href='../src/num_rational/lib.rs.html#1144-1170' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.from_i64-3' class="method hidden"><code id='from_i64.v-3'>fn <a href='../num_traits/cast/trait.FromPrimitive.html#tymethod.from_i64' class='fnname'>from_i64</a>(n: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i64.html">i64</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></code><a class='srclink' href='../src/num_rational/lib.rs.html#1145-1147' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Convert an <code>i64</code> to return an optional value of this type. If the type cannot be represented by this value, then <code>None</code> is returned. <a href="../num_traits/cast/trait.FromPrimitive.html#tymethod.from_i64">Read more</a></p>
|
||
</div><h4 id='method.from_i128-3' class="method hidden"><code id='from_i128.v-3'>fn <a href='../num_traits/cast/trait.FromPrimitive.html#method.from_i128' class='fnname'>from_i128</a>(n: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i128.html">i128</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></code><a class='srclink' href='../src/num_rational/lib.rs.html#1150-1152' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Convert an <code>i128</code> to return an optional value of this type. If the type cannot be represented by this value, then <code>None</code> is returned. <a href="../num_traits/cast/trait.FromPrimitive.html#method.from_i128">Read more</a></p>
|
||
</div><h4 id='method.from_u64-3' class="method hidden"><code id='from_u64.v-3'>fn <a href='../num_traits/cast/trait.FromPrimitive.html#tymethod.from_u64' class='fnname'>from_u64</a>(n: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></code><a class='srclink' href='../src/num_rational/lib.rs.html#1154-1156' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Convert an <code>u64</code> to return an optional value of this type. If the type cannot be represented by this value, then <code>None</code> is returned. <a href="../num_traits/cast/trait.FromPrimitive.html#tymethod.from_u64">Read more</a></p>
|
||
</div><h4 id='method.from_u128-3' class="method hidden"><code id='from_u128.v-3'>fn <a href='../num_traits/cast/trait.FromPrimitive.html#method.from_u128' class='fnname'>from_u128</a>(n: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u128.html">u128</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></code><a class='srclink' href='../src/num_rational/lib.rs.html#1159-1161' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Convert an <code>u128</code> to return an optional value of this type. If the type cannot be represented by this value, then <code>None</code> is returned. <a href="../num_traits/cast/trait.FromPrimitive.html#method.from_u128">Read more</a></p>
|
||
</div><h4 id='method.from_f32-3' class="method hidden"><code id='from_f32.v-3'>fn <a href='../num_traits/cast/trait.FromPrimitive.html#method.from_f32' class='fnname'>from_f32</a>(n: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></code><a class='srclink' href='../src/num_rational/lib.rs.html#1163-1165' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Convert a <code>f32</code> to return an optional value of this type. If the type cannot be represented by this value, then <code>None</code> is returned. <a href="../num_traits/cast/trait.FromPrimitive.html#method.from_f32">Read more</a></p>
|
||
</div><h4 id='method.from_f64-3' class="method hidden"><code id='from_f64.v-3'>fn <a href='../num_traits/cast/trait.FromPrimitive.html#method.from_f64' class='fnname'>from_f64</a>(n: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></code><a class='srclink' href='../src/num_rational/lib.rs.html#1167-1169' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Convert a <code>f64</code> to return an optional value of this type. If the type cannot be represented by this value, then <code>None</code> is returned. <a href="../num_traits/cast/trait.FromPrimitive.html#method.from_f64">Read more</a></p>
|
||
</div><h4 id='method.from_isize-3' class="method hidden"><code id='from_isize.v-3'>fn <a href='../num_traits/cast/trait.FromPrimitive.html#method.from_isize' class='fnname'>from_isize</a>(n: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.isize.html">isize</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></code><a class='srclink' href='../src/num_traits/cast.rs.html#368-370' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Convert an <code>isize</code> to return an optional value of this type. If the value cannot be represented by this value, then <code>None</code> is returned. <a href="../num_traits/cast/trait.FromPrimitive.html#method.from_isize">Read more</a></p>
|
||
</div><h4 id='method.from_i8-3' class="method hidden"><code id='from_i8.v-3'>fn <a href='../num_traits/cast/trait.FromPrimitive.html#method.from_i8' class='fnname'>from_i8</a>(n: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i8.html">i8</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></code><a class='srclink' href='../src/num_traits/cast.rs.html#375-377' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Convert an <code>i8</code> to return an optional value of this type. If the type cannot be represented by this value, then <code>None</code> is returned. <a href="../num_traits/cast/trait.FromPrimitive.html#method.from_i8">Read more</a></p>
|
||
</div><h4 id='method.from_i16-3' class="method hidden"><code id='from_i16.v-3'>fn <a href='../num_traits/cast/trait.FromPrimitive.html#method.from_i16' class='fnname'>from_i16</a>(n: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i16.html">i16</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></code><a class='srclink' href='../src/num_traits/cast.rs.html#382-384' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Convert an <code>i16</code> to return an optional value of this type. If the type cannot be represented by this value, then <code>None</code> is returned. <a href="../num_traits/cast/trait.FromPrimitive.html#method.from_i16">Read more</a></p>
|
||
</div><h4 id='method.from_i32-3' class="method hidden"><code id='from_i32.v-3'>fn <a href='../num_traits/cast/trait.FromPrimitive.html#method.from_i32' class='fnname'>from_i32</a>(n: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></code><a class='srclink' href='../src/num_traits/cast.rs.html#389-391' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Convert an <code>i32</code> to return an optional value of this type. If the type cannot be represented by this value, then <code>None</code> is returned. <a href="../num_traits/cast/trait.FromPrimitive.html#method.from_i32">Read more</a></p>
|
||
</div><h4 id='method.from_usize-3' class="method hidden"><code id='from_usize.v-3'>fn <a href='../num_traits/cast/trait.FromPrimitive.html#method.from_usize' class='fnname'>from_usize</a>(n: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></code><a class='srclink' href='../src/num_traits/cast.rs.html#413-415' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Convert a <code>usize</code> to return an optional value of this type. If the type cannot be represented by this value, then <code>None</code> is returned. <a href="../num_traits/cast/trait.FromPrimitive.html#method.from_usize">Read more</a></p>
|
||
</div><h4 id='method.from_u8-3' class="method hidden"><code id='from_u8.v-3'>fn <a href='../num_traits/cast/trait.FromPrimitive.html#method.from_u8' class='fnname'>from_u8</a>(n: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></code><a class='srclink' href='../src/num_traits/cast.rs.html#420-422' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Convert an <code>u8</code> to return an optional value of this type. If the type cannot be represented by this value, then <code>None</code> is returned. <a href="../num_traits/cast/trait.FromPrimitive.html#method.from_u8">Read more</a></p>
|
||
</div><h4 id='method.from_u16-3' class="method hidden"><code id='from_u16.v-3'>fn <a href='../num_traits/cast/trait.FromPrimitive.html#method.from_u16' class='fnname'>from_u16</a>(n: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u16.html">u16</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></code><a class='srclink' href='../src/num_traits/cast.rs.html#427-429' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Convert an <code>u16</code> to return an optional value of this type. If the type cannot be represented by this value, then <code>None</code> is returned. <a href="../num_traits/cast/trait.FromPrimitive.html#method.from_u16">Read more</a></p>
|
||
</div><h4 id='method.from_u32-3' class="method hidden"><code id='from_u32.v-3'>fn <a href='../num_traits/cast/trait.FromPrimitive.html#method.from_u32' class='fnname'>from_u32</a>(n: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></code><a class='srclink' href='../src/num_traits/cast.rs.html#434-436' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Convert an <code>u32</code> to return an optional value of this type. If the type cannot be represented by this value, then <code>None</code> is returned. <a href="../num_traits/cast/trait.FromPrimitive.html#method.from_u32">Read more</a></p>
|
||
</div></div><h3 id='impl-FromPrimitive-4' class='impl'><code class='in-band'>impl <a class="trait" href="../num_traits/cast/trait.FromPrimitive.html" title="trait num_traits::cast::FromPrimitive">FromPrimitive</a> for <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i64.html">i64</a>></code><a href='#impl-FromPrimitive-4' class='anchor'></a><a class='srclink' href='../src/num_rational/lib.rs.html#1144-1170' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.from_i64-4' class="method hidden"><code id='from_i64.v-4'>fn <a href='../num_traits/cast/trait.FromPrimitive.html#tymethod.from_i64' class='fnname'>from_i64</a>(n: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i64.html">i64</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></code><a class='srclink' href='../src/num_rational/lib.rs.html#1145-1147' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Convert an <code>i64</code> to return an optional value of this type. If the type cannot be represented by this value, then <code>None</code> is returned. <a href="../num_traits/cast/trait.FromPrimitive.html#tymethod.from_i64">Read more</a></p>
|
||
</div><h4 id='method.from_i128-4' class="method hidden"><code id='from_i128.v-4'>fn <a href='../num_traits/cast/trait.FromPrimitive.html#method.from_i128' class='fnname'>from_i128</a>(n: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i128.html">i128</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></code><a class='srclink' href='../src/num_rational/lib.rs.html#1150-1152' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Convert an <code>i128</code> to return an optional value of this type. If the type cannot be represented by this value, then <code>None</code> is returned. <a href="../num_traits/cast/trait.FromPrimitive.html#method.from_i128">Read more</a></p>
|
||
</div><h4 id='method.from_u64-4' class="method hidden"><code id='from_u64.v-4'>fn <a href='../num_traits/cast/trait.FromPrimitive.html#tymethod.from_u64' class='fnname'>from_u64</a>(n: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></code><a class='srclink' href='../src/num_rational/lib.rs.html#1154-1156' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Convert an <code>u64</code> to return an optional value of this type. If the type cannot be represented by this value, then <code>None</code> is returned. <a href="../num_traits/cast/trait.FromPrimitive.html#tymethod.from_u64">Read more</a></p>
|
||
</div><h4 id='method.from_u128-4' class="method hidden"><code id='from_u128.v-4'>fn <a href='../num_traits/cast/trait.FromPrimitive.html#method.from_u128' class='fnname'>from_u128</a>(n: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u128.html">u128</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></code><a class='srclink' href='../src/num_rational/lib.rs.html#1159-1161' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Convert an <code>u128</code> to return an optional value of this type. If the type cannot be represented by this value, then <code>None</code> is returned. <a href="../num_traits/cast/trait.FromPrimitive.html#method.from_u128">Read more</a></p>
|
||
</div><h4 id='method.from_f32-4' class="method hidden"><code id='from_f32.v-4'>fn <a href='../num_traits/cast/trait.FromPrimitive.html#method.from_f32' class='fnname'>from_f32</a>(n: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></code><a class='srclink' href='../src/num_rational/lib.rs.html#1163-1165' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Convert a <code>f32</code> to return an optional value of this type. If the type cannot be represented by this value, then <code>None</code> is returned. <a href="../num_traits/cast/trait.FromPrimitive.html#method.from_f32">Read more</a></p>
|
||
</div><h4 id='method.from_f64-4' class="method hidden"><code id='from_f64.v-4'>fn <a href='../num_traits/cast/trait.FromPrimitive.html#method.from_f64' class='fnname'>from_f64</a>(n: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></code><a class='srclink' href='../src/num_rational/lib.rs.html#1167-1169' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Convert a <code>f64</code> to return an optional value of this type. If the type cannot be represented by this value, then <code>None</code> is returned. <a href="../num_traits/cast/trait.FromPrimitive.html#method.from_f64">Read more</a></p>
|
||
</div><h4 id='method.from_isize-4' class="method hidden"><code id='from_isize.v-4'>fn <a href='../num_traits/cast/trait.FromPrimitive.html#method.from_isize' class='fnname'>from_isize</a>(n: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.isize.html">isize</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></code><a class='srclink' href='../src/num_traits/cast.rs.html#368-370' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Convert an <code>isize</code> to return an optional value of this type. If the value cannot be represented by this value, then <code>None</code> is returned. <a href="../num_traits/cast/trait.FromPrimitive.html#method.from_isize">Read more</a></p>
|
||
</div><h4 id='method.from_i8-4' class="method hidden"><code id='from_i8.v-4'>fn <a href='../num_traits/cast/trait.FromPrimitive.html#method.from_i8' class='fnname'>from_i8</a>(n: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i8.html">i8</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></code><a class='srclink' href='../src/num_traits/cast.rs.html#375-377' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Convert an <code>i8</code> to return an optional value of this type. If the type cannot be represented by this value, then <code>None</code> is returned. <a href="../num_traits/cast/trait.FromPrimitive.html#method.from_i8">Read more</a></p>
|
||
</div><h4 id='method.from_i16-4' class="method hidden"><code id='from_i16.v-4'>fn <a href='../num_traits/cast/trait.FromPrimitive.html#method.from_i16' class='fnname'>from_i16</a>(n: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i16.html">i16</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></code><a class='srclink' href='../src/num_traits/cast.rs.html#382-384' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Convert an <code>i16</code> to return an optional value of this type. If the type cannot be represented by this value, then <code>None</code> is returned. <a href="../num_traits/cast/trait.FromPrimitive.html#method.from_i16">Read more</a></p>
|
||
</div><h4 id='method.from_i32-4' class="method hidden"><code id='from_i32.v-4'>fn <a href='../num_traits/cast/trait.FromPrimitive.html#method.from_i32' class='fnname'>from_i32</a>(n: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></code><a class='srclink' href='../src/num_traits/cast.rs.html#389-391' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Convert an <code>i32</code> to return an optional value of this type. If the type cannot be represented by this value, then <code>None</code> is returned. <a href="../num_traits/cast/trait.FromPrimitive.html#method.from_i32">Read more</a></p>
|
||
</div><h4 id='method.from_usize-4' class="method hidden"><code id='from_usize.v-4'>fn <a href='../num_traits/cast/trait.FromPrimitive.html#method.from_usize' class='fnname'>from_usize</a>(n: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></code><a class='srclink' href='../src/num_traits/cast.rs.html#413-415' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Convert a <code>usize</code> to return an optional value of this type. If the type cannot be represented by this value, then <code>None</code> is returned. <a href="../num_traits/cast/trait.FromPrimitive.html#method.from_usize">Read more</a></p>
|
||
</div><h4 id='method.from_u8-4' class="method hidden"><code id='from_u8.v-4'>fn <a href='../num_traits/cast/trait.FromPrimitive.html#method.from_u8' class='fnname'>from_u8</a>(n: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></code><a class='srclink' href='../src/num_traits/cast.rs.html#420-422' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Convert an <code>u8</code> to return an optional value of this type. If the type cannot be represented by this value, then <code>None</code> is returned. <a href="../num_traits/cast/trait.FromPrimitive.html#method.from_u8">Read more</a></p>
|
||
</div><h4 id='method.from_u16-4' class="method hidden"><code id='from_u16.v-4'>fn <a href='../num_traits/cast/trait.FromPrimitive.html#method.from_u16' class='fnname'>from_u16</a>(n: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u16.html">u16</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></code><a class='srclink' href='../src/num_traits/cast.rs.html#427-429' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Convert an <code>u16</code> to return an optional value of this type. If the type cannot be represented by this value, then <code>None</code> is returned. <a href="../num_traits/cast/trait.FromPrimitive.html#method.from_u16">Read more</a></p>
|
||
</div><h4 id='method.from_u32-4' class="method hidden"><code id='from_u32.v-4'>fn <a href='../num_traits/cast/trait.FromPrimitive.html#method.from_u32' class='fnname'>from_u32</a>(n: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></code><a class='srclink' href='../src/num_traits/cast.rs.html#434-436' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Convert an <code>u32</code> to return an optional value of this type. If the type cannot be represented by this value, then <code>None</code> is returned. <a href="../num_traits/cast/trait.FromPrimitive.html#method.from_u32">Read more</a></p>
|
||
</div></div><h3 id='impl-FromPrimitive-5' class='impl'><code class='in-band'>impl <a class="trait" href="../num_traits/cast/trait.FromPrimitive.html" title="trait num_traits::cast::FromPrimitive">FromPrimitive</a> for <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i128.html">i128</a>></code><a href='#impl-FromPrimitive-5' class='anchor'></a><a class='srclink' href='../src/num_rational/lib.rs.html#1144-1170' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.from_i64-5' class="method hidden"><code id='from_i64.v-5'>fn <a href='../num_traits/cast/trait.FromPrimitive.html#tymethod.from_i64' class='fnname'>from_i64</a>(n: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i64.html">i64</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></code><a class='srclink' href='../src/num_rational/lib.rs.html#1145-1147' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Convert an <code>i64</code> to return an optional value of this type. If the type cannot be represented by this value, then <code>None</code> is returned. <a href="../num_traits/cast/trait.FromPrimitive.html#tymethod.from_i64">Read more</a></p>
|
||
</div><h4 id='method.from_i128-5' class="method hidden"><code id='from_i128.v-5'>fn <a href='../num_traits/cast/trait.FromPrimitive.html#method.from_i128' class='fnname'>from_i128</a>(n: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i128.html">i128</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></code><a class='srclink' href='../src/num_rational/lib.rs.html#1150-1152' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Convert an <code>i128</code> to return an optional value of this type. If the type cannot be represented by this value, then <code>None</code> is returned. <a href="../num_traits/cast/trait.FromPrimitive.html#method.from_i128">Read more</a></p>
|
||
</div><h4 id='method.from_u64-5' class="method hidden"><code id='from_u64.v-5'>fn <a href='../num_traits/cast/trait.FromPrimitive.html#tymethod.from_u64' class='fnname'>from_u64</a>(n: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></code><a class='srclink' href='../src/num_rational/lib.rs.html#1154-1156' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Convert an <code>u64</code> to return an optional value of this type. If the type cannot be represented by this value, then <code>None</code> is returned. <a href="../num_traits/cast/trait.FromPrimitive.html#tymethod.from_u64">Read more</a></p>
|
||
</div><h4 id='method.from_u128-5' class="method hidden"><code id='from_u128.v-5'>fn <a href='../num_traits/cast/trait.FromPrimitive.html#method.from_u128' class='fnname'>from_u128</a>(n: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u128.html">u128</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></code><a class='srclink' href='../src/num_rational/lib.rs.html#1159-1161' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Convert an <code>u128</code> to return an optional value of this type. If the type cannot be represented by this value, then <code>None</code> is returned. <a href="../num_traits/cast/trait.FromPrimitive.html#method.from_u128">Read more</a></p>
|
||
</div><h4 id='method.from_f32-5' class="method hidden"><code id='from_f32.v-5'>fn <a href='../num_traits/cast/trait.FromPrimitive.html#method.from_f32' class='fnname'>from_f32</a>(n: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></code><a class='srclink' href='../src/num_rational/lib.rs.html#1163-1165' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Convert a <code>f32</code> to return an optional value of this type. If the type cannot be represented by this value, then <code>None</code> is returned. <a href="../num_traits/cast/trait.FromPrimitive.html#method.from_f32">Read more</a></p>
|
||
</div><h4 id='method.from_f64-5' class="method hidden"><code id='from_f64.v-5'>fn <a href='../num_traits/cast/trait.FromPrimitive.html#method.from_f64' class='fnname'>from_f64</a>(n: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></code><a class='srclink' href='../src/num_rational/lib.rs.html#1167-1169' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Convert a <code>f64</code> to return an optional value of this type. If the type cannot be represented by this value, then <code>None</code> is returned. <a href="../num_traits/cast/trait.FromPrimitive.html#method.from_f64">Read more</a></p>
|
||
</div><h4 id='method.from_isize-5' class="method hidden"><code id='from_isize.v-5'>fn <a href='../num_traits/cast/trait.FromPrimitive.html#method.from_isize' class='fnname'>from_isize</a>(n: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.isize.html">isize</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></code><a class='srclink' href='../src/num_traits/cast.rs.html#368-370' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Convert an <code>isize</code> to return an optional value of this type. If the value cannot be represented by this value, then <code>None</code> is returned. <a href="../num_traits/cast/trait.FromPrimitive.html#method.from_isize">Read more</a></p>
|
||
</div><h4 id='method.from_i8-5' class="method hidden"><code id='from_i8.v-5'>fn <a href='../num_traits/cast/trait.FromPrimitive.html#method.from_i8' class='fnname'>from_i8</a>(n: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i8.html">i8</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></code><a class='srclink' href='../src/num_traits/cast.rs.html#375-377' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Convert an <code>i8</code> to return an optional value of this type. If the type cannot be represented by this value, then <code>None</code> is returned. <a href="../num_traits/cast/trait.FromPrimitive.html#method.from_i8">Read more</a></p>
|
||
</div><h4 id='method.from_i16-5' class="method hidden"><code id='from_i16.v-5'>fn <a href='../num_traits/cast/trait.FromPrimitive.html#method.from_i16' class='fnname'>from_i16</a>(n: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i16.html">i16</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></code><a class='srclink' href='../src/num_traits/cast.rs.html#382-384' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Convert an <code>i16</code> to return an optional value of this type. If the type cannot be represented by this value, then <code>None</code> is returned. <a href="../num_traits/cast/trait.FromPrimitive.html#method.from_i16">Read more</a></p>
|
||
</div><h4 id='method.from_i32-5' class="method hidden"><code id='from_i32.v-5'>fn <a href='../num_traits/cast/trait.FromPrimitive.html#method.from_i32' class='fnname'>from_i32</a>(n: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></code><a class='srclink' href='../src/num_traits/cast.rs.html#389-391' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Convert an <code>i32</code> to return an optional value of this type. If the type cannot be represented by this value, then <code>None</code> is returned. <a href="../num_traits/cast/trait.FromPrimitive.html#method.from_i32">Read more</a></p>
|
||
</div><h4 id='method.from_usize-5' class="method hidden"><code id='from_usize.v-5'>fn <a href='../num_traits/cast/trait.FromPrimitive.html#method.from_usize' class='fnname'>from_usize</a>(n: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></code><a class='srclink' href='../src/num_traits/cast.rs.html#413-415' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Convert a <code>usize</code> to return an optional value of this type. If the type cannot be represented by this value, then <code>None</code> is returned. <a href="../num_traits/cast/trait.FromPrimitive.html#method.from_usize">Read more</a></p>
|
||
</div><h4 id='method.from_u8-5' class="method hidden"><code id='from_u8.v-5'>fn <a href='../num_traits/cast/trait.FromPrimitive.html#method.from_u8' class='fnname'>from_u8</a>(n: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></code><a class='srclink' href='../src/num_traits/cast.rs.html#420-422' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Convert an <code>u8</code> to return an optional value of this type. If the type cannot be represented by this value, then <code>None</code> is returned. <a href="../num_traits/cast/trait.FromPrimitive.html#method.from_u8">Read more</a></p>
|
||
</div><h4 id='method.from_u16-5' class="method hidden"><code id='from_u16.v-5'>fn <a href='../num_traits/cast/trait.FromPrimitive.html#method.from_u16' class='fnname'>from_u16</a>(n: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u16.html">u16</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></code><a class='srclink' href='../src/num_traits/cast.rs.html#427-429' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Convert an <code>u16</code> to return an optional value of this type. If the type cannot be represented by this value, then <code>None</code> is returned. <a href="../num_traits/cast/trait.FromPrimitive.html#method.from_u16">Read more</a></p>
|
||
</div><h4 id='method.from_u32-5' class="method hidden"><code id='from_u32.v-5'>fn <a href='../num_traits/cast/trait.FromPrimitive.html#method.from_u32' class='fnname'>from_u32</a>(n: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></code><a class='srclink' href='../src/num_traits/cast.rs.html#434-436' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Convert an <code>u32</code> to return an optional value of this type. If the type cannot be represented by this value, then <code>None</code> is returned. <a href="../num_traits/cast/trait.FromPrimitive.html#method.from_u32">Read more</a></p>
|
||
</div></div><h3 id='impl-FromPrimitive-6' class='impl'><code class='in-band'>impl <a class="trait" href="../num_traits/cast/trait.FromPrimitive.html" title="trait num_traits::cast::FromPrimitive">FromPrimitive</a> for <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.isize.html">isize</a>></code><a href='#impl-FromPrimitive-6' class='anchor'></a><a class='srclink' href='../src/num_rational/lib.rs.html#1144-1170' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.from_i64-6' class="method hidden"><code id='from_i64.v-6'>fn <a href='../num_traits/cast/trait.FromPrimitive.html#tymethod.from_i64' class='fnname'>from_i64</a>(n: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i64.html">i64</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></code><a class='srclink' href='../src/num_rational/lib.rs.html#1145-1147' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Convert an <code>i64</code> to return an optional value of this type. If the type cannot be represented by this value, then <code>None</code> is returned. <a href="../num_traits/cast/trait.FromPrimitive.html#tymethod.from_i64">Read more</a></p>
|
||
</div><h4 id='method.from_i128-6' class="method hidden"><code id='from_i128.v-6'>fn <a href='../num_traits/cast/trait.FromPrimitive.html#method.from_i128' class='fnname'>from_i128</a>(n: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i128.html">i128</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></code><a class='srclink' href='../src/num_rational/lib.rs.html#1150-1152' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Convert an <code>i128</code> to return an optional value of this type. If the type cannot be represented by this value, then <code>None</code> is returned. <a href="../num_traits/cast/trait.FromPrimitive.html#method.from_i128">Read more</a></p>
|
||
</div><h4 id='method.from_u64-6' class="method hidden"><code id='from_u64.v-6'>fn <a href='../num_traits/cast/trait.FromPrimitive.html#tymethod.from_u64' class='fnname'>from_u64</a>(n: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></code><a class='srclink' href='../src/num_rational/lib.rs.html#1154-1156' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Convert an <code>u64</code> to return an optional value of this type. If the type cannot be represented by this value, then <code>None</code> is returned. <a href="../num_traits/cast/trait.FromPrimitive.html#tymethod.from_u64">Read more</a></p>
|
||
</div><h4 id='method.from_u128-6' class="method hidden"><code id='from_u128.v-6'>fn <a href='../num_traits/cast/trait.FromPrimitive.html#method.from_u128' class='fnname'>from_u128</a>(n: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u128.html">u128</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></code><a class='srclink' href='../src/num_rational/lib.rs.html#1159-1161' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Convert an <code>u128</code> to return an optional value of this type. If the type cannot be represented by this value, then <code>None</code> is returned. <a href="../num_traits/cast/trait.FromPrimitive.html#method.from_u128">Read more</a></p>
|
||
</div><h4 id='method.from_f32-6' class="method hidden"><code id='from_f32.v-6'>fn <a href='../num_traits/cast/trait.FromPrimitive.html#method.from_f32' class='fnname'>from_f32</a>(n: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></code><a class='srclink' href='../src/num_rational/lib.rs.html#1163-1165' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Convert a <code>f32</code> to return an optional value of this type. If the type cannot be represented by this value, then <code>None</code> is returned. <a href="../num_traits/cast/trait.FromPrimitive.html#method.from_f32">Read more</a></p>
|
||
</div><h4 id='method.from_f64-6' class="method hidden"><code id='from_f64.v-6'>fn <a href='../num_traits/cast/trait.FromPrimitive.html#method.from_f64' class='fnname'>from_f64</a>(n: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></code><a class='srclink' href='../src/num_rational/lib.rs.html#1167-1169' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Convert a <code>f64</code> to return an optional value of this type. If the type cannot be represented by this value, then <code>None</code> is returned. <a href="../num_traits/cast/trait.FromPrimitive.html#method.from_f64">Read more</a></p>
|
||
</div><h4 id='method.from_isize-6' class="method hidden"><code id='from_isize.v-6'>fn <a href='../num_traits/cast/trait.FromPrimitive.html#method.from_isize' class='fnname'>from_isize</a>(n: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.isize.html">isize</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></code><a class='srclink' href='../src/num_traits/cast.rs.html#368-370' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Convert an <code>isize</code> to return an optional value of this type. If the value cannot be represented by this value, then <code>None</code> is returned. <a href="../num_traits/cast/trait.FromPrimitive.html#method.from_isize">Read more</a></p>
|
||
</div><h4 id='method.from_i8-6' class="method hidden"><code id='from_i8.v-6'>fn <a href='../num_traits/cast/trait.FromPrimitive.html#method.from_i8' class='fnname'>from_i8</a>(n: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i8.html">i8</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></code><a class='srclink' href='../src/num_traits/cast.rs.html#375-377' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Convert an <code>i8</code> to return an optional value of this type. If the type cannot be represented by this value, then <code>None</code> is returned. <a href="../num_traits/cast/trait.FromPrimitive.html#method.from_i8">Read more</a></p>
|
||
</div><h4 id='method.from_i16-6' class="method hidden"><code id='from_i16.v-6'>fn <a href='../num_traits/cast/trait.FromPrimitive.html#method.from_i16' class='fnname'>from_i16</a>(n: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i16.html">i16</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></code><a class='srclink' href='../src/num_traits/cast.rs.html#382-384' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Convert an <code>i16</code> to return an optional value of this type. If the type cannot be represented by this value, then <code>None</code> is returned. <a href="../num_traits/cast/trait.FromPrimitive.html#method.from_i16">Read more</a></p>
|
||
</div><h4 id='method.from_i32-6' class="method hidden"><code id='from_i32.v-6'>fn <a href='../num_traits/cast/trait.FromPrimitive.html#method.from_i32' class='fnname'>from_i32</a>(n: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></code><a class='srclink' href='../src/num_traits/cast.rs.html#389-391' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Convert an <code>i32</code> to return an optional value of this type. If the type cannot be represented by this value, then <code>None</code> is returned. <a href="../num_traits/cast/trait.FromPrimitive.html#method.from_i32">Read more</a></p>
|
||
</div><h4 id='method.from_usize-6' class="method hidden"><code id='from_usize.v-6'>fn <a href='../num_traits/cast/trait.FromPrimitive.html#method.from_usize' class='fnname'>from_usize</a>(n: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></code><a class='srclink' href='../src/num_traits/cast.rs.html#413-415' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Convert a <code>usize</code> to return an optional value of this type. If the type cannot be represented by this value, then <code>None</code> is returned. <a href="../num_traits/cast/trait.FromPrimitive.html#method.from_usize">Read more</a></p>
|
||
</div><h4 id='method.from_u8-6' class="method hidden"><code id='from_u8.v-6'>fn <a href='../num_traits/cast/trait.FromPrimitive.html#method.from_u8' class='fnname'>from_u8</a>(n: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></code><a class='srclink' href='../src/num_traits/cast.rs.html#420-422' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Convert an <code>u8</code> to return an optional value of this type. If the type cannot be represented by this value, then <code>None</code> is returned. <a href="../num_traits/cast/trait.FromPrimitive.html#method.from_u8">Read more</a></p>
|
||
</div><h4 id='method.from_u16-6' class="method hidden"><code id='from_u16.v-6'>fn <a href='../num_traits/cast/trait.FromPrimitive.html#method.from_u16' class='fnname'>from_u16</a>(n: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u16.html">u16</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></code><a class='srclink' href='../src/num_traits/cast.rs.html#427-429' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Convert an <code>u16</code> to return an optional value of this type. If the type cannot be represented by this value, then <code>None</code> is returned. <a href="../num_traits/cast/trait.FromPrimitive.html#method.from_u16">Read more</a></p>
|
||
</div><h4 id='method.from_u32-6' class="method hidden"><code id='from_u32.v-6'>fn <a href='../num_traits/cast/trait.FromPrimitive.html#method.from_u32' class='fnname'>from_u32</a>(n: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></code><a class='srclink' href='../src/num_traits/cast.rs.html#434-436' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Convert an <code>u32</code> to return an optional value of this type. If the type cannot be represented by this value, then <code>None</code> is returned. <a href="../num_traits/cast/trait.FromPrimitive.html#method.from_u32">Read more</a></p>
|
||
</div></div><h3 id='impl-FromPrimitive-7' class='impl'><code class='in-band'>impl <a class="trait" href="../num_traits/cast/trait.FromPrimitive.html" title="trait num_traits::cast::FromPrimitive">FromPrimitive</a> for <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>></code><a href='#impl-FromPrimitive-7' class='anchor'></a><a class='srclink' href='../src/num_rational/lib.rs.html#1144-1170' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.from_i64-7' class="method hidden"><code id='from_i64.v-7'>fn <a href='../num_traits/cast/trait.FromPrimitive.html#tymethod.from_i64' class='fnname'>from_i64</a>(n: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i64.html">i64</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></code><a class='srclink' href='../src/num_rational/lib.rs.html#1145-1147' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Convert an <code>i64</code> to return an optional value of this type. If the type cannot be represented by this value, then <code>None</code> is returned. <a href="../num_traits/cast/trait.FromPrimitive.html#tymethod.from_i64">Read more</a></p>
|
||
</div><h4 id='method.from_i128-7' class="method hidden"><code id='from_i128.v-7'>fn <a href='../num_traits/cast/trait.FromPrimitive.html#method.from_i128' class='fnname'>from_i128</a>(n: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i128.html">i128</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></code><a class='srclink' href='../src/num_rational/lib.rs.html#1150-1152' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Convert an <code>i128</code> to return an optional value of this type. If the type cannot be represented by this value, then <code>None</code> is returned. <a href="../num_traits/cast/trait.FromPrimitive.html#method.from_i128">Read more</a></p>
|
||
</div><h4 id='method.from_u64-7' class="method hidden"><code id='from_u64.v-7'>fn <a href='../num_traits/cast/trait.FromPrimitive.html#tymethod.from_u64' class='fnname'>from_u64</a>(n: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></code><a class='srclink' href='../src/num_rational/lib.rs.html#1154-1156' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Convert an <code>u64</code> to return an optional value of this type. If the type cannot be represented by this value, then <code>None</code> is returned. <a href="../num_traits/cast/trait.FromPrimitive.html#tymethod.from_u64">Read more</a></p>
|
||
</div><h4 id='method.from_u128-7' class="method hidden"><code id='from_u128.v-7'>fn <a href='../num_traits/cast/trait.FromPrimitive.html#method.from_u128' class='fnname'>from_u128</a>(n: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u128.html">u128</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></code><a class='srclink' href='../src/num_rational/lib.rs.html#1159-1161' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Convert an <code>u128</code> to return an optional value of this type. If the type cannot be represented by this value, then <code>None</code> is returned. <a href="../num_traits/cast/trait.FromPrimitive.html#method.from_u128">Read more</a></p>
|
||
</div><h4 id='method.from_f32-7' class="method hidden"><code id='from_f32.v-7'>fn <a href='../num_traits/cast/trait.FromPrimitive.html#method.from_f32' class='fnname'>from_f32</a>(n: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></code><a class='srclink' href='../src/num_rational/lib.rs.html#1163-1165' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Convert a <code>f32</code> to return an optional value of this type. If the type cannot be represented by this value, then <code>None</code> is returned. <a href="../num_traits/cast/trait.FromPrimitive.html#method.from_f32">Read more</a></p>
|
||
</div><h4 id='method.from_f64-7' class="method hidden"><code id='from_f64.v-7'>fn <a href='../num_traits/cast/trait.FromPrimitive.html#method.from_f64' class='fnname'>from_f64</a>(n: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></code><a class='srclink' href='../src/num_rational/lib.rs.html#1167-1169' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Convert a <code>f64</code> to return an optional value of this type. If the type cannot be represented by this value, then <code>None</code> is returned. <a href="../num_traits/cast/trait.FromPrimitive.html#method.from_f64">Read more</a></p>
|
||
</div><h4 id='method.from_isize-7' class="method hidden"><code id='from_isize.v-7'>fn <a href='../num_traits/cast/trait.FromPrimitive.html#method.from_isize' class='fnname'>from_isize</a>(n: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.isize.html">isize</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></code><a class='srclink' href='../src/num_traits/cast.rs.html#368-370' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Convert an <code>isize</code> to return an optional value of this type. If the value cannot be represented by this value, then <code>None</code> is returned. <a href="../num_traits/cast/trait.FromPrimitive.html#method.from_isize">Read more</a></p>
|
||
</div><h4 id='method.from_i8-7' class="method hidden"><code id='from_i8.v-7'>fn <a href='../num_traits/cast/trait.FromPrimitive.html#method.from_i8' class='fnname'>from_i8</a>(n: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i8.html">i8</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></code><a class='srclink' href='../src/num_traits/cast.rs.html#375-377' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Convert an <code>i8</code> to return an optional value of this type. If the type cannot be represented by this value, then <code>None</code> is returned. <a href="../num_traits/cast/trait.FromPrimitive.html#method.from_i8">Read more</a></p>
|
||
</div><h4 id='method.from_i16-7' class="method hidden"><code id='from_i16.v-7'>fn <a href='../num_traits/cast/trait.FromPrimitive.html#method.from_i16' class='fnname'>from_i16</a>(n: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i16.html">i16</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></code><a class='srclink' href='../src/num_traits/cast.rs.html#382-384' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Convert an <code>i16</code> to return an optional value of this type. If the type cannot be represented by this value, then <code>None</code> is returned. <a href="../num_traits/cast/trait.FromPrimitive.html#method.from_i16">Read more</a></p>
|
||
</div><h4 id='method.from_i32-7' class="method hidden"><code id='from_i32.v-7'>fn <a href='../num_traits/cast/trait.FromPrimitive.html#method.from_i32' class='fnname'>from_i32</a>(n: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></code><a class='srclink' href='../src/num_traits/cast.rs.html#389-391' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Convert an <code>i32</code> to return an optional value of this type. If the type cannot be represented by this value, then <code>None</code> is returned. <a href="../num_traits/cast/trait.FromPrimitive.html#method.from_i32">Read more</a></p>
|
||
</div><h4 id='method.from_usize-7' class="method hidden"><code id='from_usize.v-7'>fn <a href='../num_traits/cast/trait.FromPrimitive.html#method.from_usize' class='fnname'>from_usize</a>(n: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></code><a class='srclink' href='../src/num_traits/cast.rs.html#413-415' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Convert a <code>usize</code> to return an optional value of this type. If the type cannot be represented by this value, then <code>None</code> is returned. <a href="../num_traits/cast/trait.FromPrimitive.html#method.from_usize">Read more</a></p>
|
||
</div><h4 id='method.from_u8-7' class="method hidden"><code id='from_u8.v-7'>fn <a href='../num_traits/cast/trait.FromPrimitive.html#method.from_u8' class='fnname'>from_u8</a>(n: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></code><a class='srclink' href='../src/num_traits/cast.rs.html#420-422' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Convert an <code>u8</code> to return an optional value of this type. If the type cannot be represented by this value, then <code>None</code> is returned. <a href="../num_traits/cast/trait.FromPrimitive.html#method.from_u8">Read more</a></p>
|
||
</div><h4 id='method.from_u16-7' class="method hidden"><code id='from_u16.v-7'>fn <a href='../num_traits/cast/trait.FromPrimitive.html#method.from_u16' class='fnname'>from_u16</a>(n: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u16.html">u16</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></code><a class='srclink' href='../src/num_traits/cast.rs.html#427-429' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Convert an <code>u16</code> to return an optional value of this type. If the type cannot be represented by this value, then <code>None</code> is returned. <a href="../num_traits/cast/trait.FromPrimitive.html#method.from_u16">Read more</a></p>
|
||
</div><h4 id='method.from_u32-7' class="method hidden"><code id='from_u32.v-7'>fn <a href='../num_traits/cast/trait.FromPrimitive.html#method.from_u32' class='fnname'>from_u32</a>(n: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></code><a class='srclink' href='../src/num_traits/cast.rs.html#434-436' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Convert an <code>u32</code> to return an optional value of this type. If the type cannot be represented by this value, then <code>None</code> is returned. <a href="../num_traits/cast/trait.FromPrimitive.html#method.from_u32">Read more</a></p>
|
||
</div></div><h3 id='impl-FromPrimitive-8' class='impl'><code class='in-band'>impl <a class="trait" href="../num_traits/cast/trait.FromPrimitive.html" title="trait num_traits::cast::FromPrimitive">FromPrimitive</a> for <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u16.html">u16</a>></code><a href='#impl-FromPrimitive-8' class='anchor'></a><a class='srclink' href='../src/num_rational/lib.rs.html#1144-1170' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.from_i64-8' class="method hidden"><code id='from_i64.v-8'>fn <a href='../num_traits/cast/trait.FromPrimitive.html#tymethod.from_i64' class='fnname'>from_i64</a>(n: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i64.html">i64</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></code><a class='srclink' href='../src/num_rational/lib.rs.html#1145-1147' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Convert an <code>i64</code> to return an optional value of this type. If the type cannot be represented by this value, then <code>None</code> is returned. <a href="../num_traits/cast/trait.FromPrimitive.html#tymethod.from_i64">Read more</a></p>
|
||
</div><h4 id='method.from_i128-8' class="method hidden"><code id='from_i128.v-8'>fn <a href='../num_traits/cast/trait.FromPrimitive.html#method.from_i128' class='fnname'>from_i128</a>(n: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i128.html">i128</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></code><a class='srclink' href='../src/num_rational/lib.rs.html#1150-1152' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Convert an <code>i128</code> to return an optional value of this type. If the type cannot be represented by this value, then <code>None</code> is returned. <a href="../num_traits/cast/trait.FromPrimitive.html#method.from_i128">Read more</a></p>
|
||
</div><h4 id='method.from_u64-8' class="method hidden"><code id='from_u64.v-8'>fn <a href='../num_traits/cast/trait.FromPrimitive.html#tymethod.from_u64' class='fnname'>from_u64</a>(n: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></code><a class='srclink' href='../src/num_rational/lib.rs.html#1154-1156' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Convert an <code>u64</code> to return an optional value of this type. If the type cannot be represented by this value, then <code>None</code> is returned. <a href="../num_traits/cast/trait.FromPrimitive.html#tymethod.from_u64">Read more</a></p>
|
||
</div><h4 id='method.from_u128-8' class="method hidden"><code id='from_u128.v-8'>fn <a href='../num_traits/cast/trait.FromPrimitive.html#method.from_u128' class='fnname'>from_u128</a>(n: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u128.html">u128</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></code><a class='srclink' href='../src/num_rational/lib.rs.html#1159-1161' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Convert an <code>u128</code> to return an optional value of this type. If the type cannot be represented by this value, then <code>None</code> is returned. <a href="../num_traits/cast/trait.FromPrimitive.html#method.from_u128">Read more</a></p>
|
||
</div><h4 id='method.from_f32-8' class="method hidden"><code id='from_f32.v-8'>fn <a href='../num_traits/cast/trait.FromPrimitive.html#method.from_f32' class='fnname'>from_f32</a>(n: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></code><a class='srclink' href='../src/num_rational/lib.rs.html#1163-1165' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Convert a <code>f32</code> to return an optional value of this type. If the type cannot be represented by this value, then <code>None</code> is returned. <a href="../num_traits/cast/trait.FromPrimitive.html#method.from_f32">Read more</a></p>
|
||
</div><h4 id='method.from_f64-8' class="method hidden"><code id='from_f64.v-8'>fn <a href='../num_traits/cast/trait.FromPrimitive.html#method.from_f64' class='fnname'>from_f64</a>(n: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></code><a class='srclink' href='../src/num_rational/lib.rs.html#1167-1169' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Convert a <code>f64</code> to return an optional value of this type. If the type cannot be represented by this value, then <code>None</code> is returned. <a href="../num_traits/cast/trait.FromPrimitive.html#method.from_f64">Read more</a></p>
|
||
</div><h4 id='method.from_isize-8' class="method hidden"><code id='from_isize.v-8'>fn <a href='../num_traits/cast/trait.FromPrimitive.html#method.from_isize' class='fnname'>from_isize</a>(n: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.isize.html">isize</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></code><a class='srclink' href='../src/num_traits/cast.rs.html#368-370' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Convert an <code>isize</code> to return an optional value of this type. If the value cannot be represented by this value, then <code>None</code> is returned. <a href="../num_traits/cast/trait.FromPrimitive.html#method.from_isize">Read more</a></p>
|
||
</div><h4 id='method.from_i8-8' class="method hidden"><code id='from_i8.v-8'>fn <a href='../num_traits/cast/trait.FromPrimitive.html#method.from_i8' class='fnname'>from_i8</a>(n: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i8.html">i8</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></code><a class='srclink' href='../src/num_traits/cast.rs.html#375-377' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Convert an <code>i8</code> to return an optional value of this type. If the type cannot be represented by this value, then <code>None</code> is returned. <a href="../num_traits/cast/trait.FromPrimitive.html#method.from_i8">Read more</a></p>
|
||
</div><h4 id='method.from_i16-8' class="method hidden"><code id='from_i16.v-8'>fn <a href='../num_traits/cast/trait.FromPrimitive.html#method.from_i16' class='fnname'>from_i16</a>(n: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i16.html">i16</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></code><a class='srclink' href='../src/num_traits/cast.rs.html#382-384' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Convert an <code>i16</code> to return an optional value of this type. If the type cannot be represented by this value, then <code>None</code> is returned. <a href="../num_traits/cast/trait.FromPrimitive.html#method.from_i16">Read more</a></p>
|
||
</div><h4 id='method.from_i32-8' class="method hidden"><code id='from_i32.v-8'>fn <a href='../num_traits/cast/trait.FromPrimitive.html#method.from_i32' class='fnname'>from_i32</a>(n: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></code><a class='srclink' href='../src/num_traits/cast.rs.html#389-391' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Convert an <code>i32</code> to return an optional value of this type. If the type cannot be represented by this value, then <code>None</code> is returned. <a href="../num_traits/cast/trait.FromPrimitive.html#method.from_i32">Read more</a></p>
|
||
</div><h4 id='method.from_usize-8' class="method hidden"><code id='from_usize.v-8'>fn <a href='../num_traits/cast/trait.FromPrimitive.html#method.from_usize' class='fnname'>from_usize</a>(n: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></code><a class='srclink' href='../src/num_traits/cast.rs.html#413-415' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Convert a <code>usize</code> to return an optional value of this type. If the type cannot be represented by this value, then <code>None</code> is returned. <a href="../num_traits/cast/trait.FromPrimitive.html#method.from_usize">Read more</a></p>
|
||
</div><h4 id='method.from_u8-8' class="method hidden"><code id='from_u8.v-8'>fn <a href='../num_traits/cast/trait.FromPrimitive.html#method.from_u8' class='fnname'>from_u8</a>(n: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></code><a class='srclink' href='../src/num_traits/cast.rs.html#420-422' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Convert an <code>u8</code> to return an optional value of this type. If the type cannot be represented by this value, then <code>None</code> is returned. <a href="../num_traits/cast/trait.FromPrimitive.html#method.from_u8">Read more</a></p>
|
||
</div><h4 id='method.from_u16-8' class="method hidden"><code id='from_u16.v-8'>fn <a href='../num_traits/cast/trait.FromPrimitive.html#method.from_u16' class='fnname'>from_u16</a>(n: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u16.html">u16</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></code><a class='srclink' href='../src/num_traits/cast.rs.html#427-429' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Convert an <code>u16</code> to return an optional value of this type. If the type cannot be represented by this value, then <code>None</code> is returned. <a href="../num_traits/cast/trait.FromPrimitive.html#method.from_u16">Read more</a></p>
|
||
</div><h4 id='method.from_u32-8' class="method hidden"><code id='from_u32.v-8'>fn <a href='../num_traits/cast/trait.FromPrimitive.html#method.from_u32' class='fnname'>from_u32</a>(n: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></code><a class='srclink' href='../src/num_traits/cast.rs.html#434-436' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Convert an <code>u32</code> to return an optional value of this type. If the type cannot be represented by this value, then <code>None</code> is returned. <a href="../num_traits/cast/trait.FromPrimitive.html#method.from_u32">Read more</a></p>
|
||
</div></div><h3 id='impl-FromPrimitive-9' class='impl'><code class='in-band'>impl <a class="trait" href="../num_traits/cast/trait.FromPrimitive.html" title="trait num_traits::cast::FromPrimitive">FromPrimitive</a> for <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>></code><a href='#impl-FromPrimitive-9' class='anchor'></a><a class='srclink' href='../src/num_rational/lib.rs.html#1144-1170' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.from_i64-9' class="method hidden"><code id='from_i64.v-9'>fn <a href='../num_traits/cast/trait.FromPrimitive.html#tymethod.from_i64' class='fnname'>from_i64</a>(n: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i64.html">i64</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></code><a class='srclink' href='../src/num_rational/lib.rs.html#1145-1147' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Convert an <code>i64</code> to return an optional value of this type. If the type cannot be represented by this value, then <code>None</code> is returned. <a href="../num_traits/cast/trait.FromPrimitive.html#tymethod.from_i64">Read more</a></p>
|
||
</div><h4 id='method.from_i128-9' class="method hidden"><code id='from_i128.v-9'>fn <a href='../num_traits/cast/trait.FromPrimitive.html#method.from_i128' class='fnname'>from_i128</a>(n: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i128.html">i128</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></code><a class='srclink' href='../src/num_rational/lib.rs.html#1150-1152' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Convert an <code>i128</code> to return an optional value of this type. If the type cannot be represented by this value, then <code>None</code> is returned. <a href="../num_traits/cast/trait.FromPrimitive.html#method.from_i128">Read more</a></p>
|
||
</div><h4 id='method.from_u64-9' class="method hidden"><code id='from_u64.v-9'>fn <a href='../num_traits/cast/trait.FromPrimitive.html#tymethod.from_u64' class='fnname'>from_u64</a>(n: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></code><a class='srclink' href='../src/num_rational/lib.rs.html#1154-1156' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Convert an <code>u64</code> to return an optional value of this type. If the type cannot be represented by this value, then <code>None</code> is returned. <a href="../num_traits/cast/trait.FromPrimitive.html#tymethod.from_u64">Read more</a></p>
|
||
</div><h4 id='method.from_u128-9' class="method hidden"><code id='from_u128.v-9'>fn <a href='../num_traits/cast/trait.FromPrimitive.html#method.from_u128' class='fnname'>from_u128</a>(n: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u128.html">u128</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></code><a class='srclink' href='../src/num_rational/lib.rs.html#1159-1161' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Convert an <code>u128</code> to return an optional value of this type. If the type cannot be represented by this value, then <code>None</code> is returned. <a href="../num_traits/cast/trait.FromPrimitive.html#method.from_u128">Read more</a></p>
|
||
</div><h4 id='method.from_f32-9' class="method hidden"><code id='from_f32.v-9'>fn <a href='../num_traits/cast/trait.FromPrimitive.html#method.from_f32' class='fnname'>from_f32</a>(n: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></code><a class='srclink' href='../src/num_rational/lib.rs.html#1163-1165' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Convert a <code>f32</code> to return an optional value of this type. If the type cannot be represented by this value, then <code>None</code> is returned. <a href="../num_traits/cast/trait.FromPrimitive.html#method.from_f32">Read more</a></p>
|
||
</div><h4 id='method.from_f64-9' class="method hidden"><code id='from_f64.v-9'>fn <a href='../num_traits/cast/trait.FromPrimitive.html#method.from_f64' class='fnname'>from_f64</a>(n: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></code><a class='srclink' href='../src/num_rational/lib.rs.html#1167-1169' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Convert a <code>f64</code> to return an optional value of this type. If the type cannot be represented by this value, then <code>None</code> is returned. <a href="../num_traits/cast/trait.FromPrimitive.html#method.from_f64">Read more</a></p>
|
||
</div><h4 id='method.from_isize-9' class="method hidden"><code id='from_isize.v-9'>fn <a href='../num_traits/cast/trait.FromPrimitive.html#method.from_isize' class='fnname'>from_isize</a>(n: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.isize.html">isize</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></code><a class='srclink' href='../src/num_traits/cast.rs.html#368-370' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Convert an <code>isize</code> to return an optional value of this type. If the value cannot be represented by this value, then <code>None</code> is returned. <a href="../num_traits/cast/trait.FromPrimitive.html#method.from_isize">Read more</a></p>
|
||
</div><h4 id='method.from_i8-9' class="method hidden"><code id='from_i8.v-9'>fn <a href='../num_traits/cast/trait.FromPrimitive.html#method.from_i8' class='fnname'>from_i8</a>(n: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i8.html">i8</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></code><a class='srclink' href='../src/num_traits/cast.rs.html#375-377' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Convert an <code>i8</code> to return an optional value of this type. If the type cannot be represented by this value, then <code>None</code> is returned. <a href="../num_traits/cast/trait.FromPrimitive.html#method.from_i8">Read more</a></p>
|
||
</div><h4 id='method.from_i16-9' class="method hidden"><code id='from_i16.v-9'>fn <a href='../num_traits/cast/trait.FromPrimitive.html#method.from_i16' class='fnname'>from_i16</a>(n: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i16.html">i16</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></code><a class='srclink' href='../src/num_traits/cast.rs.html#382-384' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Convert an <code>i16</code> to return an optional value of this type. If the type cannot be represented by this value, then <code>None</code> is returned. <a href="../num_traits/cast/trait.FromPrimitive.html#method.from_i16">Read more</a></p>
|
||
</div><h4 id='method.from_i32-9' class="method hidden"><code id='from_i32.v-9'>fn <a href='../num_traits/cast/trait.FromPrimitive.html#method.from_i32' class='fnname'>from_i32</a>(n: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></code><a class='srclink' href='../src/num_traits/cast.rs.html#389-391' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Convert an <code>i32</code> to return an optional value of this type. If the type cannot be represented by this value, then <code>None</code> is returned. <a href="../num_traits/cast/trait.FromPrimitive.html#method.from_i32">Read more</a></p>
|
||
</div><h4 id='method.from_usize-9' class="method hidden"><code id='from_usize.v-9'>fn <a href='../num_traits/cast/trait.FromPrimitive.html#method.from_usize' class='fnname'>from_usize</a>(n: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></code><a class='srclink' href='../src/num_traits/cast.rs.html#413-415' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Convert a <code>usize</code> to return an optional value of this type. If the type cannot be represented by this value, then <code>None</code> is returned. <a href="../num_traits/cast/trait.FromPrimitive.html#method.from_usize">Read more</a></p>
|
||
</div><h4 id='method.from_u8-9' class="method hidden"><code id='from_u8.v-9'>fn <a href='../num_traits/cast/trait.FromPrimitive.html#method.from_u8' class='fnname'>from_u8</a>(n: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></code><a class='srclink' href='../src/num_traits/cast.rs.html#420-422' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Convert an <code>u8</code> to return an optional value of this type. If the type cannot be represented by this value, then <code>None</code> is returned. <a href="../num_traits/cast/trait.FromPrimitive.html#method.from_u8">Read more</a></p>
|
||
</div><h4 id='method.from_u16-9' class="method hidden"><code id='from_u16.v-9'>fn <a href='../num_traits/cast/trait.FromPrimitive.html#method.from_u16' class='fnname'>from_u16</a>(n: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u16.html">u16</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></code><a class='srclink' href='../src/num_traits/cast.rs.html#427-429' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Convert an <code>u16</code> to return an optional value of this type. If the type cannot be represented by this value, then <code>None</code> is returned. <a href="../num_traits/cast/trait.FromPrimitive.html#method.from_u16">Read more</a></p>
|
||
</div><h4 id='method.from_u32-9' class="method hidden"><code id='from_u32.v-9'>fn <a href='../num_traits/cast/trait.FromPrimitive.html#method.from_u32' class='fnname'>from_u32</a>(n: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></code><a class='srclink' href='../src/num_traits/cast.rs.html#434-436' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Convert an <code>u32</code> to return an optional value of this type. If the type cannot be represented by this value, then <code>None</code> is returned. <a href="../num_traits/cast/trait.FromPrimitive.html#method.from_u32">Read more</a></p>
|
||
</div></div><h3 id='impl-FromPrimitive-10' class='impl'><code class='in-band'>impl <a class="trait" href="../num_traits/cast/trait.FromPrimitive.html" title="trait num_traits::cast::FromPrimitive">FromPrimitive</a> for <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>></code><a href='#impl-FromPrimitive-10' class='anchor'></a><a class='srclink' href='../src/num_rational/lib.rs.html#1144-1170' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.from_i64-10' class="method hidden"><code id='from_i64.v-10'>fn <a href='../num_traits/cast/trait.FromPrimitive.html#tymethod.from_i64' class='fnname'>from_i64</a>(n: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i64.html">i64</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></code><a class='srclink' href='../src/num_rational/lib.rs.html#1145-1147' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Convert an <code>i64</code> to return an optional value of this type. If the type cannot be represented by this value, then <code>None</code> is returned. <a href="../num_traits/cast/trait.FromPrimitive.html#tymethod.from_i64">Read more</a></p>
|
||
</div><h4 id='method.from_i128-10' class="method hidden"><code id='from_i128.v-10'>fn <a href='../num_traits/cast/trait.FromPrimitive.html#method.from_i128' class='fnname'>from_i128</a>(n: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i128.html">i128</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></code><a class='srclink' href='../src/num_rational/lib.rs.html#1150-1152' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Convert an <code>i128</code> to return an optional value of this type. If the type cannot be represented by this value, then <code>None</code> is returned. <a href="../num_traits/cast/trait.FromPrimitive.html#method.from_i128">Read more</a></p>
|
||
</div><h4 id='method.from_u64-10' class="method hidden"><code id='from_u64.v-10'>fn <a href='../num_traits/cast/trait.FromPrimitive.html#tymethod.from_u64' class='fnname'>from_u64</a>(n: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></code><a class='srclink' href='../src/num_rational/lib.rs.html#1154-1156' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Convert an <code>u64</code> to return an optional value of this type. If the type cannot be represented by this value, then <code>None</code> is returned. <a href="../num_traits/cast/trait.FromPrimitive.html#tymethod.from_u64">Read more</a></p>
|
||
</div><h4 id='method.from_u128-10' class="method hidden"><code id='from_u128.v-10'>fn <a href='../num_traits/cast/trait.FromPrimitive.html#method.from_u128' class='fnname'>from_u128</a>(n: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u128.html">u128</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></code><a class='srclink' href='../src/num_rational/lib.rs.html#1159-1161' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Convert an <code>u128</code> to return an optional value of this type. If the type cannot be represented by this value, then <code>None</code> is returned. <a href="../num_traits/cast/trait.FromPrimitive.html#method.from_u128">Read more</a></p>
|
||
</div><h4 id='method.from_f32-10' class="method hidden"><code id='from_f32.v-10'>fn <a href='../num_traits/cast/trait.FromPrimitive.html#method.from_f32' class='fnname'>from_f32</a>(n: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></code><a class='srclink' href='../src/num_rational/lib.rs.html#1163-1165' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Convert a <code>f32</code> to return an optional value of this type. If the type cannot be represented by this value, then <code>None</code> is returned. <a href="../num_traits/cast/trait.FromPrimitive.html#method.from_f32">Read more</a></p>
|
||
</div><h4 id='method.from_f64-10' class="method hidden"><code id='from_f64.v-10'>fn <a href='../num_traits/cast/trait.FromPrimitive.html#method.from_f64' class='fnname'>from_f64</a>(n: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></code><a class='srclink' href='../src/num_rational/lib.rs.html#1167-1169' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Convert a <code>f64</code> to return an optional value of this type. If the type cannot be represented by this value, then <code>None</code> is returned. <a href="../num_traits/cast/trait.FromPrimitive.html#method.from_f64">Read more</a></p>
|
||
</div><h4 id='method.from_isize-10' class="method hidden"><code id='from_isize.v-10'>fn <a href='../num_traits/cast/trait.FromPrimitive.html#method.from_isize' class='fnname'>from_isize</a>(n: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.isize.html">isize</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></code><a class='srclink' href='../src/num_traits/cast.rs.html#368-370' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Convert an <code>isize</code> to return an optional value of this type. If the value cannot be represented by this value, then <code>None</code> is returned. <a href="../num_traits/cast/trait.FromPrimitive.html#method.from_isize">Read more</a></p>
|
||
</div><h4 id='method.from_i8-10' class="method hidden"><code id='from_i8.v-10'>fn <a href='../num_traits/cast/trait.FromPrimitive.html#method.from_i8' class='fnname'>from_i8</a>(n: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i8.html">i8</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></code><a class='srclink' href='../src/num_traits/cast.rs.html#375-377' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Convert an <code>i8</code> to return an optional value of this type. If the type cannot be represented by this value, then <code>None</code> is returned. <a href="../num_traits/cast/trait.FromPrimitive.html#method.from_i8">Read more</a></p>
|
||
</div><h4 id='method.from_i16-10' class="method hidden"><code id='from_i16.v-10'>fn <a href='../num_traits/cast/trait.FromPrimitive.html#method.from_i16' class='fnname'>from_i16</a>(n: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i16.html">i16</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></code><a class='srclink' href='../src/num_traits/cast.rs.html#382-384' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Convert an <code>i16</code> to return an optional value of this type. If the type cannot be represented by this value, then <code>None</code> is returned. <a href="../num_traits/cast/trait.FromPrimitive.html#method.from_i16">Read more</a></p>
|
||
</div><h4 id='method.from_i32-10' class="method hidden"><code id='from_i32.v-10'>fn <a href='../num_traits/cast/trait.FromPrimitive.html#method.from_i32' class='fnname'>from_i32</a>(n: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></code><a class='srclink' href='../src/num_traits/cast.rs.html#389-391' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Convert an <code>i32</code> to return an optional value of this type. If the type cannot be represented by this value, then <code>None</code> is returned. <a href="../num_traits/cast/trait.FromPrimitive.html#method.from_i32">Read more</a></p>
|
||
</div><h4 id='method.from_usize-10' class="method hidden"><code id='from_usize.v-10'>fn <a href='../num_traits/cast/trait.FromPrimitive.html#method.from_usize' class='fnname'>from_usize</a>(n: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></code><a class='srclink' href='../src/num_traits/cast.rs.html#413-415' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Convert a <code>usize</code> to return an optional value of this type. If the type cannot be represented by this value, then <code>None</code> is returned. <a href="../num_traits/cast/trait.FromPrimitive.html#method.from_usize">Read more</a></p>
|
||
</div><h4 id='method.from_u8-10' class="method hidden"><code id='from_u8.v-10'>fn <a href='../num_traits/cast/trait.FromPrimitive.html#method.from_u8' class='fnname'>from_u8</a>(n: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></code><a class='srclink' href='../src/num_traits/cast.rs.html#420-422' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Convert an <code>u8</code> to return an optional value of this type. If the type cannot be represented by this value, then <code>None</code> is returned. <a href="../num_traits/cast/trait.FromPrimitive.html#method.from_u8">Read more</a></p>
|
||
</div><h4 id='method.from_u16-10' class="method hidden"><code id='from_u16.v-10'>fn <a href='../num_traits/cast/trait.FromPrimitive.html#method.from_u16' class='fnname'>from_u16</a>(n: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u16.html">u16</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></code><a class='srclink' href='../src/num_traits/cast.rs.html#427-429' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Convert an <code>u16</code> to return an optional value of this type. If the type cannot be represented by this value, then <code>None</code> is returned. <a href="../num_traits/cast/trait.FromPrimitive.html#method.from_u16">Read more</a></p>
|
||
</div><h4 id='method.from_u32-10' class="method hidden"><code id='from_u32.v-10'>fn <a href='../num_traits/cast/trait.FromPrimitive.html#method.from_u32' class='fnname'>from_u32</a>(n: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></code><a class='srclink' href='../src/num_traits/cast.rs.html#434-436' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Convert an <code>u32</code> to return an optional value of this type. If the type cannot be represented by this value, then <code>None</code> is returned. <a href="../num_traits/cast/trait.FromPrimitive.html#method.from_u32">Read more</a></p>
|
||
</div></div><h3 id='impl-FromPrimitive-11' class='impl'><code class='in-band'>impl <a class="trait" href="../num_traits/cast/trait.FromPrimitive.html" title="trait num_traits::cast::FromPrimitive">FromPrimitive</a> for <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u128.html">u128</a>></code><a href='#impl-FromPrimitive-11' class='anchor'></a><a class='srclink' href='../src/num_rational/lib.rs.html#1144-1170' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.from_i64-11' class="method hidden"><code id='from_i64.v-11'>fn <a href='../num_traits/cast/trait.FromPrimitive.html#tymethod.from_i64' class='fnname'>from_i64</a>(n: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i64.html">i64</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></code><a class='srclink' href='../src/num_rational/lib.rs.html#1145-1147' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Convert an <code>i64</code> to return an optional value of this type. If the type cannot be represented by this value, then <code>None</code> is returned. <a href="../num_traits/cast/trait.FromPrimitive.html#tymethod.from_i64">Read more</a></p>
|
||
</div><h4 id='method.from_i128-11' class="method hidden"><code id='from_i128.v-11'>fn <a href='../num_traits/cast/trait.FromPrimitive.html#method.from_i128' class='fnname'>from_i128</a>(n: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i128.html">i128</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></code><a class='srclink' href='../src/num_rational/lib.rs.html#1150-1152' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Convert an <code>i128</code> to return an optional value of this type. If the type cannot be represented by this value, then <code>None</code> is returned. <a href="../num_traits/cast/trait.FromPrimitive.html#method.from_i128">Read more</a></p>
|
||
</div><h4 id='method.from_u64-11' class="method hidden"><code id='from_u64.v-11'>fn <a href='../num_traits/cast/trait.FromPrimitive.html#tymethod.from_u64' class='fnname'>from_u64</a>(n: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></code><a class='srclink' href='../src/num_rational/lib.rs.html#1154-1156' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Convert an <code>u64</code> to return an optional value of this type. If the type cannot be represented by this value, then <code>None</code> is returned. <a href="../num_traits/cast/trait.FromPrimitive.html#tymethod.from_u64">Read more</a></p>
|
||
</div><h4 id='method.from_u128-11' class="method hidden"><code id='from_u128.v-11'>fn <a href='../num_traits/cast/trait.FromPrimitive.html#method.from_u128' class='fnname'>from_u128</a>(n: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u128.html">u128</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></code><a class='srclink' href='../src/num_rational/lib.rs.html#1159-1161' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Convert an <code>u128</code> to return an optional value of this type. If the type cannot be represented by this value, then <code>None</code> is returned. <a href="../num_traits/cast/trait.FromPrimitive.html#method.from_u128">Read more</a></p>
|
||
</div><h4 id='method.from_f32-11' class="method hidden"><code id='from_f32.v-11'>fn <a href='../num_traits/cast/trait.FromPrimitive.html#method.from_f32' class='fnname'>from_f32</a>(n: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></code><a class='srclink' href='../src/num_rational/lib.rs.html#1163-1165' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Convert a <code>f32</code> to return an optional value of this type. If the type cannot be represented by this value, then <code>None</code> is returned. <a href="../num_traits/cast/trait.FromPrimitive.html#method.from_f32">Read more</a></p>
|
||
</div><h4 id='method.from_f64-11' class="method hidden"><code id='from_f64.v-11'>fn <a href='../num_traits/cast/trait.FromPrimitive.html#method.from_f64' class='fnname'>from_f64</a>(n: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></code><a class='srclink' href='../src/num_rational/lib.rs.html#1167-1169' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Convert a <code>f64</code> to return an optional value of this type. If the type cannot be represented by this value, then <code>None</code> is returned. <a href="../num_traits/cast/trait.FromPrimitive.html#method.from_f64">Read more</a></p>
|
||
</div><h4 id='method.from_isize-11' class="method hidden"><code id='from_isize.v-11'>fn <a href='../num_traits/cast/trait.FromPrimitive.html#method.from_isize' class='fnname'>from_isize</a>(n: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.isize.html">isize</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></code><a class='srclink' href='../src/num_traits/cast.rs.html#368-370' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Convert an <code>isize</code> to return an optional value of this type. If the value cannot be represented by this value, then <code>None</code> is returned. <a href="../num_traits/cast/trait.FromPrimitive.html#method.from_isize">Read more</a></p>
|
||
</div><h4 id='method.from_i8-11' class="method hidden"><code id='from_i8.v-11'>fn <a href='../num_traits/cast/trait.FromPrimitive.html#method.from_i8' class='fnname'>from_i8</a>(n: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i8.html">i8</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></code><a class='srclink' href='../src/num_traits/cast.rs.html#375-377' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Convert an <code>i8</code> to return an optional value of this type. If the type cannot be represented by this value, then <code>None</code> is returned. <a href="../num_traits/cast/trait.FromPrimitive.html#method.from_i8">Read more</a></p>
|
||
</div><h4 id='method.from_i16-11' class="method hidden"><code id='from_i16.v-11'>fn <a href='../num_traits/cast/trait.FromPrimitive.html#method.from_i16' class='fnname'>from_i16</a>(n: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i16.html">i16</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></code><a class='srclink' href='../src/num_traits/cast.rs.html#382-384' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Convert an <code>i16</code> to return an optional value of this type. If the type cannot be represented by this value, then <code>None</code> is returned. <a href="../num_traits/cast/trait.FromPrimitive.html#method.from_i16">Read more</a></p>
|
||
</div><h4 id='method.from_i32-11' class="method hidden"><code id='from_i32.v-11'>fn <a href='../num_traits/cast/trait.FromPrimitive.html#method.from_i32' class='fnname'>from_i32</a>(n: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></code><a class='srclink' href='../src/num_traits/cast.rs.html#389-391' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Convert an <code>i32</code> to return an optional value of this type. If the type cannot be represented by this value, then <code>None</code> is returned. <a href="../num_traits/cast/trait.FromPrimitive.html#method.from_i32">Read more</a></p>
|
||
</div><h4 id='method.from_usize-11' class="method hidden"><code id='from_usize.v-11'>fn <a href='../num_traits/cast/trait.FromPrimitive.html#method.from_usize' class='fnname'>from_usize</a>(n: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></code><a class='srclink' href='../src/num_traits/cast.rs.html#413-415' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Convert a <code>usize</code> to return an optional value of this type. If the type cannot be represented by this value, then <code>None</code> is returned. <a href="../num_traits/cast/trait.FromPrimitive.html#method.from_usize">Read more</a></p>
|
||
</div><h4 id='method.from_u8-11' class="method hidden"><code id='from_u8.v-11'>fn <a href='../num_traits/cast/trait.FromPrimitive.html#method.from_u8' class='fnname'>from_u8</a>(n: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></code><a class='srclink' href='../src/num_traits/cast.rs.html#420-422' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Convert an <code>u8</code> to return an optional value of this type. If the type cannot be represented by this value, then <code>None</code> is returned. <a href="../num_traits/cast/trait.FromPrimitive.html#method.from_u8">Read more</a></p>
|
||
</div><h4 id='method.from_u16-11' class="method hidden"><code id='from_u16.v-11'>fn <a href='../num_traits/cast/trait.FromPrimitive.html#method.from_u16' class='fnname'>from_u16</a>(n: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u16.html">u16</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></code><a class='srclink' href='../src/num_traits/cast.rs.html#427-429' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Convert an <code>u16</code> to return an optional value of this type. If the type cannot be represented by this value, then <code>None</code> is returned. <a href="../num_traits/cast/trait.FromPrimitive.html#method.from_u16">Read more</a></p>
|
||
</div><h4 id='method.from_u32-11' class="method hidden"><code id='from_u32.v-11'>fn <a href='../num_traits/cast/trait.FromPrimitive.html#method.from_u32' class='fnname'>from_u32</a>(n: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></code><a class='srclink' href='../src/num_traits/cast.rs.html#434-436' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Convert an <code>u32</code> to return an optional value of this type. If the type cannot be represented by this value, then <code>None</code> is returned. <a href="../num_traits/cast/trait.FromPrimitive.html#method.from_u32">Read more</a></p>
|
||
</div></div><h3 id='impl-FromPrimitive-12' class='impl'><code class='in-band'>impl <a class="trait" href="../num_traits/cast/trait.FromPrimitive.html" title="trait num_traits::cast::FromPrimitive">FromPrimitive</a> for <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>></code><a href='#impl-FromPrimitive-12' class='anchor'></a><a class='srclink' href='../src/num_rational/lib.rs.html#1144-1170' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.from_i64-12' class="method hidden"><code id='from_i64.v-12'>fn <a href='../num_traits/cast/trait.FromPrimitive.html#tymethod.from_i64' class='fnname'>from_i64</a>(n: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i64.html">i64</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></code><a class='srclink' href='../src/num_rational/lib.rs.html#1145-1147' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Convert an <code>i64</code> to return an optional value of this type. If the type cannot be represented by this value, then <code>None</code> is returned. <a href="../num_traits/cast/trait.FromPrimitive.html#tymethod.from_i64">Read more</a></p>
|
||
</div><h4 id='method.from_i128-12' class="method hidden"><code id='from_i128.v-12'>fn <a href='../num_traits/cast/trait.FromPrimitive.html#method.from_i128' class='fnname'>from_i128</a>(n: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i128.html">i128</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></code><a class='srclink' href='../src/num_rational/lib.rs.html#1150-1152' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Convert an <code>i128</code> to return an optional value of this type. If the type cannot be represented by this value, then <code>None</code> is returned. <a href="../num_traits/cast/trait.FromPrimitive.html#method.from_i128">Read more</a></p>
|
||
</div><h4 id='method.from_u64-12' class="method hidden"><code id='from_u64.v-12'>fn <a href='../num_traits/cast/trait.FromPrimitive.html#tymethod.from_u64' class='fnname'>from_u64</a>(n: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></code><a class='srclink' href='../src/num_rational/lib.rs.html#1154-1156' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Convert an <code>u64</code> to return an optional value of this type. If the type cannot be represented by this value, then <code>None</code> is returned. <a href="../num_traits/cast/trait.FromPrimitive.html#tymethod.from_u64">Read more</a></p>
|
||
</div><h4 id='method.from_u128-12' class="method hidden"><code id='from_u128.v-12'>fn <a href='../num_traits/cast/trait.FromPrimitive.html#method.from_u128' class='fnname'>from_u128</a>(n: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u128.html">u128</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></code><a class='srclink' href='../src/num_rational/lib.rs.html#1159-1161' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Convert an <code>u128</code> to return an optional value of this type. If the type cannot be represented by this value, then <code>None</code> is returned. <a href="../num_traits/cast/trait.FromPrimitive.html#method.from_u128">Read more</a></p>
|
||
</div><h4 id='method.from_f32-12' class="method hidden"><code id='from_f32.v-12'>fn <a href='../num_traits/cast/trait.FromPrimitive.html#method.from_f32' class='fnname'>from_f32</a>(n: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></code><a class='srclink' href='../src/num_rational/lib.rs.html#1163-1165' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Convert a <code>f32</code> to return an optional value of this type. If the type cannot be represented by this value, then <code>None</code> is returned. <a href="../num_traits/cast/trait.FromPrimitive.html#method.from_f32">Read more</a></p>
|
||
</div><h4 id='method.from_f64-12' class="method hidden"><code id='from_f64.v-12'>fn <a href='../num_traits/cast/trait.FromPrimitive.html#method.from_f64' class='fnname'>from_f64</a>(n: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></code><a class='srclink' href='../src/num_rational/lib.rs.html#1167-1169' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Convert a <code>f64</code> to return an optional value of this type. If the type cannot be represented by this value, then <code>None</code> is returned. <a href="../num_traits/cast/trait.FromPrimitive.html#method.from_f64">Read more</a></p>
|
||
</div><h4 id='method.from_isize-12' class="method hidden"><code id='from_isize.v-12'>fn <a href='../num_traits/cast/trait.FromPrimitive.html#method.from_isize' class='fnname'>from_isize</a>(n: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.isize.html">isize</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></code><a class='srclink' href='../src/num_traits/cast.rs.html#368-370' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Convert an <code>isize</code> to return an optional value of this type. If the value cannot be represented by this value, then <code>None</code> is returned. <a href="../num_traits/cast/trait.FromPrimitive.html#method.from_isize">Read more</a></p>
|
||
</div><h4 id='method.from_i8-12' class="method hidden"><code id='from_i8.v-12'>fn <a href='../num_traits/cast/trait.FromPrimitive.html#method.from_i8' class='fnname'>from_i8</a>(n: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i8.html">i8</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></code><a class='srclink' href='../src/num_traits/cast.rs.html#375-377' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Convert an <code>i8</code> to return an optional value of this type. If the type cannot be represented by this value, then <code>None</code> is returned. <a href="../num_traits/cast/trait.FromPrimitive.html#method.from_i8">Read more</a></p>
|
||
</div><h4 id='method.from_i16-12' class="method hidden"><code id='from_i16.v-12'>fn <a href='../num_traits/cast/trait.FromPrimitive.html#method.from_i16' class='fnname'>from_i16</a>(n: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i16.html">i16</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></code><a class='srclink' href='../src/num_traits/cast.rs.html#382-384' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Convert an <code>i16</code> to return an optional value of this type. If the type cannot be represented by this value, then <code>None</code> is returned. <a href="../num_traits/cast/trait.FromPrimitive.html#method.from_i16">Read more</a></p>
|
||
</div><h4 id='method.from_i32-12' class="method hidden"><code id='from_i32.v-12'>fn <a href='../num_traits/cast/trait.FromPrimitive.html#method.from_i32' class='fnname'>from_i32</a>(n: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></code><a class='srclink' href='../src/num_traits/cast.rs.html#389-391' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Convert an <code>i32</code> to return an optional value of this type. If the type cannot be represented by this value, then <code>None</code> is returned. <a href="../num_traits/cast/trait.FromPrimitive.html#method.from_i32">Read more</a></p>
|
||
</div><h4 id='method.from_usize-12' class="method hidden"><code id='from_usize.v-12'>fn <a href='../num_traits/cast/trait.FromPrimitive.html#method.from_usize' class='fnname'>from_usize</a>(n: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></code><a class='srclink' href='../src/num_traits/cast.rs.html#413-415' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Convert a <code>usize</code> to return an optional value of this type. If the type cannot be represented by this value, then <code>None</code> is returned. <a href="../num_traits/cast/trait.FromPrimitive.html#method.from_usize">Read more</a></p>
|
||
</div><h4 id='method.from_u8-12' class="method hidden"><code id='from_u8.v-12'>fn <a href='../num_traits/cast/trait.FromPrimitive.html#method.from_u8' class='fnname'>from_u8</a>(n: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></code><a class='srclink' href='../src/num_traits/cast.rs.html#420-422' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Convert an <code>u8</code> to return an optional value of this type. If the type cannot be represented by this value, then <code>None</code> is returned. <a href="../num_traits/cast/trait.FromPrimitive.html#method.from_u8">Read more</a></p>
|
||
</div><h4 id='method.from_u16-12' class="method hidden"><code id='from_u16.v-12'>fn <a href='../num_traits/cast/trait.FromPrimitive.html#method.from_u16' class='fnname'>from_u16</a>(n: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u16.html">u16</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></code><a class='srclink' href='../src/num_traits/cast.rs.html#427-429' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Convert an <code>u16</code> to return an optional value of this type. If the type cannot be represented by this value, then <code>None</code> is returned. <a href="../num_traits/cast/trait.FromPrimitive.html#method.from_u16">Read more</a></p>
|
||
</div><h4 id='method.from_u32-12' class="method hidden"><code id='from_u32.v-12'>fn <a href='../num_traits/cast/trait.FromPrimitive.html#method.from_u32' class='fnname'>from_u32</a>(n: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></code><a class='srclink' href='../src/num_traits/cast.rs.html#434-436' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Convert an <code>u32</code> to return an optional value of this type. If the type cannot be represented by this value, then <code>None</code> is returned. <a href="../num_traits/cast/trait.FromPrimitive.html#method.from_u32">Read more</a></p>
|
||
</div></div><h3 id='impl-Num' class='impl'><code class='in-band'>impl<T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> + <a class="trait" href="../num_integer/trait.Integer.html" title="trait num_integer::Integer">Integer</a>> <a class="trait" href="../num_traits/trait.Num.html" title="trait num_traits::Num">Num</a> for <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code><a href='#impl-Num' class='anchor'></a><a class='srclink' href='../src/num_rational/lib.rs.html#922-948' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.FromStrRadixErr' class="type"><code id='FromStrRadixErr.t'>type <a href='../num_traits/trait.Num.html#associatedtype.FromStrRadixErr' class="type">FromStrRadixErr</a> = <a class="struct" href="../num_rational/struct.ParseRatioError.html" title="struct num_rational::ParseRatioError">ParseRatioError</a></code></h4><h4 id='method.from_str_radix' class="method"><code id='from_str_radix.v'>fn <a href='../num_traits/trait.Num.html#tymethod.from_str_radix' class='fnname'>from_str_radix</a>(s: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>, radix: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T>, <a class="struct" href="../num_rational/struct.ParseRatioError.html" title="struct num_rational::ParseRatioError">ParseRatioError</a>></code><a class='srclink' href='../src/num_rational/lib.rs.html#926-947' title='goto source code'>[src]</a></h4><div class='docblock'><p>Parses <code>numer/denom</code> where the numbers are in base <code>radix</code>.</p>
|
||
</div></div><h3 id='impl-One' class='impl'><code class='in-band'>impl<T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> + <a class="trait" href="../num_integer/trait.Integer.html" title="trait num_integer::Integer">Integer</a>> <a class="trait" href="../num_traits/identities/trait.One.html" title="trait num_traits::identities::One">One</a> for <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code><a href='#impl-One' class='anchor'></a><a class='srclink' href='../src/num_rational/lib.rs.html#904-920' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.one' class="method hidden"><code id='one.v'>fn <a href='../num_traits/identities/trait.One.html#tymethod.one' class='fnname'>one</a>() -> <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code><a class='srclink' href='../src/num_rational/lib.rs.html#906-908' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Returns the multiplicative identity element of <code>Self</code>, <code>1</code>. <a href="../num_traits/identities/trait.One.html#tymethod.one">Read more</a></p>
|
||
</div><h4 id='method.is_one' class="method hidden"><code id='is_one.v'>fn <a href='../num_traits/identities/trait.One.html#method.is_one' class='fnname'>is_one</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code><a class='srclink' href='../src/num_rational/lib.rs.html#911-913' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Returns <code>true</code> if <code>self</code> is equal to the multiplicative identity. <a href="../num_traits/identities/trait.One.html#method.is_one">Read more</a></p>
|
||
</div><h4 id='method.set_one' class="method hidden"><code id='set_one.v'>fn <a href='../num_traits/identities/trait.One.html#method.set_one' class='fnname'>set_one</a>(&mut self)</code><a class='srclink' href='../src/num_rational/lib.rs.html#916-919' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Sets <code>self</code> to the multiplicative identity element of <code>Self</code>, <code>1</code>.</p>
|
||
</div></div><h3 id='impl-Pow%3Ci8%3E' class='impl'><code class='in-band'>impl<T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> + <a class="trait" href="../num_integer/trait.Integer.html" title="trait num_integer::Integer">Integer</a> + <a class="trait" href="../num_traits/pow/trait.Pow.html" title="trait num_traits::pow::Pow">Pow</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>, Output = T>> <a class="trait" href="../num_traits/pow/trait.Pow.html" title="trait num_traits::pow::Pow">Pow</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i8.html">i8</a>> for <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code><a href='#impl-Pow%3Ci8%3E' class='anchor'></a><a class='srclink' href='../src/num_rational/lib.rs.html#255-271' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Output-42' class="type"><code id='Output.t-42'>type <a href='../num_traits/pow/trait.Pow.html#associatedtype.Output' class="type">Output</a> = <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code></h4><div class='docblock'><p>The result after applying the operator.</p>
|
||
</div><h4 id='method.pow-1' class="method hidden"><code id='pow.v-1'>fn <a href='../num_traits/pow/trait.Pow.html#tymethod.pow' class='fnname'>pow</a>(self, expon: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i8.html">i8</a>) -> <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code><a class='srclink' href='../src/num_rational/lib.rs.html#258-270' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Returns <code>self</code> to the power <code>rhs</code>. <a href="../num_traits/pow/trait.Pow.html#tymethod.pow">Read more</a></p>
|
||
</div></div><h3 id='impl-Pow%3Ci8%3E-1' class='impl'><code class='in-band'>impl<'a, T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> + <a class="trait" href="../num_integer/trait.Integer.html" title="trait num_integer::Integer">Integer</a> + <a class="trait" href="../num_traits/pow/trait.Pow.html" title="trait num_traits::pow::Pow">Pow</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>, Output = T>> <a class="trait" href="../num_traits/pow/trait.Pow.html" title="trait num_traits::pow::Pow">Pow</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i8.html">i8</a>> for &'a <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code><a href='#impl-Pow%3Ci8%3E-1' class='anchor'></a><a class='srclink' href='../src/num_rational/lib.rs.html#272-278' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Output-43' class="type"><code id='Output.t-43'>type <a href='../num_traits/pow/trait.Pow.html#associatedtype.Output' class="type">Output</a> = <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code></h4><div class='docblock'><p>The result after applying the operator.</p>
|
||
</div><h4 id='method.pow-2' class="method hidden"><code id='pow.v-2'>fn <a href='../num_traits/pow/trait.Pow.html#tymethod.pow' class='fnname'>pow</a>(self, expon: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i8.html">i8</a>) -> <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code><a class='srclink' href='../src/num_rational/lib.rs.html#275-277' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Returns <code>self</code> to the power <code>rhs</code>. <a href="../num_traits/pow/trait.Pow.html#tymethod.pow">Read more</a></p>
|
||
</div></div><h3 id='impl-Pow%3C%26%27a%20i8%3E' class='impl'><code class='in-band'>impl<'a, T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> + <a class="trait" href="../num_integer/trait.Integer.html" title="trait num_integer::Integer">Integer</a> + <a class="trait" href="../num_traits/pow/trait.Pow.html" title="trait num_traits::pow::Pow">Pow</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>, Output = T>> <a class="trait" href="../num_traits/pow/trait.Pow.html" title="trait num_traits::pow::Pow">Pow</a><&'a <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i8.html">i8</a>> for <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code><a href='#impl-Pow%3C%26%27a%20i8%3E' class='anchor'></a><a class='srclink' href='../src/num_rational/lib.rs.html#279-285' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Output-44' class="type"><code id='Output.t-44'>type <a href='../num_traits/pow/trait.Pow.html#associatedtype.Output' class="type">Output</a> = <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code></h4><div class='docblock'><p>The result after applying the operator.</p>
|
||
</div><h4 id='method.pow-3' class="method hidden"><code id='pow.v-3'>fn <a href='../num_traits/pow/trait.Pow.html#tymethod.pow' class='fnname'>pow</a>(self, expon: &'a <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i8.html">i8</a>) -> <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code><a class='srclink' href='../src/num_rational/lib.rs.html#282-284' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Returns <code>self</code> to the power <code>rhs</code>. <a href="../num_traits/pow/trait.Pow.html#tymethod.pow">Read more</a></p>
|
||
</div></div><h3 id='impl-Pow%3C%26%27a%20i8%3E-1' class='impl'><code class='in-band'>impl<'a, 'b, T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> + <a class="trait" href="../num_integer/trait.Integer.html" title="trait num_integer::Integer">Integer</a> + <a class="trait" href="../num_traits/pow/trait.Pow.html" title="trait num_traits::pow::Pow">Pow</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>, Output = T>> <a class="trait" href="../num_traits/pow/trait.Pow.html" title="trait num_traits::pow::Pow">Pow</a><&'a <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i8.html">i8</a>> for &'b <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code><a href='#impl-Pow%3C%26%27a%20i8%3E-1' class='anchor'></a><a class='srclink' href='../src/num_rational/lib.rs.html#286-294' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Output-45' class="type"><code id='Output.t-45'>type <a href='../num_traits/pow/trait.Pow.html#associatedtype.Output' class="type">Output</a> = <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code></h4><div class='docblock'><p>The result after applying the operator.</p>
|
||
</div><h4 id='method.pow-4' class="method hidden"><code id='pow.v-4'>fn <a href='../num_traits/pow/trait.Pow.html#tymethod.pow' class='fnname'>pow</a>(self, expon: &'a <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i8.html">i8</a>) -> <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code><a class='srclink' href='../src/num_rational/lib.rs.html#291-293' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Returns <code>self</code> to the power <code>rhs</code>. <a href="../num_traits/pow/trait.Pow.html#tymethod.pow">Read more</a></p>
|
||
</div></div><h3 id='impl-Pow%3Ci16%3E' class='impl'><code class='in-band'>impl<T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> + <a class="trait" href="../num_integer/trait.Integer.html" title="trait num_integer::Integer">Integer</a> + <a class="trait" href="../num_traits/pow/trait.Pow.html" title="trait num_traits::pow::Pow">Pow</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u16.html">u16</a>, Output = T>> <a class="trait" href="../num_traits/pow/trait.Pow.html" title="trait num_traits::pow::Pow">Pow</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i16.html">i16</a>> for <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code><a href='#impl-Pow%3Ci16%3E' class='anchor'></a><a class='srclink' href='../src/num_rational/lib.rs.html#255-271' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Output-46' class="type"><code id='Output.t-46'>type <a href='../num_traits/pow/trait.Pow.html#associatedtype.Output' class="type">Output</a> = <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code></h4><div class='docblock'><p>The result after applying the operator.</p>
|
||
</div><h4 id='method.pow-5' class="method hidden"><code id='pow.v-5'>fn <a href='../num_traits/pow/trait.Pow.html#tymethod.pow' class='fnname'>pow</a>(self, expon: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i16.html">i16</a>) -> <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code><a class='srclink' href='../src/num_rational/lib.rs.html#258-270' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Returns <code>self</code> to the power <code>rhs</code>. <a href="../num_traits/pow/trait.Pow.html#tymethod.pow">Read more</a></p>
|
||
</div></div><h3 id='impl-Pow%3Ci16%3E-1' class='impl'><code class='in-band'>impl<'a, T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> + <a class="trait" href="../num_integer/trait.Integer.html" title="trait num_integer::Integer">Integer</a> + <a class="trait" href="../num_traits/pow/trait.Pow.html" title="trait num_traits::pow::Pow">Pow</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u16.html">u16</a>, Output = T>> <a class="trait" href="../num_traits/pow/trait.Pow.html" title="trait num_traits::pow::Pow">Pow</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i16.html">i16</a>> for &'a <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code><a href='#impl-Pow%3Ci16%3E-1' class='anchor'></a><a class='srclink' href='../src/num_rational/lib.rs.html#272-278' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Output-47' class="type"><code id='Output.t-47'>type <a href='../num_traits/pow/trait.Pow.html#associatedtype.Output' class="type">Output</a> = <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code></h4><div class='docblock'><p>The result after applying the operator.</p>
|
||
</div><h4 id='method.pow-6' class="method hidden"><code id='pow.v-6'>fn <a href='../num_traits/pow/trait.Pow.html#tymethod.pow' class='fnname'>pow</a>(self, expon: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i16.html">i16</a>) -> <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code><a class='srclink' href='../src/num_rational/lib.rs.html#275-277' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Returns <code>self</code> to the power <code>rhs</code>. <a href="../num_traits/pow/trait.Pow.html#tymethod.pow">Read more</a></p>
|
||
</div></div><h3 id='impl-Pow%3C%26%27a%20i16%3E' class='impl'><code class='in-band'>impl<'a, T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> + <a class="trait" href="../num_integer/trait.Integer.html" title="trait num_integer::Integer">Integer</a> + <a class="trait" href="../num_traits/pow/trait.Pow.html" title="trait num_traits::pow::Pow">Pow</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u16.html">u16</a>, Output = T>> <a class="trait" href="../num_traits/pow/trait.Pow.html" title="trait num_traits::pow::Pow">Pow</a><&'a <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i16.html">i16</a>> for <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code><a href='#impl-Pow%3C%26%27a%20i16%3E' class='anchor'></a><a class='srclink' href='../src/num_rational/lib.rs.html#279-285' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Output-48' class="type"><code id='Output.t-48'>type <a href='../num_traits/pow/trait.Pow.html#associatedtype.Output' class="type">Output</a> = <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code></h4><div class='docblock'><p>The result after applying the operator.</p>
|
||
</div><h4 id='method.pow-7' class="method hidden"><code id='pow.v-7'>fn <a href='../num_traits/pow/trait.Pow.html#tymethod.pow' class='fnname'>pow</a>(self, expon: &'a <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i16.html">i16</a>) -> <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code><a class='srclink' href='../src/num_rational/lib.rs.html#282-284' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Returns <code>self</code> to the power <code>rhs</code>. <a href="../num_traits/pow/trait.Pow.html#tymethod.pow">Read more</a></p>
|
||
</div></div><h3 id='impl-Pow%3C%26%27a%20i16%3E-1' class='impl'><code class='in-band'>impl<'a, 'b, T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> + <a class="trait" href="../num_integer/trait.Integer.html" title="trait num_integer::Integer">Integer</a> + <a class="trait" href="../num_traits/pow/trait.Pow.html" title="trait num_traits::pow::Pow">Pow</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u16.html">u16</a>, Output = T>> <a class="trait" href="../num_traits/pow/trait.Pow.html" title="trait num_traits::pow::Pow">Pow</a><&'a <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i16.html">i16</a>> for &'b <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code><a href='#impl-Pow%3C%26%27a%20i16%3E-1' class='anchor'></a><a class='srclink' href='../src/num_rational/lib.rs.html#286-294' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Output-49' class="type"><code id='Output.t-49'>type <a href='../num_traits/pow/trait.Pow.html#associatedtype.Output' class="type">Output</a> = <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code></h4><div class='docblock'><p>The result after applying the operator.</p>
|
||
</div><h4 id='method.pow-8' class="method hidden"><code id='pow.v-8'>fn <a href='../num_traits/pow/trait.Pow.html#tymethod.pow' class='fnname'>pow</a>(self, expon: &'a <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i16.html">i16</a>) -> <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code><a class='srclink' href='../src/num_rational/lib.rs.html#291-293' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Returns <code>self</code> to the power <code>rhs</code>. <a href="../num_traits/pow/trait.Pow.html#tymethod.pow">Read more</a></p>
|
||
</div></div><h3 id='impl-Pow%3Ci32%3E' class='impl'><code class='in-band'>impl<T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> + <a class="trait" href="../num_integer/trait.Integer.html" title="trait num_integer::Integer">Integer</a> + <a class="trait" href="../num_traits/pow/trait.Pow.html" title="trait num_traits::pow::Pow">Pow</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>, Output = T>> <a class="trait" href="../num_traits/pow/trait.Pow.html" title="trait num_traits::pow::Pow">Pow</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>> for <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code><a href='#impl-Pow%3Ci32%3E' class='anchor'></a><a class='srclink' href='../src/num_rational/lib.rs.html#255-271' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Output-50' class="type"><code id='Output.t-50'>type <a href='../num_traits/pow/trait.Pow.html#associatedtype.Output' class="type">Output</a> = <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code></h4><div class='docblock'><p>The result after applying the operator.</p>
|
||
</div><h4 id='method.pow-9' class="method hidden"><code id='pow.v-9'>fn <a href='../num_traits/pow/trait.Pow.html#tymethod.pow' class='fnname'>pow</a>(self, expon: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>) -> <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code><a class='srclink' href='../src/num_rational/lib.rs.html#258-270' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Returns <code>self</code> to the power <code>rhs</code>. <a href="../num_traits/pow/trait.Pow.html#tymethod.pow">Read more</a></p>
|
||
</div></div><h3 id='impl-Pow%3Ci32%3E-1' class='impl'><code class='in-band'>impl<'a, T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> + <a class="trait" href="../num_integer/trait.Integer.html" title="trait num_integer::Integer">Integer</a> + <a class="trait" href="../num_traits/pow/trait.Pow.html" title="trait num_traits::pow::Pow">Pow</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>, Output = T>> <a class="trait" href="../num_traits/pow/trait.Pow.html" title="trait num_traits::pow::Pow">Pow</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>> for &'a <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code><a href='#impl-Pow%3Ci32%3E-1' class='anchor'></a><a class='srclink' href='../src/num_rational/lib.rs.html#272-278' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Output-51' class="type"><code id='Output.t-51'>type <a href='../num_traits/pow/trait.Pow.html#associatedtype.Output' class="type">Output</a> = <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code></h4><div class='docblock'><p>The result after applying the operator.</p>
|
||
</div><h4 id='method.pow-10' class="method hidden"><code id='pow.v-10'>fn <a href='../num_traits/pow/trait.Pow.html#tymethod.pow' class='fnname'>pow</a>(self, expon: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>) -> <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code><a class='srclink' href='../src/num_rational/lib.rs.html#275-277' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Returns <code>self</code> to the power <code>rhs</code>. <a href="../num_traits/pow/trait.Pow.html#tymethod.pow">Read more</a></p>
|
||
</div></div><h3 id='impl-Pow%3C%26%27a%20i32%3E' class='impl'><code class='in-band'>impl<'a, T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> + <a class="trait" href="../num_integer/trait.Integer.html" title="trait num_integer::Integer">Integer</a> + <a class="trait" href="../num_traits/pow/trait.Pow.html" title="trait num_traits::pow::Pow">Pow</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>, Output = T>> <a class="trait" href="../num_traits/pow/trait.Pow.html" title="trait num_traits::pow::Pow">Pow</a><&'a <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>> for <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code><a href='#impl-Pow%3C%26%27a%20i32%3E' class='anchor'></a><a class='srclink' href='../src/num_rational/lib.rs.html#279-285' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Output-52' class="type"><code id='Output.t-52'>type <a href='../num_traits/pow/trait.Pow.html#associatedtype.Output' class="type">Output</a> = <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code></h4><div class='docblock'><p>The result after applying the operator.</p>
|
||
</div><h4 id='method.pow-11' class="method hidden"><code id='pow.v-11'>fn <a href='../num_traits/pow/trait.Pow.html#tymethod.pow' class='fnname'>pow</a>(self, expon: &'a <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>) -> <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code><a class='srclink' href='../src/num_rational/lib.rs.html#282-284' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Returns <code>self</code> to the power <code>rhs</code>. <a href="../num_traits/pow/trait.Pow.html#tymethod.pow">Read more</a></p>
|
||
</div></div><h3 id='impl-Pow%3C%26%27a%20i32%3E-1' class='impl'><code class='in-band'>impl<'a, 'b, T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> + <a class="trait" href="../num_integer/trait.Integer.html" title="trait num_integer::Integer">Integer</a> + <a class="trait" href="../num_traits/pow/trait.Pow.html" title="trait num_traits::pow::Pow">Pow</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>, Output = T>> <a class="trait" href="../num_traits/pow/trait.Pow.html" title="trait num_traits::pow::Pow">Pow</a><&'a <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>> for &'b <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code><a href='#impl-Pow%3C%26%27a%20i32%3E-1' class='anchor'></a><a class='srclink' href='../src/num_rational/lib.rs.html#286-294' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Output-53' class="type"><code id='Output.t-53'>type <a href='../num_traits/pow/trait.Pow.html#associatedtype.Output' class="type">Output</a> = <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code></h4><div class='docblock'><p>The result after applying the operator.</p>
|
||
</div><h4 id='method.pow-12' class="method hidden"><code id='pow.v-12'>fn <a href='../num_traits/pow/trait.Pow.html#tymethod.pow' class='fnname'>pow</a>(self, expon: &'a <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>) -> <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code><a class='srclink' href='../src/num_rational/lib.rs.html#291-293' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Returns <code>self</code> to the power <code>rhs</code>. <a href="../num_traits/pow/trait.Pow.html#tymethod.pow">Read more</a></p>
|
||
</div></div><h3 id='impl-Pow%3Ci64%3E' class='impl'><code class='in-band'>impl<T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> + <a class="trait" href="../num_integer/trait.Integer.html" title="trait num_integer::Integer">Integer</a> + <a class="trait" href="../num_traits/pow/trait.Pow.html" title="trait num_traits::pow::Pow">Pow</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>, Output = T>> <a class="trait" href="../num_traits/pow/trait.Pow.html" title="trait num_traits::pow::Pow">Pow</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i64.html">i64</a>> for <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code><a href='#impl-Pow%3Ci64%3E' class='anchor'></a><a class='srclink' href='../src/num_rational/lib.rs.html#255-271' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Output-54' class="type"><code id='Output.t-54'>type <a href='../num_traits/pow/trait.Pow.html#associatedtype.Output' class="type">Output</a> = <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code></h4><div class='docblock'><p>The result after applying the operator.</p>
|
||
</div><h4 id='method.pow-13' class="method hidden"><code id='pow.v-13'>fn <a href='../num_traits/pow/trait.Pow.html#tymethod.pow' class='fnname'>pow</a>(self, expon: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i64.html">i64</a>) -> <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code><a class='srclink' href='../src/num_rational/lib.rs.html#258-270' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Returns <code>self</code> to the power <code>rhs</code>. <a href="../num_traits/pow/trait.Pow.html#tymethod.pow">Read more</a></p>
|
||
</div></div><h3 id='impl-Pow%3Ci64%3E-1' class='impl'><code class='in-band'>impl<'a, T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> + <a class="trait" href="../num_integer/trait.Integer.html" title="trait num_integer::Integer">Integer</a> + <a class="trait" href="../num_traits/pow/trait.Pow.html" title="trait num_traits::pow::Pow">Pow</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>, Output = T>> <a class="trait" href="../num_traits/pow/trait.Pow.html" title="trait num_traits::pow::Pow">Pow</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i64.html">i64</a>> for &'a <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code><a href='#impl-Pow%3Ci64%3E-1' class='anchor'></a><a class='srclink' href='../src/num_rational/lib.rs.html#272-278' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Output-55' class="type"><code id='Output.t-55'>type <a href='../num_traits/pow/trait.Pow.html#associatedtype.Output' class="type">Output</a> = <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code></h4><div class='docblock'><p>The result after applying the operator.</p>
|
||
</div><h4 id='method.pow-14' class="method hidden"><code id='pow.v-14'>fn <a href='../num_traits/pow/trait.Pow.html#tymethod.pow' class='fnname'>pow</a>(self, expon: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i64.html">i64</a>) -> <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code><a class='srclink' href='../src/num_rational/lib.rs.html#275-277' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Returns <code>self</code> to the power <code>rhs</code>. <a href="../num_traits/pow/trait.Pow.html#tymethod.pow">Read more</a></p>
|
||
</div></div><h3 id='impl-Pow%3C%26%27a%20i64%3E' class='impl'><code class='in-band'>impl<'a, T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> + <a class="trait" href="../num_integer/trait.Integer.html" title="trait num_integer::Integer">Integer</a> + <a class="trait" href="../num_traits/pow/trait.Pow.html" title="trait num_traits::pow::Pow">Pow</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>, Output = T>> <a class="trait" href="../num_traits/pow/trait.Pow.html" title="trait num_traits::pow::Pow">Pow</a><&'a <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i64.html">i64</a>> for <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code><a href='#impl-Pow%3C%26%27a%20i64%3E' class='anchor'></a><a class='srclink' href='../src/num_rational/lib.rs.html#279-285' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Output-56' class="type"><code id='Output.t-56'>type <a href='../num_traits/pow/trait.Pow.html#associatedtype.Output' class="type">Output</a> = <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code></h4><div class='docblock'><p>The result after applying the operator.</p>
|
||
</div><h4 id='method.pow-15' class="method hidden"><code id='pow.v-15'>fn <a href='../num_traits/pow/trait.Pow.html#tymethod.pow' class='fnname'>pow</a>(self, expon: &'a <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i64.html">i64</a>) -> <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code><a class='srclink' href='../src/num_rational/lib.rs.html#282-284' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Returns <code>self</code> to the power <code>rhs</code>. <a href="../num_traits/pow/trait.Pow.html#tymethod.pow">Read more</a></p>
|
||
</div></div><h3 id='impl-Pow%3C%26%27a%20i64%3E-1' class='impl'><code class='in-band'>impl<'a, 'b, T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> + <a class="trait" href="../num_integer/trait.Integer.html" title="trait num_integer::Integer">Integer</a> + <a class="trait" href="../num_traits/pow/trait.Pow.html" title="trait num_traits::pow::Pow">Pow</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>, Output = T>> <a class="trait" href="../num_traits/pow/trait.Pow.html" title="trait num_traits::pow::Pow">Pow</a><&'a <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i64.html">i64</a>> for &'b <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code><a href='#impl-Pow%3C%26%27a%20i64%3E-1' class='anchor'></a><a class='srclink' href='../src/num_rational/lib.rs.html#286-294' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Output-57' class="type"><code id='Output.t-57'>type <a href='../num_traits/pow/trait.Pow.html#associatedtype.Output' class="type">Output</a> = <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code></h4><div class='docblock'><p>The result after applying the operator.</p>
|
||
</div><h4 id='method.pow-16' class="method hidden"><code id='pow.v-16'>fn <a href='../num_traits/pow/trait.Pow.html#tymethod.pow' class='fnname'>pow</a>(self, expon: &'a <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i64.html">i64</a>) -> <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code><a class='srclink' href='../src/num_rational/lib.rs.html#291-293' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Returns <code>self</code> to the power <code>rhs</code>. <a href="../num_traits/pow/trait.Pow.html#tymethod.pow">Read more</a></p>
|
||
</div></div><h3 id='impl-Pow%3Cisize%3E' class='impl'><code class='in-band'>impl<T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> + <a class="trait" href="../num_integer/trait.Integer.html" title="trait num_integer::Integer">Integer</a> + <a class="trait" href="../num_traits/pow/trait.Pow.html" title="trait num_traits::pow::Pow">Pow</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>, Output = T>> <a class="trait" href="../num_traits/pow/trait.Pow.html" title="trait num_traits::pow::Pow">Pow</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.isize.html">isize</a>> for <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code><a href='#impl-Pow%3Cisize%3E' class='anchor'></a><a class='srclink' href='../src/num_rational/lib.rs.html#255-271' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Output-58' class="type"><code id='Output.t-58'>type <a href='../num_traits/pow/trait.Pow.html#associatedtype.Output' class="type">Output</a> = <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code></h4><div class='docblock'><p>The result after applying the operator.</p>
|
||
</div><h4 id='method.pow-17' class="method hidden"><code id='pow.v-17'>fn <a href='../num_traits/pow/trait.Pow.html#tymethod.pow' class='fnname'>pow</a>(self, expon: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.isize.html">isize</a>) -> <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code><a class='srclink' href='../src/num_rational/lib.rs.html#258-270' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Returns <code>self</code> to the power <code>rhs</code>. <a href="../num_traits/pow/trait.Pow.html#tymethod.pow">Read more</a></p>
|
||
</div></div><h3 id='impl-Pow%3Cisize%3E-1' class='impl'><code class='in-band'>impl<'a, T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> + <a class="trait" href="../num_integer/trait.Integer.html" title="trait num_integer::Integer">Integer</a> + <a class="trait" href="../num_traits/pow/trait.Pow.html" title="trait num_traits::pow::Pow">Pow</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>, Output = T>> <a class="trait" href="../num_traits/pow/trait.Pow.html" title="trait num_traits::pow::Pow">Pow</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.isize.html">isize</a>> for &'a <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code><a href='#impl-Pow%3Cisize%3E-1' class='anchor'></a><a class='srclink' href='../src/num_rational/lib.rs.html#272-278' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Output-59' class="type"><code id='Output.t-59'>type <a href='../num_traits/pow/trait.Pow.html#associatedtype.Output' class="type">Output</a> = <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code></h4><div class='docblock'><p>The result after applying the operator.</p>
|
||
</div><h4 id='method.pow-18' class="method hidden"><code id='pow.v-18'>fn <a href='../num_traits/pow/trait.Pow.html#tymethod.pow' class='fnname'>pow</a>(self, expon: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.isize.html">isize</a>) -> <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code><a class='srclink' href='../src/num_rational/lib.rs.html#275-277' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Returns <code>self</code> to the power <code>rhs</code>. <a href="../num_traits/pow/trait.Pow.html#tymethod.pow">Read more</a></p>
|
||
</div></div><h3 id='impl-Pow%3C%26%27a%20isize%3E' class='impl'><code class='in-band'>impl<'a, T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> + <a class="trait" href="../num_integer/trait.Integer.html" title="trait num_integer::Integer">Integer</a> + <a class="trait" href="../num_traits/pow/trait.Pow.html" title="trait num_traits::pow::Pow">Pow</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>, Output = T>> <a class="trait" href="../num_traits/pow/trait.Pow.html" title="trait num_traits::pow::Pow">Pow</a><&'a <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.isize.html">isize</a>> for <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code><a href='#impl-Pow%3C%26%27a%20isize%3E' class='anchor'></a><a class='srclink' href='../src/num_rational/lib.rs.html#279-285' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Output-60' class="type"><code id='Output.t-60'>type <a href='../num_traits/pow/trait.Pow.html#associatedtype.Output' class="type">Output</a> = <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code></h4><div class='docblock'><p>The result after applying the operator.</p>
|
||
</div><h4 id='method.pow-19' class="method hidden"><code id='pow.v-19'>fn <a href='../num_traits/pow/trait.Pow.html#tymethod.pow' class='fnname'>pow</a>(self, expon: &'a <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.isize.html">isize</a>) -> <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code><a class='srclink' href='../src/num_rational/lib.rs.html#282-284' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Returns <code>self</code> to the power <code>rhs</code>. <a href="../num_traits/pow/trait.Pow.html#tymethod.pow">Read more</a></p>
|
||
</div></div><h3 id='impl-Pow%3C%26%27a%20isize%3E-1' class='impl'><code class='in-band'>impl<'a, 'b, T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> + <a class="trait" href="../num_integer/trait.Integer.html" title="trait num_integer::Integer">Integer</a> + <a class="trait" href="../num_traits/pow/trait.Pow.html" title="trait num_traits::pow::Pow">Pow</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>, Output = T>> <a class="trait" href="../num_traits/pow/trait.Pow.html" title="trait num_traits::pow::Pow">Pow</a><&'a <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.isize.html">isize</a>> for &'b <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code><a href='#impl-Pow%3C%26%27a%20isize%3E-1' class='anchor'></a><a class='srclink' href='../src/num_rational/lib.rs.html#286-294' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Output-61' class="type"><code id='Output.t-61'>type <a href='../num_traits/pow/trait.Pow.html#associatedtype.Output' class="type">Output</a> = <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code></h4><div class='docblock'><p>The result after applying the operator.</p>
|
||
</div><h4 id='method.pow-20' class="method hidden"><code id='pow.v-20'>fn <a href='../num_traits/pow/trait.Pow.html#tymethod.pow' class='fnname'>pow</a>(self, expon: &'a <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.isize.html">isize</a>) -> <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code><a class='srclink' href='../src/num_rational/lib.rs.html#291-293' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Returns <code>self</code> to the power <code>rhs</code>. <a href="../num_traits/pow/trait.Pow.html#tymethod.pow">Read more</a></p>
|
||
</div></div><h3 id='impl-Pow%3Cu8%3E' class='impl'><code class='in-band'>impl<T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> + <a class="trait" href="../num_integer/trait.Integer.html" title="trait num_integer::Integer">Integer</a> + <a class="trait" href="../num_traits/pow/trait.Pow.html" title="trait num_traits::pow::Pow">Pow</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>, Output = T>> <a class="trait" href="../num_traits/pow/trait.Pow.html" title="trait num_traits::pow::Pow">Pow</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>> for <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code><a href='#impl-Pow%3Cu8%3E' class='anchor'></a><a class='srclink' href='../src/num_rational/lib.rs.html#255-271' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Output-62' class="type"><code id='Output.t-62'>type <a href='../num_traits/pow/trait.Pow.html#associatedtype.Output' class="type">Output</a> = <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code></h4><div class='docblock'><p>The result after applying the operator.</p>
|
||
</div><h4 id='method.pow-21' class="method hidden"><code id='pow.v-21'>fn <a href='../num_traits/pow/trait.Pow.html#tymethod.pow' class='fnname'>pow</a>(self, expon: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>) -> <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code><a class='srclink' href='../src/num_rational/lib.rs.html#258-270' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Returns <code>self</code> to the power <code>rhs</code>. <a href="../num_traits/pow/trait.Pow.html#tymethod.pow">Read more</a></p>
|
||
</div></div><h3 id='impl-Pow%3Cu8%3E-1' class='impl'><code class='in-band'>impl<'a, T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> + <a class="trait" href="../num_integer/trait.Integer.html" title="trait num_integer::Integer">Integer</a> + <a class="trait" href="../num_traits/pow/trait.Pow.html" title="trait num_traits::pow::Pow">Pow</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>, Output = T>> <a class="trait" href="../num_traits/pow/trait.Pow.html" title="trait num_traits::pow::Pow">Pow</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>> for &'a <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code><a href='#impl-Pow%3Cu8%3E-1' class='anchor'></a><a class='srclink' href='../src/num_rational/lib.rs.html#272-278' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Output-63' class="type"><code id='Output.t-63'>type <a href='../num_traits/pow/trait.Pow.html#associatedtype.Output' class="type">Output</a> = <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code></h4><div class='docblock'><p>The result after applying the operator.</p>
|
||
</div><h4 id='method.pow-22' class="method hidden"><code id='pow.v-22'>fn <a href='../num_traits/pow/trait.Pow.html#tymethod.pow' class='fnname'>pow</a>(self, expon: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>) -> <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code><a class='srclink' href='../src/num_rational/lib.rs.html#275-277' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Returns <code>self</code> to the power <code>rhs</code>. <a href="../num_traits/pow/trait.Pow.html#tymethod.pow">Read more</a></p>
|
||
</div></div><h3 id='impl-Pow%3C%26%27a%20u8%3E' class='impl'><code class='in-band'>impl<'a, T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> + <a class="trait" href="../num_integer/trait.Integer.html" title="trait num_integer::Integer">Integer</a> + <a class="trait" href="../num_traits/pow/trait.Pow.html" title="trait num_traits::pow::Pow">Pow</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>, Output = T>> <a class="trait" href="../num_traits/pow/trait.Pow.html" title="trait num_traits::pow::Pow">Pow</a><&'a <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>> for <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code><a href='#impl-Pow%3C%26%27a%20u8%3E' class='anchor'></a><a class='srclink' href='../src/num_rational/lib.rs.html#279-285' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Output-64' class="type"><code id='Output.t-64'>type <a href='../num_traits/pow/trait.Pow.html#associatedtype.Output' class="type">Output</a> = <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code></h4><div class='docblock'><p>The result after applying the operator.</p>
|
||
</div><h4 id='method.pow-23' class="method hidden"><code id='pow.v-23'>fn <a href='../num_traits/pow/trait.Pow.html#tymethod.pow' class='fnname'>pow</a>(self, expon: &'a <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>) -> <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code><a class='srclink' href='../src/num_rational/lib.rs.html#282-284' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Returns <code>self</code> to the power <code>rhs</code>. <a href="../num_traits/pow/trait.Pow.html#tymethod.pow">Read more</a></p>
|
||
</div></div><h3 id='impl-Pow%3C%26%27a%20u8%3E-1' class='impl'><code class='in-band'>impl<'a, 'b, T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> + <a class="trait" href="../num_integer/trait.Integer.html" title="trait num_integer::Integer">Integer</a> + <a class="trait" href="../num_traits/pow/trait.Pow.html" title="trait num_traits::pow::Pow">Pow</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>, Output = T>> <a class="trait" href="../num_traits/pow/trait.Pow.html" title="trait num_traits::pow::Pow">Pow</a><&'a <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>> for &'b <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code><a href='#impl-Pow%3C%26%27a%20u8%3E-1' class='anchor'></a><a class='srclink' href='../src/num_rational/lib.rs.html#286-294' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Output-65' class="type"><code id='Output.t-65'>type <a href='../num_traits/pow/trait.Pow.html#associatedtype.Output' class="type">Output</a> = <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code></h4><div class='docblock'><p>The result after applying the operator.</p>
|
||
</div><h4 id='method.pow-24' class="method hidden"><code id='pow.v-24'>fn <a href='../num_traits/pow/trait.Pow.html#tymethod.pow' class='fnname'>pow</a>(self, expon: &'a <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>) -> <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code><a class='srclink' href='../src/num_rational/lib.rs.html#291-293' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Returns <code>self</code> to the power <code>rhs</code>. <a href="../num_traits/pow/trait.Pow.html#tymethod.pow">Read more</a></p>
|
||
</div></div><h3 id='impl-Pow%3Cu16%3E' class='impl'><code class='in-band'>impl<T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> + <a class="trait" href="../num_integer/trait.Integer.html" title="trait num_integer::Integer">Integer</a> + <a class="trait" href="../num_traits/pow/trait.Pow.html" title="trait num_traits::pow::Pow">Pow</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u16.html">u16</a>, Output = T>> <a class="trait" href="../num_traits/pow/trait.Pow.html" title="trait num_traits::pow::Pow">Pow</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u16.html">u16</a>> for <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code><a href='#impl-Pow%3Cu16%3E' class='anchor'></a><a class='srclink' href='../src/num_rational/lib.rs.html#255-271' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Output-66' class="type"><code id='Output.t-66'>type <a href='../num_traits/pow/trait.Pow.html#associatedtype.Output' class="type">Output</a> = <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code></h4><div class='docblock'><p>The result after applying the operator.</p>
|
||
</div><h4 id='method.pow-25' class="method hidden"><code id='pow.v-25'>fn <a href='../num_traits/pow/trait.Pow.html#tymethod.pow' class='fnname'>pow</a>(self, expon: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u16.html">u16</a>) -> <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code><a class='srclink' href='../src/num_rational/lib.rs.html#258-270' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Returns <code>self</code> to the power <code>rhs</code>. <a href="../num_traits/pow/trait.Pow.html#tymethod.pow">Read more</a></p>
|
||
</div></div><h3 id='impl-Pow%3Cu16%3E-1' class='impl'><code class='in-band'>impl<'a, T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> + <a class="trait" href="../num_integer/trait.Integer.html" title="trait num_integer::Integer">Integer</a> + <a class="trait" href="../num_traits/pow/trait.Pow.html" title="trait num_traits::pow::Pow">Pow</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u16.html">u16</a>, Output = T>> <a class="trait" href="../num_traits/pow/trait.Pow.html" title="trait num_traits::pow::Pow">Pow</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u16.html">u16</a>> for &'a <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code><a href='#impl-Pow%3Cu16%3E-1' class='anchor'></a><a class='srclink' href='../src/num_rational/lib.rs.html#272-278' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Output-67' class="type"><code id='Output.t-67'>type <a href='../num_traits/pow/trait.Pow.html#associatedtype.Output' class="type">Output</a> = <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code></h4><div class='docblock'><p>The result after applying the operator.</p>
|
||
</div><h4 id='method.pow-26' class="method hidden"><code id='pow.v-26'>fn <a href='../num_traits/pow/trait.Pow.html#tymethod.pow' class='fnname'>pow</a>(self, expon: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u16.html">u16</a>) -> <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code><a class='srclink' href='../src/num_rational/lib.rs.html#275-277' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Returns <code>self</code> to the power <code>rhs</code>. <a href="../num_traits/pow/trait.Pow.html#tymethod.pow">Read more</a></p>
|
||
</div></div><h3 id='impl-Pow%3C%26%27a%20u16%3E' class='impl'><code class='in-band'>impl<'a, T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> + <a class="trait" href="../num_integer/trait.Integer.html" title="trait num_integer::Integer">Integer</a> + <a class="trait" href="../num_traits/pow/trait.Pow.html" title="trait num_traits::pow::Pow">Pow</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u16.html">u16</a>, Output = T>> <a class="trait" href="../num_traits/pow/trait.Pow.html" title="trait num_traits::pow::Pow">Pow</a><&'a <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u16.html">u16</a>> for <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code><a href='#impl-Pow%3C%26%27a%20u16%3E' class='anchor'></a><a class='srclink' href='../src/num_rational/lib.rs.html#279-285' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Output-68' class="type"><code id='Output.t-68'>type <a href='../num_traits/pow/trait.Pow.html#associatedtype.Output' class="type">Output</a> = <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code></h4><div class='docblock'><p>The result after applying the operator.</p>
|
||
</div><h4 id='method.pow-27' class="method hidden"><code id='pow.v-27'>fn <a href='../num_traits/pow/trait.Pow.html#tymethod.pow' class='fnname'>pow</a>(self, expon: &'a <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u16.html">u16</a>) -> <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code><a class='srclink' href='../src/num_rational/lib.rs.html#282-284' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Returns <code>self</code> to the power <code>rhs</code>. <a href="../num_traits/pow/trait.Pow.html#tymethod.pow">Read more</a></p>
|
||
</div></div><h3 id='impl-Pow%3C%26%27a%20u16%3E-1' class='impl'><code class='in-band'>impl<'a, 'b, T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> + <a class="trait" href="../num_integer/trait.Integer.html" title="trait num_integer::Integer">Integer</a> + <a class="trait" href="../num_traits/pow/trait.Pow.html" title="trait num_traits::pow::Pow">Pow</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u16.html">u16</a>, Output = T>> <a class="trait" href="../num_traits/pow/trait.Pow.html" title="trait num_traits::pow::Pow">Pow</a><&'a <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u16.html">u16</a>> for &'b <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code><a href='#impl-Pow%3C%26%27a%20u16%3E-1' class='anchor'></a><a class='srclink' href='../src/num_rational/lib.rs.html#286-294' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Output-69' class="type"><code id='Output.t-69'>type <a href='../num_traits/pow/trait.Pow.html#associatedtype.Output' class="type">Output</a> = <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code></h4><div class='docblock'><p>The result after applying the operator.</p>
|
||
</div><h4 id='method.pow-28' class="method hidden"><code id='pow.v-28'>fn <a href='../num_traits/pow/trait.Pow.html#tymethod.pow' class='fnname'>pow</a>(self, expon: &'a <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u16.html">u16</a>) -> <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code><a class='srclink' href='../src/num_rational/lib.rs.html#291-293' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Returns <code>self</code> to the power <code>rhs</code>. <a href="../num_traits/pow/trait.Pow.html#tymethod.pow">Read more</a></p>
|
||
</div></div><h3 id='impl-Pow%3Cu32%3E' class='impl'><code class='in-band'>impl<T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> + <a class="trait" href="../num_integer/trait.Integer.html" title="trait num_integer::Integer">Integer</a> + <a class="trait" href="../num_traits/pow/trait.Pow.html" title="trait num_traits::pow::Pow">Pow</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>, Output = T>> <a class="trait" href="../num_traits/pow/trait.Pow.html" title="trait num_traits::pow::Pow">Pow</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>> for <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code><a href='#impl-Pow%3Cu32%3E' class='anchor'></a><a class='srclink' href='../src/num_rational/lib.rs.html#255-271' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Output-70' class="type"><code id='Output.t-70'>type <a href='../num_traits/pow/trait.Pow.html#associatedtype.Output' class="type">Output</a> = <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code></h4><div class='docblock'><p>The result after applying the operator.</p>
|
||
</div><h4 id='method.pow-29' class="method hidden"><code id='pow.v-29'>fn <a href='../num_traits/pow/trait.Pow.html#tymethod.pow' class='fnname'>pow</a>(self, expon: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>) -> <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code><a class='srclink' href='../src/num_rational/lib.rs.html#258-270' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Returns <code>self</code> to the power <code>rhs</code>. <a href="../num_traits/pow/trait.Pow.html#tymethod.pow">Read more</a></p>
|
||
</div></div><h3 id='impl-Pow%3Cu32%3E-1' class='impl'><code class='in-band'>impl<'a, T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> + <a class="trait" href="../num_integer/trait.Integer.html" title="trait num_integer::Integer">Integer</a> + <a class="trait" href="../num_traits/pow/trait.Pow.html" title="trait num_traits::pow::Pow">Pow</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>, Output = T>> <a class="trait" href="../num_traits/pow/trait.Pow.html" title="trait num_traits::pow::Pow">Pow</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>> for &'a <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code><a href='#impl-Pow%3Cu32%3E-1' class='anchor'></a><a class='srclink' href='../src/num_rational/lib.rs.html#272-278' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Output-71' class="type"><code id='Output.t-71'>type <a href='../num_traits/pow/trait.Pow.html#associatedtype.Output' class="type">Output</a> = <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code></h4><div class='docblock'><p>The result after applying the operator.</p>
|
||
</div><h4 id='method.pow-30' class="method hidden"><code id='pow.v-30'>fn <a href='../num_traits/pow/trait.Pow.html#tymethod.pow' class='fnname'>pow</a>(self, expon: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>) -> <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code><a class='srclink' href='../src/num_rational/lib.rs.html#275-277' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Returns <code>self</code> to the power <code>rhs</code>. <a href="../num_traits/pow/trait.Pow.html#tymethod.pow">Read more</a></p>
|
||
</div></div><h3 id='impl-Pow%3C%26%27a%20u32%3E' class='impl'><code class='in-band'>impl<'a, T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> + <a class="trait" href="../num_integer/trait.Integer.html" title="trait num_integer::Integer">Integer</a> + <a class="trait" href="../num_traits/pow/trait.Pow.html" title="trait num_traits::pow::Pow">Pow</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>, Output = T>> <a class="trait" href="../num_traits/pow/trait.Pow.html" title="trait num_traits::pow::Pow">Pow</a><&'a <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>> for <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code><a href='#impl-Pow%3C%26%27a%20u32%3E' class='anchor'></a><a class='srclink' href='../src/num_rational/lib.rs.html#279-285' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Output-72' class="type"><code id='Output.t-72'>type <a href='../num_traits/pow/trait.Pow.html#associatedtype.Output' class="type">Output</a> = <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code></h4><div class='docblock'><p>The result after applying the operator.</p>
|
||
</div><h4 id='method.pow-31' class="method hidden"><code id='pow.v-31'>fn <a href='../num_traits/pow/trait.Pow.html#tymethod.pow' class='fnname'>pow</a>(self, expon: &'a <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>) -> <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code><a class='srclink' href='../src/num_rational/lib.rs.html#282-284' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Returns <code>self</code> to the power <code>rhs</code>. <a href="../num_traits/pow/trait.Pow.html#tymethod.pow">Read more</a></p>
|
||
</div></div><h3 id='impl-Pow%3C%26%27a%20u32%3E-1' class='impl'><code class='in-band'>impl<'a, 'b, T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> + <a class="trait" href="../num_integer/trait.Integer.html" title="trait num_integer::Integer">Integer</a> + <a class="trait" href="../num_traits/pow/trait.Pow.html" title="trait num_traits::pow::Pow">Pow</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>, Output = T>> <a class="trait" href="../num_traits/pow/trait.Pow.html" title="trait num_traits::pow::Pow">Pow</a><&'a <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>> for &'b <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code><a href='#impl-Pow%3C%26%27a%20u32%3E-1' class='anchor'></a><a class='srclink' href='../src/num_rational/lib.rs.html#286-294' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Output-73' class="type"><code id='Output.t-73'>type <a href='../num_traits/pow/trait.Pow.html#associatedtype.Output' class="type">Output</a> = <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code></h4><div class='docblock'><p>The result after applying the operator.</p>
|
||
</div><h4 id='method.pow-32' class="method hidden"><code id='pow.v-32'>fn <a href='../num_traits/pow/trait.Pow.html#tymethod.pow' class='fnname'>pow</a>(self, expon: &'a <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>) -> <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code><a class='srclink' href='../src/num_rational/lib.rs.html#291-293' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Returns <code>self</code> to the power <code>rhs</code>. <a href="../num_traits/pow/trait.Pow.html#tymethod.pow">Read more</a></p>
|
||
</div></div><h3 id='impl-Pow%3Cu64%3E' class='impl'><code class='in-band'>impl<T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> + <a class="trait" href="../num_integer/trait.Integer.html" title="trait num_integer::Integer">Integer</a> + <a class="trait" href="../num_traits/pow/trait.Pow.html" title="trait num_traits::pow::Pow">Pow</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>, Output = T>> <a class="trait" href="../num_traits/pow/trait.Pow.html" title="trait num_traits::pow::Pow">Pow</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>> for <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code><a href='#impl-Pow%3Cu64%3E' class='anchor'></a><a class='srclink' href='../src/num_rational/lib.rs.html#255-271' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Output-74' class="type"><code id='Output.t-74'>type <a href='../num_traits/pow/trait.Pow.html#associatedtype.Output' class="type">Output</a> = <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code></h4><div class='docblock'><p>The result after applying the operator.</p>
|
||
</div><h4 id='method.pow-33' class="method hidden"><code id='pow.v-33'>fn <a href='../num_traits/pow/trait.Pow.html#tymethod.pow' class='fnname'>pow</a>(self, expon: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>) -> <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code><a class='srclink' href='../src/num_rational/lib.rs.html#258-270' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Returns <code>self</code> to the power <code>rhs</code>. <a href="../num_traits/pow/trait.Pow.html#tymethod.pow">Read more</a></p>
|
||
</div></div><h3 id='impl-Pow%3Cu64%3E-1' class='impl'><code class='in-band'>impl<'a, T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> + <a class="trait" href="../num_integer/trait.Integer.html" title="trait num_integer::Integer">Integer</a> + <a class="trait" href="../num_traits/pow/trait.Pow.html" title="trait num_traits::pow::Pow">Pow</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>, Output = T>> <a class="trait" href="../num_traits/pow/trait.Pow.html" title="trait num_traits::pow::Pow">Pow</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>> for &'a <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code><a href='#impl-Pow%3Cu64%3E-1' class='anchor'></a><a class='srclink' href='../src/num_rational/lib.rs.html#272-278' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Output-75' class="type"><code id='Output.t-75'>type <a href='../num_traits/pow/trait.Pow.html#associatedtype.Output' class="type">Output</a> = <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code></h4><div class='docblock'><p>The result after applying the operator.</p>
|
||
</div><h4 id='method.pow-34' class="method hidden"><code id='pow.v-34'>fn <a href='../num_traits/pow/trait.Pow.html#tymethod.pow' class='fnname'>pow</a>(self, expon: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>) -> <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code><a class='srclink' href='../src/num_rational/lib.rs.html#275-277' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Returns <code>self</code> to the power <code>rhs</code>. <a href="../num_traits/pow/trait.Pow.html#tymethod.pow">Read more</a></p>
|
||
</div></div><h3 id='impl-Pow%3C%26%27a%20u64%3E' class='impl'><code class='in-band'>impl<'a, T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> + <a class="trait" href="../num_integer/trait.Integer.html" title="trait num_integer::Integer">Integer</a> + <a class="trait" href="../num_traits/pow/trait.Pow.html" title="trait num_traits::pow::Pow">Pow</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>, Output = T>> <a class="trait" href="../num_traits/pow/trait.Pow.html" title="trait num_traits::pow::Pow">Pow</a><&'a <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>> for <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code><a href='#impl-Pow%3C%26%27a%20u64%3E' class='anchor'></a><a class='srclink' href='../src/num_rational/lib.rs.html#279-285' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Output-76' class="type"><code id='Output.t-76'>type <a href='../num_traits/pow/trait.Pow.html#associatedtype.Output' class="type">Output</a> = <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code></h4><div class='docblock'><p>The result after applying the operator.</p>
|
||
</div><h4 id='method.pow-35' class="method hidden"><code id='pow.v-35'>fn <a href='../num_traits/pow/trait.Pow.html#tymethod.pow' class='fnname'>pow</a>(self, expon: &'a <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>) -> <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code><a class='srclink' href='../src/num_rational/lib.rs.html#282-284' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Returns <code>self</code> to the power <code>rhs</code>. <a href="../num_traits/pow/trait.Pow.html#tymethod.pow">Read more</a></p>
|
||
</div></div><h3 id='impl-Pow%3C%26%27a%20u64%3E-1' class='impl'><code class='in-band'>impl<'a, 'b, T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> + <a class="trait" href="../num_integer/trait.Integer.html" title="trait num_integer::Integer">Integer</a> + <a class="trait" href="../num_traits/pow/trait.Pow.html" title="trait num_traits::pow::Pow">Pow</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>, Output = T>> <a class="trait" href="../num_traits/pow/trait.Pow.html" title="trait num_traits::pow::Pow">Pow</a><&'a <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>> for &'b <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code><a href='#impl-Pow%3C%26%27a%20u64%3E-1' class='anchor'></a><a class='srclink' href='../src/num_rational/lib.rs.html#286-294' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Output-77' class="type"><code id='Output.t-77'>type <a href='../num_traits/pow/trait.Pow.html#associatedtype.Output' class="type">Output</a> = <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code></h4><div class='docblock'><p>The result after applying the operator.</p>
|
||
</div><h4 id='method.pow-36' class="method hidden"><code id='pow.v-36'>fn <a href='../num_traits/pow/trait.Pow.html#tymethod.pow' class='fnname'>pow</a>(self, expon: &'a <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>) -> <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code><a class='srclink' href='../src/num_rational/lib.rs.html#291-293' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Returns <code>self</code> to the power <code>rhs</code>. <a href="../num_traits/pow/trait.Pow.html#tymethod.pow">Read more</a></p>
|
||
</div></div><h3 id='impl-Pow%3Cusize%3E' class='impl'><code class='in-band'>impl<T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> + <a class="trait" href="../num_integer/trait.Integer.html" title="trait num_integer::Integer">Integer</a> + <a class="trait" href="../num_traits/pow/trait.Pow.html" title="trait num_traits::pow::Pow">Pow</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>, Output = T>> <a class="trait" href="../num_traits/pow/trait.Pow.html" title="trait num_traits::pow::Pow">Pow</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>> for <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code><a href='#impl-Pow%3Cusize%3E' class='anchor'></a><a class='srclink' href='../src/num_rational/lib.rs.html#255-271' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Output-78' class="type"><code id='Output.t-78'>type <a href='../num_traits/pow/trait.Pow.html#associatedtype.Output' class="type">Output</a> = <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code></h4><div class='docblock'><p>The result after applying the operator.</p>
|
||
</div><h4 id='method.pow-37' class="method hidden"><code id='pow.v-37'>fn <a href='../num_traits/pow/trait.Pow.html#tymethod.pow' class='fnname'>pow</a>(self, expon: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>) -> <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code><a class='srclink' href='../src/num_rational/lib.rs.html#258-270' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Returns <code>self</code> to the power <code>rhs</code>. <a href="../num_traits/pow/trait.Pow.html#tymethod.pow">Read more</a></p>
|
||
</div></div><h3 id='impl-Pow%3Cusize%3E-1' class='impl'><code class='in-band'>impl<'a, T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> + <a class="trait" href="../num_integer/trait.Integer.html" title="trait num_integer::Integer">Integer</a> + <a class="trait" href="../num_traits/pow/trait.Pow.html" title="trait num_traits::pow::Pow">Pow</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>, Output = T>> <a class="trait" href="../num_traits/pow/trait.Pow.html" title="trait num_traits::pow::Pow">Pow</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>> for &'a <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code><a href='#impl-Pow%3Cusize%3E-1' class='anchor'></a><a class='srclink' href='../src/num_rational/lib.rs.html#272-278' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Output-79' class="type"><code id='Output.t-79'>type <a href='../num_traits/pow/trait.Pow.html#associatedtype.Output' class="type">Output</a> = <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code></h4><div class='docblock'><p>The result after applying the operator.</p>
|
||
</div><h4 id='method.pow-38' class="method hidden"><code id='pow.v-38'>fn <a href='../num_traits/pow/trait.Pow.html#tymethod.pow' class='fnname'>pow</a>(self, expon: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>) -> <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code><a class='srclink' href='../src/num_rational/lib.rs.html#275-277' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Returns <code>self</code> to the power <code>rhs</code>. <a href="../num_traits/pow/trait.Pow.html#tymethod.pow">Read more</a></p>
|
||
</div></div><h3 id='impl-Pow%3C%26%27a%20usize%3E' class='impl'><code class='in-band'>impl<'a, T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> + <a class="trait" href="../num_integer/trait.Integer.html" title="trait num_integer::Integer">Integer</a> + <a class="trait" href="../num_traits/pow/trait.Pow.html" title="trait num_traits::pow::Pow">Pow</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>, Output = T>> <a class="trait" href="../num_traits/pow/trait.Pow.html" title="trait num_traits::pow::Pow">Pow</a><&'a <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>> for <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code><a href='#impl-Pow%3C%26%27a%20usize%3E' class='anchor'></a><a class='srclink' href='../src/num_rational/lib.rs.html#279-285' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Output-80' class="type"><code id='Output.t-80'>type <a href='../num_traits/pow/trait.Pow.html#associatedtype.Output' class="type">Output</a> = <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code></h4><div class='docblock'><p>The result after applying the operator.</p>
|
||
</div><h4 id='method.pow-39' class="method hidden"><code id='pow.v-39'>fn <a href='../num_traits/pow/trait.Pow.html#tymethod.pow' class='fnname'>pow</a>(self, expon: &'a <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>) -> <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code><a class='srclink' href='../src/num_rational/lib.rs.html#282-284' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Returns <code>self</code> to the power <code>rhs</code>. <a href="../num_traits/pow/trait.Pow.html#tymethod.pow">Read more</a></p>
|
||
</div></div><h3 id='impl-Pow%3C%26%27a%20usize%3E-1' class='impl'><code class='in-band'>impl<'a, 'b, T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> + <a class="trait" href="../num_integer/trait.Integer.html" title="trait num_integer::Integer">Integer</a> + <a class="trait" href="../num_traits/pow/trait.Pow.html" title="trait num_traits::pow::Pow">Pow</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>, Output = T>> <a class="trait" href="../num_traits/pow/trait.Pow.html" title="trait num_traits::pow::Pow">Pow</a><&'a <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>> for &'b <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code><a href='#impl-Pow%3C%26%27a%20usize%3E-1' class='anchor'></a><a class='srclink' href='../src/num_rational/lib.rs.html#286-294' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Output-81' class="type"><code id='Output.t-81'>type <a href='../num_traits/pow/trait.Pow.html#associatedtype.Output' class="type">Output</a> = <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code></h4><div class='docblock'><p>The result after applying the operator.</p>
|
||
</div><h4 id='method.pow-40' class="method hidden"><code id='pow.v-40'>fn <a href='../num_traits/pow/trait.Pow.html#tymethod.pow' class='fnname'>pow</a>(self, expon: &'a <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>) -> <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code><a class='srclink' href='../src/num_rational/lib.rs.html#291-293' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Returns <code>self</code> to the power <code>rhs</code>. <a href="../num_traits/pow/trait.Pow.html#tymethod.pow">Read more</a></p>
|
||
</div></div><h3 id='impl-Signed' class='impl'><code class='in-band'>impl<T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> + <a class="trait" href="../num_integer/trait.Integer.html" title="trait num_integer::Integer">Integer</a> + <a class="trait" href="../num_traits/sign/trait.Signed.html" title="trait num_traits::sign::Signed">Signed</a>> <a class="trait" href="../num_traits/sign/trait.Signed.html" title="trait num_traits::sign::Signed">Signed</a> for <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code><a href='#impl-Signed' class='anchor'></a><a class='srclink' href='../src/num_rational/lib.rs.html#950-991' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.abs' class="method hidden"><code id='abs.v'>fn <a href='../num_traits/sign/trait.Signed.html#tymethod.abs' class='fnname'>abs</a>(&self) -> <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code><a class='srclink' href='../src/num_rational/lib.rs.html#952-958' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Computes the absolute value. <a href="../num_traits/sign/trait.Signed.html#tymethod.abs">Read more</a></p>
|
||
</div><h4 id='method.abs_sub' class="method hidden"><code id='abs_sub.v'>fn <a href='../num_traits/sign/trait.Signed.html#tymethod.abs_sub' class='fnname'>abs_sub</a>(&self, other: &<a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T>) -> <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code><a class='srclink' href='../src/num_rational/lib.rs.html#961-967' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>The positive difference of two numbers. <a href="../num_traits/sign/trait.Signed.html#tymethod.abs_sub">Read more</a></p>
|
||
</div><h4 id='method.signum' class="method hidden"><code id='signum.v'>fn <a href='../num_traits/sign/trait.Signed.html#tymethod.signum' class='fnname'>signum</a>(&self) -> <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code><a class='srclink' href='../src/num_rational/lib.rs.html#970-978' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Returns the sign of the number. <a href="../num_traits/sign/trait.Signed.html#tymethod.signum">Read more</a></p>
|
||
</div><h4 id='method.is_positive' class="method hidden"><code id='is_positive.v'>fn <a href='../num_traits/sign/trait.Signed.html#tymethod.is_positive' class='fnname'>is_positive</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code><a class='srclink' href='../src/num_rational/lib.rs.html#981-984' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Returns true if the number is positive and false if the number is zero or negative.</p>
|
||
</div><h4 id='method.is_negative' class="method hidden"><code id='is_negative.v'>fn <a href='../num_traits/sign/trait.Signed.html#tymethod.is_negative' class='fnname'>is_negative</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code><a class='srclink' href='../src/num_rational/lib.rs.html#987-990' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Returns true if the number is negative and false if the number is zero or positive.</p>
|
||
</div></div><h3 id='impl-Zero' class='impl'><code class='in-band'>impl<T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> + <a class="trait" href="../num_integer/trait.Integer.html" title="trait num_integer::Integer">Integer</a>> <a class="trait" href="../num_traits/identities/trait.Zero.html" title="trait num_traits::identities::Zero">Zero</a> for <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code><a href='#impl-Zero' class='anchor'></a><a class='srclink' href='../src/num_rational/lib.rs.html#886-902' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.zero' class="method hidden"><code id='zero.v'>fn <a href='../num_traits/identities/trait.Zero.html#tymethod.zero' class='fnname'>zero</a>() -> <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code><a class='srclink' href='../src/num_rational/lib.rs.html#888-890' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Returns the additive identity element of <code>Self</code>, <code>0</code>. # Purity <a href="../num_traits/identities/trait.Zero.html#tymethod.zero">Read more</a></p>
|
||
</div><h4 id='method.is_zero' class="method hidden"><code id='is_zero.v'>fn <a href='../num_traits/identities/trait.Zero.html#tymethod.is_zero' class='fnname'>is_zero</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code><a class='srclink' href='../src/num_rational/lib.rs.html#893-895' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Returns <code>true</code> if <code>self</code> is equal to the additive identity.</p>
|
||
</div><h4 id='method.set_zero' class="method hidden"><code id='set_zero.v'>fn <a href='../num_traits/identities/trait.Zero.html#method.set_zero' class='fnname'>set_zero</a>(&mut self)</code><a class='srclink' href='../src/num_rational/lib.rs.html#898-901' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Sets <code>self</code> to the additive identity element of <code>Self</code>, <code>0</code>.</p>
|
||
</div></div><h3 id='impl-Inv' class='impl'><code class='in-band'>impl<T> <a class="trait" href="../num_traits/ops/inv/trait.Inv.html" title="trait num_traits::ops::inv::Inv">Inv</a> for <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T> <span class="where fmt-newline">where<br> T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> + <a class="trait" href="../num_integer/trait.Integer.html" title="trait num_integer::Integer">Integer</a>, </span></code><a href='#impl-Inv' class='anchor'></a><a class='srclink' href='../src/num_rational/lib.rs.html#861-871' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Output-82' class="type"><code id='Output.t-82'>type <a href='../num_traits/ops/inv/trait.Inv.html#associatedtype.Output' class="type">Output</a> = <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code></h4><div class='docblock'><p>The result after applying the operator.</p>
|
||
</div><h4 id='method.inv' class="method hidden"><code id='inv.v'>fn <a href='../num_traits/ops/inv/trait.Inv.html#tymethod.inv' class='fnname'>inv</a>(self) -> <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code><a class='srclink' href='../src/num_rational/lib.rs.html#868-870' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Returns the multiplicative inverse of <code>self</code>. <a href="../num_traits/ops/inv/trait.Inv.html#tymethod.inv">Read more</a></p>
|
||
</div></div><h3 id='impl-Inv-1' class='impl'><code class='in-band'>impl<'a, T> <a class="trait" href="../num_traits/ops/inv/trait.Inv.html" title="trait num_traits::ops::inv::Inv">Inv</a> for &'a <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T> <span class="where fmt-newline">where<br> T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> + <a class="trait" href="../num_integer/trait.Integer.html" title="trait num_integer::Integer">Integer</a>, </span></code><a href='#impl-Inv-1' class='anchor'></a><a class='srclink' href='../src/num_rational/lib.rs.html#873-883' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Output-83' class="type"><code id='Output.t-83'>type <a href='../num_traits/ops/inv/trait.Inv.html#associatedtype.Output' class="type">Output</a> = <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code></h4><div class='docblock'><p>The result after applying the operator.</p>
|
||
</div><h4 id='method.inv-1' class="method hidden"><code id='inv.v-1'>fn <a href='../num_traits/ops/inv/trait.Inv.html#tymethod.inv' class='fnname'>inv</a>(self) -> <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T></code><a class='srclink' href='../src/num_rational/lib.rs.html#880-882' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Returns the multiplicative inverse of <code>self</code>. <a href="../num_traits/ops/inv/trait.Inv.html#tymethod.inv">Read more</a></p>
|
||
</div></div></div><h2 id='synthetic-implementations' class='small-section-header'>Auto Trait Implementations<a href='#synthetic-implementations' class='anchor'></a></h2><div id='synthetic-implementations-list'><h3 id='impl-Unpin' class='impl'><code class='in-band'>impl<T> <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a> for <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T> <span class="where fmt-newline">where<br> T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a>, </span></code><a href='#impl-Unpin' class='anchor'></a></h3><div class='impl-items'></div><h3 id='impl-Send' class='impl'><code class='in-band'>impl<T> <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> for <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T> <span class="where fmt-newline">where<br> T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a>, </span></code><a href='#impl-Send' class='anchor'></a></h3><div class='impl-items'></div><h3 id='impl-Sync' class='impl'><code class='in-band'>impl<T> <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> for <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T> <span class="where fmt-newline">where<br> T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a>, </span></code><a href='#impl-Sync' class='anchor'></a></h3><div class='impl-items'></div><h3 id='impl-UnwindSafe' class='impl'><code class='in-band'>impl<T> <a class="trait" href="https://doc.rust-lang.org/nightly/std/panic/trait.UnwindSafe.html" title="trait std::panic::UnwindSafe">UnwindSafe</a> for <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T> <span class="where fmt-newline">where<br> T: <a class="trait" href="https://doc.rust-lang.org/nightly/std/panic/trait.UnwindSafe.html" title="trait std::panic::UnwindSafe">UnwindSafe</a>, </span></code><a href='#impl-UnwindSafe' class='anchor'></a></h3><div class='impl-items'></div><h3 id='impl-RefUnwindSafe' class='impl'><code class='in-band'>impl<T> <a class="trait" href="https://doc.rust-lang.org/nightly/std/panic/trait.RefUnwindSafe.html" title="trait std::panic::RefUnwindSafe">RefUnwindSafe</a> for <a class="struct" href="../num_rational/struct.Ratio.html" title="struct num_rational::Ratio">Ratio</a><T> <span class="where fmt-newline">where<br> T: <a class="trait" href="https://doc.rust-lang.org/nightly/std/panic/trait.RefUnwindSafe.html" title="trait std::panic::RefUnwindSafe">RefUnwindSafe</a>, </span></code><a href='#impl-RefUnwindSafe' class='anchor'></a></h3><div class='impl-items'></div></div><h2 id='blanket-implementations' class='small-section-header'>Blanket Implementations<a href='#blanket-implementations' class='anchor'></a></h2><div id='blanket-implementations-list'><h3 id='impl-From%3CT%3E-1' class='impl'><code class='in-band'>impl<T> <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><T> for T</code><a href='#impl-From%3CT%3E-1' class='anchor'></a><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/convert.rs.html#553-555' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.from-2' class="method hidden"><code id='from.v-2'>fn <a href='https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from' class='fnname'>from</a>(t: T) -> T</code><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/convert.rs.html#554' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p>
|
||
</div></div><h3 id='impl-TryFrom%3CU%3E' class='impl'><code class='in-band'>impl<T, U> <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a><U> for T <span class="where fmt-newline">where<br> U: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a><T>, </span></code><a href='#impl-TryFrom%3CU%3E' class='anchor'></a><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/convert.rs.html#584-590' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Error' class="type"><code id='Error.t'>type <a href='https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#associatedtype.Error' class="type">Error</a> = <a class="enum" href="https://doc.rust-lang.org/nightly/core/convert/enum.Infallible.html" title="enum core::convert::Infallible">Infallible</a></code></h4><div class='docblock'><p>The type returned in the event of a conversion error.</p>
|
||
</div><h4 id='method.try_from' class="method hidden"><code id='try_from.v'>fn <a href='https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#tymethod.try_from' class='fnname'>try_from</a>(value: U) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><T, <T as <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a><U>>::<a class="type" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#associatedtype.Error" title="type core::convert::TryFrom::Error">Error</a>></code><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/convert.rs.html#587-589' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p>
|
||
</div></div><h3 id='impl-Into%3CU%3E' class='impl'><code class='in-band'>impl<T, U> <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a><U> for T <span class="where fmt-newline">where<br> U: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><T>, </span></code><a href='#impl-Into%3CU%3E' class='anchor'></a><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/convert.rs.html#544-549' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.into-1' class="method hidden"><code id='into.v-1'>fn <a href='https://doc.rust-lang.org/nightly/core/convert/trait.Into.html#tymethod.into' class='fnname'>into</a>(self) -> U</code><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/convert.rs.html#546-548' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p>
|
||
</div></div><h3 id='impl-TryInto%3CU%3E' class='impl'><code class='in-band'>impl<T, U> <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryInto.html" title="trait core::convert::TryInto">TryInto</a><U> for T <span class="where fmt-newline">where<br> U: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a><T>, </span></code><a href='#impl-TryInto%3CU%3E' class='anchor'></a><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/convert.rs.html#572-579' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Error-1' class="type"><code id='Error.t-1'>type <a href='https://doc.rust-lang.org/nightly/core/convert/trait.TryInto.html#associatedtype.Error' class="type">Error</a> = <U as <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a><T>>::<a class="type" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#associatedtype.Error" title="type core::convert::TryFrom::Error">Error</a></code></h4><div class='docblock'><p>The type returned in the event of a conversion error.</p>
|
||
</div><h4 id='method.try_into' class="method hidden"><code id='try_into.v'>fn <a href='https://doc.rust-lang.org/nightly/core/convert/trait.TryInto.html#tymethod.try_into' class='fnname'>try_into</a>(self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><U, <U as <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a><T>>::<a class="type" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#associatedtype.Error" title="type core::convert::TryFrom::Error">Error</a>></code><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/convert.rs.html#576-578' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p>
|
||
</div></div><h3 id='impl-Borrow%3CT%3E' class='impl'><code class='in-band'>impl<T> <a class="trait" href="https://doc.rust-lang.org/nightly/core/borrow/trait.Borrow.html" title="trait core::borrow::Borrow">Borrow</a><T> for T <span class="where fmt-newline">where<br> T: ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, </span></code><a href='#impl-Borrow%3CT%3E' class='anchor'></a><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/borrow.rs.html#213-215' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.borrow' class="method hidden"><code id='borrow.v'>fn <a href='https://doc.rust-lang.org/nightly/core/borrow/trait.Borrow.html#tymethod.borrow' class='fnname'>borrow</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&</a>T</code><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/borrow.rs.html#214' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Immutably borrows from an owned value. <a href="https://doc.rust-lang.org/nightly/core/borrow/trait.Borrow.html#tymethod.borrow">Read more</a></p>
|
||
</div></div><h3 id='impl-BorrowMut%3CT%3E' class='impl'><code class='in-band'>impl<T> <a class="trait" href="https://doc.rust-lang.org/nightly/core/borrow/trait.BorrowMut.html" title="trait core::borrow::BorrowMut">BorrowMut</a><T> for T <span class="where fmt-newline">where<br> T: ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, </span></code><a href='#impl-BorrowMut%3CT%3E' class='anchor'></a><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/borrow.rs.html#218-220' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.borrow_mut' class="method hidden"><code id='borrow_mut.v'>fn <a href='https://doc.rust-lang.org/nightly/core/borrow/trait.BorrowMut.html#tymethod.borrow_mut' class='fnname'>borrow_mut</a>(&mut self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>T</code><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/borrow.rs.html#219' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Mutably borrows from an owned value. <a href="https://doc.rust-lang.org/nightly/core/borrow/trait.BorrowMut.html#tymethod.borrow_mut">Read more</a></p>
|
||
</div></div><h3 id='impl-Any' class='impl'><code class='in-band'>impl<T> <a class="trait" href="https://doc.rust-lang.org/nightly/core/any/trait.Any.html" title="trait core::any::Any">Any</a> for T <span class="where fmt-newline">where<br> T: 'static + ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, </span></code><a href='#impl-Any' class='anchor'></a><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/any.rs.html#98-100' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.type_id' class="method hidden"><code id='type_id.v'>fn <a href='https://doc.rust-lang.org/nightly/core/any/trait.Any.html#tymethod.type_id' class='fnname'>type_id</a>(&self) -> <a class="struct" href="https://doc.rust-lang.org/nightly/core/any/struct.TypeId.html" title="struct core::any::TypeId">TypeId</a></code><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/any.rs.html#99' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Gets the <code>TypeId</code> of <code>self</code>. <a href="https://doc.rust-lang.org/nightly/core/any/trait.Any.html#tymethod.type_id">Read more</a></p>
|
||
</div></div><h3 id='impl-ToString' class='impl'><code class='in-band'>impl<T> <a class="trait" href="https://doc.rust-lang.org/nightly/alloc/string/trait.ToString.html" title="trait alloc::string::ToString">ToString</a> for T <span class="where fmt-newline">where<br> T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.Display.html" title="trait core::fmt::Display">Display</a> + ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, </span></code><a href='#impl-ToString' class='anchor'></a><a class='srclink' href='https://doc.rust-lang.org/nightly/src/alloc/string.rs.html#2131-2141' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.to_string' class="method hidden"><code id='to_string.v'>default fn <a href='https://doc.rust-lang.org/nightly/alloc/string/trait.ToString.html#tymethod.to_string' class='fnname'>to_string</a>(&self) -> <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html" title="struct alloc::string::String">String</a></code><a class='srclink' href='https://doc.rust-lang.org/nightly/src/alloc/string.rs.html#2133-2140' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Converts the given value to a <code>String</code>. <a href="https://doc.rust-lang.org/nightly/alloc/string/trait.ToString.html#tymethod.to_string">Read more</a></p>
|
||
</div></div><h3 id='impl-ToOwned' class='impl'><code class='in-band'>impl<T> <a class="trait" href="https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html" title="trait alloc::borrow::ToOwned">ToOwned</a> for T <span class="where fmt-newline">where<br> T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a>, </span></code><a href='#impl-ToOwned' class='anchor'></a><a class='srclink' href='https://doc.rust-lang.org/nightly/src/alloc/borrow.rs.html#81-92' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Owned' class="type"><code id='Owned.t'>type <a href='https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#associatedtype.Owned' class="type">Owned</a> = T</code></h4><div class='docblock'><p>The resulting type after obtaining ownership.</p>
|
||
</div><h4 id='method.to_owned' class="method hidden"><code id='to_owned.v'>fn <a href='https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#tymethod.to_owned' class='fnname'>to_owned</a>(&self) -> T</code><a class='srclink' href='https://doc.rust-lang.org/nightly/src/alloc/borrow.rs.html#85-87' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Creates owned data from borrowed data, usually by cloning. <a href="https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#tymethod.to_owned">Read more</a></p>
|
||
</div><h4 id='method.clone_into' class="method hidden"><code id='clone_into.v'>fn <a href='https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#method.clone_into' class='fnname'>clone_into</a>(&self, target: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>T)</code><a class='srclink' href='https://doc.rust-lang.org/nightly/src/alloc/borrow.rs.html#89-91' title='goto source code'>[src]</a></h4><div class='stability hidden'><div class='stab unstable'><details><summary><span class='emoji'>🔬</span> This is a nightly-only experimental API. (<code>toowned_clone_into</code>)</summary><p>recently added</p>
|
||
</details></div></div><div class='docblock hidden'><p>Uses borrowed data to replace owned data, usually by cloning. <a href="https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#method.clone_into">Read more</a></p>
|
||
</div></div><h3 id='impl-NumOps%3CRhs%2C%20Output%3E' class='impl'><code class='in-band'>impl<T, Rhs, Output> <a class="trait" href="../num_traits/trait.NumOps.html" title="trait num_traits::NumOps">NumOps</a><Rhs, Output> for T <span class="where fmt-newline">where<br> T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Sub.html" title="trait core::ops::arith::Sub">Sub</a><Rhs, Output = Output> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html" title="trait core::ops::arith::Mul">Mul</a><Rhs, Output = Output> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html" title="trait core::ops::arith::Div">Div</a><Rhs, Output = Output> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Add.html" title="trait core::ops::arith::Add">Add</a><Rhs, Output = Output> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Rem.html" title="trait core::ops::arith::Rem">Rem</a><Rhs, Output = Output>, </span></code><a href='#impl-NumOps%3CRhs%2C%20Output%3E' class='anchor'></a><a class='srclink' href='../src/num_traits/lib.rs.html#93-100' title='goto source code'>[src]</a></h3><div class='impl-items'></div><h3 id='impl-NumRef' class='impl'><code class='in-band'>impl<T> <a class="trait" href="../num_traits/trait.NumRef.html" title="trait num_traits::NumRef">NumRef</a> for T <span class="where fmt-newline">where<br> T: <a class="trait" href="../num_traits/trait.Num.html" title="trait num_traits::Num">Num</a> + <a class="trait" href="../num_traits/trait.NumOps.html" title="trait num_traits::NumOps">NumOps</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'r </a>T, T>, </span></code><a href='#impl-NumRef' class='anchor'></a><a class='srclink' href='../src/num_traits/lib.rs.html#107' title='goto source code'>[src]</a></h3><div class='impl-items'></div><h3 id='impl-RefNum%3CBase%3E' class='impl'><code class='in-band'>impl<T, Base> <a class="trait" href="../num_traits/trait.RefNum.html" title="trait num_traits::RefNum">RefNum</a><Base> for T <span class="where fmt-newline">where<br> T: <a class="trait" href="../num_traits/trait.NumOps.html" title="trait num_traits::NumOps">NumOps</a><Base, Base> + <a class="trait" href="../num_traits/trait.NumOps.html" title="trait num_traits::NumOps">NumOps</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'r </a>Base, Base>, </span></code><a href='#impl-RefNum%3CBase%3E' class='anchor'></a><a class='srclink' href='../src/num_traits/lib.rs.html#114' title='goto source code'>[src]</a></h3><div class='impl-items'></div><h3 id='impl-NumAssignOps%3CRhs%3E' class='impl'><code class='in-band'>impl<T, Rhs> <a class="trait" href="../num_traits/trait.NumAssignOps.html" title="trait num_traits::NumAssignOps">NumAssignOps</a><Rhs> for T <span class="where fmt-newline">where<br> T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.AddAssign.html" title="trait core::ops::arith::AddAssign">AddAssign</a><Rhs> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.SubAssign.html" title="trait core::ops::arith::SubAssign">SubAssign</a><Rhs> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.MulAssign.html" title="trait core::ops::arith::MulAssign">MulAssign</a><Rhs> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.DivAssign.html" title="trait core::ops::arith::DivAssign">DivAssign</a><Rhs> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.RemAssign.html" title="trait core::ops::arith::RemAssign">RemAssign</a><Rhs>, </span></code><a href='#impl-NumAssignOps%3CRhs%3E' class='anchor'></a><a class='srclink' href='../src/num_traits/lib.rs.html#124-127' title='goto source code'>[src]</a></h3><div class='impl-items'></div><h3 id='impl-NumAssign' class='impl'><code class='in-band'>impl<T> <a class="trait" href="../num_traits/trait.NumAssign.html" title="trait num_traits::NumAssign">NumAssign</a> for T <span class="where fmt-newline">where<br> T: <a class="trait" href="../num_traits/trait.Num.html" title="trait num_traits::Num">Num</a> + <a class="trait" href="../num_traits/trait.NumAssignOps.html" title="trait num_traits::NumAssignOps">NumAssignOps</a><T>, </span></code><a href='#impl-NumAssign' class='anchor'></a><a class='srclink' href='../src/num_traits/lib.rs.html#133' title='goto source code'>[src]</a></h3><div class='impl-items'></div><h3 id='impl-NumAssignRef' class='impl'><code class='in-band'>impl<T> <a class="trait" href="../num_traits/trait.NumAssignRef.html" title="trait num_traits::NumAssignRef">NumAssignRef</a> for T <span class="where fmt-newline">where<br> T: <a class="trait" href="../num_traits/trait.NumAssign.html" title="trait num_traits::NumAssign">NumAssign</a> + <a class="trait" href="../num_traits/trait.NumAssignOps.html" title="trait num_traits::NumAssignOps">NumAssignOps</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'r </a>T>, </span></code><a href='#impl-NumAssignRef' class='anchor'></a><a class='srclink' href='../src/num_traits/lib.rs.html#140' title='goto source code'>[src]</a></h3><div class='impl-items'></div></div></section><section id="search" class="content hidden"></section><section class="footer"></section><aside id="help" class="hidden"><div><h1 class="hidden">Help</h1><div class="shortcuts"><h2>Keyboard Shortcuts</h2><dl><dt><kbd>?</kbd></dt><dd>Show this help dialog</dd><dt><kbd>S</kbd></dt><dd>Focus the search field</dd><dt><kbd>↑</kbd></dt><dd>Move up in search results</dd><dt><kbd>↓</kbd></dt><dd>Move down in search results</dd><dt><kbd>↹</kbd></dt><dd>Switch tab</dd><dt><kbd>⏎</kbd></dt><dd>Go to active search result</dd><dt><kbd>+</kbd></dt><dd>Expand all sections</dd><dt><kbd>-</kbd></dt><dd>Collapse all sections</dd></dl></div><div class="infos"><h2>Search Tricks</h2><p>Prefix searches with a type followed by a colon (e.g., <code>fn:</code>) to restrict the search to a given type.</p><p>Accepted types are: <code>fn</code>, <code>mod</code>, <code>struct</code>, <code>enum</code>, <code>trait</code>, <code>type</code>, <code>macro</code>, and <code>const</code>.</p><p>Search functions by type signature (e.g., <code>vec -> usize</code> or <code>* -> vec</code>)</p><p>Search multiple things at once by splitting your query with comma (e.g., <code>str,u8</code> or <code>String,struct:Vec,test</code>)</p></div></div></aside><script>window.rootPath = "../";window.currentCrate = "num_rational";</script><script src="../aliases.js"></script><script src="../main.js"></script><script defer src="../search-index.js"></script></body></html> |