You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
116 lines
107 KiB
116 lines
107 KiB
5 years ago
|
<!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 `Rad` struct in crate `cgmath`."><meta name="keywords" content="rust, rustlang, rust-lang, Rad"><title>cgmath::Rad - 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='../cgmath/index.html'><div class='logo-container'><img src='../rust-logo.png' alt='logo'></div></a><p class='location'>Struct Rad</p><div class="sidebar-elems"><div class="block items"><a class="sidebar-title" href="#implementations">Trait Implementations</a><div class="sidebar-links"><a href="#impl-AbsDiffEq%3CRad%3CS%3E%3E">AbsDiffEq<Rad<S>></a><a href="#impl-Add%3C%26%27a%20Rad%3CS%3E%3E">Add<&'a Rad<S>></a><a href="#impl-Add%3CRad%3CS%3E%3E">Add<Rad<S>></a><a href="#impl-AddAssign%3CRad%3CS%3E%3E">AddAssign<Rad<S>></a><a href="#impl-Angle">Angle</a><a href="#impl-Bounded">Bounded</a><a href="#impl-Clone">Clone</a><a href="#impl-Copy">Copy</a><a href="#impl-Debug">Debug</a><a href="#impl-Distribution%3CRad%3CS%3E%3E">Distribution<Rad<S>></a><a href="#impl-Div%3C%26%27a%20Rad%3CS%3E%3E">Div<&'a Rad<S>></a><a href="#impl-Div%3CRad%3CS%3E%3E">Div<Rad<S>></a><a href="#impl-Div%3CS%3E">Div<S></a><a href="#impl-DivAssign%3CS%3E">DivAssign<S></a><a href="#impl-From%3CDeg%3CS%3E%3E">From<Deg<S>></a><a href="#impl-From%3CRad%3CS%3E%3E">From<Rad<S>></a><a href="#impl-Mul%3CS%3E">Mul<S></a><a href="#impl-MulAssign%3CS%3E">MulAssign<S></a><a href="#impl-Neg">Neg</a><a href="#impl-PartialEq%3CRad%3CS%3E%3E">PartialEq<Rad<S>></a><a href="#impl-PartialOrd%3CRad%3CS%3E%3E">PartialOrd<Rad<S>></a><a href="#impl-RelativeEq%3CRad%3CS%3E%3E">RelativeEq<Rad<S>></a><a href="#impl-Rem%3C%26%27a%20Rad%3CS%3E%3E">Rem<&'a Rad<S>></a><a href="#impl-Rem%3CRad%3CS%3E%3E">Rem<Rad<S>></a><a href="#impl-RemAssign%3CRad%3CS%3E%3E">RemAssign<Rad<S>></a><a href="#impl-Sub%3C%26%27a%20Rad%3CS%3E%3E">Sub<&'a Rad<S>></a><a href="#impl-Sub%3CRad%3CS%3E%3E">Sub<Rad<S>></a><a href="#impl-SubAssign%3CRad%3CS%3E%3E">SubAssign<Rad<S>></a><a href="#impl-Sum%3C%26%27a%20Rad%3CS%3E%3E">Sum<&'a Rad<S>></a><a href="#impl-Sum%3CRad%3CS%3E%3E">Sum<Rad<S>></a><a href="#impl-UlpsEq%3CRad%3CS%3E%3E">UlpsEq<Rad<S>></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-NumAssignOps%3CRhs%3E">NumAssignOps<Rhs></a><a href="#impl-ToOwned">ToOwned<
|
||
|
</span>pub struct Rad<S>(pub S);</pre></div><div class='docblock'><p>An angle, in radians.</p>
|
||
|
<p>This type is marked as <code>#[repr(C)]</code>.</p>
|
||
|
</div><h2 id='implementations' class='small-section-header'>Trait Implementations<a href='#implementations' class='anchor'></a></h2><div id='implementations-list'><h3 id='impl-Angle' class='impl'><code class='in-band'>impl<S: <a class="trait" href="../cgmath/trait.BaseFloat.html" title="trait cgmath::BaseFloat">BaseFloat</a>> <a class="trait" href="../cgmath/prelude/trait.Angle.html" title="trait cgmath::prelude::Angle">Angle</a> for <a class="struct" href="../cgmath/struct.Rad.html" title="struct cgmath::Rad">Rad</a><S></code><a href='#impl-Angle' class='anchor'></a><a class='srclink' href='../src/cgmath/angle.rs.html#97-111' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Unitless' class="type"><code id='Unitless.t'>type <a href='../cgmath/prelude/trait.Angle.html#associatedtype.Unitless' class="type">Unitless</a> = S</code></h4><h4 id='method.full_turn' class="method hidden"><code id='full_turn.v'>fn <a href='../cgmath/prelude/trait.Angle.html#tymethod.full_turn' class='fnname'>full_turn</a>() -> <a class="struct" href="../cgmath/struct.Rad.html" title="struct cgmath::Rad">Rad</a><S></code><a class='srclink' href='../src/cgmath/angle.rs.html#100' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>A full rotation.</p>
|
||
|
</div><h4 id='method.sin' class="method hidden"><code id='sin.v'>fn <a href='../cgmath/prelude/trait.Angle.html#tymethod.sin' class='fnname'>sin</a>(self) -> S</code><a class='srclink' href='../src/cgmath/angle.rs.html#102' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Compute the sine of the angle, returning a unitless ratio. <a href="../cgmath/prelude/trait.Angle.html#tymethod.sin">Read more</a></p>
|
||
|
</div><h4 id='method.cos' class="method hidden"><code id='cos.v'>fn <a href='../cgmath/prelude/trait.Angle.html#tymethod.cos' class='fnname'>cos</a>(self) -> S</code><a class='srclink' href='../src/cgmath/angle.rs.html#103' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Compute the cosine of the angle, returning a unitless ratio. <a href="../cgmath/prelude/trait.Angle.html#tymethod.cos">Read more</a></p>
|
||
|
</div><h4 id='method.tan' class="method hidden"><code id='tan.v'>fn <a href='../cgmath/prelude/trait.Angle.html#tymethod.tan' class='fnname'>tan</a>(self) -> S</code><a class='srclink' href='../src/cgmath/angle.rs.html#104' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Compute the tangent of the angle, returning a unitless ratio. <a href="../cgmath/prelude/trait.Angle.html#tymethod.tan">Read more</a></p>
|
||
|
</div><h4 id='method.sin_cos' class="method hidden"><code id='sin_cos.v'>fn <a href='../cgmath/prelude/trait.Angle.html#tymethod.sin_cos' class='fnname'>sin_cos</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">(</a>S, S<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">)</a></code><a class='srclink' href='../src/cgmath/angle.rs.html#105' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Compute the sine and cosine of the angle, returning the result as a pair. <a href="../cgmath/prelude/trait.Angle.html#tymethod.sin_cos">Read more</a></p>
|
||
|
</div><h4 id='method.asin' class="method hidden"><code id='asin.v'>fn <a href='../cgmath/prelude/trait.Angle.html#tymethod.asin' class='fnname'>asin</a>(a: S) -> <a class="struct" href="../cgmath/struct.Rad.html" title="struct cgmath::Rad">Rad</a><S></code><a class='srclink' href='../src/cgmath/angle.rs.html#107' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Compute the arcsine of the ratio, returning the resulting angle. <a href="../cgmath/prelude/trait.Angle.html#tymethod.asin">Read more</a></p>
|
||
|
</div><h4 id='method.acos' class="method hidden"><code id='acos.v'>fn <a href='../cgmath/prelude/trait.Angle.html#tymethod.acos' class='fnname'>acos</a>(a: S) -> <a class="struct" href="../cgmath/struct.Rad.html" title="struct cgmath::Rad">Rad</a><S></code><a class='srclink' href='../src/cgmath/angle.rs.html#108' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Compute the arccosine of the ratio, returning the resulting angle. <a href="../cgmath/prelude/trait.Angle.html#tymethod.acos">Read more</a></p>
|
||
|
</div><h4 id='method.atan' class="method hidden"><code id='atan.v'>fn <a href='../cgmath/prelude/trait.Angle.html#tymethod.atan' class='fnname'>atan</a>(a: S) -> <a class="struct" href="../cgmath/struct.Rad.html" title="struct cgmath::Rad">Rad</a><S></code><a class='srclink' href='../src/cgmath/angle.rs.html#109' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Compute the arctangent of the ratio, returning the resulting angle. <a href="../cgmath/prelude/trait.Angle.html#tymethod.atan">Read more</a></p>
|
||
|
</div><h4 id='method.atan2' class="method hidden"><code id='atan2.v'>fn <a href='../cgmath/prelude/trait.Angle.html#tymethod.atan2' class='fnname'>atan2</a>(a: S, b: S) -> <a class="struct" href="../cgmath/struct.Rad.html" title="struct cgmath::Rad">Rad</a><S></code><a class='srclink' href='../src/cgmath/angle.rs.html#110' title='goto source code'>[src]</a></h4><h4 id='method.normalize' class="method hidden"><code id='normalize.v'>fn <a href='../cgmath/prelude/trait.Angle.html#method.normalize' class='fnname'>normalize</a>(self) -> Self</code><a class='srclink' href='../src/cgmath/structure.rs.html#597-604' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Return the angle, normalized to the range <code>[0, full_turn)</code>.</p>
|
||
|
</div><h4 id='method.normalize_signed' class="method hidden"><code id='normalize_signed.v'>fn <a href='../cgmath/prelude/trait.Angle.html#method.normalize_signed' class='fnname'>normalize_signed</a>(self) -> Self</code><a class='srclink' href='../src/cgmath/structure.rs.html#608-611' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Return the angle, normalized to the range <code>[-turn_div_2, turn_div_2)</code>.</p>
|
||
|
</div><h4 id='method.opposite' class="method hidden"><code id='opposite.v'>fn <a href='../cgmath/prelude/trait.Angle.html#method.opposite' class='fnname'>opposite</a>(self) -> Self</code><a class='srclink' href='../src/cgmath/structure.rs.html#615-617' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Return the angle rotated by half a turn.</p>
|
||
|
</div><h4 id='method.bisect' class="method hidden"><code id='bisect.v'>fn <a href='../cgmath/prelude/trait.Angle.html#method.bisect' class='fnname'>bisect</a>(self, other: Self) -> Self</code><a class='srclink' href='../src/cgmath/structure.rs.html#621-624' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Returns the interior bisector of the two angles.</p>
|
||
|
</div><h4 id='method.turn_div_2' class="method hidden"><code id='turn_div_2.v'>fn <a href='../cgmath/prelude/trait.Angle.html#method.turn_div_2' class='fnname'>turn_div_2</a>() -> Self</code><a class='srclink' href='../src/cgmath/structure.rs.html#631-634' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Half of a full rotation.</p>
|
||
|
</div><h4 id='method.turn_div_3' class="method hidden"><code id='turn_div_3.v'>fn <a href='../cgmath/prelude/trait.Angle.html#method.turn_div_3' class='fnname'>turn_div_3</a>() -> Self</code><a class='srclink' href='../src/cgmath/structure.rs.html#638-641' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>A third of a full rotation.</p>
|
||
|
</div><h4 id='method.turn_div_4' class="method hidden"><code id='turn_div_4.v'>fn <a href='../cgmath/prelude/trait.Angle.html#method.turn_div_4' class='fnname'>turn_div_4</a>() -> Self</code><a class='srclink' href='../src/cgmath/structure.rs.html#645-648' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>A quarter of a full rotation.</p>
|
||
|
</div><h4 id='method.turn_div_6' class="method hidden"><code id='turn_div_6.v'>fn <a href='../cgmath/prelude/trait.Angle.html#method.turn_div_6' class='fnname'>turn_div_6</a>() -> Self</code><a class='srclink' href='../src/cgmath/structure.rs.html#652-655' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>A sixth of a full rotation.</p>
|
||
|
</div><h4 id='method.csc' class="method hidden"><code id='csc.v'>fn <a href='../cgmath/prelude/trait.Angle.html#method.csc' class='fnname'>csc</a>(self) -> Self::<a class="type" href="../cgmath/prelude/trait.Angle.html#associatedtype.Unitless" title="type cgmath::prelude::Angle::Unitless">Unitless</a></code><a class='srclink' href='../src/cgmath/structure.rs.html#717-719' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Compute the cosecant of the angle. <a href="../cgmath/prelude/trait.Angle.html#method.csc">Read more</a></p>
|
||
|
</div><h4 id='method.cot' class="method hidden"><code id='cot.v'>fn <a href='../cgmath/prelude/trait.Angle.html#method.cot' class='fnname'>cot</a>(self) -> Self::<a class="type" href="../cgmath/prelude/trait.Angle.html#associatedtype.Unitless" title="type cgmath::prelude::Angle::Unitless">Unitless</a></code><a class='srclink' href='../src/cgmath/structure.rs.html#733-735' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Compute the cotangent of the angle. <a href="../cgmath/prelude/trait.Angle.html#method.cot">Read more</a></p>
|
||
|
</div><h4 id='method.sec' class="method hidden"><code id='sec.v'>fn <a href='../cgmath/prelude/trait.Angle.html#method.sec' class='fnname'>sec</a>(self) -> Self::<a class="type" href="../cgmath/prelude/trait.Angle.html#associatedtype.Unitless" title="type cgmath::prelude::Angle::Unitless">Unitless</a></code><a class='srclink' href='../src/cgmath/structure.rs.html#749-751' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Compute the secant of the angle. <a href="../cgmath/prelude/trait.Angle.html#method.sec">Read more</a></p>
|
||
|
</div></div><h3 id='impl-Clone' class='impl'><code class='in-band'>impl<S: <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="../cgmath/struct.Rad.html" title="struct cgmath::Rad">Rad</a><S></code><a href='#impl-Clone' class='anchor'></a><a class='srclink' href='../src/cgmath/angle.rs.html#37' 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="../cgmath/struct.Rad.html" title="struct cgmath::Rad">Rad</a><S></code><a class='srclink' href='../src/cgmath/angle.rs.html#37' 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-PartialOrd%3CRad%3CS%3E%3E' class='impl'><code class='in-band'>impl<S: <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html" title="trait core::cmp::PartialOrd">PartialOrd</a>> <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html" title="trait core::cmp::PartialOrd">PartialOrd</a><<a class="struct" href="../cgmath/struct.Rad.html" title="struct cgmath::Rad">Rad</a><S>> for <a class="struct" href="../cgmath/struct.Rad.html" title="struct cgmath::Rad">Rad</a><S></code><a href='#impl-PartialOrd%3CRad%3CS%3E%3E' class='anchor'></a><a class='srclink' href='../src/cgmath/angle.rs.html#37' 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="struct" href="../cgmath/struct.Rad.html" title="struct cgmath::Rad">Rad</a><S>) -> <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/cgmath/angle.rs.html#37' 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'>fn <a href='https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html#method.lt' class='fnname'>lt</a>(&self, other: &<a class="struct" href="../cgmath/struct.Rad.html" title="struct cgmath::Rad">Rad</a><S>) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code><a class='srclink' href='../src/cgmath/angle.rs.html#37' 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'>fn <a href='https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html#method.le' class='fnname'>le</a>(&self, other: &<a class="struct" href="../cgmath/struct.Rad.html" title="struct cgmath::Rad">Rad</a><S>) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code><a class='srclink' href='../src/cgmath/angle.rs.html#37' 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'>fn <a href='https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html#method.gt' class='fnname'>gt</a>(&self, other: &<a class="struct" href="../cgmath/struct.Rad.html" title="struct cgmath::Rad">Rad</a><S>) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code><a class='srclink' href='../src/cgmath/angle.rs.html#37' 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'>fn <a href='https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html#method.ge' class='fnname'>ge</a>(&self, other: &<a class="struct" href="../cgmath/struct.Rad.html" title="struct cgmath::Rad">Rad</a><S>) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code><a class='srclink' href='../src/cgmath/angle.rs.html#37' 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-PartialEq%3CRad%3CS%3E%3E' class='impl'><code class='in-band'>impl<S: <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</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="../cgmath/struct.Rad.html" title="struct cgmath::Rad">Rad</a><S>> for <a class="struct" href="../cgmath/struct.Rad.html" title="struct cgmath::Rad">Rad</a><S></code><a href='#impl-PartialEq%3CRad%3CS%3E%3E' class='anchor'></a><a class='srclink' href='../src/cgmath/angle.rs.html#37' 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="struct" href="../cgmath/struct.Rad.html" title="struct cgmath::Rad">Rad</a><S>) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code><a class='srclink' href='../src/cgmath/angle.rs.html#37' 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'>fn <a href='https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#method.ne' class='fnname'>ne</a>(&self, other: &<a class="struct" href="../cgmath/struct.Rad.html" title="struct cgmath::Rad">Rad</a><S>) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code><a class='srclink' href='../src/cgmath/angle.rs.html#37' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>This method tests for <code>!=</code>.</p>
|
||
|
</div></div><h3 id='impl-From%3CRad%3CS%3E%3E' class='impl'><code class='in-band'>impl<S> <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><<a class="struct" href="../cgmath/struct.Rad.html" title="struct cgmath::Rad">Rad</a><S>> for <a class="struct" href="../cgmath/struct.Deg.html" title="struct cgmath::Deg">Deg</a><S> <span class="where fmt-newline">where<br> S: <a class="trait" href="../cgmath/trait.BaseFloat.html" title="trait cgmath::BaseFloat">BaseFloat</a>, </span></code><a href='#impl-From%3CRad%3CS%3E%3E' class='anchor'></a><a class='srclink' href='../src/cgmath/angle.rs.html#49-57' 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>(rad: <a class="struct" href="../cgmath/struct.Rad.html" title="struct cgmath::Rad">Rad</a><S>) -> <a class="struct" href="../cgmath/struct.Deg.html" title="struct cgmath::Deg">Deg</a><S></code><a class='srclink' href='../src/cgmath/angle.rs.html#54-56' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p>
|
||
|
</div></div><h3 id='impl-From%3CDeg%3CS%3E%3E' class='impl'><code class='in-band'>impl<S> <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><<a class="struct" href="../cgmath/struct.Deg.html" title="struct cgmath::Deg">Deg</a><S>> for <a class="struct" href="../cgmath/struct.Rad.html" title="struct cgmath::Rad">Rad</a><S> <span class="where fmt-newline">where<br> S: <a class="trait" href="../cgmath/trait.BaseFloat.html" title="trait cgmath::BaseFloat">BaseFloat</a>, </span></code><a href='#impl-From%3CDeg%3CS%3E%3E' class='anchor'></a><a class='srclink' href='../src/cgmath/angle.rs.html#59-67' 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>(deg: <a class="struct" href="../cgmath/struct.Deg.html" title="struct cgmath::Deg">Deg</a><S>) -> <a class="struct" href="../cgmath/struct.Rad.html" title="struct cgmath::Rad">Rad</a><S></code><a class='srclink' href='../src/cgmath/angle.rs.html#64-66' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p>
|
||
|
</div></div><h3 id='impl-Copy' class='impl'><code class='in-band'>impl<S: <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="../cgmath/struct.Rad.html" title="struct cgmath::Rad">Rad</a><S></code><a href='#impl-Copy' class='anchor'></a><a class='srclink' href='../src/cgmath/angle.rs.html#37' title='goto source code'>[src]</a></h3><div class='impl-items'></div><h3 id='impl-Add%3CRad%3CS%3E%3E' class='impl'><code class='in-band'>impl<S: <a class="trait" href="../cgmath/trait.BaseFloat.html" title="trait cgmath::BaseFloat">BaseFloat</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="../cgmath/struct.Rad.html" title="struct cgmath::Rad">Rad</a><S>> for <a class="struct" href="../cgmath/struct.Rad.html" title="struct cgmath::Rad">Rad</a><S></code><a href='#impl-Add%3CRad%3CS%3E%3E' class='anchor'></a><a class='srclink' href='../src/cgmath/macros.rs.html#66-72' 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.Add.html#associatedtype.Output' class="type">Output</a> = <a class="struct" href="../cgmath/struct.Rad.html" title="struct cgmath::Rad">Rad</a><S></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: <a class="struct" href="../cgmath/struct.Rad.html" title="struct cgmath::Rad">Rad</a><S>) -> <a class="struct" href="../cgmath/struct.Rad.html" title="struct cgmath::Rad">Rad</a><S></code><a class='srclink' href='../src/cgmath/macros.rs.html#69-71' 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%20Rad%3CS%3E%3E' class='impl'><code class='in-band'>impl<'a, S: <a class="trait" href="../cgmath/trait.BaseFloat.html" title="trait cgmath::BaseFloat">BaseFloat</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 <a class="struct" href="../cgmath/struct.Rad.html" title="struct cgmath::Rad">Rad</a><S>> for <a class="struct" href="../cgmath/struct.Rad.html" title="struct cgmath::Rad">Rad</a><S></code><a href='#impl-Add%3C%26%27a%20Rad%3CS%3E%3E' class='anchor'></a><a class='srclink' href='../src/cgmath/macros.rs.html#74-80' 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.Add.html#associatedtype.Output' class="type">Output</a> = <a class="struct" href="../cgmath/struct.Rad.html" title="struct cgmath::Rad">Rad</a><S></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 <a class="struct" href="../cgmath/struct.Rad.html" title="struct cgmath::Rad">Rad</a><S>) -> <a class="struct" href="../cgmath/struct.Rad.html" title="struct cgmath::Rad">Rad</a><S></code><a class='srclink' href='../src/cgmath/macros.rs.html#77-79' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the <code>+</code> operation.</p>
|
||
|
</div></div><h3 id='impl-Add%3CRad%3CS%3E%3E-1' class='impl'><code class='in-band'>impl<'a, S: <a class="trait" href="../cgmath/trait.BaseFloat.html" title="trait cgmath::BaseFloat">BaseFloat</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="../cgmath/struct.Rad.html" title="struct cgmath::Rad">Rad</a><S>> for &'a <a class="struct" href="../cgmath/struct.Rad.html" title="struct cgmath::Rad">Rad</a><S></code><a href='#impl-Add%3CRad%3CS%3E%3E-1' class='anchor'></a><a class='srclink' href='../src/cgmath/macros.rs.html#82-88' 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.Add.html#associatedtype.Output' class="type">Output</a> = <a class="struct" href="../cgmath/struct.Rad.html" title="struct cgmath::Rad">Rad</a><S></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="../cgmath/struct.Rad.html" title="struct cgmath::Rad">Rad</a><S>) -> <a class="struct" href="../cgmath/struct.Rad.html" title="struct cgmath::Rad">Rad</a><S></code><a class='srclink' href='../src/cgmath/macros.rs.html#85-87' 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%20Rad%3CS%3E%3E-1' class='impl'><code class='in-band'>impl<'a, 'b, S: <a class="trait" href="../cgmath/trait.BaseFloat.html" title="trait cgmath::BaseFloat">BaseFloat</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 <a class="struct" href="../cgmath/struct.Rad.html" title="struct cgmath::Rad">Rad</a><S>> for &'b <a class="struct" href="../cgmath/struct.Rad.html" title="struct cgmath::Rad">Rad</a><S></code><a href='#impl-Add%3C%26%27a%20Rad%3CS%3E%3E-1' class='anchor'></a><a class='srclink' href='../src/cgmath/macros.rs.html#90-96' 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.Add.html#associatedtype.Output' class="type">Output</a> = <a class="struct" href="../cgmath/struct.Rad.html" title="struct cgmath::Rad">Rad</a><S></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: &'a <a class="struct" href="../cgmath/struct.Rad.html" title="struct cgmath::Rad">Rad</a><S>) -> <a class="struct" href="../cgmath/struct.Rad.html" title="struct cgmath::Rad">Rad</a><S></code><a class='srclink' href='../src/cgmath/macros.rs.html#93-95' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the <code>+</code> operation.</p>
|
||
|
</div></div><h3 id='impl-Sub%3CRad%3CS%3E%3E' class='impl'><code class='in-band'>impl<S: <a class="trait" href="../cgmath/trait.BaseFloat.html" title="trait cgmath::BaseFloat">BaseFloat</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="../cgmath/struct.Rad.html" title="struct cgmath::Rad">Rad</a><S>> for <a class="struct" href="../cgmath/struct.Rad.html" title="struct cgmath::Rad">Rad</a><S></code><a href='#impl-Sub%3CRad%3CS%3E%3E' class='anchor'></a><a class='srclink' href='../src/cgmath/macros.rs.html#66-72' 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.Sub.html#associatedtype.Output' class="type">Output</a> = <a class="struct" href="../cgmath/struct.Rad.html" title="struct cgmath::Rad">Rad</a><S></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: <a class="struct" href="../cgmath/struct.Rad.html" title="struct cgmath::Rad">Rad</a><S>) -> <a class="struct" href="../cgmath/struct.Rad.html" title="struct cgmath::Rad">Rad</a><S></code><a class='srclink' href='../src/cgmath/macros.rs.html#69-71' 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%20Rad%3CS%3E%3E' class='impl'><code class='in-band'>impl<'a, S: <a class="trait" href="../cgmath/trait.BaseFloat.html" title="trait cgmath::BaseFloat">BaseFloat</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 <a class="struct" href="../cgmath/struct.Rad.html" title="struct cgmath::Rad">Rad</a><S>> for <a class="struct" href="../cgmath/struct.Rad.html" title="struct cgmath::Rad">Rad</a><S></code><a href='#impl-Sub%3C%26%27a%20Rad%3CS%3E%3E' class='anchor'></a><a class='srclink' href='../src/cgmath/macros.rs.html#74-80' 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.Sub.html#associatedtype.Output' class="type">Output</a> = <a class="struct" href="../cgmath/struct.Rad.html" title="struct cgmath::Rad">Rad</a><S></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 <a class="struct" href="../cgmath/struct.Rad.html" title="struct cgmath::Rad">Rad</a><S>) -> <a class="struct" href="../cgmath/struct.Rad.html" title="struct cgmath::Rad">Rad</a><S></code><a class='srclink' href='../src/cgmath/macros.rs.html#77-79' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the <code>-</code> operation.</p>
|
||
|
</div></div><h3 id='impl-Sub%3CRad%3CS%3E%3E-1' class='impl'><code class='in-band'>impl<'a, S: <a class="trait" href="../cgmath/trait.BaseFloat.html" title="trait cgmath::BaseFloat">BaseFloat</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="../cgmath/struct.Rad.html" title="struct cgmath::Rad">Rad</a><S>> for &'a <a class="struct" href="../cgmath/struct.Rad.html" title="struct cgmath::Rad">Rad</a><S></code><a href='#impl-Sub%3CRad%3CS%3E%3E-1' class='anchor'></a><a class='srclink' href='../src/cgmath/macros.rs.html#82-88' 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.Sub.html#associatedtype.Output' class="type">Output</a> = <a class="struct" href="../cgmath/struct.Rad.html" title="struct cgmath::Rad">Rad</a><S></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="../cgmath/struct.Rad.html" title="struct cgmath::Rad">Rad</a><S>) -> <a class="struct" href="../cgmath/struct.Rad.html" title="struct cgmath::Rad">Rad</a><S></code><a class='srclink' href='../src/cgmath/macros.rs.html#85-87' 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%20Rad%3CS%3E%3E-1' class='impl'><code class='in-band'>impl<'a, 'b, S: <a class="trait" href="../cgmath/trait.BaseFloat.html" title="trait cgmath::BaseFloat">BaseFloat</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 <a class="struct" href="../cgmath/struct.Rad.html" title="struct cgmath::Rad">Rad</a><S>> for &'b <a class="struct" href="../cgmath/struct.Rad.html" title="struct cgmath::Rad">Rad</a><S></code><a href='#impl-Sub%3C%26%27a%20Rad%3CS%3E%3E-1' class='anchor'></a><a class='srclink' href='../src/cgmath/macros.rs.html#90-96' 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.Sub.html#associatedtype.Output' class="type">Output</a> = <a class="struct" href="../cgmath/struct.Rad.html" title="struct cgmath::Rad">Rad</a><S></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: &'a <a class="struct" href="../cgmath/struct.Rad.html" title="struct cgmath::Rad">Rad</a><S>) -> <a class="struct" href="../cgmath/struct.Rad.html" title="struct cgmath::Rad">Rad</a><S></code><a class='srclink' href='../src/cgmath/macros.rs.html#93-95' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the <code>-</code> operation.</p>
|
||
|
</div></div><h3 id='impl-Mul%3CS%3E' class='impl'><code class='in-band'>impl<S: <a class="trait" href="../cgmath/trait.BaseFloat.html" title="trait cgmath::BaseFloat">BaseFloat</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><S> for <a class="struct" href="../cgmath/struct.Rad.html" title="struct cgmath::Rad">Rad</a><S></code><a href='#impl-Mul%3CS%3E' class='anchor'></a><a class='srclink' href='../src/cgmath/macros.rs.html#46-52' 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.Mul.html#associatedtype.Output' class="type">Output</a> = <a class="struct" href="../cgmath/struct.Rad.html" title="struct cgmath::Rad">Rad</a><S></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: S) -> <a class="struct" href="../cgmath/struct.Rad.html" title="struct cgmath::Rad">Rad</a><S></code><a class='srclink' href='../src/cgmath/macros.rs.html#49-51' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the <code>*</code> operation.</p>
|
||
|
</div></div><h3 id='impl-Mul%3CS%3E-1' class='impl'><code class='in-band'>impl<'a, S: <a class="trait" href="../cgmath/trait.BaseFloat.html" title="trait cgmath::BaseFloat">BaseFloat</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><S> for &'a <a class="struct" href="../cgmath/struct.Rad.html" title="struct cgmath::Rad">Rad</a><S></code><a href='#impl-Mul%3CS%3E-1' class='anchor'></a><a class='srclink' href='../src/cgmath/macros.rs.html#54-60' 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.Mul.html#associatedtype.Output' class="type">Output</a> = <a class="struct" href="../cgmath/struct.Rad.html" title="struct cgmath::Rad">Rad</a><S></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: S) -> <a class="struct" href="../cgmath/struct.Rad.html" title="struct cgmath::Rad">Rad</a><S></code><a class='srclink' href='../src/cgmath/macros.rs.html#57-59' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the <code>*</code> operation.</p>
|
||
|
</div></div><h3 id='impl-Div%3CRad%3CS%3E%3E' class='impl'><code class='in-band'>impl<S: <a class="trait" href="../cgmath/trait.BaseFloat.html" title="trait cgmath::BaseFloat">BaseFloat</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="struct" href="../cgmath/struct.Rad.html" title="struct cgmath::Rad">Rad</a><S>> for <a class="struct" href="../cgmath/struct.Rad.html" title="struct cgmath::Rad">Rad</a><S></code><a href='#impl-Div%3CRad%3CS%3E%3E' class='anchor'></a><a class='srclink' href='../src/cgmath/macros.rs.html#66-72' 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.Div.html#associatedtype.Output' class="type">Output</a> = S</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: <a class="struct" href="../cgmath/struct.Rad.html" title="struct cgmath::Rad">Rad</a><S>) -> S</code><a class='srclink' href='../src/cgmath/macros.rs.html#69-71' 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%20Rad%3CS%3E%3E' class='impl'><code class='in-band'>impl<'a, S: <a class="trait" href="../cgmath/trait.BaseFloat.html" title="trait cgmath::BaseFloat">BaseFloat</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 <a class="struct" href="../cgmath/struct.Rad.html" title="struct cgmath::Rad">Rad</a><S>> for <a class="struct" href="../cgmath/struct.Rad.html" title="struct cgmath::Rad">Rad</a><S></code><a href='#impl-Div%3C%26%27a%20Rad%3CS%3E%3E' class='anchor'></a><a class='srclink' href='../src/cgmath/macros.rs.html#74-80' 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.Div.html#associatedtype.Output' class="type">Output</a> = S</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 <a class="struct" href="../cgmath/struct.Rad.html" title="struct cgmath::Rad">Rad</a><S>) -> S</code><a class='srclink' href='../src/cgmath/macros.rs.html#77-79' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the <code>/</code> operation.</p>
|
||
|
</div></div><h3 id='impl-Div%3CRad%3CS%3E%3E-1' class='impl'><code class='in-band'>impl<'a, S: <a class="trait" href="../cgmath/trait.BaseFloat.html" title="trait cgmath::BaseFloat">BaseFloat</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="struct" href="../cgmath/struct.Rad.html" title="struct cgmath::Rad">Rad</a><S>> for &'a <a class="struct" href="../cgmath/struct.Rad.html" title="struct cgmath::Rad">Rad</a><S></code><a href='#impl-Div%3CRad%3CS%3E%3E-1' class='anchor'></a><a class='srclink' href='../src/cgmath/macros.rs.html#82-88' 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.Div.html#associatedtype.Output' class="type">Output</a> = S</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="../cgmath/struct.Rad.html" title="struct cgmath::Rad">Rad</a><S>) -> S</code><a class='srclink' href='../src/cgmath/macros.rs.html#85-87' 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%20Rad%3CS%3E%3E-1' class='impl'><code class='in-band'>impl<'a, 'b, S: <a class="trait" href="../cgmath/trait.BaseFloat.html" title="trait cgmath::BaseFloat">BaseFloat</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 <a class="struct" href="../cgmath/struct.Rad.html" title="struct cgmath::Rad">Rad</a><S>> for &'b <a class="struct" href="../cgmath/struct.Rad.html" title="struct cgmath::Rad">Rad</a><S></code><a href='#impl-Div%3C%26%27a%20Rad%3CS%3E%3E-1' class='anchor'></a><a class='srclink' href='../src/cgmath/macros.rs.html#90-96' 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.Div.html#associatedtype.Output' class="type">Output</a> = S</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: &'a <a class="struct" href="../cgmath/struct.Rad.html" title="struct cgmath::Rad">Rad</a><S>) -> S</code><a class='srclink' href='../src/cgmath/macros.rs.html#93-95' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the <code>/</code> operation.</p>
|
||
|
</div></div><h3 id='impl-Div%3CS%3E' class='impl'><code class='in-band'>impl<S: <a class="trait" href="../cgmath/trait.BaseFloat.html" title="trait cgmath::BaseFloat">BaseFloat</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><S> for <a class="struct" href="../cgmath/struct.Rad.html" title="struct cgmath::Rad">Rad</a><S></code><a href='#impl-Div%3CS%3E' class='anchor'></a><a class='srclink' href='../src/cgmath/macros.rs.html#46-52' 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.Div.html#associatedtype.Output' class="type">Output</a> = <a class="struct" href="../cgmath/struct.Rad.html" title="struct cgmath::Rad">Rad</a><S></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: S) -> <a class="struct" href="../cgmath/struct.Rad.html" title="struct cgmath::Rad">Rad</a><S></code><a class='srclink' href='../src/cgmath/macros.rs.html#49-51' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the <code>/</code> operation.</p>
|
||
|
</div></div><h3 id='impl-Div%3CS%3E-1' class='impl'><code class='in-band'>impl<'a, S: <a class="trait" href="../cgmath/trait.BaseFloat.html" title="trait cgmath::BaseFloat">BaseFloat</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><S> for &'a <a class="struct" href="../cgmath/struct.Rad.html" title="struct cgmath::Rad">Rad</a><S></code><a href='#impl-Div%3CS%3E-1' class='anchor'></a><a class='srclink' href='../src/cgmath/macros.rs.html#54-60' 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.Div.html#associatedtype.Output' class="type">Output</a> = <a class="struct" href="../cgmath/struct.Rad.html" title="struct cgmath::Rad">Rad</a><S></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: S) -> <a class="struct" href="../cgmath/struct.Rad.html" title="struct cgmath::Rad">Rad</a><S></code><a class='srclink' href='../src/cgmath/macros.rs.html#57-59' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the <code>/</code> operation.</p>
|
||
|
</div></div><h3 id='impl-Rem%3CRad%3CS%3E%3E' class='impl'><code class='in-band'>impl<S: <a class="trait" href="../cgmath/trait.BaseFloat.html" title="trait cgmath::BaseFloat">BaseFloat</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="../cgmath/struct.Rad.html" title="struct cgmath::Rad">Rad</a><S>> for <a class="struct" href="../cgmath/struct.Rad.html" title="struct cgmath::Rad">Rad</a><S></code><a href='#impl-Rem%3CRad%3CS%3E%3E' class='anchor'></a><a class='srclink' href='../src/cgmath/macros.rs.html#66-72' 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.Rem.html#associatedtype.Output' class="type">Output</a> = <a class="struct" href="../cgmath/struct.Rad.html" title="struct cgmath::Rad">Rad</a><S></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: <a class="struct" href="../cgmath/struct.Rad.html" title="struct cgmath::Rad">Rad</a><S>) -> <a class="struct" href="../cgmath/struct.Rad.html" title="struct cgmath::Rad">Rad</a><S></code><a class='srclink' href='../src/cgmath/macros.rs.html#69-71' 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%20Rad%3CS%3E%3E' class='impl'><code class='in-band'>impl<'a, S: <a class="trait" href="../cgmath/trait.BaseFloat.html" title="trait cgmath::BaseFloat">BaseFloat</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 <a class="struct" href="../cgmath/struct.Rad.html" title="struct cgmath::Rad">Rad</a><S>> for <a class="struct" href="../cgmath/struct.Rad.html" title="struct cgmath::Rad">Rad</a><S></code><a href='#impl-Rem%3C%26%27a%20Rad%3CS%3E%3E' class='anchor'></a><a class='srclink' href='../src/cgmath/macros.rs.html#74-80' 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.Rem.html#associatedtype.Output' class="type">Output</a> = <a class="struct" href="../cgmath/struct.Rad.html" title="struct cgmath::Rad">Rad</a><S></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 <a class="struct" href="../cgmath/struct.Rad.html" title="struct cgmath::Rad">Rad</a><S>) -> <a class="struct" href="../cgmath/struct.Rad.html" title="struct cgmath::Rad">Rad</a><S></code><a class='srclink' href='../src/cgmath/macros.rs.html#77-79' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the <code>%</code> operation.</p>
|
||
|
</div></div><h3 id='impl-Rem%3CRad%3CS%3E%3E-1' class='impl'><code class='in-band'>impl<'a, S: <a class="trait" href="../cgmath/trait.BaseFloat.html" title="trait cgmath::BaseFloat">BaseFloat</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="../cgmath/struct.Rad.html" title="struct cgmath::Rad">Rad</a><S>> for &'a <a class="struct" href="../cgmath/struct.Rad.html" title="struct cgmath::Rad">Rad</a><S></code><a href='#impl-Rem%3CRad%3CS%3E%3E-1' class='anchor'></a><a class='srclink' href='../src/cgmath/macros.rs.html#82-88' 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.Rem.html#associatedtype.Output' class="type">Output</a> = <a class="struct" href="../cgmath/struct.Rad.html" title="struct cgmath::Rad">Rad</a><S></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="../cgmath/struct.Rad.html" title="struct cgmath::Rad">Rad</a><S>) -> <a class="struct" href="../cgmath/struct.Rad.html" title="struct cgmath::Rad">Rad</a><S></code><a class='srclink' href='../src/cgmath/macros.rs.html#85-87' 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%20Rad%3CS%3E%3E-1' class='impl'><code class='in-band'>impl<'a, 'b, S: <a class="trait" href="../cgmath/trait.BaseFloat.html" title="trait cgmath::BaseFloat">BaseFloat</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 <a class="struct" href="../cgmath/struct.Rad.html" title="struct cgmath::Rad">Rad</a><S>> for &'b <a class="struct" href="../cgmath/struct.Rad.html" title="struct cgmath::Rad">Rad</a><S></code><a href='#impl-Rem%3C%26%27a%20Rad%3CS%3E%3E-1' class='anchor'></a><a class='srclink' href='../src/cgmath/macros.rs.html#90-96' 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.Rem.html#associatedtype.Output' class="type">Output</a> = <a class="struct" href="../cgmath/struct.Rad.html" title="struct cgmath::Rad">Rad</a><S></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: &'a <a class="struct" href="../cgmath/struct.Rad.html" title="struct cgmath::Rad">Rad</a><S>) -> <a class="struct" href="../cgmath/struct.Rad.html" title="struct cgmath::Rad">Rad</a><S></code><a class='srclink' href='../src/cgmath/macros.rs.html#93-95' 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<S: <a class="trait" href="../cgmath/trait.BaseFloat.html" title="trait cgmath::BaseFloat">BaseFloat</a>> <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Neg.html" title="trait core::ops::arith::Neg">Neg</a> for <a class="struct" href="../cgmath/struct.Rad.html" title="struct cgmath::Rad">Rad</a><S></code><a href='#impl-Neg' class='anchor'></a><a class='srclink' href='../src/cgmath/angle.rs.html#113-118' 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.Neg.html#associatedtype.Output' class="type">Output</a> = <a class="struct" href="../cgmath/struct.Rad.html" title="struct cgmath::Rad">Rad</a><S></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="../cgmath/struct.Rad.html" title="struct cgmath::Rad">Rad</a><S></code><a class='srclink' href='../src/cgmath/angle.rs.html#117' 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, S: <a class="trait" href="../cgmath/trait.BaseFloat.html" title="trait cgmath::BaseFloat">BaseFloat</a>> <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Neg.html" title="trait core::ops::arith::Neg">Neg</a> for &'a <a class="struct" href="../cgmath/struct.Rad.html" title="struct cgmath::Rad">Rad</a><S></code><a href='#impl-Neg-1' class='anchor'></a><a class='srclink' href='../src/cgmath/angle.rs.html#120-125' 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.Neg.html#associatedtype.Output' class="type">Output</a> = <a class="struct" href="../cgmath/struct.Rad.html" title="struct cgmath::Rad">Rad</a><S></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="../cgmath/struct.Rad.html" title="struct cgmath::Rad">Rad</a><S></code><a class='srclink' href='../src/cgmath/angle.rs.html#124' 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%3CRad%3CS%3E%3E' class='impl'><code class='in-band'>impl<S: <a class="trait" href="../cgmath/trait.BaseFloat.html" title="trait cgmath::BaseFloat">BaseFloat</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><S>> <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="../cgmath/struct.Rad.html" title="struct cgmath::Rad">Rad</a><S>> for <a class="struct" href="../cgmath/struct.Rad.html" title="struct cgmath::Rad">Rad</a><S></code><a href='#impl-AddAssign%3CRad%3CS%3E%3E' class='anchor'></a><a class='srclink' href='../src/cgmath/macros.rs.html#124-127' 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="../cgmath/struct.Rad.html" title="struct cgmath::Rad">Rad</a><S>)</code><a class='srclink' href='../src/cgmath/macros.rs.html#126' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the <code>+=</code> operation.</p>
|
||
|
</div></div><h3 id='impl-SubAssign%3CRad%3CS%3E%3E' class='impl'><code class='in-band'>impl<S: <a class="trait" href="../cgmath/trait.BaseFloat.html" title="trait cgmath::BaseFloat">BaseFloat</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><S>> <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="../cgmath/struct.Rad.html" title="struct cgmath::Rad">Rad</a><S>> for <a class="struct" href="../cgmath/struct.Rad.html" title="struct cgmath::Rad">Rad</a><S></code><a href='#impl-SubAssign%3CRad%3CS%3E%3E' class='anchor'></a><a class='srclink' href='../src/cgmath/macros.rs.html#124-127' 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="../cgmath/struct.Rad.html" title="struct cgmath::Rad">Rad</a><S>)</code><a class='srclink' href='../src/cgmath/macros.rs.html#126' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the <code>-=</code> operation.</p>
|
||
|
</div></div><h3 id='impl-MulAssign%3CS%3E' class='impl'><code class='in-band'>impl<S: <a class="trait" href="../cgmath/trait.BaseFloat.html" title="trait cgmath::BaseFloat">BaseFloat</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><S>> <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.MulAssign.html" title="trait core::ops::arith::MulAssign">MulAssign</a><S> for <a class="struct" href="../cgmath/struct.Rad.html" title="struct cgmath::Rad">Rad</a><S></code><a href='#impl-MulAssign%3CS%3E' class='anchor'></a><a class='srclink' href='../src/cgmath/macros.rs.html#124-127' 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, scalar: S)</code><a class='srclink' href='../src/cgmath/macros.rs.html#126' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the <code>*=</code> operation.</p>
|
||
|
</div></div><h3 id='impl-DivAssign%3CS%3E' class='impl'><code class='in-band'>impl<S: <a class="trait" href="../cgmath/trait.BaseFloat.html" title="trait cgmath::BaseFloat">BaseFloat</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><S>> <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.DivAssign.html" title="trait core::ops::arith::DivAssign">DivAssign</a><S> for <a class="struct" href="../cgmath/struct.Rad.html" title="struct cgmath::Rad">Rad</a><S></code><a href='#impl-DivAssign%3CS%3E' class='anchor'></a><a class='srclink' href='../src/cgmath/macros.rs.html#124-127' 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, scalar: S)</code><a class='srclink' href='../src/cgmath/macros.rs.html#126' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the <code>/=</code> operation.</p>
|
||
|
</div></div><h3 id='impl-RemAssign%3CRad%3CS%3E%3E' class='impl'><code class='in-band'>impl<S: <a class="trait" href="../cgmath/trait.BaseFloat.html" title="trait cgmath::BaseFloat">BaseFloat</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><S>> <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="../cgmath/struct.Rad.html" title="struct cgmath::Rad">Rad</a><S>> for <a class="struct" href="../cgmath/struct.Rad.html" title="struct cgmath::Rad">Rad</a><S></code><a href='#impl-RemAssign%3CRad%3CS%3E%3E' class='anchor'></a><a class='srclink' href='../src/cgmath/macros.rs.html#124-127' 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="../cgmath/struct.Rad.html" title="struct cgmath::Rad">Rad</a><S>)</code><a class='srclink' href='../src/cgmath/macros.rs.html#126' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the <code>%=</code> operation.</p>
|
||
|
</div></div><h3 id='impl-Debug' class='impl'><code class='in-band'>impl<S: <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="../cgmath/struct.Rad.html" title="struct cgmath::Rad">Rad</a><S></code><a href='#impl-Debug' class='anchor'></a><a class='srclink' href='../src/cgmath/angle.rs.html#221-225' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.fmt' class="method hidden"><code id='fmt.v'>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/cgmath/angle.rs.html#222-224' 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-Sum%3CRad%3CS%3E%3E' class='impl'><code class='in-band'>impl<S: <a class="trait" href="../cgmath/trait.BaseFloat.html" title="trait cgmath::BaseFloat">BaseFloat</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="../cgmath/struct.Rad.html" title="struct cgmath::Rad">Rad</a><S>> for <a class="struct" href="../cgmath/struct.Rad.html" title="struct cgmath::Rad">Rad</a><S></code><a href='#impl-Sum%3CRad%3CS%3E%3E' class='anchor'></a><a class='srclink' href='../src/cgmath/angle.rs.html#83-88' 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: <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="../cgmath/struct.Rad.html" title="struct cgmath::Rad">Rad</a><S>>>(iter: I) -> <a class="struct" href="../cgmath/struct.Rad.html" title="struct cgmath::Rad">Rad</a><S></code><a class='srclink' href='../src/cgmath/angle.rs.html#85-87' 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%20Rad%3CS%3E%3E' class='impl'><code class='in-band'>impl<'a, S: 'a + <a class="trait" href="../cgmath/trait.BaseFloat.html" title="trait cgmath::BaseFloat">BaseFloat</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="../cgmath/struct.Rad.html" title="struct cgmath::Rad">Rad</a><S>> for <a class="struct" href="../cgmath/struct.Rad.html" title="struct cgmath::Rad">Rad</a><S></code><a href='#impl-Sum%3C%26%27a%20Rad%3CS%3E%3E' class='anchor'></a><a class='srclink' href='../src/cgmath/angle.rs.html#90-95' 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: <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="../cgmath/struct.Rad.html" title="struct cgmath::Rad">Rad</a><S>>>(iter: I) -> <a class="struct" href="../cgmath/struct.Rad.html" title="struct cgmath::Rad">Rad</a><S></code><a class='srclink' href='../src/cgmath/angle.rs.html#92-94' 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-AbsDiffEq%3CRad%3CS%3E%3E' class='impl'><code class='in-band'>impl<S: <a class="trait" href="../cgmath/trait.BaseFloat.html" title="trait cgmath::BaseFloat">BaseFloat</a>> <a class="trait" href="../cgmath/trait.AbsDiffEq.html" title="trait cgmath::AbsDiffEq">AbsDiffEq</a><<a class="struct" href="../cgmath/struct.Rad.html" title="struct cgmath::Rad">Rad</a><S>> for <a class="struct" href="../cgmath/struct.Rad.html" title="struct cgmath::Rad">Rad</a><S></code><a href='#impl-AbsDiffEq%3CRad%3CS%3E%3E' class='anchor'></a><a class='srclink' href='../src/cgmath/angle.rs.html#174-186' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Epsilon' class="type"><code id='Epsilon.t'>type <a href='../cgmath/trait.AbsDiffEq.html#associatedtype.Epsilon' class="type">Epsilon</a> = S::<a class="type" href="../cgmath/trait.AbsDiffEq.html#associatedtype.Epsilon" title="type cgmath::AbsDiffEq::Epsilon">Epsilon</a></code></h4><div class='docblock'><p>Used for specifying relative comparisons.</p>
|
||
|
</div><h4 id='method.default_epsilon' class="method hidden"><code id='default_epsilon.v'>fn <a href='../cgmath/trait.AbsDiffEq.html#tymethod.default_epsilon' class='fnname'>default_epsilon</a>() -> S::<a class="type" href="../cgmath/trait.AbsDiffEq.html#associatedtype.Epsilon" title="type cgmath::AbsDiffEq::Epsilon">Epsilon</a></code><a class='srclink' href='../src/cgmath/angle.rs.html#178-180' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>The default tolerance to use when testing values that are close together. <a href="../cgmath/trait.AbsDiffEq.html#tymethod.default_epsilon">Read more</a></p>
|
||
|
</div><h4 id='method.abs_diff_eq' class="method hidden"><code id='abs_diff_eq.v'>fn <a href='../cgmath/trait.AbsDiffEq.html#tymethod.abs_diff_eq' class='fnname'>abs_diff_eq</a>(&self, other: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&</a>Self, epsilon: S::<a class="type" href="../cgmath/trait.AbsDiffEq.html#associatedtype.Epsilon" title="type cgmath::AbsDiffEq::Epsilon">Epsilon</a>) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code><a class='srclink' href='../src/cgmath/angle.rs.html#183-185' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>A test for equality that uses the absolute difference to compute the approximate equality of two numbers. <a href="../cgmath/trait.AbsDiffEq.html#tymethod.abs_diff_eq">Read more</a></p>
|
||
|
</div><h4 id='method.abs_diff_ne' class="method hidden"><code id='abs_diff_ne.v'>fn <a href='../cgmath/trait.AbsDiffEq.html#method.abs_diff_ne' class='fnname'>abs_diff_ne</a>(&self, other: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&</a>Rhs, epsilon: Self::<a class="type" href="../cgmath/trait.AbsDiffEq.html#associatedtype.Epsilon" title="type cgmath::AbsDiffEq::Epsilon">Epsilon</a>) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code><a class='srclink' href='../src/approx/abs_diff_eq.rs.html#26-28' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>The inverse of <code>ApproxEq::abs_diff_eq</code>.</p>
|
||
|
</div></div><h3 id='impl-RelativeEq%3CRad%3CS%3E%3E' class='impl'><code class='in-band'>impl<S: <a class="trait" href="../cgmath/trait.BaseFloat.html" title="trait cgmath::BaseFloat">BaseFloat</a>> <a class="trait" href="../cgmath/trait.RelativeEq.html" title="trait cgmath::RelativeEq">RelativeEq</a><<a class="struct" href="../cgmath/struct.Rad.html" title="struct cgmath::Rad">Rad</a><S>> for <a class="struct" href="../cgmath/struct.Rad.html" title="struct cgmath::Rad">Rad</a><S></code><a href='#impl-RelativeEq%3CRad%3CS%3E%3E' class='anchor'></a><a class='srclink' href='../src/cgmath/angle.rs.html#188-198' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.default_max_relative' class="method hidden"><code id='default_max_relative.v'>fn <a href='../cgmath/trait.RelativeEq.html#tymethod.default_max_relative' class='fnname'>default_max_relative</a>() -> S::<a class="type" href="../cgmath/trait.AbsDiffEq.html#associatedtype.Epsilon" title="type cgmath::AbsDiffEq::Epsilon">Epsilon</a></code><a class='srclink' href='../src/cgmath/angle.rs.html#190-192' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>The default relative tolerance for testing values that are far-apart. <a href="../cgmath/trait.RelativeEq.html#tymethod.default_max_relative">Read more</a></p>
|
||
|
</div><h4 id='method.relative_eq' class="method hidden"><code id='relative_eq.v'>fn <a href='../cgmath/trait.RelativeEq.html#tymethod.relative_eq' class='fnname'>relative_eq</a>(<br> &self, <br> other: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&</a>Self, <br> epsilon: S::<a class="type" href="../cgmath/trait.AbsDiffEq.html#associatedtype.Epsilon" title="type cgmath::AbsDiffEq::Epsilon">Epsilon</a>, <br> max_relative: S::<a class="type" href="../cgmath/trait.AbsDiffEq.html#associatedtype.Epsilon" title="type cgmath::AbsDiffEq::Epsilon">Epsilon</a><br>) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code><a class='srclink' href='../src/cgmath/angle.rs.html#195-197' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>A test for equality that uses a relative comparison if the values are far apart.</p>
|
||
|
</div><h4 id='method.relative_ne' class="method hidden"><code id='relative_ne.v'>fn <a href='../cgmath/trait.RelativeEq.html#method.relative_ne' class='fnname'>relative_ne</a>(<br> &self, <br> other: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&</a>Rhs, <br> epsilon: Self::<a class="type" href="../cgmath/trait.AbsDiffEq.html#associatedtype.Epsilon" title="type cgmath::AbsDiffEq::Epsilon">Epsilon</a>, <br> max_relative: Self::<a class="type" href="../cgmath/trait.AbsDiffEq.html#associatedtype.Epsilon" title="type cgmath::AbsDiffEq::Epsilon">Epsilon</a><br>) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code><a class='srclink' href='../src/approx/relative_eq.rs.html#29-36' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>The inverse of <code>ApproxEq::relative_eq</code>.</p>
|
||
|
</div></div><h3 id='impl-UlpsEq%3CRad%3CS%3E%3E' class='impl'><code class='in-band'>impl<S: <a class="trait" href="../cgmath/trait.BaseFloat.html" title="trait cgmath::BaseFloat">BaseFloat</a>> <a class="trait" href="../cgmath/trait.UlpsEq.html" title="trait cgmath::UlpsEq">UlpsEq</a><<a class="struct" href="../cgmath/struct.Rad.html" title="struct cgmath::Rad">Rad</a><S>> for <a class="struct" href="../cgmath/struct.Rad.html" title="struct cgmath::Rad">Rad</a><S></code><a href='#impl-UlpsEq%3CRad%3CS%3E%3E' class='anchor'></a><a class='srclink' href='../src/cgmath/angle.rs.html#200-210' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.default_max_ulps' class="method hidden"><code id='default_max_ulps.v'>fn <a href='../cgmath/trait.UlpsEq.html#tymethod.default_max_ulps' class='fnname'>default_max_ulps</a>() -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a></code><a class='srclink' href='../src/cgmath/angle.rs.html#202-204' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>The default ULPs to tolerate when testing values that are far-apart. <a href="../cgmath/trait.UlpsEq.html#tymethod.default_max_ulps">Read more</a></p>
|
||
|
</div><h4 id='method.ulps_eq' class="method hidden"><code id='ulps_eq.v'>fn <a href='../cgmath/trait.UlpsEq.html#tymethod.ulps_eq' class='fnname'>ulps_eq</a>(&self, other: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&</a>Self, epsilon: S::<a class="type" href="../cgmath/trait.AbsDiffEq.html#associatedtype.Epsilon" title="type cgmath::AbsDiffEq::Epsilon">Epsilon</a>, max_ulps: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code><a class='srclink' href='../src/cgmath/angle.rs.html#207-209' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>A test for equality that uses units in the last place (ULP) if the values are far apart.</p>
|
||
|
</div><h4 id='method.ulps_ne' class="method hidden"><code id='ulps_ne.v'>fn <a href='../cgmath/trait.UlpsEq.html#method.ulps_ne' class='fnname'>ulps_ne</a>(&self, other: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&</a>Rhs, epsilon: Self::<a class="type" href="../cgmath/trait.AbsDiffEq.html#associatedtype.Epsilon" title="type cgmath::AbsDiffEq::Epsilon">Epsilon</a>, max_ulps: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code><a class='srclink' href='../src/approx/ulps_eq.rs.html#24-26' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>The inverse of <code>ApproxEq::ulps_eq</code>.</p>
|
||
|
</div></div><h3 id='impl-Bounded' class='impl'><code class='in-band'>impl<S: <a class="trait" href="../cgmath/prelude/trait.Bounded.html" title="trait cgmath::prelude::Bounded">Bounded</a>> <a class="trait" href="../cgmath/prelude/trait.Bounded.html" title="trait cgmath::prelude::Bounded">Bounded</a> for <a class="struct" href="../cgmath/struct.Rad.html" title="struct cgmath::Rad">Rad</a><S></code><a href='#impl-Bounded' class='anchor'></a><a class='srclink' href='../src/cgmath/angle.rs.html#127-137' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.min_value' class="method hidden"><code id='min_value.v'>fn <a href='../cgmath/prelude/trait.Bounded.html#tymethod.min_value' class='fnname'>min_value</a>() -> <a class="struct" href="../cgmath/struct.Rad.html" title="struct cgmath::Rad">Rad</a><S></code><a class='srclink' href='../src/cgmath/angle.rs.html#129-131' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>returns the smallest finite number this type can represent</p>
|
||
|
</div><h4 id='method.max_value' class="method hidden"><code id='max_value.v'>fn <a href='../cgmath/prelude/trait.Bounded.html#tymethod.max_value' class='fnname'>max_value</a>() -> <a class="struct" href="../cgmath/struct.Rad.html" title="struct cgmath::Rad">Rad</a><S></code><a class='srclink' href='../src/cgmath/angle.rs.html#134-136' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>returns the largest finite number this type can represent</p>
|
||
|
</div></div><h3 id='impl-Zero' class='impl'><code class='in-band'>impl<S: <a class="trait" href="../cgmath/trait.BaseFloat.html" title="trait cgmath::BaseFloat">BaseFloat</a>> <a class="trait" href="../cgmath/prelude/trait.Zero.html" title="trait cgmath::prelude::Zero">Zero</a> for <a class="struct" href="../cgmath/struct.Rad.html" title="struct cgmath::Rad">Rad</a><S></code><a href='#impl-Zero' class='anchor'></a><a class='srclink' href='../src/cgmath/angle.rs.html#71-81' 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='../cgmath/prelude/trait.Zero.html#tymethod.zero' class='fnname'>zero</a>() -> <a class="struct" href="../cgmath/struct.Rad.html" title="struct cgmath::Rad">Rad</a><S></code><a class='srclink' href='../src/cgmath/angle.rs.html#73-75' 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="../cgmath/prelude/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='../cgmath/prelude/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/cgmath/angle.rs.html#78-80' 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='../cgmath/prelude/trait.Zero.html#method.set_zero' class='fnname'>set_zero</a>(&mut self)</code><a class='srclink' href='../src/num_traits/identities.rs.html#23-25' 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-Distribution%3CRad%3CS%3E%3E' class='impl'><code class='in-band'>impl<S> <a class="trait" href="../rand/distributions/trait.Distribution.html" title="trait rand::distributions::Distribution">Distribution</a><<a class="struct" href="../cgmath/struct.Rad.html" title="struct cgmath::Rad">Rad</a><S>> for <a class="struct" href="../rand/distributions/struct.Standard.html" title="struct rand::distributions::Standard">Standard</a> <span class="where fmt-newline">where<br> <a class="struct" href="../rand/distributions/struct.Standard.html" title="struct rand::distributions::Standard">Standard</a>: <a class="trait" href="../rand/distributions/trait.Distribution.html" title="trait rand::distributions::Distribution">Distribution</a><S>,<br> S: <a class="trait" href="../cgmath/trait.BaseFloat.html" title="trait cgmath::BaseFloat">BaseFloat</a> + <a class="trait" href="../rand/distributions/uniform/trait.SampleUniform.html" title="trait rand::distributions::uniform::SampleUniform">SampleUniform</a>, </span></code><a href='#impl-Distribution%3CRad%3CS%3E%3E' class='anchor'></a><a class='srclink' href='../src/cgmath/angle.rs.html#212-219' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.sample' class="method hidden"><code id='sample.v'>fn <a href='../rand/distributions/trait.Distribution.html#tymethod.sample' class='fnname'>sample</a><R: <a class="trait" href="../rand/trait.Rng.html" title="trait rand::Rng">Rng</a> + ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>>(&self, rng: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>R) -> <a class="struct" href="../cgmath/struct.Rad.html" title="struct cgmath::Rad">Rad</a><S></code><a class='srclink' href='../src/cgmath/angle.rs.html#216-218' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Generate a random value of <code>T</code>, using <code>rng</code> as the source of randomness.</p>
|
||
|
</div><h4 id='method.sample_iter' class="method hidden"><code id='sample_iter.v'>fn <a href='../rand/distributions/trait.Distribution.html#method.sample_iter' class='fnname'>sample_iter</a><R>(&'a self, rng: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a mut </a>R) -> <a class="struct" href="../rand/distributions/struct.DistIter.html" title="struct rand::distributions::DistIter">DistIter</a><'a, Self, R, T> <span class="where fmt-newline">where<br> R: <a class="trait" href="../rand/trait.Rng.html" title="trait rand::Rng">Rng</a>, </span></code><a class='srclink' href='../src/rand/distributions/mod.rs.html#261-269' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Create an iterator that generates random values of <code>T</code>, using <code>rng</code> as the source of randomness. <a href="../rand/distributions/trait.Distribution.html#method.sample_iter">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-Send' class='impl'><code class='in-band'>impl<S> <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="../cgmath/struct.Rad.html" title="struct cgmath::Rad">Rad</a><S> <span class="where fmt-newline">where<br> S: <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-Unpin' class='impl'><code class='in-band'>impl<S> <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="../cgmath/struct.Rad.html" title="struct cgmath::Rad">Rad</a><S> <span class="where fmt-newline">where<br> S: <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-Sync' class='impl'><code class='in-band'>impl<S> <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="../cgmath/struct.Rad.html" title="struct cgmath::Rad">Rad</a><S> <span class="where fmt-newline">where<br> S: <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<S> <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="../cgmath/struct.Rad.html" title="struct cgmath::Rad">Rad</a><S> <span class="where fmt-newline">where<br> S: <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<S> <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="../cgmath/struct.Rad.html" title="struct cgmath::Rad">Rad</a><S> <span class="where fmt-newline">where<br> S: <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-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.O
|
||
|
</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-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' 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) -> 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-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 T</code><a href='#impl-From%3CT%3E' 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#572-578' 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#575-577' 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#560-567' 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#564-566' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</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-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-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#100-102' 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#101' 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-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></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 = "cgmath";</script><script src="../aliases.js"></script><script src="../main.js"></script><script defer src="../search-index.js"></script></body></html>
|