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.
Trac3r-rust/doc/cgmath/struct.Vector2.html

311 lines
321 KiB

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

<!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 `Vector2` struct in crate `cgmath`."><meta name="keywords" content="rust, rustlang, rust-lang, Vector2"><title>cgmath::Vector2 - 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">&#9776;</div><a href='../cgmath/index.html'><div class='logo-container'><img src='../rust-logo.png' alt='logo'></div></a><p class='location'>Struct Vector2</p><div class="sidebar-elems"><div class="block items"><a class="sidebar-title" href="#fields">Fields</a><div class="sidebar-links"><a href="#structfield.x">x</a><a href="#structfield.y">y</a></div><a class="sidebar-title" href="#methods">Methods</a><div class="sidebar-links"><a href="#method.cast">cast</a><a href="#method.extend">extend</a><a href="#method.map">map</a><a href="#method.new">new</a><a href="#method.perp_dot">perp_dot</a><a href="#method.unit_x">unit_x</a><a href="#method.unit_y">unit_y</a></div><a class="sidebar-title" href="#implementations">Trait Implementations</a><div class="sidebar-links"><a href="#impl-AbsDiffEq%3CVector2%3CS%3E%3E">AbsDiffEq&lt;Vector2&lt;S&gt;&gt;</a><a href="#impl-Add%3C%26%27a%20Vector2%3CS%3E%3E">Add&lt;&amp;&#39;a Vector2&lt;S&gt;&gt;</a><a href="#impl-Add%3CVector2%3CS%3E%3E">Add&lt;Vector2&lt;S&gt;&gt;</a><a href="#impl-AddAssign%3CVector2%3CS%3E%3E">AddAssign&lt;Vector2&lt;S&gt;&gt;</a><a href="#impl-Array">Array</a><a href="#impl-AsMut%3C%5BS%3B%202%5D%3E">AsMut&lt;[S; 2]&gt;</a><a href="#impl-AsMut%3C(S%2C%20S)%3E">AsMut&lt;(S, S)&gt;</a><a href="#impl-AsRef%3C%5BS%3B%202%5D%3E">AsRef&lt;[S; 2]&gt;</a><a href="#impl-AsRef%3C(S%2C%20S)%3E">AsRef&lt;(S, S)&gt;</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%3CVector2%3CS%3E%3E">Distribution&lt;Vector2&lt;S&gt;&gt;</a><a href="#impl-Div%3C%26%27a%20Vector2%3Cf32%3E%3E">Div&lt;&amp;&#39;a Vector2&lt;f32&gt;&gt;</a><a href="#impl-Div%3C%26%27a%20Vector2%3Cf64%3E%3E">Div&lt;&amp;&#39;a Vector2&lt;f64&gt;&gt;</a><a href="#impl-Div%3C%26%27a%20Vector2%3Ci16%3E%3E">Div&lt;&amp;&#39;a Vector2&lt;i16&gt;&gt;</a><a href="#impl-Div%3C%26%27a%20Vector2%3Ci32%3E%3E">Div&lt;&amp;&#39;a Vector2&lt;i32&gt;&gt;</a><a href="#impl-Div%3C%26%27a%20Vector2%3Ci64%3E%3E">Div&lt;&amp;&#39;a Vector2&lt;i64&gt;&gt;</a><a href="#impl-Div%3C%26%27a%20Vector2%3Ci8%3E%3E">Div&lt;&amp;&#39;a Vector2&lt;i8&gt;&gt;</a><a href="#impl-Div%3C%26%27a%20Vector2%3Cisize%3E%3E">Div&lt;&amp;&#39;a Vector2&lt;isize&gt;&gt;</a><a href="#impl-Div%3C%26%27a%20Vector2%3Cu16%3E%3E">Div&lt;&amp;&#39;a Vector2&lt;u16&gt;&gt;</a><a href="#impl-Div%3C%26%27a%20Vector2%3Cu32%3E%3E">Div&lt;&amp;&#39;a Vector2&lt;u32&gt;&gt;</a><a href="#impl-Div%3C%26%27a%20Vector2%3Cu64%3E%3E">Div&lt;&amp;&#39;a Vector2&lt;u64&gt;&gt;</a><a href="#impl-Div%3C%26%27a%20Vector2%3Cu8%3E%3E">Div&lt;&amp;&#39;a Vector2&lt;u8&gt;&gt;</a><a href="#impl-Div%3C%26%27a%20Vector2%3Cusize%3E%3E">Div&lt;&amp;&#39;a Vector2&lt;usize&gt;&gt;</a><a href="#impl-Div%3CS%3E">Div&lt;S&gt;</a><a href="#impl-Div%3CVector2%3Cf32%3E%3E">Div&lt;Vector2&lt;f32&gt;&gt;</a><a href="#impl-Div%3CVector2%3Cf64%3E%3E">Div&lt;Vector2&lt;f64&gt;&gt;</a><a href="#impl-Div%3CVector2%3Ci16%3E%3E">Div&lt;Vector2&lt;i16&gt;&gt;</a><a href="#impl-Div%3CVector2%3Ci32%3E%3E">Div&lt;Vector2&lt;i32&gt;&gt;</a><a href="#impl-Div%3CVector2%3Ci64%3E%3E">Div&lt;Vector2&lt;i64&gt;&gt;</a><a href="#impl-Div%3CVector2%3Ci8%3E%3E">Div&lt;Vector2&lt;i8&gt;&gt;</a><a href="#impl-Div%3CVector2%3Cisize%3E%3E">Div&lt;Vector2&lt;isize&gt;&gt;</a><a href="#impl-Div%3CVector2%3Cu16%3E%3E">Div&lt;Vector2&lt;u16&gt;&gt;</a><a href="#impl-Div%3CVector2%3Cu32%3E%3E">Div&lt;Vector2&lt;u32&gt;&gt;</a><a href="#impl-Div%3CVector2%3Cu64%3E%3E">Div&lt;Vector2&lt;u64&gt;&gt;</a><a href="#impl-Div%3CVector2%3Cu8%3E%3E">Div&lt;Vector2&lt;u8&gt;&gt;</a><a href="#impl-Div%3CVector2%3Cusize%3E%3E">Div&lt;Vector2&lt;usize&gt;&gt;</a><a href="#impl-DivAssign%3CS%3E">DivAssign&lt;S&gt;</a><a href="#impl-ElementWise%3CS%3E">ElementWise&lt;S&gt;</a><a href="#impl-ElementWise%3CVector2%3CS%3E%3E">ElementWise&lt;Vector2&lt;S&gt;&gt;</a><a href="#impl-Eq">Eq</a><a href="#impl-From%3C%26%27a%20%5BS%3B%202%5D%3E">From&lt;&amp;&#39;a [S; 2]&gt;</a><a href="#impl-From%3C%26%27a%20(S%2C%20S)%3E">From&lt;&amp;&#39;a (S, S)&gt;</a><a href="#impl-From%3C%26%27a%20mut%20%5BS%3B%202%5D%3E">From&lt;&amp;&#39;a mut [S; 2]&gt;</a><a href="#impl-From%3C%26%27a%20mut%20(S%2C%20S)%3E">From&lt;&amp;&#39;a mut (S, S)&gt;</a><a href="#impl-From%3C%5BS%3B%202%5D%3E">From&lt;[S; 2]&gt;</a><a href="#impl-From%3C(S%2C%20S)%3E">From&lt;(S, S)&gt;</a><a href="#impl-Hash">Hash</a><a href="#impl-Index%3CRange%3Cusize%3E%3E">Index&lt;Range&lt;usize&gt;&gt;</a><a href="#impl-Index%3CRangeFrom%3Cusize%3E%3E">Index&lt;RangeFrom&lt;usize&gt;&gt;</a><a href="#impl-Index%3CRangeFull%3E">Index&lt;RangeFull&gt;</a><a href="#impl-Index%3CRangeTo%3Cusize%3E%3E">Index&lt;RangeTo&lt;usize&gt;&gt;</a><a href="#impl-Index%3Cusize%3E">Index&lt;usize&gt;</a><a href="#impl-IndexMut%3CRange%3Cusize%3E%3E">IndexMut&lt;Range&lt;usize&gt;&gt;</a><a href="#impl-IndexMut%3CRangeFrom%3Cusize%3E%3E">IndexMut&lt;RangeFrom&lt;usize&gt;&gt;</a><a href="#impl-IndexMut%3CRangeFull%3E">IndexMut&lt;RangeFull&gt;</a><a href="#impl-IndexMut%3CRangeTo%3Cusize%3E%3E">IndexMut&lt;RangeTo&lt;usize&gt;&gt;</a><a href="#impl-IndexMut%3Cusize%3E">IndexMut&lt;usize&gt;</a><a href="#impl-InnerSpace">InnerSpace</a><a href="#impl-Into%3C%5BS%3B%202%5D%3E">Into&lt;[S; 2]&gt;</a><a href="#impl-Into%3C(S%2C%20S)%3E">Into&lt;(S, S)&gt;</a><a href="#impl-MetricSpace">MetricSpace</a><a href="#impl-Mul%3C%26%27a%20Vector2%3CS%3E%3E">Mul&lt;&amp;&#39;a Vector2&lt;S&gt;&gt;</a><a href="#impl-Mul%3C%26%27a%20Vector2%3Cf32%3E%3E">Mul&lt;&amp;&#39;a Vector2&lt;f32&gt;&gt;</a><a href="#impl-Mul%3C%26%27a%20Vector2%3Cf64%3E%3E">Mul&lt;&amp;&#39;a Vector2&lt;f64&gt;&gt;</a><a href="#impl-Mul%3C%26%27a%20Vector2%3Ci16%3E%3E">Mul&lt;&amp;&#39;a Vector2&lt;i16&gt;&gt;</a><a href="#impl-Mul%3C%26%27a%20Vector2%3Ci32%3E%3E">Mul&lt;&amp;&#39;a Vector2&lt;i32&gt;&gt;</a><a href="#impl-Mul%3C%26%27a%20Vector2%3Ci64%3E%3E">Mul&lt;&amp;&#39;a Vector2&lt;i64&gt;&gt;</a><a href="#impl-Mul%3C%26%27a%20Vector2%3Ci8%3E%3E">Mul&lt;&amp;&#39;a Vector2&lt;i8&gt;&gt;</a><a href="#impl-Mul%3C%26%27a%20Vector2%3Cisize%3E%3E">Mul&lt;&amp;&#39;a Vector2&lt;isize&gt;&gt;</a><a href="#impl-Mul%3C%26%27a%20Vector2%3Cu16%3E%3E">Mul&lt;&amp;&#39;a Vector2&lt;u16&gt;&gt;</a><a href="#impl-Mul%3C%26%27a%20Vector2%3Cu32%3E%3E">Mul&lt;&amp;&#39;a Vector2&lt;u32&gt;&gt;</a><a href="#impl-Mul%3C%26%27a%20Vector2%3Cu64%3E%3E">Mul&lt;&amp;&#39;a Vector2&lt;u64&gt;&gt;</a><a href="#impl-Mul%3C%26%27a%20Vector2%3Cu8%3E%3E">Mul&lt;&amp;&#39;a Vector2&lt;u8&gt;&gt;</a><a href="#impl-Mul%3C%26%27a%20Vector2%3Cusize%3E%3E">Mul&lt;&amp;&#39;a Vector2&lt;usize&gt;&gt;</a><a href="#impl-Mul%3CS%3E">Mul&lt;S&gt;</a><a href="#impl-Mul%3CVector2%3CS%3E%3E">Mul&lt;Vector2&lt;S&gt;&gt;</a><a href="#impl-Mul%3CVector2%3Cf32%3E%3E">Mul&lt;Vector2&lt;f32&gt;&gt;</a><a href="#impl-Mul%3CVector2%3Cf64%3E%3E">Mul&lt;Vector2&lt;f64&gt;&gt;</a><a href="#impl-Mul%3CVector2%3Ci16%3E%3E">Mul&lt;Vector2&lt;i16&gt;&gt;</a><a href="#impl-Mul%3CVector2%3Ci32%3E%3E">Mul&lt;Vector2&lt;i32&gt;&gt;</a><a href="#impl-Mul%3CVector2%3Ci64%3E%3E">Mul&lt;Vector2&lt;i64&gt;&gt;</a><a href="#impl-Mul%3CVector2%3Ci8%3E%3E">Mul&lt;Vector2&lt;i8&gt;&gt;</a><a href="#impl-Mul%3CVector2%3Cisize%3E%3E">Mul&lt;Vector2&lt;isize&gt;&gt;</a><a href="#impl-Mul%3CVector2%3Cu16%3E%3E">Mul&lt;Vector2&lt;u16&gt;&gt;</a><a href="#impl-Mul%3CVector2%3Cu32%3E%3E">Mul&lt;Vector2&lt;u32&gt;&gt;</a><a href="#impl-Mul%3CVector2%3Cu64%3E%3E">Mul&lt;Vector2&lt;u64&gt;&gt;</a><a href="#impl-Mul%3CVector2%3Cu8%3E%3E">Mul&lt;Vector2&lt;u8&gt;&gt;</a><a href="#impl-Mul%3CVector2%3Cusize%3E%3E">Mul&lt;Vector2&lt;usize&gt;&gt;</a><a href="#impl-MulAssign%3CS%3E">MulAssign&lt;S&gt;</a><a href="#impl-Neg">Neg</a><a href="#impl-PartialEq%3CVector2%3CS%3E%3E">PartialEq&lt;Vector2&lt;S&gt;&gt;</a><a href="#impl-RelativeEq%3CVector2%3CS%3E%3E">RelativeEq&lt;Vector2&lt;S&gt;&gt;</a><a href="#impl-Rem%3C%26%27a%20Vector2%3Cf32%3E%3E">Rem&lt;&amp;&#39;a Vector2&lt;f32&gt;&gt;</a><a href="#impl-Rem%3C%26%27a%20Vector2%3Cf64%3E%3E">Rem&lt;&amp;&#39;a Vector2&lt;f64&gt;&gt;</a><a href="#impl-Rem%3C%26%27a%20Vector2%3Ci16%3E%3E">Rem&lt;&amp;&#39;a Vector2&lt;i16&gt;&gt;</a><a href="#impl-Rem%3C%26%27a%20Vector2%3Ci32%3E%3E">Rem&lt;&amp;&#39;a Vector2&lt;i32&gt;&gt;</a><a href="#impl-Rem%3C%26%27a%20Vector2%3Ci64%3E%3E">Rem&lt;&amp;&#39;a Vector2&lt;i64&gt;&gt;</a><a href="#impl-Rem%3C%26%27a%20Vector2%3Ci8%3E%3E">Rem&lt;&amp;&#39;a Vector2&lt;i8&gt;&gt;</a><a href="#impl-Rem%3C%26%27a%20Vector2%3Cisize%3E%3E">Rem&lt;&amp;&#39;a Vector2&lt;isize&gt;&gt;</a><a href="#impl-Rem%3C%26%27a%20Vector2%3Cu16%3E%3E">Rem&lt;&amp;&#39;a Vector2&lt;u16&gt;&gt;</a><a href="#impl-Rem%3C%26%27a%20Vector2%3Cu32%3E%3E">Rem&lt;&amp;&#39;a Vector2&lt;u32&gt;&gt;</a><a href="#impl-Rem%3C%26%27a%20Vector2%3Cu64%3E%3E">Rem&lt;&amp;&#39;a Vector2&lt;u64&gt;&gt;</a><a href="#impl-Rem%3C%26%27a%20Vector2%3Cu8%3E%3E">Rem&lt;&amp;&#39;a Vector2&lt;u8&gt;&gt;</a><a href="#impl-Rem%3C%26%27a%20Vector2%3Cusize%3E%3E">Rem&lt;&amp;&#39;a Vector2&lt;usize&gt;&gt;</a><a href="#impl-Rem%3CS%3E">Rem&lt;S&gt;</a><a href="#impl-Rem%3CVector2%3Cf32%3E%3E">Rem&lt;Vector2&lt;f32&gt;&gt;</a><a href="#impl-Rem%3CVector2%3Cf64%3E%3E">Rem&lt;Vector2&lt;f64&gt;&gt;</a><a href="#impl-Rem%3CVector2%3Ci16%3E%3E">Rem&lt;Vector2&lt;i16&gt;&gt;</a><a href="#impl-Rem%3CVector2%3Ci32%3E%3E">Rem&lt;Vector2&lt;i32&gt;&gt;</a><a href="#impl-Rem%3CVector2%3Ci64%3E%3E">Rem&lt;Vector2&lt;i64&gt;&gt;</a><a href="#impl-Rem%3CVector2%3Ci8%3E%3E">Rem&lt;Vector2&lt;i8&gt;&gt;</a><a href="#impl-Rem%3CVector2%3Cisize%3E%3E">Rem&lt;Vector2&lt;isize&gt;&gt;</a><a href="#impl-Rem%3CVector2%3Cu16%3E%3E">Rem&lt;Vector2&lt;u16&gt;&gt;</a><a href="#impl-Rem%3CVector2%3Cu32%3E%3E">Rem&lt;Vector2&lt;u32&gt;&gt;</a><a href="#impl-Rem%3CVector2%3Cu64%3E%3E">Rem&lt;Vector2&lt;u64&gt;&gt;</a><a href="#impl-Rem%3CVector2%3Cu8%3E%3E">Rem&lt;Vector2&lt;u8&gt;&gt;</a><a href="#impl-Rem%3CVector2%3Cusize%3E%3E">Rem&lt;Vector2&lt;usize&gt;&gt;</a><a href="#impl-RemAssign%3CS%3E">RemAssign&lt;S&gt;</a><a href="#impl-Sub%3C%26%27a%20Vector2%3CS%3E%3E">Sub&lt;&amp;&#39;a Vector2&lt;S&gt;&gt;</a><a href="#impl-Sub%3CVector2%3CS%3E%3E">Sub&lt;Vector2&lt;S&gt;&gt;</a><a href="#impl-SubAssign%3CVector2%3CS%3E%3E">SubAssign&lt;Vector2&lt;S&gt;&gt;</a><a href="#impl-Sum%3C%26%27a%20Vector2%3CS%3E%3E">Sum&lt;&amp;&#39;a Vector2&lt;S&gt;&gt;</a><a href="#impl-Sum%3CVector2%3CS%3E%3E">Sum&lt;Vector2&lt;S&gt;&gt;</a><a href="#impl-UlpsEq%3CVector2%3CS%3E%3E">UlpsEq&lt;Vector2&lt;S&gt;&gt;</a><a href="#impl-VectorSpace">VectorSpace</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&lt;T&gt;</a><a href="#impl-BorrowMut%3CT%3E">BorrowMut&lt;T&gt;</a><a href="#impl-From%3CT%3E">From&lt;T&gt;</a><a href="#impl-Into%3CU%3E">Into&lt;U&gt;</a><a href="#impl-NumAssignOps%3CRhs%3E">NumAssignOps&lt;Rhs&gt;</a><a href="#impl-NumOps%3CRhs%2C%20Output%3E">NumOps&lt;Rhs, Output&gt;</a><a href="#impl-ToOwned">ToOwned</a><a href="#impl-TryFrom%3CU%3E">TryFrom&lt;U&gt;</a><a href="#impl-TryInto%3CU%3E">TryInto&lt;U&gt;</a></div></div><p class='location'><a href='index.html'>cgmath</a></p><script>window.sidebarCurrent = {name: 'Vector2', ty: 'struct', relpath: ''};</script><script defer src="sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!"><img src="../brush.svg" width="18" alt="Pick another theme!"></button><div id="theme-choices"></div></div><script src="../theme.js"></script><nav class="sub"><form class="search-form js-only"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input" name="search" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"></div><a id="settings-menu" href="../settings.html"><img src="../wheel.svg" width="18" alt="Change settings"></a></div></form></nav><section id="main" class="content"><h1 class='fqn'><span class='out-of-band'><span id='render-detail'><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class='inner'>&#x2212;</span>]</a></span><a class='srclink' href='../src/cgmath/vector.rs.html#57-62' title='goto source code'>[src]</a></span><span class='in-band'>Struct <a href='index.html'>cgmath</a>::<wbr><a class="struct" href=''>Vector2</a></span></h1><div class="docblock type-decl hidden-by-usual-hider"><pre class='rust struct'><span class="docblock attributes top-attr">#[repr(C)]
</span>pub struct Vector2&lt;S&gt; {
pub x: S,
pub y: S,
}</pre></div><div class='docblock'><p>A 2-dimensional vector.</p>
<p>This type is marked as <code>#[repr(C)]</code>.</p>
</div><h2 id='fields' class='fields small-section-header'>
Fields<a href='#fields' class='anchor'></a></h2><span id="structfield.x" class="structfield small-section-header"><a href="#structfield.x" class="anchor field"></a><code id="x.v">x: S</code></span><div class='docblock'><p>The x component of the vector.</p>
</div><span id="structfield.y" class="structfield small-section-header"><a href="#structfield.y" class="anchor field"></a><code id="y.v">y: S</code></span><div class='docblock'><p>The y component of the vector.</p>
</div><h2 id='methods' class='small-section-header'>Methods<a href='#methods' class='anchor'></a></h2><h3 id='impl' class='impl'><code class='in-band'>impl&lt;S&gt; <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;S&gt;</code><a href='#impl' class='anchor'></a><a class='srclink' href='../src/cgmath/vector.rs.html#99-114' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.new' class="method"><code id='new.v'>pub const fn <a href='#method.new' class='fnname'>new</a>(x: S, y: S) -&gt; <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;S&gt;</code><a class='srclink' href='../src/cgmath/vector.rs.html#102-104' title='goto source code'>[src]</a></h4><div class='docblock'><p>Construct a new vector, using the provided values.</p>
</div><h4 id='method.map' class="method"><code id='map.v'>pub fn <a href='#method.map' class='fnname'>map</a>&lt;U, F&gt;(self, f: F) -&gt; <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;U&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;F: <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnMut.html" title="trait core::ops::function::FnMut">FnMut</a>(S) -&gt; U,&nbsp;</span></code><a class='srclink' href='../src/cgmath/vector.rs.html#109-113' title='goto source code'>[src]</a></h4><div class='docblock'><p>Perform the given operation on each field in the vector, returning a new point
constructed from the operations.</p>
</div></div><h3 id='impl-1' class='impl'><code class='in-band'>impl&lt;S:&nbsp;<a class="trait" href="../num_traits/cast/trait.NumCast.html" title="trait num_traits::cast::NumCast">NumCast</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Copy.html" title="trait core::marker::Copy">Copy</a>&gt; <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;S&gt;</code><a href='#impl-1' class='anchor'></a><a class='srclink' href='../src/cgmath/vector.rs.html#122-134' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.cast' class="method"><code id='cast.v'>pub fn <a href='#method.cast' class='fnname'>cast</a>&lt;T:&nbsp;<a class="trait" href="../num_traits/cast/trait.NumCast.html" title="trait num_traits::cast::NumCast">NumCast</a>&gt;(&amp;self) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;T&gt;&gt;</code><a class='srclink' href='../src/cgmath/vector.rs.html#125-133' title='goto source code'>[src]</a></h4><div class='docblock'><p>Component-wise casting to another type.</p>
</div></div><h3 id='impl-2' class='impl'><code class='in-band'>impl&lt;S:&nbsp;<a class="trait" href="../cgmath/trait.BaseNum.html" title="trait cgmath::BaseNum">BaseNum</a>&gt; <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;S&gt;</code><a href='#impl-2' class='anchor'></a><a class='srclink' href='../src/cgmath/vector.rs.html#659-686' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.unit_x' class="method"><code id='unit_x.v'>pub fn <a href='#method.unit_x' class='fnname'>unit_x</a>() -&gt; <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;S&gt;</code><a class='srclink' href='../src/cgmath/vector.rs.html#662-664' title='goto source code'>[src]</a></h4><div class='docblock'><p>A unit vector in the <code>x</code> direction.</p>
</div><h4 id='method.unit_y' class="method"><code id='unit_y.v'>pub fn <a href='#method.unit_y' class='fnname'>unit_y</a>() -&gt; <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;S&gt;</code><a class='srclink' href='../src/cgmath/vector.rs.html#668-670' title='goto source code'>[src]</a></h4><div class='docblock'><p>A unit vector in the <code>y</code> direction.</p>
</div><h4 id='method.perp_dot' class="method"><code id='perp_dot.v'>pub fn <a href='#method.perp_dot' class='fnname'>perp_dot</a>(self, other: <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;S&gt;) -&gt; S</code><a class='srclink' href='../src/cgmath/vector.rs.html#674-676' title='goto source code'>[src]</a></h4><div class='docblock'><p>The perpendicular dot product of the vector and <code>other</code>.</p>
</div><h4 id='method.extend' class="method"><code id='extend.v'>pub fn <a href='#method.extend' class='fnname'>extend</a>(self, z: S) -&gt; <a class="struct" href="../cgmath/struct.Vector3.html" title="struct cgmath::Vector3">Vector3</a>&lt;S&gt;</code><a class='srclink' href='../src/cgmath/vector.rs.html#681-683' title='goto source code'>[src]</a></h4><div class='docblock'><p>Create a <code>Vector3</code>, using the <code>x</code> and <code>y</code> values from this vector, and the
provided <code>z</code>.</p>
</div></div><h2 id='implementations' class='small-section-header'>Trait Implementations<a href='#implementations' class='anchor'></a></h2><div id='implementations-list'><h3 id='impl-Array' class='impl'><code class='in-band'>impl&lt;S:&nbsp;<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Copy.html" title="trait core::marker::Copy">Copy</a>&gt; <a class="trait" href="../cgmath/prelude/trait.Array.html" title="trait cgmath::prelude::Array">Array</a> for <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;S&gt;</code><a href='#impl-Array' class='anchor'></a><a class='srclink' href='../src/cgmath/vector.rs.html#145-171' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Element' class="type"><code id='Element.t'>type <a href='../cgmath/prelude/trait.Array.html#associatedtype.Element' class="type">Element</a> = S</code></h4><h4 id='method.len' class="method hidden"><code id='len.v'>fn <a href='../cgmath/prelude/trait.Array.html#tymethod.len' class='fnname'>len</a>() -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a></code><a class='srclink' href='../src/cgmath/vector.rs.html#149-151' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Get the number of elements in the array type <a href="../cgmath/prelude/trait.Array.html#tymethod.len">Read more</a></p>
</div><h4 id='method.from_value' class="method hidden"><code id='from_value.v'>fn <a href='../cgmath/prelude/trait.Array.html#tymethod.from_value' class='fnname'>from_value</a>(scalar: S) -&gt; <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;S&gt;</code><a class='srclink' href='../src/cgmath/vector.rs.html#154-156' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Construct a vector from a single value, replicating it. <a href="../cgmath/prelude/trait.Array.html#tymethod.from_value">Read more</a></p>
</div><h4 id='method.sum' class="method hidden"><code id='sum.v'>fn <a href='../cgmath/prelude/trait.Array.html#tymethod.sum' class='fnname'>sum</a>(self) -&gt; S <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;S: <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Add.html" title="trait core::ops::arith::Add">Add</a>&lt;Output = S&gt;,&nbsp;</span></code><a class='srclink' href='../src/cgmath/vector.rs.html#159-161' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>The sum of the elements of the array.</p>
</div><h4 id='method.product' class="method hidden"><code id='product.v'>fn <a href='../cgmath/prelude/trait.Array.html#tymethod.product' class='fnname'>product</a>(self) -&gt; S <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;S: <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html" title="trait core::ops::arith::Mul">Mul</a>&lt;Output = S&gt;,&nbsp;</span></code><a class='srclink' href='../src/cgmath/vector.rs.html#164-166' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>The product of the elements of the array.</p>
</div><h4 id='method.is_finite' class="method hidden"><code id='is_finite.v'>fn <a href='../cgmath/prelude/trait.Array.html#tymethod.is_finite' class='fnname'>is_finite</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a> <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;S: <a class="trait" href="../cgmath/trait.BaseFloat.html" title="trait cgmath::BaseFloat">BaseFloat</a>,&nbsp;</span></code><a class='srclink' href='../src/cgmath/vector.rs.html#168-170' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Whether all elements of the array are finite</p>
</div><h4 id='method.as_ptr' class="method hidden"><code id='as_ptr.v'>fn <a href='../cgmath/prelude/trait.Array.html#method.as_ptr' class='fnname'>as_ptr</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.pointer.html">*const </a>Self::<a class="type" href="../cgmath/prelude/trait.Array.html#associatedtype.Element" title="type cgmath::prelude::Array::Element">Element</a></code><a class='srclink' href='../src/cgmath/structure.rs.html#62-64' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Get the pointer to the first element of the array.</p>
</div><h4 id='method.as_mut_ptr' class="method hidden"><code id='as_mut_ptr.v'>fn <a href='../cgmath/prelude/trait.Array.html#method.as_mut_ptr' class='fnname'>as_mut_ptr</a>(&amp;mut self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.pointer.html">*mut </a>Self::<a class="type" href="../cgmath/prelude/trait.Array.html#associatedtype.Element" title="type cgmath::prelude::Array::Element">Element</a></code><a class='srclink' href='../src/cgmath/structure.rs.html#68-70' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Get a mutable pointer to the first element of the array.</p>
</div><h4 id='method.swap_elements' class="method hidden"><code id='swap_elements.v'>fn <a href='../cgmath/prelude/trait.Array.html#method.swap_elements' class='fnname'>swap_elements</a>(&amp;mut self, i: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>, j: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>)</code><a class='srclink' href='../src/cgmath/structure.rs.html#74-79' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Swap the elements at indices <code>i</code> and <code>j</code> in-place.</p>
</div></div><h3 id='impl-ElementWise%3CVector2%3CS%3E%3E' class='impl'><code class='in-band'>impl&lt;S:&nbsp;<a class="trait" href="../cgmath/trait.BaseNum.html" title="trait cgmath::BaseNum">BaseNum</a>&gt; <a class="trait" href="../cgmath/prelude/trait.ElementWise.html" title="trait cgmath::prelude::ElementWise">ElementWise</a>&lt;<a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;S&gt;&gt; for <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;S&gt;</code><a href='#impl-ElementWise%3CVector2%3CS%3E%3E' class='anchor'></a><a class='srclink' href='../src/cgmath/vector.rs.html#304-316' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.add_element_wise' class="method hidden"><code id='add_element_wise.v'>fn <a href='../cgmath/prelude/trait.ElementWise.html#tymethod.add_element_wise' class='fnname'>add_element_wise</a>(self, rhs: <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;S&gt;) -&gt; <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;S&gt;</code><a class='srclink' href='../src/cgmath/vector.rs.html#305' title='goto source code'>[src]</a></h4><h4 id='method.sub_element_wise' class="method hidden"><code id='sub_element_wise.v'>fn <a href='../cgmath/prelude/trait.ElementWise.html#tymethod.sub_element_wise' class='fnname'>sub_element_wise</a>(self, rhs: <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;S&gt;) -&gt; <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;S&gt;</code><a class='srclink' href='../src/cgmath/vector.rs.html#306' title='goto source code'>[src]</a></h4><h4 id='method.mul_element_wise' class="method hidden"><code id='mul_element_wise.v'>fn <a href='../cgmath/prelude/trait.ElementWise.html#tymethod.mul_element_wise' class='fnname'>mul_element_wise</a>(self, rhs: <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;S&gt;) -&gt; <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;S&gt;</code><a class='srclink' href='../src/cgmath/vector.rs.html#307' title='goto source code'>[src]</a></h4><h4 id='method.div_element_wise' class="method hidden"><code id='div_element_wise.v'>fn <a href='../cgmath/prelude/trait.ElementWise.html#tymethod.div_element_wise' class='fnname'>div_element_wise</a>(self, rhs: <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;S&gt;) -&gt; <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;S&gt;</code><a class='srclink' href='../src/cgmath/vector.rs.html#308' title='goto source code'>[src]</a></h4><h4 id='method.rem_element_wise' class="method hidden"><code id='rem_element_wise.v'>fn <a href='../cgmath/prelude/trait.ElementWise.html#tymethod.rem_element_wise' class='fnname'>rem_element_wise</a>(self, rhs: <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;S&gt;) -&gt; <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;S&gt;</code><a class='srclink' href='../src/cgmath/vector.rs.html#309' title='goto source code'>[src]</a></h4><h4 id='method.add_assign_element_wise' class="method hidden"><code id='add_assign_element_wise.v'>fn <a href='../cgmath/prelude/trait.ElementWise.html#tymethod.add_assign_element_wise' class='fnname'>add_assign_element_wise</a>(&amp;mut self, rhs: <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;S&gt;)</code><a class='srclink' href='../src/cgmath/vector.rs.html#311' title='goto source code'>[src]</a></h4><h4 id='method.sub_assign_element_wise' class="method hidden"><code id='sub_assign_element_wise.v'>fn <a href='../cgmath/prelude/trait.ElementWise.html#tymethod.sub_assign_element_wise' class='fnname'>sub_assign_element_wise</a>(&amp;mut self, rhs: <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;S&gt;)</code><a class='srclink' href='../src/cgmath/vector.rs.html#312' title='goto source code'>[src]</a></h4><h4 id='method.mul_assign_element_wise' class="method hidden"><code id='mul_assign_element_wise.v'>fn <a href='../cgmath/prelude/trait.ElementWise.html#tymethod.mul_assign_element_wise' class='fnname'>mul_assign_element_wise</a>(&amp;mut self, rhs: <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;S&gt;)</code><a class='srclink' href='../src/cgmath/vector.rs.html#313' title='goto source code'>[src]</a></h4><h4 id='method.div_assign_element_wise' class="method hidden"><code id='div_assign_element_wise.v'>fn <a href='../cgmath/prelude/trait.ElementWise.html#tymethod.div_assign_element_wise' class='fnname'>div_assign_element_wise</a>(&amp;mut self, rhs: <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;S&gt;)</code><a class='srclink' href='../src/cgmath/vector.rs.html#314' title='goto source code'>[src]</a></h4><h4 id='method.rem_assign_element_wise' class="method hidden"><code id='rem_assign_element_wise.v'>fn <a href='../cgmath/prelude/trait.ElementWise.html#tymethod.rem_assign_element_wise' class='fnname'>rem_assign_element_wise</a>(&amp;mut self, rhs: <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;S&gt;)</code><a class='srclink' href='../src/cgmath/vector.rs.html#315' title='goto source code'>[src]</a></h4></div><h3 id='impl-ElementWise%3CS%3E' class='impl'><code class='in-band'>impl&lt;S:&nbsp;<a class="trait" href="../cgmath/trait.BaseNum.html" title="trait cgmath::BaseNum">BaseNum</a>&gt; <a class="trait" href="../cgmath/prelude/trait.ElementWise.html" title="trait cgmath::prelude::ElementWise">ElementWise</a>&lt;S&gt; for <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;S&gt;</code><a href='#impl-ElementWise%3CS%3E' class='anchor'></a><a class='srclink' href='../src/cgmath/vector.rs.html#318-330' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.add_element_wise-1' class="method hidden"><code id='add_element_wise.v-1'>fn <a href='../cgmath/prelude/trait.ElementWise.html#tymethod.add_element_wise' class='fnname'>add_element_wise</a>(self, rhs: S) -&gt; <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;S&gt;</code><a class='srclink' href='../src/cgmath/vector.rs.html#319' title='goto source code'>[src]</a></h4><h4 id='method.sub_element_wise-1' class="method hidden"><code id='sub_element_wise.v-1'>fn <a href='../cgmath/prelude/trait.ElementWise.html#tymethod.sub_element_wise' class='fnname'>sub_element_wise</a>(self, rhs: S) -&gt; <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;S&gt;</code><a class='srclink' href='../src/cgmath/vector.rs.html#320' title='goto source code'>[src]</a></h4><h4 id='method.mul_element_wise-1' class="method hidden"><code id='mul_element_wise.v-1'>fn <a href='../cgmath/prelude/trait.ElementWise.html#tymethod.mul_element_wise' class='fnname'>mul_element_wise</a>(self, rhs: S) -&gt; <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;S&gt;</code><a class='srclink' href='../src/cgmath/vector.rs.html#321' title='goto source code'>[src]</a></h4><h4 id='method.div_element_wise-1' class="method hidden"><code id='div_element_wise.v-1'>fn <a href='../cgmath/prelude/trait.ElementWise.html#tymethod.div_element_wise' class='fnname'>div_element_wise</a>(self, rhs: S) -&gt; <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;S&gt;</code><a class='srclink' href='../src/cgmath/vector.rs.html#322' title='goto source code'>[src]</a></h4><h4 id='method.rem_element_wise-1' class="method hidden"><code id='rem_element_wise.v-1'>fn <a href='../cgmath/prelude/trait.ElementWise.html#tymethod.rem_element_wise' class='fnname'>rem_element_wise</a>(self, rhs: S) -&gt; <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;S&gt;</code><a class='srclink' href='../src/cgmath/vector.rs.html#323' title='goto source code'>[src]</a></h4><h4 id='method.add_assign_element_wise-1' class="method hidden"><code id='add_assign_element_wise.v-1'>fn <a href='../cgmath/prelude/trait.ElementWise.html#tymethod.add_assign_element_wise' class='fnname'>add_assign_element_wise</a>(&amp;mut self, rhs: S)</code><a class='srclink' href='../src/cgmath/vector.rs.html#325' title='goto source code'>[src]</a></h4><h4 id='method.sub_assign_element_wise-1' class="method hidden"><code id='sub_assign_element_wise.v-1'>fn <a href='../cgmath/prelude/trait.ElementWise.html#tymethod.sub_assign_element_wise' class='fnname'>sub_assign_element_wise</a>(&amp;mut self, rhs: S)</code><a class='srclink' href='../src/cgmath/vector.rs.html#326' title='goto source code'>[src]</a></h4><h4 id='method.mul_assign_element_wise-1' class="method hidden"><code id='mul_assign_element_wise.v-1'>fn <a href='../cgmath/prelude/trait.ElementWise.html#tymethod.mul_assign_element_wise' class='fnname'>mul_assign_element_wise</a>(&amp;mut self, rhs: S)</code><a class='srclink' href='../src/cgmath/vector.rs.html#327' title='goto source code'>[src]</a></h4><h4 id='method.div_assign_element_wise-1' class="method hidden"><code id='div_assign_element_wise.v-1'>fn <a href='../cgmath/prelude/trait.ElementWise.html#tymethod.div_assign_element_wise' class='fnname'>div_assign_element_wise</a>(&amp;mut self, rhs: S)</code><a class='srclink' href='../src/cgmath/vector.rs.html#328' title='goto source code'>[src]</a></h4><h4 id='method.rem_assign_element_wise-1' class="method hidden"><code id='rem_assign_element_wise.v-1'>fn <a href='../cgmath/prelude/trait.ElementWise.html#tymethod.rem_assign_element_wise' class='fnname'>rem_assign_element_wise</a>(&amp;mut self, rhs: S)</code><a class='srclink' href='../src/cgmath/vector.rs.html#329' title='goto source code'>[src]</a></h4></div><h3 id='impl-VectorSpace' class='impl'><code class='in-band'>impl&lt;S:&nbsp;<a class="trait" href="../cgmath/trait.BaseNum.html" title="trait cgmath::BaseNum">BaseNum</a>&gt; <a class="trait" href="../cgmath/prelude/trait.VectorSpace.html" title="trait cgmath::prelude::VectorSpace">VectorSpace</a> for <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;S&gt;</code><a href='#impl-VectorSpace' class='anchor'></a><a class='srclink' href='../src/cgmath/vector.rs.html#199-201' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Scalar' class="type"><code id='Scalar.t'>type <a href='../cgmath/prelude/trait.VectorSpace.html#associatedtype.Scalar' class="type">Scalar</a> = S</code></h4><div class='docblock'><p>The associated scalar.</p>
</div><h4 id='method.lerp' class="method hidden"><code id='lerp.v'>fn <a href='../cgmath/prelude/trait.VectorSpace.html#method.lerp' class='fnname'>lerp</a>(self, other: Self, amount: Self::<a class="type" href="../cgmath/prelude/trait.VectorSpace.html#associatedtype.Scalar" title="type cgmath::prelude::VectorSpace::Scalar">Scalar</a>) -&gt; Self</code><a class='srclink' href='../src/cgmath/structure.rs.html#188-190' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Returns the result of linearly interpolating the vector towards <code>other</code> by the specified amount. <a href="../cgmath/prelude/trait.VectorSpace.html#method.lerp">Read more</a></p>
</div></div><h3 id='impl-MetricSpace' class='impl'><code class='in-band'>impl&lt;S:&nbsp;<a class="trait" href="../cgmath/trait.BaseFloat.html" title="trait cgmath::BaseFloat">BaseFloat</a>&gt; <a class="trait" href="../cgmath/prelude/trait.MetricSpace.html" title="trait cgmath::prelude::MetricSpace">MetricSpace</a> for <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;S&gt;</code><a href='#impl-MetricSpace' class='anchor'></a><a class='srclink' href='../src/cgmath/vector.rs.html#136-143' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Metric' class="type"><code id='Metric.t'>type <a href='../cgmath/prelude/trait.MetricSpace.html#associatedtype.Metric' class="type">Metric</a> = S</code></h4><div class='docblock'><p>The metric to be returned by the <code>distance</code> function.</p>
</div><h4 id='method.distance2' class="method hidden"><code id='distance2.v'>fn <a href='../cgmath/prelude/trait.MetricSpace.html#tymethod.distance2' class='fnname'>distance2</a>(self, other: Self) -&gt; S</code><a class='srclink' href='../src/cgmath/vector.rs.html#140-142' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Returns the squared distance. <a href="../cgmath/prelude/trait.MetricSpace.html#tymethod.distance2">Read more</a></p>
</div><h4 id='method.distance' class="method hidden"><code id='distance.v'>fn <a href='../cgmath/prelude/trait.MetricSpace.html#method.distance' class='fnname'>distance</a>(self, other: Self) -&gt; Self::<a class="type" href="../cgmath/prelude/trait.MetricSpace.html#associatedtype.Metric" title="type cgmath::prelude::MetricSpace::Metric">Metric</a></code><a class='srclink' href='../src/cgmath/structure.rs.html#208-210' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>The distance between two values.</p>
</div></div><h3 id='impl-InnerSpace' class='impl'><code class='in-band'>impl&lt;S:&nbsp;<a class="trait" href="../cgmath/trait.BaseFloat.html" title="trait cgmath::BaseFloat">BaseFloat</a>&gt; <a class="trait" href="../cgmath/prelude/trait.InnerSpace.html" title="trait cgmath::prelude::InnerSpace">InnerSpace</a> for <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;S&gt;</code><a href='#impl-InnerSpace' class='anchor'></a><a class='srclink' href='../src/cgmath/vector.rs.html#795-805' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.dot' class="method hidden"><code id='dot.v'>fn <a href='../cgmath/prelude/trait.InnerSpace.html#tymethod.dot' class='fnname'>dot</a>(self, other: <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;S&gt;) -&gt; S</code><a class='srclink' href='../src/cgmath/vector.rs.html#797-799' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Vector dot (or inner) product.</p>
</div><h4 id='method.angle' class="method hidden"><code id='angle.v'>fn <a href='../cgmath/prelude/trait.InnerSpace.html#method.angle' class='fnname'>angle</a>(self, other: <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;S&gt;) -&gt; <a class="struct" href="../cgmath/struct.Rad.html" title="struct cgmath::Rad">Rad</a>&lt;S&gt;</code><a class='srclink' href='../src/cgmath/vector.rs.html#802-804' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Returns the angle between two vectors in radians.</p>
</div><h4 id='method.is_perpendicular' class="method hidden"><code id='is_perpendicular.v'>fn <a href='../cgmath/prelude/trait.InnerSpace.html#method.is_perpendicular' class='fnname'>is_perpendicular</a>(self, other: Self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code><a class='srclink' href='../src/cgmath/structure.rs.html#234-236' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Returns <code>true</code> if the vector is perpendicular (at right angles) to the other vector. <a href="../cgmath/prelude/trait.InnerSpace.html#method.is_perpendicular">Read more</a></p>
</div><h4 id='method.magnitude2' class="method hidden"><code id='magnitude2.v'>fn <a href='../cgmath/prelude/trait.InnerSpace.html#method.magnitude2' class='fnname'>magnitude2</a>(self) -&gt; Self::<a class="type" href="../cgmath/prelude/trait.VectorSpace.html#associatedtype.Scalar" title="type cgmath::prelude::VectorSpace::Scalar">Scalar</a></code><a class='srclink' href='../src/cgmath/structure.rs.html#244-246' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Returns the squared magnitude. <a href="../cgmath/prelude/trait.InnerSpace.html#method.magnitude2">Read more</a></p>
</div><h4 id='method.magnitude' class="method hidden"><code id='magnitude.v'>fn <a href='../cgmath/prelude/trait.InnerSpace.html#method.magnitude' class='fnname'>magnitude</a>(self) -&gt; Self::<a class="type" href="../cgmath/prelude/trait.VectorSpace.html#associatedtype.Scalar" title="type cgmath::prelude::VectorSpace::Scalar">Scalar</a></code><a class='srclink' href='../src/cgmath/structure.rs.html#250-252' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>The distance from the tail to the tip of the vector.</p>
</div><h4 id='method.normalize' class="method hidden"><code id='normalize.v'>fn <a href='../cgmath/prelude/trait.InnerSpace.html#method.normalize' class='fnname'>normalize</a>(self) -&gt; Self</code><a class='srclink' href='../src/cgmath/structure.rs.html#261-263' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Returns a vector with the same direction, but with a magnitude of <code>1</code>.</p>
</div><h4 id='method.normalize_to' class="method hidden"><code id='normalize_to.v'>fn <a href='../cgmath/prelude/trait.InnerSpace.html#method.normalize_to' class='fnname'>normalize_to</a>(self, magnitude: Self::<a class="type" href="../cgmath/prelude/trait.VectorSpace.html#associatedtype.Scalar" title="type cgmath::prelude::VectorSpace::Scalar">Scalar</a>) -&gt; Self</code><a class='srclink' href='../src/cgmath/structure.rs.html#267-269' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Returns a vector with the same direction and a given magnitude.</p>
</div><h4 id='method.project_on' class="method hidden"><code id='project_on.v'>fn <a href='../cgmath/prelude/trait.InnerSpace.html#method.project_on' class='fnname'>project_on</a>(self, other: Self) -&gt; Self</code><a class='srclink' href='../src/cgmath/structure.rs.html#275-277' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Returns the vector projection of the current inner space projected onto the supplied argument. <a href="../cgmath/prelude/trait.InnerSpace.html#method.project_on">Read more</a></p>
</div></div><h3 id='impl-Into%3C%5BS%3B%202%5D%3E' class='impl'><code class='in-band'>impl&lt;S&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">[</a>S<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">; 2]</a>&gt; for <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;S&gt;</code><a href='#impl-Into%3C%5BS%3B%202%5D%3E' class='anchor'></a><a class='srclink' href='../src/cgmath/macros.rs.html#145-150' 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) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">[</a>S<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">; 2]</a></code><a class='srclink' href='../src/cgmath/macros.rs.html#147-149' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p>
</div></div><h3 id='impl-Into%3C(S%2C%20S)%3E' class='impl'><code class='in-band'>impl&lt;S&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;<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>&gt; for <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;S&gt;</code><a href='#impl-Into%3C(S%2C%20S)%3E' class='anchor'></a><a class='srclink' href='../src/cgmath/macros.rs.html#193-198' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.into-1' class="method hidden"><code id='into.v-1'>fn <a href='https://doc.rust-lang.org/nightly/core/convert/trait.Into.html#tymethod.into' class='fnname'>into</a>(self) -&gt; <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/macros.rs.html#195-197' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p>
</div></div><h3 id='impl-Eq' class='impl'><code class='in-band'>impl&lt;S:&nbsp;<a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.Eq.html" title="trait core::cmp::Eq">Eq</a>&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.Eq.html" title="trait core::cmp::Eq">Eq</a> for <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;S&gt;</code><a href='#impl-Eq' class='anchor'></a><a class='srclink' href='../src/cgmath/vector.rs.html#55' title='goto source code'>[src]</a></h3><div class='impl-items'></div><h3 id='impl-AsMut%3C%5BS%3B%202%5D%3E' class='impl'><code class='in-band'>impl&lt;S&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.AsMut.html" title="trait core::convert::AsMut">AsMut</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">[</a>S<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">; 2]</a>&gt; for <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;S&gt;</code><a href='#impl-AsMut%3C%5BS%3B%202%5D%3E' class='anchor'></a><a class='srclink' href='../src/cgmath/macros.rs.html#159-164' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_mut' class="method hidden"><code id='as_mut.v'>fn <a href='https://doc.rust-lang.org/nightly/core/convert/trait.AsMut.html#tymethod.as_mut' class='fnname'>as_mut</a>(&amp;mut self) -&gt; &amp;mut <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">[</a>S<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">; 2]</a></code><a class='srclink' href='../src/cgmath/macros.rs.html#161-163' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p>
</div></div><h3 id='impl-AsMut%3C(S%2C%20S)%3E' class='impl'><code class='in-band'>impl&lt;S&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.AsMut.html" title="trait core::convert::AsMut">AsMut</a>&lt;<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>&gt; for <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;S&gt;</code><a href='#impl-AsMut%3C(S%2C%20S)%3E' class='anchor'></a><a class='srclink' href='../src/cgmath/macros.rs.html#207-212' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_mut-1' class="method hidden"><code id='as_mut.v-1'>fn <a href='https://doc.rust-lang.org/nightly/core/convert/trait.AsMut.html#tymethod.as_mut' class='fnname'>as_mut</a>(&amp;mut self) -&gt; &amp;mut <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/macros.rs.html#209-211' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p>
</div></div><h3 id='impl-Clone' class='impl'><code class='in-band'>impl&lt;S:&nbsp;<a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a>&gt; <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.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;S&gt;</code><a href='#impl-Clone' class='anchor'></a><a class='srclink' href='../src/cgmath/vector.rs.html#55' 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>(&amp;self) -&gt; <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;S&gt;</code><a class='srclink' href='../src/cgmath/vector.rs.html#55' 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>(&amp;mut self, source: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;</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-AsRef%3C%5BS%3B%202%5D%3E' class='impl'><code class='in-band'>impl&lt;S&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.AsRef.html" title="trait core::convert::AsRef">AsRef</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">[</a>S<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">; 2]</a>&gt; for <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;S&gt;</code><a href='#impl-AsRef%3C%5BS%3B%202%5D%3E' class='anchor'></a><a class='srclink' href='../src/cgmath/macros.rs.html#152-157' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_ref' class="method hidden"><code id='as_ref.v'>fn <a href='https://doc.rust-lang.org/nightly/core/convert/trait.AsRef.html#tymethod.as_ref' class='fnname'>as_ref</a>(&amp;self) -&gt; &amp;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">[</a>S<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">; 2]</a></code><a class='srclink' href='../src/cgmath/macros.rs.html#154-156' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p>
</div></div><h3 id='impl-AsRef%3C(S%2C%20S)%3E' class='impl'><code class='in-band'>impl&lt;S&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.AsRef.html" title="trait core::convert::AsRef">AsRef</a>&lt;<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>&gt; for <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;S&gt;</code><a href='#impl-AsRef%3C(S%2C%20S)%3E' class='anchor'></a><a class='srclink' href='../src/cgmath/macros.rs.html#200-205' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_ref-1' class="method hidden"><code id='as_ref.v-1'>fn <a href='https://doc.rust-lang.org/nightly/core/convert/trait.AsRef.html#tymethod.as_ref' class='fnname'>as_ref</a>(&amp;self) -&gt; &amp;<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/macros.rs.html#202-204' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p>
</div></div><h3 id='impl-PartialEq%3CVector2%3CS%3E%3E' class='impl'><code class='in-band'>impl&lt;S:&nbsp;<a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a>&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a>&lt;<a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;S&gt;&gt; for <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;S&gt;</code><a href='#impl-PartialEq%3CVector2%3CS%3E%3E' class='anchor'></a><a class='srclink' href='../src/cgmath/vector.rs.html#55' 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>(&amp;self, other: &amp;<a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;S&gt;) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code><a class='srclink' href='../src/cgmath/vector.rs.html#55' 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>(&amp;self, other: &amp;<a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;S&gt;) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code><a class='srclink' href='../src/cgmath/vector.rs.html#55' 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%3C%5BS%3B%202%5D%3E' class='impl'><code class='in-band'>impl&lt;S:&nbsp;<a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a>&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">[</a>S<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">; 2]</a>&gt; for <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;S&gt;</code><a href='#impl-From%3C%5BS%3B%202%5D%3E' class='anchor'></a><a class='srclink' href='../src/cgmath/macros.rs.html#166-172' 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>(v: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">[</a>S<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">; 2]</a>) -&gt; <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;S&gt;</code><a class='srclink' href='../src/cgmath/macros.rs.html#168-171' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p>
</div></div><h3 id='impl-From%3C%26%27a%20%5BS%3B%202%5D%3E' class='impl'><code class='in-band'>impl&lt;'a, S&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;&amp;'a <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">[</a>S<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">; 2]</a>&gt; for &amp;'a <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;S&gt;</code><a href='#impl-From%3C%26%27a%20%5BS%3B%202%5D%3E' class='anchor'></a><a class='srclink' href='../src/cgmath/macros.rs.html#174-179' 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>(v: &amp;'a <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">[</a>S<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">; 2]</a>) -&gt; &amp;'a <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;S&gt;</code><a class='srclink' href='../src/cgmath/macros.rs.html#176-178' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p>
</div></div><h3 id='impl-From%3C%26%27a%20mut%20%5BS%3B%202%5D%3E' class='impl'><code class='in-band'>impl&lt;'a, S&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;&amp;'a mut <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">[</a>S<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">; 2]</a>&gt; for &amp;'a mut <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;S&gt;</code><a href='#impl-From%3C%26%27a%20mut%20%5BS%3B%202%5D%3E' class='anchor'></a><a class='srclink' href='../src/cgmath/macros.rs.html#181-186' 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>(v: &amp;'a mut <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">[</a>S<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">; 2]</a>) -&gt; &amp;'a mut <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;S&gt;</code><a class='srclink' href='../src/cgmath/macros.rs.html#183-185' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p>
</div></div><h3 id='impl-From%3C(S%2C%20S)%3E' class='impl'><code class='in-band'>impl&lt;S&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;<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>&gt; for <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;S&gt;</code><a href='#impl-From%3C(S%2C%20S)%3E' class='anchor'></a><a class='srclink' href='../src/cgmath/macros.rs.html#214-219' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.from-3' class="method hidden"><code id='from.v-3'>fn <a href='https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from' class='fnname'>from</a>(v: <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>) -&gt; <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;S&gt;</code><a class='srclink' href='../src/cgmath/macros.rs.html#216-218' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p>
</div></div><h3 id='impl-From%3C%26%27a%20(S%2C%20S)%3E' class='impl'><code class='in-band'>impl&lt;'a, S&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;&amp;'a <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>&gt; for &amp;'a <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;S&gt;</code><a href='#impl-From%3C%26%27a%20(S%2C%20S)%3E' class='anchor'></a><a class='srclink' href='../src/cgmath/macros.rs.html#221-226' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.from-4' class="method hidden"><code id='from.v-4'>fn <a href='https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from' class='fnname'>from</a>(v: &amp;'a <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>) -&gt; &amp;'a <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;S&gt;</code><a class='srclink' href='../src/cgmath/macros.rs.html#223-225' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p>
</div></div><h3 id='impl-From%3C%26%27a%20mut%20(S%2C%20S)%3E' class='impl'><code class='in-band'>impl&lt;'a, S&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;&amp;'a mut <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>&gt; for &amp;'a mut <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;S&gt;</code><a href='#impl-From%3C%26%27a%20mut%20(S%2C%20S)%3E' class='anchor'></a><a class='srclink' href='../src/cgmath/macros.rs.html#228-233' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.from-5' class="method hidden"><code id='from.v-5'>fn <a href='https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from' class='fnname'>from</a>(v: &amp;'a mut <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>) -&gt; &amp;'a mut <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;S&gt;</code><a class='srclink' href='../src/cgmath/macros.rs.html#230-232' 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&lt;S:&nbsp;<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Copy.html" title="trait core::marker::Copy">Copy</a>&gt; <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.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;S&gt;</code><a href='#impl-Copy' class='anchor'></a><a class='srclink' href='../src/cgmath/vector.rs.html#55' title='goto source code'>[src]</a></h3><div class='impl-items'></div><h3 id='impl-Hash' class='impl'><code class='in-band'>impl&lt;S:&nbsp;<a class="trait" href="https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html" title="trait core::hash::Hash">Hash</a>&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html" title="trait core::hash::Hash">Hash</a> for <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;S&gt;</code><a href='#impl-Hash' class='anchor'></a><a class='srclink' href='../src/cgmath/vector.rs.html#55' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.hash' class="method hidden"><code id='hash.v'>fn <a href='https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html#tymethod.hash' class='fnname'>hash</a>&lt;__H:&nbsp;<a class="trait" href="https://doc.rust-lang.org/nightly/core/hash/trait.Hasher.html" title="trait core::hash::Hasher">Hasher</a>&gt;(&amp;self, state: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;mut </a>__H)</code><a class='srclink' href='../src/cgmath/vector.rs.html#55' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Feeds this value into the given [<code>Hasher</code>]. <a href="https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html#tymethod.hash">Read more</a></p>
</div><h4 id='method.hash_slice' class="method hidden"><code id='hash_slice.v'>fn <a href='https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html#method.hash_slice' class='fnname'>hash_slice</a>&lt;H&gt;(data: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.slice.html">&amp;[Self]</a>, state: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;mut </a>H) <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;H: <a class="trait" href="https://doc.rust-lang.org/nightly/core/hash/trait.Hasher.html" title="trait core::hash::Hasher">Hasher</a>,&nbsp;</span></code><span class='since' title='Stable since Rust version 1.3.0'>1.3.0</span><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/hash/mod.rs.html#192-198' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Feeds a slice of this type into the given [<code>Hasher</code>]. <a href="https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html#method.hash_slice">Read more</a></p>
</div></div><h3 id='impl-Add%3CVector2%3CS%3E%3E' class='impl'><code class='in-band'>impl&lt;S:&nbsp;<a class="trait" href="../cgmath/trait.BaseNum.html" title="trait cgmath::BaseNum">BaseNum</a>&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Add.html" title="trait core::ops::arith::Add">Add</a>&lt;<a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;S&gt;&gt; for <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;S&gt;</code><a href='#impl-Add%3CVector2%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.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;S&gt;</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.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;S&gt;) -&gt; <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;S&gt;</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%20Vector2%3CS%3E%3E' class='impl'><code class='in-band'>impl&lt;'a, S:&nbsp;<a class="trait" href="../cgmath/trait.BaseNum.html" title="trait cgmath::BaseNum">BaseNum</a>&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Add.html" title="trait core::ops::arith::Add">Add</a>&lt;&amp;'a <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;S&gt;&gt; for <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;S&gt;</code><a href='#impl-Add%3C%26%27a%20Vector2%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.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;S&gt;</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: &amp;'a <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;S&gt;) -&gt; <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;S&gt;</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%3CVector2%3CS%3E%3E-1' class='impl'><code class='in-band'>impl&lt;'a, S:&nbsp;<a class="trait" href="../cgmath/trait.BaseNum.html" title="trait cgmath::BaseNum">BaseNum</a>&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Add.html" title="trait core::ops::arith::Add">Add</a>&lt;<a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;S&gt;&gt; for &amp;'a <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;S&gt;</code><a href='#impl-Add%3CVector2%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.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;S&gt;</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.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;S&gt;) -&gt; <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;S&gt;</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%20Vector2%3CS%3E%3E-1' class='impl'><code class='in-band'>impl&lt;'a, 'b, S:&nbsp;<a class="trait" href="../cgmath/trait.BaseNum.html" title="trait cgmath::BaseNum">BaseNum</a>&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Add.html" title="trait core::ops::arith::Add">Add</a>&lt;&amp;'a <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;S&gt;&gt; for &amp;'b <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;S&gt;</code><a href='#impl-Add%3C%26%27a%20Vector2%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.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;S&gt;</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: &amp;'a <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;S&gt;) -&gt; <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;S&gt;</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-Add%3CVector2%3CS%3E%3E-2' class='impl'><code class='in-band'>impl&lt;S:&nbsp;<a class="trait" href="../cgmath/trait.BaseNum.html" title="trait cgmath::BaseNum">BaseNum</a>&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Add.html" title="trait core::ops::arith::Add">Add</a>&lt;<a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;S&gt;&gt; for <a class="struct" href="../cgmath/struct.Point2.html" title="struct cgmath::Point2">Point2</a>&lt;S&gt;</code><a href='#impl-Add%3CVector2%3CS%3E%3E-2' 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.Add.html#associatedtype.Output' class="type">Output</a> = <a class="struct" href="../cgmath/struct.Point2.html" title="struct cgmath::Point2">Point2</a>&lt;S&gt;</code></h4><div class='docblock'><p>The resulting type after applying the <code>+</code> operator.</p>
</div><h4 id='method.add-4' class="method hidden"><code id='add.v-4'>fn <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.Add.html#tymethod.add' class='fnname'>add</a>(self, other: <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;S&gt;) -&gt; <a class="struct" href="../cgmath/struct.Point2.html" title="struct cgmath::Point2">Point2</a>&lt;S&gt;</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%20Vector2%3CS%3E%3E-2' class='impl'><code class='in-band'>impl&lt;'a, S:&nbsp;<a class="trait" href="../cgmath/trait.BaseNum.html" title="trait cgmath::BaseNum">BaseNum</a>&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Add.html" title="trait core::ops::arith::Add">Add</a>&lt;&amp;'a <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;S&gt;&gt; for <a class="struct" href="../cgmath/struct.Point2.html" title="struct cgmath::Point2">Point2</a>&lt;S&gt;</code><a href='#impl-Add%3C%26%27a%20Vector2%3CS%3E%3E-2' 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.Add.html#associatedtype.Output' class="type">Output</a> = <a class="struct" href="../cgmath/struct.Point2.html" title="struct cgmath::Point2">Point2</a>&lt;S&gt;</code></h4><div class='docblock'><p>The resulting type after applying the <code>+</code> operator.</p>
</div><h4 id='method.add-5' class="method hidden"><code id='add.v-5'>fn <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.Add.html#tymethod.add' class='fnname'>add</a>(self, other: &amp;'a <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;S&gt;) -&gt; <a class="struct" href="../cgmath/struct.Point2.html" title="struct cgmath::Point2">Point2</a>&lt;S&gt;</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%3CVector2%3CS%3E%3E-3' class='impl'><code class='in-band'>impl&lt;'a, S:&nbsp;<a class="trait" href="../cgmath/trait.BaseNum.html" title="trait cgmath::BaseNum">BaseNum</a>&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Add.html" title="trait core::ops::arith::Add">Add</a>&lt;<a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;S&gt;&gt; for &amp;'a <a class="struct" href="../cgmath/struct.Point2.html" title="struct cgmath::Point2">Point2</a>&lt;S&gt;</code><a href='#impl-Add%3CVector2%3CS%3E%3E-3' 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.Add.html#associatedtype.Output' class="type">Output</a> = <a class="struct" href="../cgmath/struct.Point2.html" title="struct cgmath::Point2">Point2</a>&lt;S&gt;</code></h4><div class='docblock'><p>The resulting type after applying the <code>+</code> operator.</p>
</div><h4 id='method.add-6' class="method hidden"><code id='add.v-6'>fn <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.Add.html#tymethod.add' class='fnname'>add</a>(self, other: <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;S&gt;) -&gt; <a class="struct" href="../cgmath/struct.Point2.html" title="struct cgmath::Point2">Point2</a>&lt;S&gt;</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%20Vector2%3CS%3E%3E-3' class='impl'><code class='in-band'>impl&lt;'a, 'b, S:&nbsp;<a class="trait" href="../cgmath/trait.BaseNum.html" title="trait cgmath::BaseNum">BaseNum</a>&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Add.html" title="trait core::ops::arith::Add">Add</a>&lt;&amp;'a <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;S&gt;&gt; for &amp;'b <a class="struct" href="../cgmath/struct.Point2.html" title="struct cgmath::Point2">Point2</a>&lt;S&gt;</code><a href='#impl-Add%3C%26%27a%20Vector2%3CS%3E%3E-3' 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.Add.html#associatedtype.Output' class="type">Output</a> = <a class="struct" href="../cgmath/struct.Point2.html" title="struct cgmath::Point2">Point2</a>&lt;S&gt;</code></h4><div class='docblock'><p>The resulting type after applying the <code>+</code> operator.</p>
</div><h4 id='method.add-7' class="method hidden"><code id='add.v-7'>fn <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.Add.html#tymethod.add' class='fnname'>add</a>(self, other: &amp;'a <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;S&gt;) -&gt; <a class="struct" href="../cgmath/struct.Point2.html" title="struct cgmath::Point2">Point2</a>&lt;S&gt;</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%3CVector2%3CS%3E%3E' class='impl'><code class='in-band'>impl&lt;S:&nbsp;<a class="trait" href="../cgmath/trait.BaseNum.html" title="trait cgmath::BaseNum">BaseNum</a>&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Sub.html" title="trait core::ops::arith::Sub">Sub</a>&lt;<a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;S&gt;&gt; for <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;S&gt;</code><a href='#impl-Sub%3CVector2%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-8' class="type"><code id='Output.t-8'>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.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;S&gt;</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.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;S&gt;) -&gt; <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;S&gt;</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%20Vector2%3CS%3E%3E' class='impl'><code class='in-band'>impl&lt;'a, S:&nbsp;<a class="trait" href="../cgmath/trait.BaseNum.html" title="trait cgmath::BaseNum">BaseNum</a>&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Sub.html" title="trait core::ops::arith::Sub">Sub</a>&lt;&amp;'a <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;S&gt;&gt; for <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;S&gt;</code><a href='#impl-Sub%3C%26%27a%20Vector2%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-9' class="type"><code id='Output.t-9'>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.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;S&gt;</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: &amp;'a <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;S&gt;) -&gt; <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;S&gt;</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%3CVector2%3CS%3E%3E-1' class='impl'><code class='in-band'>impl&lt;'a, S:&nbsp;<a class="trait" href="../cgmath/trait.BaseNum.html" title="trait cgmath::BaseNum">BaseNum</a>&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Sub.html" title="trait core::ops::arith::Sub">Sub</a>&lt;<a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;S&gt;&gt; for &amp;'a <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;S&gt;</code><a href='#impl-Sub%3CVector2%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-10' class="type"><code id='Output.t-10'>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.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;S&gt;</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.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;S&gt;) -&gt; <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;S&gt;</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%20Vector2%3CS%3E%3E-1' class='impl'><code class='in-band'>impl&lt;'a, 'b, S:&nbsp;<a class="trait" href="../cgmath/trait.BaseNum.html" title="trait cgmath::BaseNum">BaseNum</a>&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Sub.html" title="trait core::ops::arith::Sub">Sub</a>&lt;&amp;'a <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;S&gt;&gt; for &amp;'b <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;S&gt;</code><a href='#impl-Sub%3C%26%27a%20Vector2%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-11' class="type"><code id='Output.t-11'>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.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;S&gt;</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: &amp;'a <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;S&gt;) -&gt; <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;S&gt;</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%3CVector2%3CS%3E%3E-2' class='impl'><code class='in-band'>impl&lt;S:&nbsp;<a class="trait" href="../cgmath/trait.BaseNum.html" title="trait cgmath::BaseNum">BaseNum</a>&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Sub.html" title="trait core::ops::arith::Sub">Sub</a>&lt;<a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;S&gt;&gt; for <a class="struct" href="../cgmath/struct.Point2.html" title="struct cgmath::Point2">Point2</a>&lt;S&gt;</code><a href='#impl-Sub%3CVector2%3CS%3E%3E-2' 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-12' class="type"><code id='Output.t-12'>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.Point2.html" title="struct cgmath::Point2">Point2</a>&lt;S&gt;</code></h4><div class='docblock'><p>The resulting type after applying the <code>-</code> operator.</p>
</div><h4 id='method.sub-4' class="method hidden"><code id='sub.v-4'>fn <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.Sub.html#tymethod.sub' class='fnname'>sub</a>(self, other: <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;S&gt;) -&gt; <a class="struct" href="../cgmath/struct.Point2.html" title="struct cgmath::Point2">Point2</a>&lt;S&gt;</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%20Vector2%3CS%3E%3E-2' class='impl'><code class='in-band'>impl&lt;'a, S:&nbsp;<a class="trait" href="../cgmath/trait.BaseNum.html" title="trait cgmath::BaseNum">BaseNum</a>&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Sub.html" title="trait core::ops::arith::Sub">Sub</a>&lt;&amp;'a <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;S&gt;&gt; for <a class="struct" href="../cgmath/struct.Point2.html" title="struct cgmath::Point2">Point2</a>&lt;S&gt;</code><a href='#impl-Sub%3C%26%27a%20Vector2%3CS%3E%3E-2' 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-13' class="type"><code id='Output.t-13'>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.Point2.html" title="struct cgmath::Point2">Point2</a>&lt;S&gt;</code></h4><div class='docblock'><p>The resulting type after applying the <code>-</code> operator.</p>
</div><h4 id='method.sub-5' class="method hidden"><code id='sub.v-5'>fn <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.Sub.html#tymethod.sub' class='fnname'>sub</a>(self, other: &amp;'a <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;S&gt;) -&gt; <a class="struct" href="../cgmath/struct.Point2.html" title="struct cgmath::Point2">Point2</a>&lt;S&gt;</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%3CVector2%3CS%3E%3E-3' class='impl'><code class='in-band'>impl&lt;'a, S:&nbsp;<a class="trait" href="../cgmath/trait.BaseNum.html" title="trait cgmath::BaseNum">BaseNum</a>&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Sub.html" title="trait core::ops::arith::Sub">Sub</a>&lt;<a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;S&gt;&gt; for &amp;'a <a class="struct" href="../cgmath/struct.Point2.html" title="struct cgmath::Point2">Point2</a>&lt;S&gt;</code><a href='#impl-Sub%3CVector2%3CS%3E%3E-3' 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-14' class="type"><code id='Output.t-14'>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.Point2.html" title="struct cgmath::Point2">Point2</a>&lt;S&gt;</code></h4><div class='docblock'><p>The resulting type after applying the <code>-</code> operator.</p>
</div><h4 id='method.sub-6' class="method hidden"><code id='sub.v-6'>fn <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.Sub.html#tymethod.sub' class='fnname'>sub</a>(self, other: <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;S&gt;) -&gt; <a class="struct" href="../cgmath/struct.Point2.html" title="struct cgmath::Point2">Point2</a>&lt;S&gt;</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%20Vector2%3CS%3E%3E-3' class='impl'><code class='in-band'>impl&lt;'a, 'b, S:&nbsp;<a class="trait" href="../cgmath/trait.BaseNum.html" title="trait cgmath::BaseNum">BaseNum</a>&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Sub.html" title="trait core::ops::arith::Sub">Sub</a>&lt;&amp;'a <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;S&gt;&gt; for &amp;'b <a class="struct" href="../cgmath/struct.Point2.html" title="struct cgmath::Point2">Point2</a>&lt;S&gt;</code><a href='#impl-Sub%3C%26%27a%20Vector2%3CS%3E%3E-3' 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-15' class="type"><code id='Output.t-15'>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.Point2.html" title="struct cgmath::Point2">Point2</a>&lt;S&gt;</code></h4><div class='docblock'><p>The resulting type after applying the <code>-</code> operator.</p>
</div><h4 id='method.sub-7' class="method hidden"><code id='sub.v-7'>fn <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.Sub.html#tymethod.sub' class='fnname'>sub</a>(self, other: &amp;'a <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;S&gt;) -&gt; <a class="struct" href="../cgmath/struct.Point2.html" title="struct cgmath::Point2">Point2</a>&lt;S&gt;</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%3CVector2%3CS%3E%3E' class='impl'><code class='in-band'>impl&lt;S:&nbsp;<a class="trait" href="../cgmath/trait.BaseFloat.html" title="trait cgmath::BaseFloat">BaseFloat</a>&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html" title="trait core::ops::arith::Mul">Mul</a>&lt;<a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;S&gt;&gt; for <a class="struct" href="../cgmath/struct.Matrix2.html" title="struct cgmath::Matrix2">Matrix2</a>&lt;S&gt;</code><a href='#impl-Mul%3CVector2%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.Mul.html#associatedtype.Output' class="type">Output</a> = <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;S&gt;</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: <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;S&gt;) -&gt; <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;S&gt;</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-Mul%3C%26%27a%20Vector2%3CS%3E%3E' class='impl'><code class='in-band'>impl&lt;'a, S:&nbsp;<a class="trait" href="../cgmath/trait.BaseFloat.html" title="trait cgmath::BaseFloat">BaseFloat</a>&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html" title="trait core::ops::arith::Mul">Mul</a>&lt;&amp;'a <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;S&gt;&gt; for <a class="struct" href="../cgmath/struct.Matrix2.html" title="struct cgmath::Matrix2">Matrix2</a>&lt;S&gt;</code><a href='#impl-Mul%3C%26%27a%20Vector2%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.Mul.html#associatedtype.Output' class="type">Output</a> = <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;S&gt;</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: &amp;'a <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;S&gt;) -&gt; <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;S&gt;</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-Mul%3CVector2%3CS%3E%3E-1' class='impl'><code class='in-band'>impl&lt;'a, S:&nbsp;<a class="trait" href="../cgmath/trait.BaseFloat.html" title="trait cgmath::BaseFloat">BaseFloat</a>&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html" title="trait core::ops::arith::Mul">Mul</a>&lt;<a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;S&gt;&gt; for &amp;'a <a class="struct" href="../cgmath/struct.Matrix2.html" title="struct cgmath::Matrix2">Matrix2</a>&lt;S&gt;</code><a href='#impl-Mul%3CVector2%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.Mul.html#associatedtype.Output' class="type">Output</a> = <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;S&gt;</code></h4><div class='docblock'><p>The resulting type after applying the <code>*</code> operator.</p>
</div><h4 id='method.mul-2' class="method hidden"><code id='mul.v-2'>fn <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html#tymethod.mul' class='fnname'>mul</a>(self, other: <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;S&gt;) -&gt; <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;S&gt;</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-Mul%3C%26%27a%20Vector2%3CS%3E%3E-1' class='impl'><code class='in-band'>impl&lt;'a, 'b, S:&nbsp;<a class="trait" href="../cgmath/trait.BaseFloat.html" title="trait cgmath::BaseFloat">BaseFloat</a>&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html" title="trait core::ops::arith::Mul">Mul</a>&lt;&amp;'a <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;S&gt;&gt; for &amp;'b <a class="struct" href="../cgmath/struct.Matrix2.html" title="struct cgmath::Matrix2">Matrix2</a>&lt;S&gt;</code><a href='#impl-Mul%3C%26%27a%20Vector2%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.Mul.html#associatedtype.Output' class="type">Output</a> = <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;S&gt;</code></h4><div class='docblock'><p>The resulting type after applying the <code>*</code> operator.</p>
</div><h4 id='method.mul-3' class="method hidden"><code id='mul.v-3'>fn <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html#tymethod.mul' class='fnname'>mul</a>(self, other: &amp;'a <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;S&gt;) -&gt; <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;S&gt;</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&lt;S:&nbsp;<a class="trait" href="../cgmath/trait.BaseNum.html" title="trait cgmath::BaseNum">BaseNum</a>&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html" title="trait core::ops::arith::Mul">Mul</a>&lt;S&gt; for <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;S&gt;</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-20' class="type"><code id='Output.t-20'>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.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;S&gt;</code></h4><div class='docblock'><p>The resulting type after applying the <code>*</code> operator.</p>
</div><h4 id='method.mul-4' class="method hidden"><code id='mul.v-4'>fn <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html#tymethod.mul' class='fnname'>mul</a>(self, other: S) -&gt; <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;S&gt;</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&lt;'a, S:&nbsp;<a class="trait" href="../cgmath/trait.BaseNum.html" title="trait cgmath::BaseNum">BaseNum</a>&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html" title="trait core::ops::arith::Mul">Mul</a>&lt;S&gt; for &amp;'a <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;S&gt;</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-21' class="type"><code id='Output.t-21'>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.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;S&gt;</code></h4><div class='docblock'><p>The resulting type after applying the <code>*</code> operator.</p>
</div><h4 id='method.mul-5' class="method hidden"><code id='mul.v-5'>fn <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html#tymethod.mul' class='fnname'>mul</a>(self, other: S) -&gt; <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;S&gt;</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-Mul%3CVector2%3Cusize%3E%3E' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html" title="trait core::ops::arith::Mul">Mul</a>&lt;<a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>&gt;&gt; for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a></code><a href='#impl-Mul%3CVector2%3Cusize%3E%3E' class='anchor'></a><a class='srclink' href='../src/cgmath/macros.rs.html#102-108' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Output-22' class="type"><code id='Output.t-22'>type <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html#associatedtype.Output' class="type">Output</a> = <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>&gt;</code></h4><div class='docblock'><p>The resulting type after applying the <code>*</code> operator.</p>
</div><h4 id='method.mul-6' class="method hidden"><code id='mul.v-6'>fn <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html#tymethod.mul' class='fnname'>mul</a>(self, other: <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>&gt;) -&gt; <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>&gt;</code><a class='srclink' href='../src/cgmath/macros.rs.html#105-107' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the <code>*</code> operation.</p>
</div></div><h3 id='impl-Mul%3C%26%27a%20Vector2%3Cusize%3E%3E' class='impl'><code class='in-band'>impl&lt;'a&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html" title="trait core::ops::arith::Mul">Mul</a>&lt;&amp;'a <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>&gt;&gt; for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a></code><a href='#impl-Mul%3C%26%27a%20Vector2%3Cusize%3E%3E' class='anchor'></a><a class='srclink' href='../src/cgmath/macros.rs.html#110-116' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Output-23' class="type"><code id='Output.t-23'>type <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html#associatedtype.Output' class="type">Output</a> = <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>&gt;</code></h4><div class='docblock'><p>The resulting type after applying the <code>*</code> operator.</p>
</div><h4 id='method.mul-7' class="method hidden"><code id='mul.v-7'>fn <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html#tymethod.mul' class='fnname'>mul</a>(self, other: &amp;'a <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>&gt;) -&gt; <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>&gt;</code><a class='srclink' href='../src/cgmath/macros.rs.html#113-115' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the <code>*</code> operation.</p>
</div></div><h3 id='impl-Mul%3CVector2%3Cu8%3E%3E' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html" title="trait core::ops::arith::Mul">Mul</a>&lt;<a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>&gt;&gt; for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a></code><a href='#impl-Mul%3CVector2%3Cu8%3E%3E' class='anchor'></a><a class='srclink' href='../src/cgmath/macros.rs.html#102-108' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Output-24' class="type"><code id='Output.t-24'>type <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html#associatedtype.Output' class="type">Output</a> = <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>&gt;</code></h4><div class='docblock'><p>The resulting type after applying the <code>*</code> operator.</p>
</div><h4 id='method.mul-8' class="method hidden"><code id='mul.v-8'>fn <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html#tymethod.mul' class='fnname'>mul</a>(self, other: <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>&gt;) -&gt; <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>&gt;</code><a class='srclink' href='../src/cgmath/macros.rs.html#105-107' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the <code>*</code> operation.</p>
</div></div><h3 id='impl-Mul%3C%26%27a%20Vector2%3Cu8%3E%3E' class='impl'><code class='in-band'>impl&lt;'a&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html" title="trait core::ops::arith::Mul">Mul</a>&lt;&amp;'a <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>&gt;&gt; for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a></code><a href='#impl-Mul%3C%26%27a%20Vector2%3Cu8%3E%3E' class='anchor'></a><a class='srclink' href='../src/cgmath/macros.rs.html#110-116' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Output-25' class="type"><code id='Output.t-25'>type <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html#associatedtype.Output' class="type">Output</a> = <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>&gt;</code></h4><div class='docblock'><p>The resulting type after applying the <code>*</code> operator.</p>
</div><h4 id='method.mul-9' class="method hidden"><code id='mul.v-9'>fn <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html#tymethod.mul' class='fnname'>mul</a>(self, other: &amp;'a <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>&gt;) -&gt; <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>&gt;</code><a class='srclink' href='../src/cgmath/macros.rs.html#113-115' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the <code>*</code> operation.</p>
</div></div><h3 id='impl-Mul%3CVector2%3Cu16%3E%3E' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html" title="trait core::ops::arith::Mul">Mul</a>&lt;<a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u16.html">u16</a>&gt;&gt; for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u16.html">u16</a></code><a href='#impl-Mul%3CVector2%3Cu16%3E%3E' class='anchor'></a><a class='srclink' href='../src/cgmath/macros.rs.html#102-108' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Output-26' class="type"><code id='Output.t-26'>type <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html#associatedtype.Output' class="type">Output</a> = <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u16.html">u16</a>&gt;</code></h4><div class='docblock'><p>The resulting type after applying the <code>*</code> operator.</p>
</div><h4 id='method.mul-10' class="method hidden"><code id='mul.v-10'>fn <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html#tymethod.mul' class='fnname'>mul</a>(self, other: <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u16.html">u16</a>&gt;) -&gt; <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u16.html">u16</a>&gt;</code><a class='srclink' href='../src/cgmath/macros.rs.html#105-107' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the <code>*</code> operation.</p>
</div></div><h3 id='impl-Mul%3C%26%27a%20Vector2%3Cu16%3E%3E' class='impl'><code class='in-band'>impl&lt;'a&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html" title="trait core::ops::arith::Mul">Mul</a>&lt;&amp;'a <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u16.html">u16</a>&gt;&gt; for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u16.html">u16</a></code><a href='#impl-Mul%3C%26%27a%20Vector2%3Cu16%3E%3E' class='anchor'></a><a class='srclink' href='../src/cgmath/macros.rs.html#110-116' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Output-27' class="type"><code id='Output.t-27'>type <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html#associatedtype.Output' class="type">Output</a> = <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u16.html">u16</a>&gt;</code></h4><div class='docblock'><p>The resulting type after applying the <code>*</code> operator.</p>
</div><h4 id='method.mul-11' class="method hidden"><code id='mul.v-11'>fn <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html#tymethod.mul' class='fnname'>mul</a>(self, other: &amp;'a <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u16.html">u16</a>&gt;) -&gt; <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u16.html">u16</a>&gt;</code><a class='srclink' href='../src/cgmath/macros.rs.html#113-115' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the <code>*</code> operation.</p>
</div></div><h3 id='impl-Mul%3CVector2%3Cu32%3E%3E' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html" title="trait core::ops::arith::Mul">Mul</a>&lt;<a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>&gt;&gt; for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a></code><a href='#impl-Mul%3CVector2%3Cu32%3E%3E' class='anchor'></a><a class='srclink' href='../src/cgmath/macros.rs.html#102-108' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Output-28' class="type"><code id='Output.t-28'>type <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html#associatedtype.Output' class="type">Output</a> = <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>&gt;</code></h4><div class='docblock'><p>The resulting type after applying the <code>*</code> operator.</p>
</div><h4 id='method.mul-12' class="method hidden"><code id='mul.v-12'>fn <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html#tymethod.mul' class='fnname'>mul</a>(self, other: <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>&gt;) -&gt; <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>&gt;</code><a class='srclink' href='../src/cgmath/macros.rs.html#105-107' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the <code>*</code> operation.</p>
</div></div><h3 id='impl-Mul%3C%26%27a%20Vector2%3Cu32%3E%3E' class='impl'><code class='in-band'>impl&lt;'a&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html" title="trait core::ops::arith::Mul">Mul</a>&lt;&amp;'a <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>&gt;&gt; for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a></code><a href='#impl-Mul%3C%26%27a%20Vector2%3Cu32%3E%3E' class='anchor'></a><a class='srclink' href='../src/cgmath/macros.rs.html#110-116' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Output-29' class="type"><code id='Output.t-29'>type <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html#associatedtype.Output' class="type">Output</a> = <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>&gt;</code></h4><div class='docblock'><p>The resulting type after applying the <code>*</code> operator.</p>
</div><h4 id='method.mul-13' class="method hidden"><code id='mul.v-13'>fn <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html#tymethod.mul' class='fnname'>mul</a>(self, other: &amp;'a <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>&gt;) -&gt; <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>&gt;</code><a class='srclink' href='../src/cgmath/macros.rs.html#113-115' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the <code>*</code> operation.</p>
</div></div><h3 id='impl-Mul%3CVector2%3Cu64%3E%3E' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html" title="trait core::ops::arith::Mul">Mul</a>&lt;<a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>&gt;&gt; for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a></code><a href='#impl-Mul%3CVector2%3Cu64%3E%3E' class='anchor'></a><a class='srclink' href='../src/cgmath/macros.rs.html#102-108' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Output-30' class="type"><code id='Output.t-30'>type <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html#associatedtype.Output' class="type">Output</a> = <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>&gt;</code></h4><div class='docblock'><p>The resulting type after applying the <code>*</code> operator.</p>
</div><h4 id='method.mul-14' class="method hidden"><code id='mul.v-14'>fn <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html#tymethod.mul' class='fnname'>mul</a>(self, other: <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>&gt;) -&gt; <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>&gt;</code><a class='srclink' href='../src/cgmath/macros.rs.html#105-107' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the <code>*</code> operation.</p>
</div></div><h3 id='impl-Mul%3C%26%27a%20Vector2%3Cu64%3E%3E' class='impl'><code class='in-band'>impl&lt;'a&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html" title="trait core::ops::arith::Mul">Mul</a>&lt;&amp;'a <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>&gt;&gt; for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a></code><a href='#impl-Mul%3C%26%27a%20Vector2%3Cu64%3E%3E' class='anchor'></a><a class='srclink' href='../src/cgmath/macros.rs.html#110-116' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Output-31' class="type"><code id='Output.t-31'>type <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html#associatedtype.Output' class="type">Output</a> = <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>&gt;</code></h4><div class='docblock'><p>The resulting type after applying the <code>*</code> operator.</p>
</div><h4 id='method.mul-15' class="method hidden"><code id='mul.v-15'>fn <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html#tymethod.mul' class='fnname'>mul</a>(self, other: &amp;'a <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>&gt;) -&gt; <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>&gt;</code><a class='srclink' href='../src/cgmath/macros.rs.html#113-115' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the <code>*</code> operation.</p>
</div></div><h3 id='impl-Mul%3CVector2%3Cisize%3E%3E' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html" title="trait core::ops::arith::Mul">Mul</a>&lt;<a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.isize.html">isize</a>&gt;&gt; for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.isize.html">isize</a></code><a href='#impl-Mul%3CVector2%3Cisize%3E%3E' class='anchor'></a><a class='srclink' href='../src/cgmath/macros.rs.html#102-108' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Output-32' class="type"><code id='Output.t-32'>type <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html#associatedtype.Output' class="type">Output</a> = <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.isize.html">isize</a>&gt;</code></h4><div class='docblock'><p>The resulting type after applying the <code>*</code> operator.</p>
</div><h4 id='method.mul-16' class="method hidden"><code id='mul.v-16'>fn <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html#tymethod.mul' class='fnname'>mul</a>(self, other: <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.isize.html">isize</a>&gt;) -&gt; <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.isize.html">isize</a>&gt;</code><a class='srclink' href='../src/cgmath/macros.rs.html#105-107' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the <code>*</code> operation.</p>
</div></div><h3 id='impl-Mul%3C%26%27a%20Vector2%3Cisize%3E%3E' class='impl'><code class='in-band'>impl&lt;'a&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html" title="trait core::ops::arith::Mul">Mul</a>&lt;&amp;'a <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.isize.html">isize</a>&gt;&gt; for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.isize.html">isize</a></code><a href='#impl-Mul%3C%26%27a%20Vector2%3Cisize%3E%3E' class='anchor'></a><a class='srclink' href='../src/cgmath/macros.rs.html#110-116' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Output-33' class="type"><code id='Output.t-33'>type <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html#associatedtype.Output' class="type">Output</a> = <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.isize.html">isize</a>&gt;</code></h4><div class='docblock'><p>The resulting type after applying the <code>*</code> operator.</p>
</div><h4 id='method.mul-17' class="method hidden"><code id='mul.v-17'>fn <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html#tymethod.mul' class='fnname'>mul</a>(self, other: &amp;'a <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.isize.html">isize</a>&gt;) -&gt; <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.isize.html">isize</a>&gt;</code><a class='srclink' href='../src/cgmath/macros.rs.html#113-115' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the <code>*</code> operation.</p>
</div></div><h3 id='impl-Mul%3CVector2%3Ci8%3E%3E' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html" title="trait core::ops::arith::Mul">Mul</a>&lt;<a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i8.html">i8</a>&gt;&gt; for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i8.html">i8</a></code><a href='#impl-Mul%3CVector2%3Ci8%3E%3E' class='anchor'></a><a class='srclink' href='../src/cgmath/macros.rs.html#102-108' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Output-34' class="type"><code id='Output.t-34'>type <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html#associatedtype.Output' class="type">Output</a> = <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i8.html">i8</a>&gt;</code></h4><div class='docblock'><p>The resulting type after applying the <code>*</code> operator.</p>
</div><h4 id='method.mul-18' class="method hidden"><code id='mul.v-18'>fn <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html#tymethod.mul' class='fnname'>mul</a>(self, other: <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i8.html">i8</a>&gt;) -&gt; <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i8.html">i8</a>&gt;</code><a class='srclink' href='../src/cgmath/macros.rs.html#105-107' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the <code>*</code> operation.</p>
</div></div><h3 id='impl-Mul%3C%26%27a%20Vector2%3Ci8%3E%3E' class='impl'><code class='in-band'>impl&lt;'a&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html" title="trait core::ops::arith::Mul">Mul</a>&lt;&amp;'a <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i8.html">i8</a>&gt;&gt; for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i8.html">i8</a></code><a href='#impl-Mul%3C%26%27a%20Vector2%3Ci8%3E%3E' class='anchor'></a><a class='srclink' href='../src/cgmath/macros.rs.html#110-116' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Output-35' class="type"><code id='Output.t-35'>type <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html#associatedtype.Output' class="type">Output</a> = <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i8.html">i8</a>&gt;</code></h4><div class='docblock'><p>The resulting type after applying the <code>*</code> operator.</p>
</div><h4 id='method.mul-19' class="method hidden"><code id='mul.v-19'>fn <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html#tymethod.mul' class='fnname'>mul</a>(self, other: &amp;'a <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i8.html">i8</a>&gt;) -&gt; <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i8.html">i8</a>&gt;</code><a class='srclink' href='../src/cgmath/macros.rs.html#113-115' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the <code>*</code> operation.</p>
</div></div><h3 id='impl-Mul%3CVector2%3Ci16%3E%3E' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html" title="trait core::ops::arith::Mul">Mul</a>&lt;<a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i16.html">i16</a>&gt;&gt; for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i16.html">i16</a></code><a href='#impl-Mul%3CVector2%3Ci16%3E%3E' class='anchor'></a><a class='srclink' href='../src/cgmath/macros.rs.html#102-108' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Output-36' class="type"><code id='Output.t-36'>type <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html#associatedtype.Output' class="type">Output</a> = <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i16.html">i16</a>&gt;</code></h4><div class='docblock'><p>The resulting type after applying the <code>*</code> operator.</p>
</div><h4 id='method.mul-20' class="method hidden"><code id='mul.v-20'>fn <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html#tymethod.mul' class='fnname'>mul</a>(self, other: <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i16.html">i16</a>&gt;) -&gt; <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i16.html">i16</a>&gt;</code><a class='srclink' href='../src/cgmath/macros.rs.html#105-107' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the <code>*</code> operation.</p>
</div></div><h3 id='impl-Mul%3C%26%27a%20Vector2%3Ci16%3E%3E' class='impl'><code class='in-band'>impl&lt;'a&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html" title="trait core::ops::arith::Mul">Mul</a>&lt;&amp;'a <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i16.html">i16</a>&gt;&gt; for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i16.html">i16</a></code><a href='#impl-Mul%3C%26%27a%20Vector2%3Ci16%3E%3E' class='anchor'></a><a class='srclink' href='../src/cgmath/macros.rs.html#110-116' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Output-37' class="type"><code id='Output.t-37'>type <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html#associatedtype.Output' class="type">Output</a> = <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i16.html">i16</a>&gt;</code></h4><div class='docblock'><p>The resulting type after applying the <code>*</code> operator.</p>
</div><h4 id='method.mul-21' class="method hidden"><code id='mul.v-21'>fn <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html#tymethod.mul' class='fnname'>mul</a>(self, other: &amp;'a <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i16.html">i16</a>&gt;) -&gt; <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i16.html">i16</a>&gt;</code><a class='srclink' href='../src/cgmath/macros.rs.html#113-115' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the <code>*</code> operation.</p>
</div></div><h3 id='impl-Mul%3CVector2%3Ci32%3E%3E' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html" title="trait core::ops::arith::Mul">Mul</a>&lt;<a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>&gt;&gt; for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a></code><a href='#impl-Mul%3CVector2%3Ci32%3E%3E' class='anchor'></a><a class='srclink' href='../src/cgmath/macros.rs.html#102-108' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Output-38' class="type"><code id='Output.t-38'>type <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html#associatedtype.Output' class="type">Output</a> = <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>&gt;</code></h4><div class='docblock'><p>The resulting type after applying the <code>*</code> operator.</p>
</div><h4 id='method.mul-22' class="method hidden"><code id='mul.v-22'>fn <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html#tymethod.mul' class='fnname'>mul</a>(self, other: <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>&gt;) -&gt; <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>&gt;</code><a class='srclink' href='../src/cgmath/macros.rs.html#105-107' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the <code>*</code> operation.</p>
</div></div><h3 id='impl-Mul%3C%26%27a%20Vector2%3Ci32%3E%3E' class='impl'><code class='in-band'>impl&lt;'a&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html" title="trait core::ops::arith::Mul">Mul</a>&lt;&amp;'a <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>&gt;&gt; for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a></code><a href='#impl-Mul%3C%26%27a%20Vector2%3Ci32%3E%3E' class='anchor'></a><a class='srclink' href='../src/cgmath/macros.rs.html#110-116' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Output-39' class="type"><code id='Output.t-39'>type <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html#associatedtype.Output' class="type">Output</a> = <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>&gt;</code></h4><div class='docblock'><p>The resulting type after applying the <code>*</code> operator.</p>
</div><h4 id='method.mul-23' class="method hidden"><code id='mul.v-23'>fn <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html#tymethod.mul' class='fnname'>mul</a>(self, other: &amp;'a <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>&gt;) -&gt; <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>&gt;</code><a class='srclink' href='../src/cgmath/macros.rs.html#113-115' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the <code>*</code> operation.</p>
</div></div><h3 id='impl-Mul%3CVector2%3Ci64%3E%3E' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html" title="trait core::ops::arith::Mul">Mul</a>&lt;<a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i64.html">i64</a>&gt;&gt; for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i64.html">i64</a></code><a href='#impl-Mul%3CVector2%3Ci64%3E%3E' class='anchor'></a><a class='srclink' href='../src/cgmath/macros.rs.html#102-108' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Output-40' class="type"><code id='Output.t-40'>type <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html#associatedtype.Output' class="type">Output</a> = <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i64.html">i64</a>&gt;</code></h4><div class='docblock'><p>The resulting type after applying the <code>*</code> operator.</p>
</div><h4 id='method.mul-24' class="method hidden"><code id='mul.v-24'>fn <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html#tymethod.mul' class='fnname'>mul</a>(self, other: <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i64.html">i64</a>&gt;) -&gt; <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i64.html">i64</a>&gt;</code><a class='srclink' href='../src/cgmath/macros.rs.html#105-107' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the <code>*</code> operation.</p>
</div></div><h3 id='impl-Mul%3C%26%27a%20Vector2%3Ci64%3E%3E' class='impl'><code class='in-band'>impl&lt;'a&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html" title="trait core::ops::arith::Mul">Mul</a>&lt;&amp;'a <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i64.html">i64</a>&gt;&gt; for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i64.html">i64</a></code><a href='#impl-Mul%3C%26%27a%20Vector2%3Ci64%3E%3E' class='anchor'></a><a class='srclink' href='../src/cgmath/macros.rs.html#110-116' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Output-41' class="type"><code id='Output.t-41'>type <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html#associatedtype.Output' class="type">Output</a> = <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i64.html">i64</a>&gt;</code></h4><div class='docblock'><p>The resulting type after applying the <code>*</code> operator.</p>
</div><h4 id='method.mul-25' class="method hidden"><code id='mul.v-25'>fn <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html#tymethod.mul' class='fnname'>mul</a>(self, other: &amp;'a <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i64.html">i64</a>&gt;) -&gt; <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i64.html">i64</a>&gt;</code><a class='srclink' href='../src/cgmath/macros.rs.html#113-115' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the <code>*</code> operation.</p>
</div></div><h3 id='impl-Mul%3CVector2%3Cf32%3E%3E' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html" title="trait core::ops::arith::Mul">Mul</a>&lt;<a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a>&gt;&gt; for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a></code><a href='#impl-Mul%3CVector2%3Cf32%3E%3E' class='anchor'></a><a class='srclink' href='../src/cgmath/macros.rs.html#102-108' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Output-42' class="type"><code id='Output.t-42'>type <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html#associatedtype.Output' class="type">Output</a> = <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a>&gt;</code></h4><div class='docblock'><p>The resulting type after applying the <code>*</code> operator.</p>
</div><h4 id='method.mul-26' class="method hidden"><code id='mul.v-26'>fn <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html#tymethod.mul' class='fnname'>mul</a>(self, other: <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a>&gt;) -&gt; <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a>&gt;</code><a class='srclink' href='../src/cgmath/macros.rs.html#105-107' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the <code>*</code> operation.</p>
</div></div><h3 id='impl-Mul%3C%26%27a%20Vector2%3Cf32%3E%3E' class='impl'><code class='in-band'>impl&lt;'a&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html" title="trait core::ops::arith::Mul">Mul</a>&lt;&amp;'a <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a>&gt;&gt; for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a></code><a href='#impl-Mul%3C%26%27a%20Vector2%3Cf32%3E%3E' class='anchor'></a><a class='srclink' href='../src/cgmath/macros.rs.html#110-116' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Output-43' class="type"><code id='Output.t-43'>type <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html#associatedtype.Output' class="type">Output</a> = <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a>&gt;</code></h4><div class='docblock'><p>The resulting type after applying the <code>*</code> operator.</p>
</div><h4 id='method.mul-27' class="method hidden"><code id='mul.v-27'>fn <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html#tymethod.mul' class='fnname'>mul</a>(self, other: &amp;'a <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a>&gt;) -&gt; <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a>&gt;</code><a class='srclink' href='../src/cgmath/macros.rs.html#113-115' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the <code>*</code> operation.</p>
</div></div><h3 id='impl-Mul%3CVector2%3Cf64%3E%3E' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html" title="trait core::ops::arith::Mul">Mul</a>&lt;<a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a>&gt;&gt; for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a></code><a href='#impl-Mul%3CVector2%3Cf64%3E%3E' class='anchor'></a><a class='srclink' href='../src/cgmath/macros.rs.html#102-108' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Output-44' class="type"><code id='Output.t-44'>type <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html#associatedtype.Output' class="type">Output</a> = <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a>&gt;</code></h4><div class='docblock'><p>The resulting type after applying the <code>*</code> operator.</p>
</div><h4 id='method.mul-28' class="method hidden"><code id='mul.v-28'>fn <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html#tymethod.mul' class='fnname'>mul</a>(self, other: <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a>&gt;) -&gt; <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a>&gt;</code><a class='srclink' href='../src/cgmath/macros.rs.html#105-107' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the <code>*</code> operation.</p>
</div></div><h3 id='impl-Mul%3C%26%27a%20Vector2%3Cf64%3E%3E' class='impl'><code class='in-band'>impl&lt;'a&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html" title="trait core::ops::arith::Mul">Mul</a>&lt;&amp;'a <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a>&gt;&gt; for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a></code><a href='#impl-Mul%3C%26%27a%20Vector2%3Cf64%3E%3E' class='anchor'></a><a class='srclink' href='../src/cgmath/macros.rs.html#110-116' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Output-45' class="type"><code id='Output.t-45'>type <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html#associatedtype.Output' class="type">Output</a> = <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a>&gt;</code></h4><div class='docblock'><p>The resulting type after applying the <code>*</code> operator.</p>
</div><h4 id='method.mul-29' class="method hidden"><code id='mul.v-29'>fn <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html#tymethod.mul' class='fnname'>mul</a>(self, other: &amp;'a <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a>&gt;) -&gt; <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a>&gt;</code><a class='srclink' href='../src/cgmath/macros.rs.html#113-115' 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&lt;S:&nbsp;<a class="trait" href="../cgmath/trait.BaseNum.html" title="trait cgmath::BaseNum">BaseNum</a>&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html" title="trait core::ops::arith::Div">Div</a>&lt;S&gt; for <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;S&gt;</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-46' class="type"><code id='Output.t-46'>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.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;S&gt;</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: S) -&gt; <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;S&gt;</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&lt;'a, S:&nbsp;<a class="trait" href="../cgmath/trait.BaseNum.html" title="trait cgmath::BaseNum">BaseNum</a>&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html" title="trait core::ops::arith::Div">Div</a>&lt;S&gt; for &amp;'a <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;S&gt;</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-47' class="type"><code id='Output.t-47'>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.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;S&gt;</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: S) -&gt; <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;S&gt;</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%3CVector2%3Cusize%3E%3E' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html" title="trait core::ops::arith::Div">Div</a>&lt;<a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>&gt;&gt; for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a></code><a href='#impl-Div%3CVector2%3Cusize%3E%3E' class='anchor'></a><a class='srclink' href='../src/cgmath/macros.rs.html#102-108' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Output-48' class="type"><code id='Output.t-48'>type <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html#associatedtype.Output' class="type">Output</a> = <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>&gt;</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.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>&gt;) -&gt; <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>&gt;</code><a class='srclink' href='../src/cgmath/macros.rs.html#105-107' 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%20Vector2%3Cusize%3E%3E' class='impl'><code class='in-band'>impl&lt;'a&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html" title="trait core::ops::arith::Div">Div</a>&lt;&amp;'a <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>&gt;&gt; for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a></code><a href='#impl-Div%3C%26%27a%20Vector2%3Cusize%3E%3E' class='anchor'></a><a class='srclink' href='../src/cgmath/macros.rs.html#110-116' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Output-49' class="type"><code id='Output.t-49'>type <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html#associatedtype.Output' class="type">Output</a> = <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>&gt;</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: &amp;'a <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>&gt;) -&gt; <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>&gt;</code><a class='srclink' href='../src/cgmath/macros.rs.html#113-115' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the <code>/</code> operation.</p>
</div></div><h3 id='impl-Div%3CVector2%3Cu8%3E%3E' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html" title="trait core::ops::arith::Div">Div</a>&lt;<a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>&gt;&gt; for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a></code><a href='#impl-Div%3CVector2%3Cu8%3E%3E' class='anchor'></a><a class='srclink' href='../src/cgmath/macros.rs.html#102-108' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Output-50' class="type"><code id='Output.t-50'>type <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html#associatedtype.Output' class="type">Output</a> = <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>&gt;</code></h4><div class='docblock'><p>The resulting type after applying the <code>/</code> operator.</p>
</div><h4 id='method.div-4' class="method hidden"><code id='div.v-4'>fn <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html#tymethod.div' class='fnname'>div</a>(self, other: <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>&gt;) -&gt; <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>&gt;</code><a class='srclink' href='../src/cgmath/macros.rs.html#105-107' 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%20Vector2%3Cu8%3E%3E' class='impl'><code class='in-band'>impl&lt;'a&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html" title="trait core::ops::arith::Div">Div</a>&lt;&amp;'a <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>&gt;&gt; for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a></code><a href='#impl-Div%3C%26%27a%20Vector2%3Cu8%3E%3E' class='anchor'></a><a class='srclink' href='../src/cgmath/macros.rs.html#110-116' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Output-51' class="type"><code id='Output.t-51'>type <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html#associatedtype.Output' class="type">Output</a> = <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>&gt;</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: &amp;'a <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>&gt;) -&gt; <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>&gt;</code><a class='srclink' href='../src/cgmath/macros.rs.html#113-115' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the <code>/</code> operation.</p>
</div></div><h3 id='impl-Div%3CVector2%3Cu16%3E%3E' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html" title="trait core::ops::arith::Div">Div</a>&lt;<a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u16.html">u16</a>&gt;&gt; for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u16.html">u16</a></code><a href='#impl-Div%3CVector2%3Cu16%3E%3E' class='anchor'></a><a class='srclink' href='../src/cgmath/macros.rs.html#102-108' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Output-52' class="type"><code id='Output.t-52'>type <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html#associatedtype.Output' class="type">Output</a> = <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u16.html">u16</a>&gt;</code></h4><div class='docblock'><p>The resulting type after applying the <code>/</code> operator.</p>
</div><h4 id='method.div-6' class="method hidden"><code id='div.v-6'>fn <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html#tymethod.div' class='fnname'>div</a>(self, other: <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u16.html">u16</a>&gt;) -&gt; <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u16.html">u16</a>&gt;</code><a class='srclink' href='../src/cgmath/macros.rs.html#105-107' 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%20Vector2%3Cu16%3E%3E' class='impl'><code class='in-band'>impl&lt;'a&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html" title="trait core::ops::arith::Div">Div</a>&lt;&amp;'a <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u16.html">u16</a>&gt;&gt; for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u16.html">u16</a></code><a href='#impl-Div%3C%26%27a%20Vector2%3Cu16%3E%3E' class='anchor'></a><a class='srclink' href='../src/cgmath/macros.rs.html#110-116' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Output-53' class="type"><code id='Output.t-53'>type <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html#associatedtype.Output' class="type">Output</a> = <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u16.html">u16</a>&gt;</code></h4><div class='docblock'><p>The resulting type after applying the <code>/</code> operator.</p>
</div><h4 id='method.div-7' class="method hidden"><code id='div.v-7'>fn <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html#tymethod.div' class='fnname'>div</a>(self, other: &amp;'a <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u16.html">u16</a>&gt;) -&gt; <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u16.html">u16</a>&gt;</code><a class='srclink' href='../src/cgmath/macros.rs.html#113-115' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the <code>/</code> operation.</p>
</div></div><h3 id='impl-Div%3CVector2%3Cu32%3E%3E' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html" title="trait core::ops::arith::Div">Div</a>&lt;<a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>&gt;&gt; for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a></code><a href='#impl-Div%3CVector2%3Cu32%3E%3E' class='anchor'></a><a class='srclink' href='../src/cgmath/macros.rs.html#102-108' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Output-54' class="type"><code id='Output.t-54'>type <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html#associatedtype.Output' class="type">Output</a> = <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>&gt;</code></h4><div class='docblock'><p>The resulting type after applying the <code>/</code> operator.</p>
</div><h4 id='method.div-8' class="method hidden"><code id='div.v-8'>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.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>&gt;) -&gt; <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>&gt;</code><a class='srclink' href='../src/cgmath/macros.rs.html#105-107' 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%20Vector2%3Cu32%3E%3E' class='impl'><code class='in-band'>impl&lt;'a&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html" title="trait core::ops::arith::Div">Div</a>&lt;&amp;'a <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>&gt;&gt; for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a></code><a href='#impl-Div%3C%26%27a%20Vector2%3Cu32%3E%3E' class='anchor'></a><a class='srclink' href='../src/cgmath/macros.rs.html#110-116' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Output-55' class="type"><code id='Output.t-55'>type <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html#associatedtype.Output' class="type">Output</a> = <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>&gt;</code></h4><div class='docblock'><p>The resulting type after applying the <code>/</code> operator.</p>
</div><h4 id='method.div-9' class="method hidden"><code id='div.v-9'>fn <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html#tymethod.div' class='fnname'>div</a>(self, other: &amp;'a <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>&gt;) -&gt; <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>&gt;</code><a class='srclink' href='../src/cgmath/macros.rs.html#113-115' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the <code>/</code> operation.</p>
</div></div><h3 id='impl-Div%3CVector2%3Cu64%3E%3E' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html" title="trait core::ops::arith::Div">Div</a>&lt;<a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>&gt;&gt; for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a></code><a href='#impl-Div%3CVector2%3Cu64%3E%3E' class='anchor'></a><a class='srclink' href='../src/cgmath/macros.rs.html#102-108' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Output-56' class="type"><code id='Output.t-56'>type <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html#associatedtype.Output' class="type">Output</a> = <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>&gt;</code></h4><div class='docblock'><p>The resulting type after applying the <code>/</code> operator.</p>
</div><h4 id='method.div-10' class="method hidden"><code id='div.v-10'>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.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>&gt;) -&gt; <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>&gt;</code><a class='srclink' href='../src/cgmath/macros.rs.html#105-107' 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%20Vector2%3Cu64%3E%3E' class='impl'><code class='in-band'>impl&lt;'a&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html" title="trait core::ops::arith::Div">Div</a>&lt;&amp;'a <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>&gt;&gt; for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a></code><a href='#impl-Div%3C%26%27a%20Vector2%3Cu64%3E%3E' class='anchor'></a><a class='srclink' href='../src/cgmath/macros.rs.html#110-116' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Output-57' class="type"><code id='Output.t-57'>type <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html#associatedtype.Output' class="type">Output</a> = <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>&gt;</code></h4><div class='docblock'><p>The resulting type after applying the <code>/</code> operator.</p>
</div><h4 id='method.div-11' class="method hidden"><code id='div.v-11'>fn <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html#tymethod.div' class='fnname'>div</a>(self, other: &amp;'a <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>&gt;) -&gt; <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>&gt;</code><a class='srclink' href='../src/cgmath/macros.rs.html#113-115' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the <code>/</code> operation.</p>
</div></div><h3 id='impl-Div%3CVector2%3Cisize%3E%3E' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html" title="trait core::ops::arith::Div">Div</a>&lt;<a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.isize.html">isize</a>&gt;&gt; for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.isize.html">isize</a></code><a href='#impl-Div%3CVector2%3Cisize%3E%3E' class='anchor'></a><a class='srclink' href='../src/cgmath/macros.rs.html#102-108' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Output-58' class="type"><code id='Output.t-58'>type <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html#associatedtype.Output' class="type">Output</a> = <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.isize.html">isize</a>&gt;</code></h4><div class='docblock'><p>The resulting type after applying the <code>/</code> operator.</p>
</div><h4 id='method.div-12' class="method hidden"><code id='div.v-12'>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.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.isize.html">isize</a>&gt;) -&gt; <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.isize.html">isize</a>&gt;</code><a class='srclink' href='../src/cgmath/macros.rs.html#105-107' 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%20Vector2%3Cisize%3E%3E' class='impl'><code class='in-band'>impl&lt;'a&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html" title="trait core::ops::arith::Div">Div</a>&lt;&amp;'a <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.isize.html">isize</a>&gt;&gt; for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.isize.html">isize</a></code><a href='#impl-Div%3C%26%27a%20Vector2%3Cisize%3E%3E' class='anchor'></a><a class='srclink' href='../src/cgmath/macros.rs.html#110-116' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Output-59' class="type"><code id='Output.t-59'>type <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html#associatedtype.Output' class="type">Output</a> = <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.isize.html">isize</a>&gt;</code></h4><div class='docblock'><p>The resulting type after applying the <code>/</code> operator.</p>
</div><h4 id='method.div-13' class="method hidden"><code id='div.v-13'>fn <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html#tymethod.div' class='fnname'>div</a>(self, other: &amp;'a <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.isize.html">isize</a>&gt;) -&gt; <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.isize.html">isize</a>&gt;</code><a class='srclink' href='../src/cgmath/macros.rs.html#113-115' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the <code>/</code> operation.</p>
</div></div><h3 id='impl-Div%3CVector2%3Ci8%3E%3E' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html" title="trait core::ops::arith::Div">Div</a>&lt;<a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i8.html">i8</a>&gt;&gt; for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i8.html">i8</a></code><a href='#impl-Div%3CVector2%3Ci8%3E%3E' class='anchor'></a><a class='srclink' href='../src/cgmath/macros.rs.html#102-108' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Output-60' class="type"><code id='Output.t-60'>type <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html#associatedtype.Output' class="type">Output</a> = <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i8.html">i8</a>&gt;</code></h4><div class='docblock'><p>The resulting type after applying the <code>/</code> operator.</p>
</div><h4 id='method.div-14' class="method hidden"><code id='div.v-14'>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.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i8.html">i8</a>&gt;) -&gt; <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i8.html">i8</a>&gt;</code><a class='srclink' href='../src/cgmath/macros.rs.html#105-107' 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%20Vector2%3Ci8%3E%3E' class='impl'><code class='in-band'>impl&lt;'a&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html" title="trait core::ops::arith::Div">Div</a>&lt;&amp;'a <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i8.html">i8</a>&gt;&gt; for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i8.html">i8</a></code><a href='#impl-Div%3C%26%27a%20Vector2%3Ci8%3E%3E' class='anchor'></a><a class='srclink' href='../src/cgmath/macros.rs.html#110-116' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Output-61' class="type"><code id='Output.t-61'>type <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html#associatedtype.Output' class="type">Output</a> = <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i8.html">i8</a>&gt;</code></h4><div class='docblock'><p>The resulting type after applying the <code>/</code> operator.</p>
</div><h4 id='method.div-15' class="method hidden"><code id='div.v-15'>fn <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html#tymethod.div' class='fnname'>div</a>(self, other: &amp;'a <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i8.html">i8</a>&gt;) -&gt; <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i8.html">i8</a>&gt;</code><a class='srclink' href='../src/cgmath/macros.rs.html#113-115' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the <code>/</code> operation.</p>
</div></div><h3 id='impl-Div%3CVector2%3Ci16%3E%3E' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html" title="trait core::ops::arith::Div">Div</a>&lt;<a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i16.html">i16</a>&gt;&gt; for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i16.html">i16</a></code><a href='#impl-Div%3CVector2%3Ci16%3E%3E' class='anchor'></a><a class='srclink' href='../src/cgmath/macros.rs.html#102-108' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Output-62' class="type"><code id='Output.t-62'>type <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html#associatedtype.Output' class="type">Output</a> = <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i16.html">i16</a>&gt;</code></h4><div class='docblock'><p>The resulting type after applying the <code>/</code> operator.</p>
</div><h4 id='method.div-16' class="method hidden"><code id='div.v-16'>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.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i16.html">i16</a>&gt;) -&gt; <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i16.html">i16</a>&gt;</code><a class='srclink' href='../src/cgmath/macros.rs.html#105-107' 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%20Vector2%3Ci16%3E%3E' class='impl'><code class='in-band'>impl&lt;'a&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html" title="trait core::ops::arith::Div">Div</a>&lt;&amp;'a <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i16.html">i16</a>&gt;&gt; for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i16.html">i16</a></code><a href='#impl-Div%3C%26%27a%20Vector2%3Ci16%3E%3E' class='anchor'></a><a class='srclink' href='../src/cgmath/macros.rs.html#110-116' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Output-63' class="type"><code id='Output.t-63'>type <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html#associatedtype.Output' class="type">Output</a> = <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i16.html">i16</a>&gt;</code></h4><div class='docblock'><p>The resulting type after applying the <code>/</code> operator.</p>
</div><h4 id='method.div-17' class="method hidden"><code id='div.v-17'>fn <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html#tymethod.div' class='fnname'>div</a>(self, other: &amp;'a <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i16.html">i16</a>&gt;) -&gt; <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i16.html">i16</a>&gt;</code><a class='srclink' href='../src/cgmath/macros.rs.html#113-115' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the <code>/</code> operation.</p>
</div></div><h3 id='impl-Div%3CVector2%3Ci32%3E%3E' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html" title="trait core::ops::arith::Div">Div</a>&lt;<a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>&gt;&gt; for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a></code><a href='#impl-Div%3CVector2%3Ci32%3E%3E' class='anchor'></a><a class='srclink' href='../src/cgmath/macros.rs.html#102-108' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Output-64' class="type"><code id='Output.t-64'>type <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html#associatedtype.Output' class="type">Output</a> = <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>&gt;</code></h4><div class='docblock'><p>The resulting type after applying the <code>/</code> operator.</p>
</div><h4 id='method.div-18' class="method hidden"><code id='div.v-18'>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.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>&gt;) -&gt; <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>&gt;</code><a class='srclink' href='../src/cgmath/macros.rs.html#105-107' 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%20Vector2%3Ci32%3E%3E' class='impl'><code class='in-band'>impl&lt;'a&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html" title="trait core::ops::arith::Div">Div</a>&lt;&amp;'a <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>&gt;&gt; for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a></code><a href='#impl-Div%3C%26%27a%20Vector2%3Ci32%3E%3E' class='anchor'></a><a class='srclink' href='../src/cgmath/macros.rs.html#110-116' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Output-65' class="type"><code id='Output.t-65'>type <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html#associatedtype.Output' class="type">Output</a> = <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>&gt;</code></h4><div class='docblock'><p>The resulting type after applying the <code>/</code> operator.</p>
</div><h4 id='method.div-19' class="method hidden"><code id='div.v-19'>fn <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html#tymethod.div' class='fnname'>div</a>(self, other: &amp;'a <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>&gt;) -&gt; <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>&gt;</code><a class='srclink' href='../src/cgmath/macros.rs.html#113-115' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the <code>/</code> operation.</p>
</div></div><h3 id='impl-Div%3CVector2%3Ci64%3E%3E' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html" title="trait core::ops::arith::Div">Div</a>&lt;<a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i64.html">i64</a>&gt;&gt; for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i64.html">i64</a></code><a href='#impl-Div%3CVector2%3Ci64%3E%3E' class='anchor'></a><a class='srclink' href='../src/cgmath/macros.rs.html#102-108' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Output-66' class="type"><code id='Output.t-66'>type <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html#associatedtype.Output' class="type">Output</a> = <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i64.html">i64</a>&gt;</code></h4><div class='docblock'><p>The resulting type after applying the <code>/</code> operator.</p>
</div><h4 id='method.div-20' class="method hidden"><code id='div.v-20'>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.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i64.html">i64</a>&gt;) -&gt; <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i64.html">i64</a>&gt;</code><a class='srclink' href='../src/cgmath/macros.rs.html#105-107' 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%20Vector2%3Ci64%3E%3E' class='impl'><code class='in-band'>impl&lt;'a&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html" title="trait core::ops::arith::Div">Div</a>&lt;&amp;'a <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i64.html">i64</a>&gt;&gt; for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i64.html">i64</a></code><a href='#impl-Div%3C%26%27a%20Vector2%3Ci64%3E%3E' class='anchor'></a><a class='srclink' href='../src/cgmath/macros.rs.html#110-116' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Output-67' class="type"><code id='Output.t-67'>type <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html#associatedtype.Output' class="type">Output</a> = <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i64.html">i64</a>&gt;</code></h4><div class='docblock'><p>The resulting type after applying the <code>/</code> operator.</p>
</div><h4 id='method.div-21' class="method hidden"><code id='div.v-21'>fn <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html#tymethod.div' class='fnname'>div</a>(self, other: &amp;'a <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i64.html">i64</a>&gt;) -&gt; <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i64.html">i64</a>&gt;</code><a class='srclink' href='../src/cgmath/macros.rs.html#113-115' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the <code>/</code> operation.</p>
</div></div><h3 id='impl-Div%3CVector2%3Cf32%3E%3E' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html" title="trait core::ops::arith::Div">Div</a>&lt;<a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a>&gt;&gt; for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a></code><a href='#impl-Div%3CVector2%3Cf32%3E%3E' class='anchor'></a><a class='srclink' href='../src/cgmath/macros.rs.html#102-108' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Output-68' class="type"><code id='Output.t-68'>type <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html#associatedtype.Output' class="type">Output</a> = <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a>&gt;</code></h4><div class='docblock'><p>The resulting type after applying the <code>/</code> operator.</p>
</div><h4 id='method.div-22' class="method hidden"><code id='div.v-22'>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.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a>&gt;) -&gt; <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a>&gt;</code><a class='srclink' href='../src/cgmath/macros.rs.html#105-107' 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%20Vector2%3Cf32%3E%3E' class='impl'><code class='in-band'>impl&lt;'a&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html" title="trait core::ops::arith::Div">Div</a>&lt;&amp;'a <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a>&gt;&gt; for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a></code><a href='#impl-Div%3C%26%27a%20Vector2%3Cf32%3E%3E' class='anchor'></a><a class='srclink' href='../src/cgmath/macros.rs.html#110-116' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Output-69' class="type"><code id='Output.t-69'>type <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html#associatedtype.Output' class="type">Output</a> = <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a>&gt;</code></h4><div class='docblock'><p>The resulting type after applying the <code>/</code> operator.</p>
</div><h4 id='method.div-23' class="method hidden"><code id='div.v-23'>fn <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html#tymethod.div' class='fnname'>div</a>(self, other: &amp;'a <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a>&gt;) -&gt; <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a>&gt;</code><a class='srclink' href='../src/cgmath/macros.rs.html#113-115' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the <code>/</code> operation.</p>
</div></div><h3 id='impl-Div%3CVector2%3Cf64%3E%3E' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html" title="trait core::ops::arith::Div">Div</a>&lt;<a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a>&gt;&gt; for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a></code><a href='#impl-Div%3CVector2%3Cf64%3E%3E' class='anchor'></a><a class='srclink' href='../src/cgmath/macros.rs.html#102-108' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Output-70' class="type"><code id='Output.t-70'>type <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html#associatedtype.Output' class="type">Output</a> = <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a>&gt;</code></h4><div class='docblock'><p>The resulting type after applying the <code>/</code> operator.</p>
</div><h4 id='method.div-24' class="method hidden"><code id='div.v-24'>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.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a>&gt;) -&gt; <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a>&gt;</code><a class='srclink' href='../src/cgmath/macros.rs.html#105-107' 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%20Vector2%3Cf64%3E%3E' class='impl'><code class='in-band'>impl&lt;'a&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html" title="trait core::ops::arith::Div">Div</a>&lt;&amp;'a <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a>&gt;&gt; for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a></code><a href='#impl-Div%3C%26%27a%20Vector2%3Cf64%3E%3E' class='anchor'></a><a class='srclink' href='../src/cgmath/macros.rs.html#110-116' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Output-71' class="type"><code id='Output.t-71'>type <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html#associatedtype.Output' class="type">Output</a> = <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a>&gt;</code></h4><div class='docblock'><p>The resulting type after applying the <code>/</code> operator.</p>
</div><h4 id='method.div-25' class="method hidden"><code id='div.v-25'>fn <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html#tymethod.div' class='fnname'>div</a>(self, other: &amp;'a <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a>&gt;) -&gt; <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a>&gt;</code><a class='srclink' href='../src/cgmath/macros.rs.html#113-115' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the <code>/</code> operation.</p>
</div></div><h3 id='impl-Rem%3CS%3E' class='impl'><code class='in-band'>impl&lt;S:&nbsp;<a class="trait" href="../cgmath/trait.BaseNum.html" title="trait cgmath::BaseNum">BaseNum</a>&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Rem.html" title="trait core::ops::arith::Rem">Rem</a>&lt;S&gt; for <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;S&gt;</code><a href='#impl-Rem%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-72' class="type"><code id='Output.t-72'>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.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;S&gt;</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: S) -&gt; <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;S&gt;</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-Rem%3CS%3E-1' class='impl'><code class='in-band'>impl&lt;'a, S:&nbsp;<a class="trait" href="../cgmath/trait.BaseNum.html" title="trait cgmath::BaseNum">BaseNum</a>&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Rem.html" title="trait core::ops::arith::Rem">Rem</a>&lt;S&gt; for &amp;'a <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;S&gt;</code><a href='#impl-Rem%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-73' class="type"><code id='Output.t-73'>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.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;S&gt;</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: S) -&gt; <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;S&gt;</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%3CVector2%3Cusize%3E%3E' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Rem.html" title="trait core::ops::arith::Rem">Rem</a>&lt;<a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>&gt;&gt; for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a></code><a href='#impl-Rem%3CVector2%3Cusize%3E%3E' class='anchor'></a><a class='srclink' href='../src/cgmath/macros.rs.html#102-108' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Output-74' class="type"><code id='Output.t-74'>type <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.Rem.html#associatedtype.Output' class="type">Output</a> = <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>&gt;</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.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>&gt;) -&gt; <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>&gt;</code><a class='srclink' href='../src/cgmath/macros.rs.html#105-107' 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%20Vector2%3Cusize%3E%3E' class='impl'><code class='in-band'>impl&lt;'a&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Rem.html" title="trait core::ops::arith::Rem">Rem</a>&lt;&amp;'a <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>&gt;&gt; for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a></code><a href='#impl-Rem%3C%26%27a%20Vector2%3Cusize%3E%3E' class='anchor'></a><a class='srclink' href='../src/cgmath/macros.rs.html#110-116' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Output-75' class="type"><code id='Output.t-75'>type <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.Rem.html#associatedtype.Output' class="type">Output</a> = <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>&gt;</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: &amp;'a <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>&gt;) -&gt; <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>&gt;</code><a class='srclink' href='../src/cgmath/macros.rs.html#113-115' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the <code>%</code> operation.</p>
</div></div><h3 id='impl-Rem%3CVector2%3Cu8%3E%3E' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Rem.html" title="trait core::ops::arith::Rem">Rem</a>&lt;<a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>&gt;&gt; for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a></code><a href='#impl-Rem%3CVector2%3Cu8%3E%3E' class='anchor'></a><a class='srclink' href='../src/cgmath/macros.rs.html#102-108' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Output-76' class="type"><code id='Output.t-76'>type <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.Rem.html#associatedtype.Output' class="type">Output</a> = <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>&gt;</code></h4><div class='docblock'><p>The resulting type after applying the <code>%</code> operator.</p>
</div><h4 id='method.rem-4' class="method hidden"><code id='rem.v-4'>fn <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.Rem.html#tymethod.rem' class='fnname'>rem</a>(self, other: <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>&gt;) -&gt; <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>&gt;</code><a class='srclink' href='../src/cgmath/macros.rs.html#105-107' 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%20Vector2%3Cu8%3E%3E' class='impl'><code class='in-band'>impl&lt;'a&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Rem.html" title="trait core::ops::arith::Rem">Rem</a>&lt;&amp;'a <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>&gt;&gt; for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a></code><a href='#impl-Rem%3C%26%27a%20Vector2%3Cu8%3E%3E' class='anchor'></a><a class='srclink' href='../src/cgmath/macros.rs.html#110-116' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Output-77' class="type"><code id='Output.t-77'>type <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.Rem.html#associatedtype.Output' class="type">Output</a> = <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>&gt;</code></h4><div class='docblock'><p>The resulting type after applying the <code>%</code> operator.</p>
</div><h4 id='method.rem-5' class="method hidden"><code id='rem.v-5'>fn <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.Rem.html#tymethod.rem' class='fnname'>rem</a>(self, other: &amp;'a <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>&gt;) -&gt; <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>&gt;</code><a class='srclink' href='../src/cgmath/macros.rs.html#113-115' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the <code>%</code> operation.</p>
</div></div><h3 id='impl-Rem%3CVector2%3Cu16%3E%3E' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Rem.html" title="trait core::ops::arith::Rem">Rem</a>&lt;<a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u16.html">u16</a>&gt;&gt; for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u16.html">u16</a></code><a href='#impl-Rem%3CVector2%3Cu16%3E%3E' class='anchor'></a><a class='srclink' href='../src/cgmath/macros.rs.html#102-108' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Output-78' class="type"><code id='Output.t-78'>type <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.Rem.html#associatedtype.Output' class="type">Output</a> = <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u16.html">u16</a>&gt;</code></h4><div class='docblock'><p>The resulting type after applying the <code>%</code> operator.</p>
</div><h4 id='method.rem-6' class="method hidden"><code id='rem.v-6'>fn <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.Rem.html#tymethod.rem' class='fnname'>rem</a>(self, other: <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u16.html">u16</a>&gt;) -&gt; <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u16.html">u16</a>&gt;</code><a class='srclink' href='../src/cgmath/macros.rs.html#105-107' 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%20Vector2%3Cu16%3E%3E' class='impl'><code class='in-band'>impl&lt;'a&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Rem.html" title="trait core::ops::arith::Rem">Rem</a>&lt;&amp;'a <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u16.html">u16</a>&gt;&gt; for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u16.html">u16</a></code><a href='#impl-Rem%3C%26%27a%20Vector2%3Cu16%3E%3E' class='anchor'></a><a class='srclink' href='../src/cgmath/macros.rs.html#110-116' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Output-79' class="type"><code id='Output.t-79'>type <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.Rem.html#associatedtype.Output' class="type">Output</a> = <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u16.html">u16</a>&gt;</code></h4><div class='docblock'><p>The resulting type after applying the <code>%</code> operator.</p>
</div><h4 id='method.rem-7' class="method hidden"><code id='rem.v-7'>fn <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.Rem.html#tymethod.rem' class='fnname'>rem</a>(self, other: &amp;'a <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u16.html">u16</a>&gt;) -&gt; <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u16.html">u16</a>&gt;</code><a class='srclink' href='../src/cgmath/macros.rs.html#113-115' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the <code>%</code> operation.</p>
</div></div><h3 id='impl-Rem%3CVector2%3Cu32%3E%3E' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Rem.html" title="trait core::ops::arith::Rem">Rem</a>&lt;<a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>&gt;&gt; for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a></code><a href='#impl-Rem%3CVector2%3Cu32%3E%3E' class='anchor'></a><a class='srclink' href='../src/cgmath/macros.rs.html#102-108' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Output-80' class="type"><code id='Output.t-80'>type <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.Rem.html#associatedtype.Output' class="type">Output</a> = <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>&gt;</code></h4><div class='docblock'><p>The resulting type after applying the <code>%</code> operator.</p>
</div><h4 id='method.rem-8' class="method hidden"><code id='rem.v-8'>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.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>&gt;) -&gt; <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>&gt;</code><a class='srclink' href='../src/cgmath/macros.rs.html#105-107' 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%20Vector2%3Cu32%3E%3E' class='impl'><code class='in-band'>impl&lt;'a&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Rem.html" title="trait core::ops::arith::Rem">Rem</a>&lt;&amp;'a <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>&gt;&gt; for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a></code><a href='#impl-Rem%3C%26%27a%20Vector2%3Cu32%3E%3E' class='anchor'></a><a class='srclink' href='../src/cgmath/macros.rs.html#110-116' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Output-81' class="type"><code id='Output.t-81'>type <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.Rem.html#associatedtype.Output' class="type">Output</a> = <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>&gt;</code></h4><div class='docblock'><p>The resulting type after applying the <code>%</code> operator.</p>
</div><h4 id='method.rem-9' class="method hidden"><code id='rem.v-9'>fn <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.Rem.html#tymethod.rem' class='fnname'>rem</a>(self, other: &amp;'a <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>&gt;) -&gt; <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>&gt;</code><a class='srclink' href='../src/cgmath/macros.rs.html#113-115' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the <code>%</code> operation.</p>
</div></div><h3 id='impl-Rem%3CVector2%3Cu64%3E%3E' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Rem.html" title="trait core::ops::arith::Rem">Rem</a>&lt;<a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>&gt;&gt; for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a></code><a href='#impl-Rem%3CVector2%3Cu64%3E%3E' class='anchor'></a><a class='srclink' href='../src/cgmath/macros.rs.html#102-108' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Output-82' class="type"><code id='Output.t-82'>type <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.Rem.html#associatedtype.Output' class="type">Output</a> = <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>&gt;</code></h4><div class='docblock'><p>The resulting type after applying the <code>%</code> operator.</p>
</div><h4 id='method.rem-10' class="method hidden"><code id='rem.v-10'>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.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>&gt;) -&gt; <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>&gt;</code><a class='srclink' href='../src/cgmath/macros.rs.html#105-107' 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%20Vector2%3Cu64%3E%3E' class='impl'><code class='in-band'>impl&lt;'a&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Rem.html" title="trait core::ops::arith::Rem">Rem</a>&lt;&amp;'a <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>&gt;&gt; for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a></code><a href='#impl-Rem%3C%26%27a%20Vector2%3Cu64%3E%3E' class='anchor'></a><a class='srclink' href='../src/cgmath/macros.rs.html#110-116' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Output-83' class="type"><code id='Output.t-83'>type <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.Rem.html#associatedtype.Output' class="type">Output</a> = <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>&gt;</code></h4><div class='docblock'><p>The resulting type after applying the <code>%</code> operator.</p>
</div><h4 id='method.rem-11' class="method hidden"><code id='rem.v-11'>fn <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.Rem.html#tymethod.rem' class='fnname'>rem</a>(self, other: &amp;'a <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>&gt;) -&gt; <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>&gt;</code><a class='srclink' href='../src/cgmath/macros.rs.html#113-115' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the <code>%</code> operation.</p>
</div></div><h3 id='impl-Rem%3CVector2%3Cisize%3E%3E' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Rem.html" title="trait core::ops::arith::Rem">Rem</a>&lt;<a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.isize.html">isize</a>&gt;&gt; for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.isize.html">isize</a></code><a href='#impl-Rem%3CVector2%3Cisize%3E%3E' class='anchor'></a><a class='srclink' href='../src/cgmath/macros.rs.html#102-108' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Output-84' class="type"><code id='Output.t-84'>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.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.isize.html">isize</a>&gt;</code></h4><div class='docblock'><p>The resulting type after applying the <code>%</code> operator.</p>
</div><h4 id='method.rem-12' class="method hidden"><code id='rem.v-12'>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.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.isize.html">isize</a>&gt;) -&gt; <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.isize.html">isize</a>&gt;</code><a class='srclink' href='../src/cgmath/macros.rs.html#105-107' 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%20Vector2%3Cisize%3E%3E' class='impl'><code class='in-band'>impl&lt;'a&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Rem.html" title="trait core::ops::arith::Rem">Rem</a>&lt;&amp;'a <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.isize.html">isize</a>&gt;&gt; for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.isize.html">isize</a></code><a href='#impl-Rem%3C%26%27a%20Vector2%3Cisize%3E%3E' class='anchor'></a><a class='srclink' href='../src/cgmath/macros.rs.html#110-116' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Output-85' class="type"><code id='Output.t-85'>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.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.isize.html">isize</a>&gt;</code></h4><div class='docblock'><p>The resulting type after applying the <code>%</code> operator.</p>
</div><h4 id='method.rem-13' class="method hidden"><code id='rem.v-13'>fn <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.Rem.html#tymethod.rem' class='fnname'>rem</a>(self, other: &amp;'a <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.isize.html">isize</a>&gt;) -&gt; <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.isize.html">isize</a>&gt;</code><a class='srclink' href='../src/cgmath/macros.rs.html#113-115' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the <code>%</code> operation.</p>
</div></div><h3 id='impl-Rem%3CVector2%3Ci8%3E%3E' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Rem.html" title="trait core::ops::arith::Rem">Rem</a>&lt;<a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i8.html">i8</a>&gt;&gt; for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i8.html">i8</a></code><a href='#impl-Rem%3CVector2%3Ci8%3E%3E' class='anchor'></a><a class='srclink' href='../src/cgmath/macros.rs.html#102-108' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Output-86' class="type"><code id='Output.t-86'>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.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i8.html">i8</a>&gt;</code></h4><div class='docblock'><p>The resulting type after applying the <code>%</code> operator.</p>
</div><h4 id='method.rem-14' class="method hidden"><code id='rem.v-14'>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.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i8.html">i8</a>&gt;) -&gt; <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i8.html">i8</a>&gt;</code><a class='srclink' href='../src/cgmath/macros.rs.html#105-107' 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%20Vector2%3Ci8%3E%3E' class='impl'><code class='in-band'>impl&lt;'a&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Rem.html" title="trait core::ops::arith::Rem">Rem</a>&lt;&amp;'a <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i8.html">i8</a>&gt;&gt; for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i8.html">i8</a></code><a href='#impl-Rem%3C%26%27a%20Vector2%3Ci8%3E%3E' class='anchor'></a><a class='srclink' href='../src/cgmath/macros.rs.html#110-116' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Output-87' class="type"><code id='Output.t-87'>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.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i8.html">i8</a>&gt;</code></h4><div class='docblock'><p>The resulting type after applying the <code>%</code> operator.</p>
</div><h4 id='method.rem-15' class="method hidden"><code id='rem.v-15'>fn <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.Rem.html#tymethod.rem' class='fnname'>rem</a>(self, other: &amp;'a <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i8.html">i8</a>&gt;) -&gt; <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i8.html">i8</a>&gt;</code><a class='srclink' href='../src/cgmath/macros.rs.html#113-115' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the <code>%</code> operation.</p>
</div></div><h3 id='impl-Rem%3CVector2%3Ci16%3E%3E' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Rem.html" title="trait core::ops::arith::Rem">Rem</a>&lt;<a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i16.html">i16</a>&gt;&gt; for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i16.html">i16</a></code><a href='#impl-Rem%3CVector2%3Ci16%3E%3E' class='anchor'></a><a class='srclink' href='../src/cgmath/macros.rs.html#102-108' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Output-88' class="type"><code id='Output.t-88'>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.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i16.html">i16</a>&gt;</code></h4><div class='docblock'><p>The resulting type after applying the <code>%</code> operator.</p>
</div><h4 id='method.rem-16' class="method hidden"><code id='rem.v-16'>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.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i16.html">i16</a>&gt;) -&gt; <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i16.html">i16</a>&gt;</code><a class='srclink' href='../src/cgmath/macros.rs.html#105-107' 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%20Vector2%3Ci16%3E%3E' class='impl'><code class='in-band'>impl&lt;'a&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Rem.html" title="trait core::ops::arith::Rem">Rem</a>&lt;&amp;'a <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i16.html">i16</a>&gt;&gt; for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i16.html">i16</a></code><a href='#impl-Rem%3C%26%27a%20Vector2%3Ci16%3E%3E' class='anchor'></a><a class='srclink' href='../src/cgmath/macros.rs.html#110-116' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Output-89' class="type"><code id='Output.t-89'>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.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i16.html">i16</a>&gt;</code></h4><div class='docblock'><p>The resulting type after applying the <code>%</code> operator.</p>
</div><h4 id='method.rem-17' class="method hidden"><code id='rem.v-17'>fn <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.Rem.html#tymethod.rem' class='fnname'>rem</a>(self, other: &amp;'a <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i16.html">i16</a>&gt;) -&gt; <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i16.html">i16</a>&gt;</code><a class='srclink' href='../src/cgmath/macros.rs.html#113-115' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the <code>%</code> operation.</p>
</div></div><h3 id='impl-Rem%3CVector2%3Ci32%3E%3E' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Rem.html" title="trait core::ops::arith::Rem">Rem</a>&lt;<a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>&gt;&gt; for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a></code><a href='#impl-Rem%3CVector2%3Ci32%3E%3E' class='anchor'></a><a class='srclink' href='../src/cgmath/macros.rs.html#102-108' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Output-90' class="type"><code id='Output.t-90'>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.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>&gt;</code></h4><div class='docblock'><p>The resulting type after applying the <code>%</code> operator.</p>
</div><h4 id='method.rem-18' class="method hidden"><code id='rem.v-18'>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.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>&gt;) -&gt; <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>&gt;</code><a class='srclink' href='../src/cgmath/macros.rs.html#105-107' 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%20Vector2%3Ci32%3E%3E' class='impl'><code class='in-band'>impl&lt;'a&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Rem.html" title="trait core::ops::arith::Rem">Rem</a>&lt;&amp;'a <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>&gt;&gt; for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a></code><a href='#impl-Rem%3C%26%27a%20Vector2%3Ci32%3E%3E' class='anchor'></a><a class='srclink' href='../src/cgmath/macros.rs.html#110-116' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Output-91' class="type"><code id='Output.t-91'>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.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>&gt;</code></h4><div class='docblock'><p>The resulting type after applying the <code>%</code> operator.</p>
</div><h4 id='method.rem-19' class="method hidden"><code id='rem.v-19'>fn <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.Rem.html#tymethod.rem' class='fnname'>rem</a>(self, other: &amp;'a <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>&gt;) -&gt; <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>&gt;</code><a class='srclink' href='../src/cgmath/macros.rs.html#113-115' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the <code>%</code> operation.</p>
</div></div><h3 id='impl-Rem%3CVector2%3Ci64%3E%3E' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Rem.html" title="trait core::ops::arith::Rem">Rem</a>&lt;<a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i64.html">i64</a>&gt;&gt; for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i64.html">i64</a></code><a href='#impl-Rem%3CVector2%3Ci64%3E%3E' class='anchor'></a><a class='srclink' href='../src/cgmath/macros.rs.html#102-108' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Output-92' class="type"><code id='Output.t-92'>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.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i64.html">i64</a>&gt;</code></h4><div class='docblock'><p>The resulting type after applying the <code>%</code> operator.</p>
</div><h4 id='method.rem-20' class="method hidden"><code id='rem.v-20'>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.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i64.html">i64</a>&gt;) -&gt; <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i64.html">i64</a>&gt;</code><a class='srclink' href='../src/cgmath/macros.rs.html#105-107' 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%20Vector2%3Ci64%3E%3E' class='impl'><code class='in-band'>impl&lt;'a&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Rem.html" title="trait core::ops::arith::Rem">Rem</a>&lt;&amp;'a <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i64.html">i64</a>&gt;&gt; for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i64.html">i64</a></code><a href='#impl-Rem%3C%26%27a%20Vector2%3Ci64%3E%3E' class='anchor'></a><a class='srclink' href='../src/cgmath/macros.rs.html#110-116' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Output-93' class="type"><code id='Output.t-93'>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.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i64.html">i64</a>&gt;</code></h4><div class='docblock'><p>The resulting type after applying the <code>%</code> operator.</p>
</div><h4 id='method.rem-21' class="method hidden"><code id='rem.v-21'>fn <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.Rem.html#tymethod.rem' class='fnname'>rem</a>(self, other: &amp;'a <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i64.html">i64</a>&gt;) -&gt; <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i64.html">i64</a>&gt;</code><a class='srclink' href='../src/cgmath/macros.rs.html#113-115' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the <code>%</code> operation.</p>
</div></div><h3 id='impl-Rem%3CVector2%3Cf32%3E%3E' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Rem.html" title="trait core::ops::arith::Rem">Rem</a>&lt;<a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a>&gt;&gt; for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a></code><a href='#impl-Rem%3CVector2%3Cf32%3E%3E' class='anchor'></a><a class='srclink' href='../src/cgmath/macros.rs.html#102-108' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Output-94' class="type"><code id='Output.t-94'>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.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a>&gt;</code></h4><div class='docblock'><p>The resulting type after applying the <code>%</code> operator.</p>
</div><h4 id='method.rem-22' class="method hidden"><code id='rem.v-22'>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.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a>&gt;) -&gt; <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a>&gt;</code><a class='srclink' href='../src/cgmath/macros.rs.html#105-107' 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%20Vector2%3Cf32%3E%3E' class='impl'><code class='in-band'>impl&lt;'a&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Rem.html" title="trait core::ops::arith::Rem">Rem</a>&lt;&amp;'a <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a>&gt;&gt; for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a></code><a href='#impl-Rem%3C%26%27a%20Vector2%3Cf32%3E%3E' class='anchor'></a><a class='srclink' href='../src/cgmath/macros.rs.html#110-116' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Output-95' class="type"><code id='Output.t-95'>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.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a>&gt;</code></h4><div class='docblock'><p>The resulting type after applying the <code>%</code> operator.</p>
</div><h4 id='method.rem-23' class="method hidden"><code id='rem.v-23'>fn <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.Rem.html#tymethod.rem' class='fnname'>rem</a>(self, other: &amp;'a <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a>&gt;) -&gt; <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a>&gt;</code><a class='srclink' href='../src/cgmath/macros.rs.html#113-115' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the <code>%</code> operation.</p>
</div></div><h3 id='impl-Rem%3CVector2%3Cf64%3E%3E' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Rem.html" title="trait core::ops::arith::Rem">Rem</a>&lt;<a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a>&gt;&gt; for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a></code><a href='#impl-Rem%3CVector2%3Cf64%3E%3E' class='anchor'></a><a class='srclink' href='../src/cgmath/macros.rs.html#102-108' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Output-96' class="type"><code id='Output.t-96'>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.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a>&gt;</code></h4><div class='docblock'><p>The resulting type after applying the <code>%</code> operator.</p>
</div><h4 id='method.rem-24' class="method hidden"><code id='rem.v-24'>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.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a>&gt;) -&gt; <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a>&gt;</code><a class='srclink' href='../src/cgmath/macros.rs.html#105-107' 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%20Vector2%3Cf64%3E%3E' class='impl'><code class='in-band'>impl&lt;'a&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Rem.html" title="trait core::ops::arith::Rem">Rem</a>&lt;&amp;'a <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a>&gt;&gt; for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a></code><a href='#impl-Rem%3C%26%27a%20Vector2%3Cf64%3E%3E' class='anchor'></a><a class='srclink' href='../src/cgmath/macros.rs.html#110-116' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Output-97' class="type"><code id='Output.t-97'>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.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a>&gt;</code></h4><div class='docblock'><p>The resulting type after applying the <code>%</code> operator.</p>
</div><h4 id='method.rem-25' class="method hidden"><code id='rem.v-25'>fn <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.Rem.html#tymethod.rem' class='fnname'>rem</a>(self, other: &amp;'a <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a>&gt;) -&gt; <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a>&gt;</code><a class='srclink' href='../src/cgmath/macros.rs.html#113-115' 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&lt;S:&nbsp;<a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Neg.html" title="trait core::ops::arith::Neg">Neg</a>&lt;Output = S&gt;&gt; <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.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;S&gt;</code><a href='#impl-Neg' class='anchor'></a><a class='srclink' href='../src/cgmath/vector.rs.html#203-208' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Output-98' class="type"><code id='Output.t-98'>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.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;S&gt;</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) -&gt; <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;S&gt;</code><a class='srclink' href='../src/cgmath/vector.rs.html#207' 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%3CVector2%3CS%3E%3E' class='impl'><code class='in-band'>impl&lt;S:&nbsp;<a class="trait" href="../cgmath/trait.BaseNum.html" title="trait cgmath::BaseNum">BaseNum</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>&lt;S&gt;&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.AddAssign.html" title="trait core::ops::arith::AddAssign">AddAssign</a>&lt;<a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;S&gt;&gt; for <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;S&gt;</code><a href='#impl-AddAssign%3CVector2%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>(&amp;mut self, other: <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;S&gt;)</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-AddAssign%3CVector2%3CS%3E%3E-1' class='impl'><code class='in-band'>impl&lt;S:&nbsp;<a class="trait" href="../cgmath/trait.BaseNum.html" title="trait cgmath::BaseNum">BaseNum</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>&lt;S&gt;&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.AddAssign.html" title="trait core::ops::arith::AddAssign">AddAssign</a>&lt;<a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;S&gt;&gt; for <a class="struct" href="../cgmath/struct.Point2.html" title="struct cgmath::Point2">Point2</a>&lt;S&gt;</code><a href='#impl-AddAssign%3CVector2%3CS%3E%3E-1' 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-1' class="method hidden"><code id='add_assign.v-1'>fn <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.AddAssign.html#tymethod.add_assign' class='fnname'>add_assign</a>(&amp;mut self, vector: <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;S&gt;)</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%3CVector2%3CS%3E%3E' class='impl'><code class='in-band'>impl&lt;S:&nbsp;<a class="trait" href="../cgmath/trait.BaseNum.html" title="trait cgmath::BaseNum">BaseNum</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>&lt;S&gt;&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.SubAssign.html" title="trait core::ops::arith::SubAssign">SubAssign</a>&lt;<a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;S&gt;&gt; for <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;S&gt;</code><a href='#impl-SubAssign%3CVector2%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>(&amp;mut self, other: <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;S&gt;)</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%3CVector2%3CS%3E%3E-1' class='impl'><code class='in-band'>impl&lt;S:&nbsp;<a class="trait" href="../cgmath/trait.BaseNum.html" title="trait cgmath::BaseNum">BaseNum</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>&lt;S&gt;&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.SubAssign.html" title="trait core::ops::arith::SubAssign">SubAssign</a>&lt;<a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;S&gt;&gt; for <a class="struct" href="../cgmath/struct.Point2.html" title="struct cgmath::Point2">Point2</a>&lt;S&gt;</code><a href='#impl-SubAssign%3CVector2%3CS%3E%3E-1' 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-1' class="method hidden"><code id='sub_assign.v-1'>fn <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.SubAssign.html#tymethod.sub_assign' class='fnname'>sub_assign</a>(&amp;mut self, vector: <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;S&gt;)</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&lt;S:&nbsp;<a class="trait" href="../cgmath/trait.BaseNum.html" title="trait cgmath::BaseNum">BaseNum</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>&lt;S&gt;&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.MulAssign.html" title="trait core::ops::arith::MulAssign">MulAssign</a>&lt;S&gt; for <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;S&gt;</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>(&amp;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&lt;S:&nbsp;<a class="trait" href="../cgmath/trait.BaseNum.html" title="trait cgmath::BaseNum">BaseNum</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>&lt;S&gt;&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.DivAssign.html" title="trait core::ops::arith::DivAssign">DivAssign</a>&lt;S&gt; for <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;S&gt;</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>(&amp;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%3CS%3E' class='impl'><code class='in-band'>impl&lt;S:&nbsp;<a class="trait" href="../cgmath/trait.BaseNum.html" title="trait cgmath::BaseNum">BaseNum</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>&lt;S&gt;&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.RemAssign.html" title="trait core::ops::arith::RemAssign">RemAssign</a>&lt;S&gt; for <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;S&gt;</code><a href='#impl-RemAssign%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.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>(&amp;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-Index%3Cusize%3E' class='impl'><code class='in-band'>impl&lt;S&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/index/trait.Index.html" title="trait core::ops::index::Index">Index</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>&gt; for <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;S&gt;</code><a href='#impl-Index%3Cusize%3E' class='anchor'></a><a class='srclink' href='../src/cgmath/macros.rs.html#240-247' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Output-99' class="type"><code id='Output.t-99'>type <a href='https://doc.rust-lang.org/nightly/core/ops/index/trait.Index.html#associatedtype.Output' class="type">Output</a> = S</code></h4><div class='docblock'><p>The returned type after indexing.</p>
</div><h4 id='method.index' class="method hidden"><code id='index.v'>fn <a href='https://doc.rust-lang.org/nightly/core/ops/index/trait.Index.html#tymethod.index' class='fnname'>index</a>&lt;'a&gt;(&amp;'a self, i: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;'a </a>S</code><a class='srclink' href='../src/cgmath/macros.rs.html#244-246' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the indexing (<code>container[index]</code>) operation.</p>
</div></div><h3 id='impl-Index%3CRange%3Cusize%3E%3E' class='impl'><code class='in-band'>impl&lt;S&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/index/trait.Index.html" title="trait core::ops::index::Index">Index</a>&lt;<a class="struct" href="https://doc.rust-lang.org/nightly/core/ops/range/struct.Range.html" title="struct core::ops::range::Range">Range</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>&gt;&gt; for <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;S&gt;</code><a href='#impl-Index%3CRange%3Cusize%3E%3E' class='anchor'></a><a class='srclink' href='../src/cgmath/macros.rs.html#240-247' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Output-100' class="type"><code id='Output.t-100'>type <a href='https://doc.rust-lang.org/nightly/core/ops/index/trait.Index.html#associatedtype.Output' class="type">Output</a> = <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.slice.html">[</a>S<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.slice.html">]</a></code></h4><div class='docblock'><p>The returned type after indexing.</p>
</div><h4 id='method.index-1' class="method hidden"><code id='index.v-1'>fn <a href='https://doc.rust-lang.org/nightly/core/ops/index/trait.Index.html#tymethod.index' class='fnname'>index</a>&lt;'a&gt;(&amp;'a self, i: <a class="struct" href="https://doc.rust-lang.org/nightly/core/ops/range/struct.Range.html" title="struct core::ops::range::Range">Range</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>&gt;) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.slice.html">&amp;'a [S]</a></code><a class='srclink' href='../src/cgmath/macros.rs.html#244-246' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the indexing (<code>container[index]</code>) operation.</p>
</div></div><h3 id='impl-Index%3CRangeTo%3Cusize%3E%3E' class='impl'><code class='in-band'>impl&lt;S&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/index/trait.Index.html" title="trait core::ops::index::Index">Index</a>&lt;<a class="struct" href="https://doc.rust-lang.org/nightly/core/ops/range/struct.RangeTo.html" title="struct core::ops::range::RangeTo">RangeTo</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>&gt;&gt; for <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;S&gt;</code><a href='#impl-Index%3CRangeTo%3Cusize%3E%3E' class='anchor'></a><a class='srclink' href='../src/cgmath/macros.rs.html#240-247' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Output-101' class="type"><code id='Output.t-101'>type <a href='https://doc.rust-lang.org/nightly/core/ops/index/trait.Index.html#associatedtype.Output' class="type">Output</a> = <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.slice.html">[</a>S<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.slice.html">]</a></code></h4><div class='docblock'><p>The returned type after indexing.</p>
</div><h4 id='method.index-2' class="method hidden"><code id='index.v-2'>fn <a href='https://doc.rust-lang.org/nightly/core/ops/index/trait.Index.html#tymethod.index' class='fnname'>index</a>&lt;'a&gt;(&amp;'a self, i: <a class="struct" href="https://doc.rust-lang.org/nightly/core/ops/range/struct.RangeTo.html" title="struct core::ops::range::RangeTo">RangeTo</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>&gt;) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.slice.html">&amp;'a [S]</a></code><a class='srclink' href='../src/cgmath/macros.rs.html#244-246' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the indexing (<code>container[index]</code>) operation.</p>
</div></div><h3 id='impl-Index%3CRangeFrom%3Cusize%3E%3E' class='impl'><code class='in-band'>impl&lt;S&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/index/trait.Index.html" title="trait core::ops::index::Index">Index</a>&lt;<a class="struct" href="https://doc.rust-lang.org/nightly/core/ops/range/struct.RangeFrom.html" title="struct core::ops::range::RangeFrom">RangeFrom</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>&gt;&gt; for <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;S&gt;</code><a href='#impl-Index%3CRangeFrom%3Cusize%3E%3E' class='anchor'></a><a class='srclink' href='../src/cgmath/macros.rs.html#240-247' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Output-102' class="type"><code id='Output.t-102'>type <a href='https://doc.rust-lang.org/nightly/core/ops/index/trait.Index.html#associatedtype.Output' class="type">Output</a> = <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.slice.html">[</a>S<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.slice.html">]</a></code></h4><div class='docblock'><p>The returned type after indexing.</p>
</div><h4 id='method.index-3' class="method hidden"><code id='index.v-3'>fn <a href='https://doc.rust-lang.org/nightly/core/ops/index/trait.Index.html#tymethod.index' class='fnname'>index</a>&lt;'a&gt;(&amp;'a self, i: <a class="struct" href="https://doc.rust-lang.org/nightly/core/ops/range/struct.RangeFrom.html" title="struct core::ops::range::RangeFrom">RangeFrom</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>&gt;) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.slice.html">&amp;'a [S]</a></code><a class='srclink' href='../src/cgmath/macros.rs.html#244-246' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the indexing (<code>container[index]</code>) operation.</p>
</div></div><h3 id='impl-Index%3CRangeFull%3E' class='impl'><code class='in-band'>impl&lt;S&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/index/trait.Index.html" title="trait core::ops::index::Index">Index</a>&lt;<a class="struct" href="https://doc.rust-lang.org/nightly/core/ops/range/struct.RangeFull.html" title="struct core::ops::range::RangeFull">RangeFull</a>&gt; for <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;S&gt;</code><a href='#impl-Index%3CRangeFull%3E' class='anchor'></a><a class='srclink' href='../src/cgmath/macros.rs.html#240-247' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Output-103' class="type"><code id='Output.t-103'>type <a href='https://doc.rust-lang.org/nightly/core/ops/index/trait.Index.html#associatedtype.Output' class="type">Output</a> = <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.slice.html">[</a>S<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.slice.html">]</a></code></h4><div class='docblock'><p>The returned type after indexing.</p>
</div><h4 id='method.index-4' class="method hidden"><code id='index.v-4'>fn <a href='https://doc.rust-lang.org/nightly/core/ops/index/trait.Index.html#tymethod.index' class='fnname'>index</a>&lt;'a&gt;(&amp;'a self, i: <a class="struct" href="https://doc.rust-lang.org/nightly/core/ops/range/struct.RangeFull.html" title="struct core::ops::range::RangeFull">RangeFull</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.slice.html">&amp;'a [S]</a></code><a class='srclink' href='../src/cgmath/macros.rs.html#244-246' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the indexing (<code>container[index]</code>) operation.</p>
</div></div><h3 id='impl-IndexMut%3Cusize%3E' class='impl'><code class='in-band'>impl&lt;S&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/index/trait.IndexMut.html" title="trait core::ops::index::IndexMut">IndexMut</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>&gt; for <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;S&gt;</code><a href='#impl-IndexMut%3Cusize%3E' class='anchor'></a><a class='srclink' href='../src/cgmath/macros.rs.html#249-254' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.index_mut' class="method hidden"><code id='index_mut.v'>fn <a href='https://doc.rust-lang.org/nightly/core/ops/index/trait.IndexMut.html#tymethod.index_mut' class='fnname'>index_mut</a>&lt;'a&gt;(&amp;'a mut self, i: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;'a mut </a>S</code><a class='srclink' href='../src/cgmath/macros.rs.html#251-253' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the mutable indexing (<code>container[index]</code>) operation.</p>
</div></div><h3 id='impl-IndexMut%3CRange%3Cusize%3E%3E' class='impl'><code class='in-band'>impl&lt;S&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/index/trait.IndexMut.html" title="trait core::ops::index::IndexMut">IndexMut</a>&lt;<a class="struct" href="https://doc.rust-lang.org/nightly/core/ops/range/struct.Range.html" title="struct core::ops::range::Range">Range</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>&gt;&gt; for <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;S&gt;</code><a href='#impl-IndexMut%3CRange%3Cusize%3E%3E' class='anchor'></a><a class='srclink' href='../src/cgmath/macros.rs.html#249-254' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.index_mut-1' class="method hidden"><code id='index_mut.v-1'>fn <a href='https://doc.rust-lang.org/nightly/core/ops/index/trait.IndexMut.html#tymethod.index_mut' class='fnname'>index_mut</a>&lt;'a&gt;(&amp;'a mut self, i: <a class="struct" href="https://doc.rust-lang.org/nightly/core/ops/range/struct.Range.html" title="struct core::ops::range::Range">Range</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>&gt;) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.slice.html">&amp;'a mut [S]</a></code><a class='srclink' href='../src/cgmath/macros.rs.html#251-253' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the mutable indexing (<code>container[index]</code>) operation.</p>
</div></div><h3 id='impl-IndexMut%3CRangeTo%3Cusize%3E%3E' class='impl'><code class='in-band'>impl&lt;S&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/index/trait.IndexMut.html" title="trait core::ops::index::IndexMut">IndexMut</a>&lt;<a class="struct" href="https://doc.rust-lang.org/nightly/core/ops/range/struct.RangeTo.html" title="struct core::ops::range::RangeTo">RangeTo</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>&gt;&gt; for <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;S&gt;</code><a href='#impl-IndexMut%3CRangeTo%3Cusize%3E%3E' class='anchor'></a><a class='srclink' href='../src/cgmath/macros.rs.html#249-254' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.index_mut-2' class="method hidden"><code id='index_mut.v-2'>fn <a href='https://doc.rust-lang.org/nightly/core/ops/index/trait.IndexMut.html#tymethod.index_mut' class='fnname'>index_mut</a>&lt;'a&gt;(&amp;'a mut self, i: <a class="struct" href="https://doc.rust-lang.org/nightly/core/ops/range/struct.RangeTo.html" title="struct core::ops::range::RangeTo">RangeTo</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>&gt;) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.slice.html">&amp;'a mut [S]</a></code><a class='srclink' href='../src/cgmath/macros.rs.html#251-253' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the mutable indexing (<code>container[index]</code>) operation.</p>
</div></div><h3 id='impl-IndexMut%3CRangeFrom%3Cusize%3E%3E' class='impl'><code class='in-band'>impl&lt;S&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/index/trait.IndexMut.html" title="trait core::ops::index::IndexMut">IndexMut</a>&lt;<a class="struct" href="https://doc.rust-lang.org/nightly/core/ops/range/struct.RangeFrom.html" title="struct core::ops::range::RangeFrom">RangeFrom</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>&gt;&gt; for <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;S&gt;</code><a href='#impl-IndexMut%3CRangeFrom%3Cusize%3E%3E' class='anchor'></a><a class='srclink' href='../src/cgmath/macros.rs.html#249-254' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.index_mut-3' class="method hidden"><code id='index_mut.v-3'>fn <a href='https://doc.rust-lang.org/nightly/core/ops/index/trait.IndexMut.html#tymethod.index_mut' class='fnname'>index_mut</a>&lt;'a&gt;(&amp;'a mut self, i: <a class="struct" href="https://doc.rust-lang.org/nightly/core/ops/range/struct.RangeFrom.html" title="struct core::ops::range::RangeFrom">RangeFrom</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>&gt;) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.slice.html">&amp;'a mut [S]</a></code><a class='srclink' href='../src/cgmath/macros.rs.html#251-253' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the mutable indexing (<code>container[index]</code>) operation.</p>
</div></div><h3 id='impl-IndexMut%3CRangeFull%3E' class='impl'><code class='in-band'>impl&lt;S&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/index/trait.IndexMut.html" title="trait core::ops::index::IndexMut">IndexMut</a>&lt;<a class="struct" href="https://doc.rust-lang.org/nightly/core/ops/range/struct.RangeFull.html" title="struct core::ops::range::RangeFull">RangeFull</a>&gt; for <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;S&gt;</code><a href='#impl-IndexMut%3CRangeFull%3E' class='anchor'></a><a class='srclink' href='../src/cgmath/macros.rs.html#249-254' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.index_mut-4' class="method hidden"><code id='index_mut.v-4'>fn <a href='https://doc.rust-lang.org/nightly/core/ops/index/trait.IndexMut.html#tymethod.index_mut' class='fnname'>index_mut</a>&lt;'a&gt;(&amp;'a mut self, i: <a class="struct" href="https://doc.rust-lang.org/nightly/core/ops/range/struct.RangeFull.html" title="struct core::ops::range::RangeFull">RangeFull</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.slice.html">&amp;'a mut [S]</a></code><a class='srclink' href='../src/cgmath/macros.rs.html#251-253' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the mutable indexing (<code>container[index]</code>) operation.</p>
</div></div><h3 id='impl-Debug' class='impl'><code class='in-band'>impl&lt;S:&nbsp;<a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a>&gt; <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.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;S&gt;</code><a href='#impl-Debug' class='anchor'></a><a class='srclink' href='../src/cgmath/vector.rs.html#833-838' 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>(&amp;self, f: &amp;mut <a class="struct" href="https://doc.rust-lang.org/nightly/core/fmt/struct.Formatter.html" title="struct core::fmt::Formatter">Formatter</a>) -&gt; <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/vector.rs.html#834-837' 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%3CVector2%3CS%3E%3E' class='impl'><code class='in-band'>impl&lt;S:&nbsp;<a class="trait" href="../cgmath/trait.BaseNum.html" title="trait cgmath::BaseNum">BaseNum</a>&gt; <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>&lt;<a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;S&gt;&gt; for <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;S&gt;</code><a href='#impl-Sum%3CVector2%3CS%3E%3E' class='anchor'></a><a class='srclink' href='../src/cgmath/vector.rs.html#185-190' 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>&lt;I:&nbsp;<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>&lt;Item = <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;S&gt;&gt;&gt;(iter: I) -&gt; <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;S&gt;</code><a class='srclink' href='../src/cgmath/vector.rs.html#187-189' 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 &quot;summing up&quot; 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%20Vector2%3CS%3E%3E' class='impl'><code class='in-band'>impl&lt;'a, S:&nbsp;'a + <a class="trait" href="../cgmath/trait.BaseNum.html" title="trait cgmath::BaseNum">BaseNum</a>&gt; <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>&lt;&amp;'a <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;S&gt;&gt; for <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;S&gt;</code><a href='#impl-Sum%3C%26%27a%20Vector2%3CS%3E%3E' class='anchor'></a><a class='srclink' href='../src/cgmath/vector.rs.html#192-197' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.sum-2' class="method hidden"><code id='sum.v-2'>fn <a href='https://doc.rust-lang.org/nightly/core/iter/traits/accum/trait.Sum.html#tymethod.sum' class='fnname'>sum</a>&lt;I:&nbsp;<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>&lt;Item = &amp;'a <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;S&gt;&gt;&gt;(iter: I) -&gt; <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;S&gt;</code><a class='srclink' href='../src/cgmath/vector.rs.html#194-196' 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 &quot;summing up&quot; 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%3CVector2%3CS%3E%3E' class='impl'><code class='in-band'>impl&lt;S:&nbsp;<a class="trait" href="../cgmath/trait.BaseFloat.html" title="trait cgmath::BaseFloat">BaseFloat</a>&gt; <a class="trait" href="../cgmath/trait.AbsDiffEq.html" title="trait cgmath::AbsDiffEq">AbsDiffEq</a>&lt;<a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;S&gt;&gt; for <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;S&gt;</code><a href='#impl-AbsDiffEq%3CVector2%3CS%3E%3E' class='anchor'></a><a class='srclink' href='../src/cgmath/vector.rs.html#210-222' 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>() -&gt; 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/vector.rs.html#214-216' 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>(&amp;self, other: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;</a>Self, epsilon: S::<a class="type" href="../cgmath/trait.AbsDiffEq.html#associatedtype.Epsilon" title="type cgmath::AbsDiffEq::Epsilon">Epsilon</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code><a class='srclink' href='../src/cgmath/vector.rs.html#219-221' 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>(&amp;self, other: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;</a>Rhs, epsilon: Self::<a class="type" href="../cgmath/trait.AbsDiffEq.html#associatedtype.Epsilon" title="type cgmath::AbsDiffEq::Epsilon">Epsilon</a>) -&gt; <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%3CVector2%3CS%3E%3E' class='impl'><code class='in-band'>impl&lt;S:&nbsp;<a class="trait" href="../cgmath/trait.BaseFloat.html" title="trait cgmath::BaseFloat">BaseFloat</a>&gt; <a class="trait" href="../cgmath/trait.RelativeEq.html" title="trait cgmath::RelativeEq">RelativeEq</a>&lt;<a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;S&gt;&gt; for <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;S&gt;</code><a href='#impl-RelativeEq%3CVector2%3CS%3E%3E' class='anchor'></a><a class='srclink' href='../src/cgmath/vector.rs.html#224-234' 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>() -&gt; 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/vector.rs.html#226-228' 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>&nbsp;&nbsp;&nbsp;&nbsp;&amp;self, <br>&nbsp;&nbsp;&nbsp;&nbsp;other: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;</a>Self, <br>&nbsp;&nbsp;&nbsp;&nbsp;epsilon: S::<a class="type" href="../cgmath/trait.AbsDiffEq.html#associatedtype.Epsilon" title="type cgmath::AbsDiffEq::Epsilon">Epsilon</a>, <br>&nbsp;&nbsp;&nbsp;&nbsp;max_relative: S::<a class="type" href="../cgmath/trait.AbsDiffEq.html#associatedtype.Epsilon" title="type cgmath::AbsDiffEq::Epsilon">Epsilon</a><br>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code><a class='srclink' href='../src/cgmath/vector.rs.html#231-233' 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>&nbsp;&nbsp;&nbsp;&nbsp;&amp;self, <br>&nbsp;&nbsp;&nbsp;&nbsp;other: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;</a>Rhs, <br>&nbsp;&nbsp;&nbsp;&nbsp;epsilon: Self::<a class="type" href="../cgmath/trait.AbsDiffEq.html#associatedtype.Epsilon" title="type cgmath::AbsDiffEq::Epsilon">Epsilon</a>, <br>&nbsp;&nbsp;&nbsp;&nbsp;max_relative: Self::<a class="type" href="../cgmath/trait.AbsDiffEq.html#associatedtype.Epsilon" title="type cgmath::AbsDiffEq::Epsilon">Epsilon</a><br>) -&gt; <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%3CVector2%3CS%3E%3E' class='impl'><code class='in-band'>impl&lt;S:&nbsp;<a class="trait" href="../cgmath/trait.BaseFloat.html" title="trait cgmath::BaseFloat">BaseFloat</a>&gt; <a class="trait" href="../cgmath/trait.UlpsEq.html" title="trait cgmath::UlpsEq">UlpsEq</a>&lt;<a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;S&gt;&gt; for <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;S&gt;</code><a href='#impl-UlpsEq%3CVector2%3CS%3E%3E' class='anchor'></a><a class='srclink' href='../src/cgmath/vector.rs.html#236-246' 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>() -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a></code><a class='srclink' href='../src/cgmath/vector.rs.html#238-240' 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>(&amp;self, other: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;</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>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code><a class='srclink' href='../src/cgmath/vector.rs.html#243-245' 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>(&amp;self, other: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;</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>) -&gt; <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&lt;S:&nbsp;<a class="trait" href="../cgmath/prelude/trait.Bounded.html" title="trait cgmath::prelude::Bounded">Bounded</a>&gt; <a class="trait" href="../cgmath/prelude/trait.Bounded.html" title="trait cgmath::prelude::Bounded">Bounded</a> for <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;S&gt;</code><a href='#impl-Bounded' class='anchor'></a><a class='srclink' href='../src/cgmath/vector.rs.html#257-267' 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>() -&gt; <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;S&gt;</code><a class='srclink' href='../src/cgmath/vector.rs.html#259-261' 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>() -&gt; <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;S&gt;</code><a class='srclink' href='../src/cgmath/vector.rs.html#264-266' 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&lt;S:&nbsp;<a class="trait" href="../cgmath/trait.BaseNum.html" title="trait cgmath::BaseNum">BaseNum</a>&gt; <a class="trait" href="../cgmath/prelude/trait.Zero.html" title="trait cgmath::prelude::Zero">Zero</a> for <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;S&gt;</code><a href='#impl-Zero' class='anchor'></a><a class='srclink' href='../src/cgmath/vector.rs.html#173-183' 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>() -&gt; <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;S&gt;</code><a class='srclink' href='../src/cgmath/vector.rs.html#175-177' 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>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code><a class='srclink' href='../src/cgmath/vector.rs.html#180-182' 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>(&amp;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%3CVector2%3CS%3E%3E' class='impl'><code class='in-band'>impl&lt;S&gt; <a class="trait" href="../rand/distributions/trait.Distribution.html" title="trait rand::distributions::Distribution">Distribution</a>&lt;<a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;S&gt;&gt; for <a class="struct" href="../rand/distributions/struct.Standard.html" title="struct rand::distributions::Standard">Standard</a> <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;<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>&lt;S&gt;,<br>&nbsp;&nbsp;&nbsp;&nbsp;S: <a class="trait" href="../cgmath/trait.BaseFloat.html" title="trait cgmath::BaseFloat">BaseFloat</a>,&nbsp;</span></code><a href='#impl-Distribution%3CVector2%3CS%3E%3E' class='anchor'></a><a class='srclink' href='../src/cgmath/vector.rs.html#248-255' 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>&lt;R:&nbsp;<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>&gt;(&amp;self, rng: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;mut </a>R) -&gt; <a class="struct" href="../cgmath/struct.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;S&gt;</code><a class='srclink' href='../src/cgmath/vector.rs.html#252-254' 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>&lt;R&gt;(&amp;'a self, rng: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;'a mut </a>R) -&gt; <a class="struct" href="../rand/distributions/struct.DistIter.html" title="struct rand::distributions::DistIter">DistIter</a>&lt;'a, Self, R, T&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;R: <a class="trait" href="../rand/trait.Rng.html" title="trait rand::Rng">Rng</a>,&nbsp;</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&lt;S&gt; <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.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;S&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;S: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a>,&nbsp;</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&lt;S&gt; <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.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;S&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;S: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a>,&nbsp;</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&lt;S&gt; <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.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;S&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;S: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a>,&nbsp;</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&lt;S&gt; <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.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;S&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;S: <a class="trait" href="https://doc.rust-lang.org/nightly/std/panic/trait.UnwindSafe.html" title="trait std::panic::UnwindSafe">UnwindSafe</a>,&nbsp;</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&lt;S&gt; <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.Vector2.html" title="struct cgmath::Vector2">Vector2</a>&lt;S&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;S: <a class="trait" href="https://doc.rust-lang.org/nightly/std/panic/trait.RefUnwindSafe.html" title="trait std::panic::RefUnwindSafe">RefUnwindSafe</a>,&nbsp;</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&lt;T&gt; <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>&nbsp;&nbsp;&nbsp;&nbsp;T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a>,&nbsp;</span></code><a href='#impl-ToOwned' class='anchor'></a><a class='srclink' href='https://doc.rust-lang.org/nightly/src/alloc/borrow.rs.html#81-92' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Owned' class="type"><code id='Owned.t'>type <a href='https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#associatedtype.Owned' class="type">Owned</a> = T</code></h4><div class='docblock'><p>The resulting type after obtaining ownership.</p>
</div><h4 id='method.to_owned' class="method hidden"><code id='to_owned.v'>fn <a href='https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#tymethod.to_owned' class='fnname'>to_owned</a>(&amp;self) -&gt; 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>(&amp;self, target: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;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&lt;T, U&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;U&gt; for T <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;U: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;T&gt;,&nbsp;</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-2' class="method hidden"><code id='into.v-2'>fn <a href='https://doc.rust-lang.org/nightly/core/convert/trait.Into.html#tymethod.into' class='fnname'>into</a>(self) -&gt; 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&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;T&gt; 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-6' class="method hidden"><code id='from.v-6'>fn <a href='https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from' class='fnname'>from</a>(t: T) -&gt; 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&lt;T, U&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a>&lt;U&gt; for T <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;U: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;T&gt;,&nbsp;</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) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;T, &lt;T as <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a>&lt;U&gt;&gt;::<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>&gt;</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&lt;T, U&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryInto.html" title="trait core::convert::TryInto">TryInto</a>&lt;U&gt; for T <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;U: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a>&lt;T&gt;,&nbsp;</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> = &lt;U as <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a>&lt;T&gt;&gt;::<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) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;U, &lt;U as <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a>&lt;T&gt;&gt;::<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>&gt;</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&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/borrow/trait.BorrowMut.html" title="trait core::borrow::BorrowMut">BorrowMut</a>&lt;T&gt; for T <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,&nbsp;</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>(&amp;mut self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;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&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/borrow/trait.Borrow.html" title="trait core::borrow::Borrow">Borrow</a>&lt;T&gt; for T <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,&nbsp;</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>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;</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&lt;T&gt; <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>&nbsp;&nbsp;&nbsp;&nbsp;T: 'static + ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,&nbsp;</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>(&amp;self) -&gt; <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-NumOps%3CRhs%2C%20Output%3E' class='impl'><code class='in-band'>impl&lt;T, Rhs, Output&gt; <a class="trait" href="../num_traits/trait.NumOps.html" title="trait num_traits::NumOps">NumOps</a>&lt;Rhs, Output&gt; for T <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Sub.html" title="trait core::ops::arith::Sub">Sub</a>&lt;Rhs, Output = Output&gt; + <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Mul.html" title="trait core::ops::arith::Mul">Mul</a>&lt;Rhs, Output = Output&gt; + <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html" title="trait core::ops::arith::Div">Div</a>&lt;Rhs, Output = Output&gt; + <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Add.html" title="trait core::ops::arith::Add">Add</a>&lt;Rhs, Output = Output&gt; + <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Rem.html" title="trait core::ops::arith::Rem">Rem</a>&lt;Rhs, Output = Output&gt;,&nbsp;</span></code><a href='#impl-NumOps%3CRhs%2C%20Output%3E' class='anchor'></a><a class='srclink' href='../src/num_traits/lib.rs.html#93-100' title='goto source code'>[src]</a></h3><div class='impl-items'></div><h3 id='impl-NumAssignOps%3CRhs%3E' class='impl'><code class='in-band'>impl&lt;T, Rhs&gt; <a class="trait" href="../num_traits/trait.NumAssignOps.html" title="trait num_traits::NumAssignOps">NumAssignOps</a>&lt;Rhs&gt; for T <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;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>&lt;Rhs&gt; + <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.SubAssign.html" title="trait core::ops::arith::SubAssign">SubAssign</a>&lt;Rhs&gt; + <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.MulAssign.html" title="trait core::ops::arith::MulAssign">MulAssign</a>&lt;Rhs&gt; + <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.DivAssign.html" title="trait core::ops::arith::DivAssign">DivAssign</a>&lt;Rhs&gt; + <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.RemAssign.html" title="trait core::ops::arith::RemAssign">RemAssign</a>&lt;Rhs&gt;,&nbsp;</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>&#9166;</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>