scad 1.2.2

A crate for generating OpenSCAD models using rust
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
<!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 `Complex` struct in crate `num`.">
    <meta name="keywords" content="rust, rustlang, rust-lang, Complex">

    <title>num::Complex - Rust</title>

    <link rel="stylesheet" type="text/css" href="../rustdoc.css">
    <link rel="stylesheet" type="text/css" href="../main.css">
    

    <link rel="shortcut icon" href="http://rust-num.github.io/num/favicon.ico">
    
</head>
<body class="rustdoc">
    <!--[if lte IE 8]>
    <div class="warning">
        This old browser is unsupported and will most likely display funky
        things.
    </div>
    <![endif]-->

    

    <nav class="sidebar">
        <a href='../num/index.html'><img src='http://rust-num.github.io/num/rust-logo-128x128-blk-v2.png' alt='logo' width='100'></a>
        <p class='location'><a href='index.html'>num</a></p><script>window.sidebarCurrent = {name: 'Complex', ty: 'struct', relpath: ''};</script><script defer src="sidebar-items.js"></script>
    </nav>

    <nav class="sub">
        <form class="search-form js-only">
            <div class="search-container">
                <input class="search-input" name="search"
                       autocomplete="off"
                       placeholder="Click or press ‘S’ to search, ‘?’ for more options…"
                       type="search">
            </div>
        </form>
    </nav>

    <section id='main' class="content struct">
<h1 class='fqn'><span class='in-band'>Struct <a href='index.html'>num</a>::<wbr><a class='struct' href=''>Complex</a></span><span class='out-of-band'><span id='render-detail'>
                   <a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">
                       [<span class='inner'>&#x2212;</span>]
                   </a>
               </span><a id='src-9' class='srclink' href='../num_complex/struct.Complex.html?gotosrc=9' title='goto source code'>[src]</a></span></h1>
<pre class='rust struct'>pub struct Complex&lt;T&gt; {
    pub re: T,
    pub im: T,
}</pre><div class='docblock'><p>A complex number in Cartesian form.</p>
</div><h2 class='fields'>Fields</h2><span id='structfield.re' class='structfield'>
                           <span id='re.v' class='invisible'>
                           <code>re: T</code>
                           </span></span><span class='stab '></span><div class='docblock'><p>Real portion of the complex number</p>
</div><span id='structfield.im' class='structfield'>
                           <span id='im.v' class='invisible'>
                           <code>im: T</code>
                           </span></span><span class='stab '></span><div class='docblock'><p>Imaginary portion of the complex number</p>
</div><h2 id='methods'>Methods</h2><h3 class='impl'><span class='in-band'><code>impl&lt;T&gt; <a class='struct' href='../num/complex/struct.Complex.html' title='num::complex::Complex'>Complex</a>&lt;T&gt; <span class='where'>where T: <a class='trait' href='https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html' title='core::clone::Clone'>Clone</a> + <a class='trait' href='../num/traits/trait.Num.html' title='num::traits::Num'>Num</a></span></code></span><span class='out-of-band'></span></h3>
<div class='impl-items'><h4 id='method.new' class='method'><span id='new.v' class='invisible'><code>fn <a href='#method.new' class='fnname'>new</a>(re: T, im: T) -&gt; <a class='struct' href='../num/complex/struct.Complex.html' title='num::complex::Complex'>Complex</a>&lt;T&gt;</code></span></h4>
<div class='docblock'><p>Create a new Complex</p>
</div><h4 id='method.i' class='method'><span id='i.v' class='invisible'><code>fn <a href='#method.i' class='fnname'>i</a>() -&gt; <a class='struct' href='../num/complex/struct.Complex.html' title='num::complex::Complex'>Complex</a>&lt;T&gt;</code></span></h4>
<div class='docblock'><p>Returns imaginary unit</p>
</div><h4 id='method.norm_sqr' class='method'><span id='norm_sqr.v' class='invisible'><code>fn <a href='#method.norm_sqr' class='fnname'>norm_sqr</a>(&amp;self) -&gt; T</code></span></h4>
<div class='docblock'><p>Returns the square of the norm (since <code>T</code> doesn&#39;t necessarily
have a sqrt function), i.e. <code>re^2 + im^2</code>.</p>
</div><h4 id='method.scale' class='method'><span id='scale.v' class='invisible'><code>fn <a href='#method.scale' class='fnname'>scale</a>(&amp;self, t: T) -&gt; <a class='struct' href='../num/complex/struct.Complex.html' title='num::complex::Complex'>Complex</a>&lt;T&gt;</code></span></h4>
<div class='docblock'><p>Multiplies <code>self</code> by the scalar <code>t</code>.</p>
</div><h4 id='method.unscale' class='method'><span id='unscale.v' class='invisible'><code>fn <a href='#method.unscale' class='fnname'>unscale</a>(&amp;self, t: T) -&gt; <a class='struct' href='../num/complex/struct.Complex.html' title='num::complex::Complex'>Complex</a>&lt;T&gt;</code></span></h4>
<div class='docblock'><p>Divides <code>self</code> by the scalar <code>t</code>.</p>
</div></div><h3 class='impl'><span class='in-band'><code>impl&lt;T&gt; <a class='struct' href='../num/complex/struct.Complex.html' title='num::complex::Complex'>Complex</a>&lt;T&gt; <span class='where'>where T: <a class='trait' href='https://doc.rust-lang.org/nightly/core/ops/trait.Neg.html' title='core::ops::Neg'>Neg</a>&lt;Output=T&gt; + <a class='trait' href='https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html' title='core::clone::Clone'>Clone</a> + <a class='trait' href='../num/traits/trait.Num.html' title='num::traits::Num'>Num</a></span></code></span><span class='out-of-band'></span></h3>
<div class='impl-items'><h4 id='method.conj' class='method'><span id='conj.v' class='invisible'><code>fn <a href='#method.conj' class='fnname'>conj</a>(&amp;self) -&gt; <a class='struct' href='../num/complex/struct.Complex.html' title='num::complex::Complex'>Complex</a>&lt;T&gt;</code></span></h4>
<div class='docblock'><p>Returns the complex conjugate. i.e. <code>re - i im</code></p>
</div><h4 id='method.inv' class='method'><span id='inv.v' class='invisible'><code>fn <a href='#method.inv' class='fnname'>inv</a>(&amp;self) -&gt; <a class='struct' href='../num/complex/struct.Complex.html' title='num::complex::Complex'>Complex</a>&lt;T&gt;</code></span></h4>
<div class='docblock'><p>Returns <code>1/self</code></p>
</div></div><h3 class='impl'><span class='in-band'><code>impl&lt;T&gt; <a class='struct' href='../num/complex/struct.Complex.html' title='num::complex::Complex'>Complex</a>&lt;T&gt; <span class='where'>where T: <a class='trait' href='https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html' title='core::clone::Clone'>Clone</a> + <a class='trait' href='../num/traits/trait.Float.html' title='num::traits::Float'>Float</a></span></code></span><span class='out-of-band'></span></h3>
<div class='impl-items'><h4 id='method.norm' class='method'><span id='norm.v' class='invisible'><code>fn <a href='#method.norm' class='fnname'>norm</a>(&amp;self) -&gt; T</code></span></h4>
<div class='docblock'><p>Calculate |self|</p>
</div><h4 id='method.arg' class='method'><span id='arg.v' class='invisible'><code>fn <a href='#method.arg' class='fnname'>arg</a>(&amp;self) -&gt; T</code></span></h4>
<div class='docblock'><p>Calculate the principal Arg of self.</p>
</div><h4 id='method.to_polar' class='method'><span id='to_polar.v' class='invisible'><code>fn <a href='#method.to_polar' class='fnname'>to_polar</a>(&amp;self) -&gt; <a class='primitive' href='https://doc.rust-lang.org/nightly/std/primitive.tuple.html'>(</a>T, T<a class='primitive' href='https://doc.rust-lang.org/nightly/std/primitive.tuple.html'>)</a></code></span></h4>
<div class='docblock'><p>Convert to polar form (r, theta), such that <code>self = r * exp(i * theta)</code></p>
</div><h4 id='method.from_polar' class='method'><span id='from_polar.v' class='invisible'><code>fn <a href='#method.from_polar' class='fnname'>from_polar</a>(r: &amp;T, theta: &amp;T) -&gt; <a class='struct' href='../num/complex/struct.Complex.html' title='num::complex::Complex'>Complex</a>&lt;T&gt;</code></span></h4>
<div class='docblock'><p>Convert a polar representation into a complex number.</p>
</div><h4 id='method.exp' class='method'><span id='exp.v' class='invisible'><code>fn <a href='#method.exp' class='fnname'>exp</a>(&amp;self) -&gt; <a class='struct' href='../num/complex/struct.Complex.html' title='num::complex::Complex'>Complex</a>&lt;T&gt;</code></span></h4>
<div class='docblock'><p>Computes <code>e^(self)</code>, where <code>e</code> is the base of the natural logarithm.</p>
</div><h4 id='method.ln' class='method'><span id='ln.v' class='invisible'><code>fn <a href='#method.ln' class='fnname'>ln</a>(&amp;self) -&gt; <a class='struct' href='../num/complex/struct.Complex.html' title='num::complex::Complex'>Complex</a>&lt;T&gt;</code></span></h4>
<div class='docblock'><p>Computes the principal value of natural logarithm of <code>self</code>.</p>

<p>This function has one branch cut:</p>

<ul>
<li><code>(-∞, 0]</code>, continuous from above.</li>
</ul>

<p>The branch satisfies <code>-π ≤ arg(ln(z)) ≤ π</code>.</p>
</div><h4 id='method.sqrt' class='method'><span id='sqrt.v' class='invisible'><code>fn <a href='#method.sqrt' class='fnname'>sqrt</a>(&amp;self) -&gt; <a class='struct' href='../num/complex/struct.Complex.html' title='num::complex::Complex'>Complex</a>&lt;T&gt;</code></span></h4>
<div class='docblock'><p>Computes the principal value of the square root of <code>self</code>.</p>

<p>This function has one branch cut:</p>

<ul>
<li><code>(-∞, 0)</code>, continuous from above.</li>
</ul>

<p>The branch satisfies <code>-π/2 ≤ arg(sqrt(z)) ≤ π/2</code>.</p>
</div><h4 id='method.sin' class='method'><span id='sin.v' class='invisible'><code>fn <a href='#method.sin' class='fnname'>sin</a>(&amp;self) -&gt; <a class='struct' href='../num/complex/struct.Complex.html' title='num::complex::Complex'>Complex</a>&lt;T&gt;</code></span></h4>
<div class='docblock'><p>Computes the sine of <code>self</code>.</p>
</div><h4 id='method.cos' class='method'><span id='cos.v' class='invisible'><code>fn <a href='#method.cos' class='fnname'>cos</a>(&amp;self) -&gt; <a class='struct' href='../num/complex/struct.Complex.html' title='num::complex::Complex'>Complex</a>&lt;T&gt;</code></span></h4>
<div class='docblock'><p>Computes the cosine of <code>self</code>.</p>
</div><h4 id='method.tan' class='method'><span id='tan.v' class='invisible'><code>fn <a href='#method.tan' class='fnname'>tan</a>(&amp;self) -&gt; <a class='struct' href='../num/complex/struct.Complex.html' title='num::complex::Complex'>Complex</a>&lt;T&gt;</code></span></h4>
<div class='docblock'><p>Computes the tangent of <code>self</code>.</p>
</div><h4 id='method.asin' class='method'><span id='asin.v' class='invisible'><code>fn <a href='#method.asin' class='fnname'>asin</a>(&amp;self) -&gt; <a class='struct' href='../num/complex/struct.Complex.html' title='num::complex::Complex'>Complex</a>&lt;T&gt;</code></span></h4>
<div class='docblock'><p>Computes the principal value of the inverse sine of <code>self</code>.</p>

<p>This function has two branch cuts:</p>

<ul>
<li><code>(-∞, -1)</code>, continuous from above.</li>
<li><code>(1, ∞)</code>, continuous from below.</li>
</ul>

<p>The branch satisfies <code>-π/2 ≤ Re(asin(z)) ≤ π/2</code>.</p>
</div><h4 id='method.acos' class='method'><span id='acos.v' class='invisible'><code>fn <a href='#method.acos' class='fnname'>acos</a>(&amp;self) -&gt; <a class='struct' href='../num/complex/struct.Complex.html' title='num::complex::Complex'>Complex</a>&lt;T&gt;</code></span></h4>
<div class='docblock'><p>Computes the principal value of the inverse cosine of <code>self</code>.</p>

<p>This function has two branch cuts:</p>

<ul>
<li><code>(-∞, -1)</code>, continuous from above.</li>
<li><code>(1, ∞)</code>, continuous from below.</li>
</ul>

<p>The branch satisfies <code>0 ≤ Re(acos(z)) ≤ π</code>.</p>
</div><h4 id='method.atan' class='method'><span id='atan.v' class='invisible'><code>fn <a href='#method.atan' class='fnname'>atan</a>(&amp;self) -&gt; <a class='struct' href='../num/complex/struct.Complex.html' title='num::complex::Complex'>Complex</a>&lt;T&gt;</code></span></h4>
<div class='docblock'><p>Computes the principal value of the inverse tangent of <code>self</code>.</p>

<p>This function has two branch cuts:</p>

<ul>
<li><code>(-∞i, -i]</code>, continuous from the left.</li>
<li><code>[i, ∞i)</code>, continuous from the right.</li>
</ul>

<p>The branch satisfies <code>-π/2 ≤ Re(atan(z)) ≤ π/2</code>.</p>
</div><h4 id='method.sinh' class='method'><span id='sinh.v' class='invisible'><code>fn <a href='#method.sinh' class='fnname'>sinh</a>(&amp;self) -&gt; <a class='struct' href='../num/complex/struct.Complex.html' title='num::complex::Complex'>Complex</a>&lt;T&gt;</code></span></h4>
<div class='docblock'><p>Computes the hyperbolic sine of <code>self</code>.</p>
</div><h4 id='method.cosh' class='method'><span id='cosh.v' class='invisible'><code>fn <a href='#method.cosh' class='fnname'>cosh</a>(&amp;self) -&gt; <a class='struct' href='../num/complex/struct.Complex.html' title='num::complex::Complex'>Complex</a>&lt;T&gt;</code></span></h4>
<div class='docblock'><p>Computes the hyperbolic cosine of <code>self</code>.</p>
</div><h4 id='method.tanh' class='method'><span id='tanh.v' class='invisible'><code>fn <a href='#method.tanh' class='fnname'>tanh</a>(&amp;self) -&gt; <a class='struct' href='../num/complex/struct.Complex.html' title='num::complex::Complex'>Complex</a>&lt;T&gt;</code></span></h4>
<div class='docblock'><p>Computes the hyperbolic tangent of <code>self</code>.</p>
</div><h4 id='method.asinh' class='method'><span id='asinh.v' class='invisible'><code>fn <a href='#method.asinh' class='fnname'>asinh</a>(&amp;self) -&gt; <a class='struct' href='../num/complex/struct.Complex.html' title='num::complex::Complex'>Complex</a>&lt;T&gt;</code></span></h4>
<div class='docblock'><p>Computes the principal value of inverse hyperbolic sine of <code>self</code>.</p>

<p>This function has two branch cuts:</p>

<ul>
<li><code>(-∞i, -i)</code>, continuous from the left.</li>
<li><code>(i, ∞i)</code>, continuous from the right.</li>
</ul>

<p>The branch satisfies <code>-π/2 ≤ Im(asinh(z)) ≤ π/2</code>.</p>
</div><h4 id='method.acosh' class='method'><span id='acosh.v' class='invisible'><code>fn <a href='#method.acosh' class='fnname'>acosh</a>(&amp;self) -&gt; <a class='struct' href='../num/complex/struct.Complex.html' title='num::complex::Complex'>Complex</a>&lt;T&gt;</code></span></h4>
<div class='docblock'><p>Computes the principal value of inverse hyperbolic cosine of <code>self</code>.</p>

<p>This function has one branch cut:</p>

<ul>
<li><code>(-∞, 1)</code>, continuous from above.</li>
</ul>

<p>The branch satisfies <code>-π ≤ Im(acosh(z)) ≤ π</code> and <code>0 ≤ Re(acosh(z)) &lt; ∞</code>.</p>
</div><h4 id='method.atanh' class='method'><span id='atanh.v' class='invisible'><code>fn <a href='#method.atanh' class='fnname'>atanh</a>(&amp;self) -&gt; <a class='struct' href='../num/complex/struct.Complex.html' title='num::complex::Complex'>Complex</a>&lt;T&gt;</code></span></h4>
<div class='docblock'><p>Computes the principal value of inverse hyperbolic tangent of <code>self</code>.</p>

<p>This function has two branch cuts:</p>

<ul>
<li><code>(-∞, -1]</code>, continuous from above.</li>
<li><code>[1, ∞)</code>, continuous from below.</li>
</ul>

<p>The branch satisfies <code>-π/2 ≤ Im(atanh(z)) ≤ π/2</code>.</p>
</div><h4 id='method.is_nan' class='method'><span id='is_nan.v' class='invisible'><code>fn <a href='#method.is_nan' class='fnname'>is_nan</a>(self) -&gt; <a class='primitive' href='https://doc.rust-lang.org/nightly/std/primitive.bool.html'>bool</a></code></span></h4>
<div class='docblock'><p>Checks if the given complex number is NaN</p>
</div><h4 id='method.is_infinite' class='method'><span id='is_infinite.v' class='invisible'><code>fn <a href='#method.is_infinite' class='fnname'>is_infinite</a>(self) -&gt; <a class='primitive' href='https://doc.rust-lang.org/nightly/std/primitive.bool.html'>bool</a></code></span></h4>
<div class='docblock'><p>Checks if the given complex number is infinite</p>
</div><h4 id='method.is_finite' class='method'><span id='is_finite.v' class='invisible'><code>fn <a href='#method.is_finite' class='fnname'>is_finite</a>(self) -&gt; <a class='primitive' href='https://doc.rust-lang.org/nightly/std/primitive.bool.html'>bool</a></code></span></h4>
<div class='docblock'><p>Checks if the given complex number is finite</p>
</div><h4 id='method.is_normal' class='method'><span id='is_normal.v' class='invisible'><code>fn <a href='#method.is_normal' class='fnname'>is_normal</a>(self) -&gt; <a class='primitive' href='https://doc.rust-lang.org/nightly/std/primitive.bool.html'>bool</a></code></span></h4>
<div class='docblock'><p>Checks if the given complex number is normal</p>
</div></div><h2 id='implementations'>Trait Implementations</h2><h3 class='impl'><span class='in-band'><code>impl&lt;T&gt; <a class='trait' href='https://doc.rust-lang.org/nightly/core/ops/trait.Mul.html' title='core::ops::Mul'>Mul</a>&lt;<a class='struct' href='../num/complex/struct.Complex.html' title='num::complex::Complex'>Complex</a>&lt;T&gt;&gt; for <a class='struct' href='../num/complex/struct.Complex.html' title='num::complex::Complex'>Complex</a>&lt;T&gt; <span class='where'>where T: <a class='trait' href='https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html' title='core::clone::Clone'>Clone</a> + <a class='trait' href='../num/traits/trait.Num.html' title='num::traits::Num'>Num</a></span></code></span><span class='out-of-band'></span></h3>
<div class='impl-items'><h4 id='associatedtype.Output' class='type'><span id='Output.t' class='invisible'><code>type <a href='https://doc.rust-lang.org/nightly/core/ops/trait.Mul.html#associatedtype.Output' class='type'>Output</a> = <a class='struct' href='../num/complex/struct.Complex.html' title='num::complex::Complex'>Complex</a>&lt;T&gt;</code></span></h4>
<div class='docblock'><p>The resulting type after applying the <code>*</code> operator</p>
</div><h4 id='method.mul' class='method'><span id='mul.v' class='invisible'><code>fn <a href='https://doc.rust-lang.org/nightly/core/ops/trait.Mul.html#tymethod.mul' class='fnname'>mul</a>(self, other: <a class='struct' href='../num/complex/struct.Complex.html' title='num::complex::Complex'>Complex</a>&lt;T&gt;) -&gt; <a class='struct' href='../num/complex/struct.Complex.html' title='num::complex::Complex'>Complex</a>&lt;T&gt;</code></span></h4>
<div class='docblock'><p>The method for the <code>*</code> operator</p>
</div></div><h3 class='impl'><span class='in-band'><code>impl&lt;'a,&nbsp;'b,&nbsp;T&gt; <a class='trait' href='https://doc.rust-lang.org/nightly/core/ops/trait.Mul.html' title='core::ops::Mul'>Mul</a>&lt;&amp;'b <a class='struct' href='../num/complex/struct.Complex.html' title='num::complex::Complex'>Complex</a>&lt;T&gt;&gt; for &amp;'a <a class='struct' href='../num/complex/struct.Complex.html' title='num::complex::Complex'>Complex</a>&lt;T&gt; <span class='where'>where T: <a class='trait' href='https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html' title='core::clone::Clone'>Clone</a> + <a class='trait' href='../num/traits/trait.Num.html' title='num::traits::Num'>Num</a></span></code></span><span class='out-of-band'></span></h3>
<div class='impl-items'><h4 id='associatedtype.Output-1' class='type'><span id='Output.t-1' class='invisible'><code>type <a href='https://doc.rust-lang.org/nightly/core/ops/trait.Mul.html#associatedtype.Output' class='type'>Output</a> = <a class='struct' href='../num/complex/struct.Complex.html' title='num::complex::Complex'>Complex</a>&lt;T&gt;</code></span></h4>
<div class='docblock'><p>The resulting type after applying the <code>*</code> operator</p>
</div><h4 id='method.mul-1' class='method'><span id='mul.v-1' class='invisible'><code>fn <a href='https://doc.rust-lang.org/nightly/core/ops/trait.Mul.html#tymethod.mul' class='fnname'>mul</a>(self, other: &amp;<a class='struct' href='../num/complex/struct.Complex.html' title='num::complex::Complex'>Complex</a>&lt;T&gt;) -&gt; <a class='struct' href='../num/complex/struct.Complex.html' title='num::complex::Complex'>Complex</a>&lt;T&gt;</code></span></h4>
<div class='docblock'><p>The method for the <code>*</code> operator</p>
</div></div><h3 class='impl'><span class='in-band'><code>impl&lt;'a,&nbsp;T&gt; <a class='trait' href='https://doc.rust-lang.org/nightly/core/ops/trait.Mul.html' title='core::ops::Mul'>Mul</a>&lt;<a class='struct' href='../num/complex/struct.Complex.html' title='num::complex::Complex'>Complex</a>&lt;T&gt;&gt; for &amp;'a <a class='struct' href='../num/complex/struct.Complex.html' title='num::complex::Complex'>Complex</a>&lt;T&gt; <span class='where'>where T: <a class='trait' href='https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html' title='core::clone::Clone'>Clone</a> + <a class='trait' href='../num/traits/trait.Num.html' title='num::traits::Num'>Num</a></span></code></span><span class='out-of-band'></span></h3>
<div class='impl-items'><h4 id='associatedtype.Output-2' class='type'><span id='Output.t-2' class='invisible'><code>type <a href='https://doc.rust-lang.org/nightly/core/ops/trait.Mul.html#associatedtype.Output' class='type'>Output</a> = <a class='struct' href='../num/complex/struct.Complex.html' title='num::complex::Complex'>Complex</a>&lt;T&gt;</code></span></h4>
<div class='docblock'><p>The resulting type after applying the <code>*</code> operator</p>
</div><h4 id='method.mul-2' class='method'><span id='mul.v-2' class='invisible'><code>fn <a href='https://doc.rust-lang.org/nightly/core/ops/trait.Mul.html#tymethod.mul' class='fnname'>mul</a>(self, other: <a class='struct' href='../num/complex/struct.Complex.html' title='num::complex::Complex'>Complex</a>&lt;T&gt;) -&gt; <a class='struct' href='../num/complex/struct.Complex.html' title='num::complex::Complex'>Complex</a>&lt;T&gt;</code></span></h4>
<div class='docblock'><p>The method for the <code>*</code> operator</p>
</div></div><h3 class='impl'><span class='in-band'><code>impl&lt;'a,&nbsp;T&gt; <a class='trait' href='https://doc.rust-lang.org/nightly/core/ops/trait.Mul.html' title='core::ops::Mul'>Mul</a>&lt;&amp;'a <a class='struct' href='../num/complex/struct.Complex.html' title='num::complex::Complex'>Complex</a>&lt;T&gt;&gt; for <a class='struct' href='../num/complex/struct.Complex.html' title='num::complex::Complex'>Complex</a>&lt;T&gt; <span class='where'>where T: <a class='trait' href='https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html' title='core::clone::Clone'>Clone</a> + <a class='trait' href='../num/traits/trait.Num.html' title='num::traits::Num'>Num</a></span></code></span><span class='out-of-band'></span></h3>
<div class='impl-items'><h4 id='associatedtype.Output-3' class='type'><span id='Output.t-3' class='invisible'><code>type <a href='https://doc.rust-lang.org/nightly/core/ops/trait.Mul.html#associatedtype.Output' class='type'>Output</a> = <a class='struct' href='../num/complex/struct.Complex.html' title='num::complex::Complex'>Complex</a>&lt;T&gt;</code></span></h4>
<div class='docblock'><p>The resulting type after applying the <code>*</code> operator</p>
</div><h4 id='method.mul-3' class='method'><span id='mul.v-3' class='invisible'><code>fn <a href='https://doc.rust-lang.org/nightly/core/ops/trait.Mul.html#tymethod.mul' class='fnname'>mul</a>(self, other: &amp;<a class='struct' href='../num/complex/struct.Complex.html' title='num::complex::Complex'>Complex</a>&lt;T&gt;) -&gt; <a class='struct' href='../num/complex/struct.Complex.html' title='num::complex::Complex'>Complex</a>&lt;T&gt;</code></span></h4>
<div class='docblock'><p>The method for the <code>*</code> operator</p>
</div></div><h3 class='impl'><span class='in-band'><code>impl&lt;'a,&nbsp;T&gt; <a class='trait' href='https://doc.rust-lang.org/nightly/core/ops/trait.Mul.html' title='core::ops::Mul'>Mul</a>&lt;&amp;'a T&gt; for <a class='struct' href='../num/complex/struct.Complex.html' title='num::complex::Complex'>Complex</a>&lt;T&gt; <span class='where'>where T: <a class='trait' href='https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html' title='core::clone::Clone'>Clone</a> + <a class='trait' href='../num/traits/trait.Num.html' title='num::traits::Num'>Num</a></span></code></span><span class='out-of-band'></span></h3>
<div class='impl-items'><h4 id='associatedtype.Output-4' class='type'><span id='Output.t-4' class='invisible'><code>type <a href='https://doc.rust-lang.org/nightly/core/ops/trait.Mul.html#associatedtype.Output' class='type'>Output</a> = <a class='struct' href='../num/complex/struct.Complex.html' title='num::complex::Complex'>Complex</a>&lt;T&gt;</code></span></h4>
<div class='docblock'><p>The resulting type after applying the <code>*</code> operator</p>
</div><h4 id='method.mul-4' class='method'><span id='mul.v-4' class='invisible'><code>fn <a href='https://doc.rust-lang.org/nightly/core/ops/trait.Mul.html#tymethod.mul' class='fnname'>mul</a>(self, other: &amp;T) -&gt; <a class='struct' href='../num/complex/struct.Complex.html' title='num::complex::Complex'>Complex</a>&lt;T&gt;</code></span></h4>
<div class='docblock'><p>The method for the <code>*</code> operator</p>
</div></div><h3 class='impl'><span class='in-band'><code>impl&lt;'a,&nbsp;T&gt; <a class='trait' href='https://doc.rust-lang.org/nightly/core/ops/trait.Mul.html' title='core::ops::Mul'>Mul</a>&lt;T&gt; for &amp;'a <a class='struct' href='../num/complex/struct.Complex.html' title='num::complex::Complex'>Complex</a>&lt;T&gt; <span class='where'>where T: <a class='trait' href='https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html' title='core::clone::Clone'>Clone</a> + <a class='trait' href='../num/traits/trait.Num.html' title='num::traits::Num'>Num</a></span></code></span><span class='out-of-band'></span></h3>
<div class='impl-items'><h4 id='associatedtype.Output-5' class='type'><span id='Output.t-5' class='invisible'><code>type <a href='https://doc.rust-lang.org/nightly/core/ops/trait.Mul.html#associatedtype.Output' class='type'>Output</a> = <a class='struct' href='../num/complex/struct.Complex.html' title='num::complex::Complex'>Complex</a>&lt;T&gt;</code></span></h4>
<div class='docblock'><p>The resulting type after applying the <code>*</code> operator</p>
</div><h4 id='method.mul-5' class='method'><span id='mul.v-5' class='invisible'><code>fn <a href='https://doc.rust-lang.org/nightly/core/ops/trait.Mul.html#tymethod.mul' class='fnname'>mul</a>(self, other: T) -&gt; <a class='struct' href='../num/complex/struct.Complex.html' title='num::complex::Complex'>Complex</a>&lt;T&gt;</code></span></h4>
<div class='docblock'><p>The method for the <code>*</code> operator</p>
</div></div><h3 class='impl'><span class='in-band'><code>impl&lt;'a,&nbsp;'b,&nbsp;T&gt; <a class='trait' href='https://doc.rust-lang.org/nightly/core/ops/trait.Mul.html' title='core::ops::Mul'>Mul</a>&lt;&amp;'a T&gt; for &amp;'b <a class='struct' href='../num/complex/struct.Complex.html' title='num::complex::Complex'>Complex</a>&lt;T&gt; <span class='where'>where T: <a class='trait' href='https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html' title='core::clone::Clone'>Clone</a> + <a class='trait' href='../num/traits/trait.Num.html' title='num::traits::Num'>Num</a></span></code></span><span class='out-of-band'></span></h3>
<div class='impl-items'><h4 id='associatedtype.Output-6' class='type'><span id='Output.t-6' class='invisible'><code>type <a href='https://doc.rust-lang.org/nightly/core/ops/trait.Mul.html#associatedtype.Output' class='type'>Output</a> = <a class='struct' href='../num/complex/struct.Complex.html' title='num::complex::Complex'>Complex</a>&lt;T&gt;</code></span></h4>
<div class='docblock'><p>The resulting type after applying the <code>*</code> operator</p>
</div><h4 id='method.mul-6' class='method'><span id='mul.v-6' class='invisible'><code>fn <a href='https://doc.rust-lang.org/nightly/core/ops/trait.Mul.html#tymethod.mul' class='fnname'>mul</a>(self, other: &amp;T) -&gt; <a class='struct' href='../num/complex/struct.Complex.html' title='num::complex::Complex'>Complex</a>&lt;T&gt;</code></span></h4>
<div class='docblock'><p>The method for the <code>*</code> operator</p>
</div></div><h3 class='impl'><span class='in-band'><code>impl&lt;T&gt; <a class='trait' href='https://doc.rust-lang.org/nightly/core/ops/trait.Mul.html' title='core::ops::Mul'>Mul</a>&lt;T&gt; for <a class='struct' href='../num/complex/struct.Complex.html' title='num::complex::Complex'>Complex</a>&lt;T&gt; <span class='where'>where T: <a class='trait' href='https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html' title='core::clone::Clone'>Clone</a> + <a class='trait' href='../num/traits/trait.Num.html' title='num::traits::Num'>Num</a></span></code></span><span class='out-of-band'></span></h3>
<div class='impl-items'><h4 id='associatedtype.Output-7' class='type'><span id='Output.t-7' class='invisible'><code>type <a href='https://doc.rust-lang.org/nightly/core/ops/trait.Mul.html#associatedtype.Output' class='type'>Output</a> = <a class='struct' href='../num/complex/struct.Complex.html' title='num::complex::Complex'>Complex</a>&lt;T&gt;</code></span></h4>
<div class='docblock'><p>The resulting type after applying the <code>*</code> operator</p>
</div><h4 id='method.mul-7' class='method'><span id='mul.v-7' class='invisible'><code>fn <a href='https://doc.rust-lang.org/nightly/core/ops/trait.Mul.html#tymethod.mul' class='fnname'>mul</a>(self, other: T) -&gt; <a class='struct' href='../num/complex/struct.Complex.html' title='num::complex::Complex'>Complex</a>&lt;T&gt;</code></span></h4>
<div class='docblock'><p>The method for the <code>*</code> operator</p>
</div></div><h3 class='impl'><span class='in-band'><code>impl&lt;T&gt; <a class='trait' href='https://doc.rust-lang.org/nightly/core/ops/trait.Sub.html' title='core::ops::Sub'>Sub</a>&lt;<a class='struct' href='../num/complex/struct.Complex.html' title='num::complex::Complex'>Complex</a>&lt;T&gt;&gt; for <a class='struct' href='../num/complex/struct.Complex.html' title='num::complex::Complex'>Complex</a>&lt;T&gt; <span class='where'>where T: <a class='trait' href='https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html' title='core::clone::Clone'>Clone</a> + <a class='trait' href='../num/traits/trait.Num.html' title='num::traits::Num'>Num</a></span></code></span><span class='out-of-band'></span></h3>
<div class='impl-items'><h4 id='associatedtype.Output-8' class='type'><span id='Output.t-8' class='invisible'><code>type <a href='https://doc.rust-lang.org/nightly/core/ops/trait.Sub.html#associatedtype.Output' class='type'>Output</a> = <a class='struct' href='../num/complex/struct.Complex.html' title='num::complex::Complex'>Complex</a>&lt;T&gt;</code></span></h4>
<h4 id='method.sub' class='method'><span id='sub.v' class='invisible'><code>fn <a href='https://doc.rust-lang.org/nightly/core/ops/trait.Sub.html#tymethod.sub' class='fnname'>sub</a>(self, other: <a class='struct' href='../num/complex/struct.Complex.html' title='num::complex::Complex'>Complex</a>&lt;T&gt;) -&gt; <a class='struct' href='../num/complex/struct.Complex.html' title='num::complex::Complex'>Complex</a>&lt;T&gt;</code></span></h4>
</div><h3 class='impl'><span class='in-band'><code>impl&lt;'a,&nbsp;'b,&nbsp;T&gt; <a class='trait' href='https://doc.rust-lang.org/nightly/core/ops/trait.Sub.html' title='core::ops::Sub'>Sub</a>&lt;&amp;'b <a class='struct' href='../num/complex/struct.Complex.html' title='num::complex::Complex'>Complex</a>&lt;T&gt;&gt; for &amp;'a <a class='struct' href='../num/complex/struct.Complex.html' title='num::complex::Complex'>Complex</a>&lt;T&gt; <span class='where'>where T: <a class='trait' href='https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html' title='core::clone::Clone'>Clone</a> + <a class='trait' href='../num/traits/trait.Num.html' title='num::traits::Num'>Num</a></span></code></span><span class='out-of-band'></span></h3>
<div class='impl-items'><h4 id='associatedtype.Output-9' class='type'><span id='Output.t-9' class='invisible'><code>type <a href='https://doc.rust-lang.org/nightly/core/ops/trait.Sub.html#associatedtype.Output' class='type'>Output</a> = <a class='struct' href='../num/complex/struct.Complex.html' title='num::complex::Complex'>Complex</a>&lt;T&gt;</code></span></h4>
<h4 id='method.sub-1' class='method'><span id='sub.v-1' class='invisible'><code>fn <a href='https://doc.rust-lang.org/nightly/core/ops/trait.Sub.html#tymethod.sub' class='fnname'>sub</a>(self, other: &amp;<a class='struct' href='../num/complex/struct.Complex.html' title='num::complex::Complex'>Complex</a>&lt;T&gt;) -&gt; <a class='struct' href='../num/complex/struct.Complex.html' title='num::complex::Complex'>Complex</a>&lt;T&gt;</code></span></h4>
</div><h3 class='impl'><span class='in-band'><code>impl&lt;'a,&nbsp;T&gt; <a class='trait' href='https://doc.rust-lang.org/nightly/core/ops/trait.Sub.html' title='core::ops::Sub'>Sub</a>&lt;<a class='struct' href='../num/complex/struct.Complex.html' title='num::complex::Complex'>Complex</a>&lt;T&gt;&gt; for &amp;'a <a class='struct' href='../num/complex/struct.Complex.html' title='num::complex::Complex'>Complex</a>&lt;T&gt; <span class='where'>where T: <a class='trait' href='https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html' title='core::clone::Clone'>Clone</a> + <a class='trait' href='../num/traits/trait.Num.html' title='num::traits::Num'>Num</a></span></code></span><span class='out-of-band'></span></h3>
<div class='impl-items'><h4 id='associatedtype.Output-10' class='type'><span id='Output.t-10' class='invisible'><code>type <a href='https://doc.rust-lang.org/nightly/core/ops/trait.Sub.html#associatedtype.Output' class='type'>Output</a> = <a class='struct' href='../num/complex/struct.Complex.html' title='num::complex::Complex'>Complex</a>&lt;T&gt;</code></span></h4>
<h4 id='method.sub-2' class='method'><span id='sub.v-2' class='invisible'><code>fn <a href='https://doc.rust-lang.org/nightly/core/ops/trait.Sub.html#tymethod.sub' class='fnname'>sub</a>(self, other: <a class='struct' href='../num/complex/struct.Complex.html' title='num::complex::Complex'>Complex</a>&lt;T&gt;) -&gt; <a class='struct' href='../num/complex/struct.Complex.html' title='num::complex::Complex'>Complex</a>&lt;T&gt;</code></span></h4>
</div><h3 class='impl'><span class='in-band'><code>impl&lt;'a,&nbsp;T&gt; <a class='trait' href='https://doc.rust-lang.org/nightly/core/ops/trait.Sub.html' title='core::ops::Sub'>Sub</a>&lt;&amp;'a <a class='struct' href='../num/complex/struct.Complex.html' title='num::complex::Complex'>Complex</a>&lt;T&gt;&gt; for <a class='struct' href='../num/complex/struct.Complex.html' title='num::complex::Complex'>Complex</a>&lt;T&gt; <span class='where'>where T: <a class='trait' href='https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html' title='core::clone::Clone'>Clone</a> + <a class='trait' href='../num/traits/trait.Num.html' title='num::traits::Num'>Num</a></span></code></span><span class='out-of-band'></span></h3>
<div class='impl-items'><h4 id='associatedtype.Output-11' class='type'><span id='Output.t-11' class='invisible'><code>type <a href='https://doc.rust-lang.org/nightly/core/ops/trait.Sub.html#associatedtype.Output' class='type'>Output</a> = <a class='struct' href='../num/complex/struct.Complex.html' title='num::complex::Complex'>Complex</a>&lt;T&gt;</code></span></h4>
<h4 id='method.sub-3' class='method'><span id='sub.v-3' class='invisible'><code>fn <a href='https://doc.rust-lang.org/nightly/core/ops/trait.Sub.html#tymethod.sub' class='fnname'>sub</a>(self, other: &amp;<a class='struct' href='../num/complex/struct.Complex.html' title='num::complex::Complex'>Complex</a>&lt;T&gt;) -&gt; <a class='struct' href='../num/complex/struct.Complex.html' title='num::complex::Complex'>Complex</a>&lt;T&gt;</code></span></h4>
</div><h3 class='impl'><span class='in-band'><code>impl&lt;'a,&nbsp;T&gt; <a class='trait' href='https://doc.rust-lang.org/nightly/core/ops/trait.Sub.html' title='core::ops::Sub'>Sub</a>&lt;&amp;'a T&gt; for <a class='struct' href='../num/complex/struct.Complex.html' title='num::complex::Complex'>Complex</a>&lt;T&gt; <span class='where'>where T: <a class='trait' href='https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html' title='core::clone::Clone'>Clone</a> + <a class='trait' href='../num/traits/trait.Num.html' title='num::traits::Num'>Num</a></span></code></span><span class='out-of-band'></span></h3>
<div class='impl-items'><h4 id='associatedtype.Output-12' class='type'><span id='Output.t-12' class='invisible'><code>type <a href='https://doc.rust-lang.org/nightly/core/ops/trait.Sub.html#associatedtype.Output' class='type'>Output</a> = <a class='struct' href='../num/complex/struct.Complex.html' title='num::complex::Complex'>Complex</a>&lt;T&gt;</code></span></h4>
<h4 id='method.sub-4' class='method'><span id='sub.v-4' class='invisible'><code>fn <a href='https://doc.rust-lang.org/nightly/core/ops/trait.Sub.html#tymethod.sub' class='fnname'>sub</a>(self, other: &amp;T) -&gt; <a class='struct' href='../num/complex/struct.Complex.html' title='num::complex::Complex'>Complex</a>&lt;T&gt;</code></span></h4>
</div><h3 class='impl'><span class='in-band'><code>impl&lt;'a,&nbsp;T&gt; <a class='trait' href='https://doc.rust-lang.org/nightly/core/ops/trait.Sub.html' title='core::ops::Sub'>Sub</a>&lt;T&gt; for &amp;'a <a class='struct' href='../num/complex/struct.Complex.html' title='num::complex::Complex'>Complex</a>&lt;T&gt; <span class='where'>where T: <a class='trait' href='https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html' title='core::clone::Clone'>Clone</a> + <a class='trait' href='../num/traits/trait.Num.html' title='num::traits::Num'>Num</a></span></code></span><span class='out-of-band'></span></h3>
<div class='impl-items'><h4 id='associatedtype.Output-13' class='type'><span id='Output.t-13' class='invisible'><code>type <a href='https://doc.rust-lang.org/nightly/core/ops/trait.Sub.html#associatedtype.Output' class='type'>Output</a> = <a class='struct' href='../num/complex/struct.Complex.html' title='num::complex::Complex'>Complex</a>&lt;T&gt;</code></span></h4>
<h4 id='method.sub-5' class='method'><span id='sub.v-5' class='invisible'><code>fn <a href='https://doc.rust-lang.org/nightly/core/ops/trait.Sub.html#tymethod.sub' class='fnname'>sub</a>(self, other: T) -&gt; <a class='struct' href='../num/complex/struct.Complex.html' title='num::complex::Complex'>Complex</a>&lt;T&gt;</code></span></h4>
</div><h3 class='impl'><span class='in-band'><code>impl&lt;'a,&nbsp;'b,&nbsp;T&gt; <a class='trait' href='https://doc.rust-lang.org/nightly/core/ops/trait.Sub.html' title='core::ops::Sub'>Sub</a>&lt;&amp;'a T&gt; for &amp;'b <a class='struct' href='../num/complex/struct.Complex.html' title='num::complex::Complex'>Complex</a>&lt;T&gt; <span class='where'>where T: <a class='trait' href='https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html' title='core::clone::Clone'>Clone</a> + <a class='trait' href='../num/traits/trait.Num.html' title='num::traits::Num'>Num</a></span></code></span><span class='out-of-band'></span></h3>
<div class='impl-items'><h4 id='associatedtype.Output-14' class='type'><span id='Output.t-14' class='invisible'><code>type <a href='https://doc.rust-lang.org/nightly/core/ops/trait.Sub.html#associatedtype.Output' class='type'>Output</a> = <a class='struct' href='../num/complex/struct.Complex.html' title='num::complex::Complex'>Complex</a>&lt;T&gt;</code></span></h4>
<h4 id='method.sub-6' class='method'><span id='sub.v-6' class='invisible'><code>fn <a href='https://doc.rust-lang.org/nightly/core/ops/trait.Sub.html#tymethod.sub' class='fnname'>sub</a>(self, other: &amp;T) -&gt; <a class='struct' href='../num/complex/struct.Complex.html' title='num::complex::Complex'>Complex</a>&lt;T&gt;</code></span></h4>
</div><h3 class='impl'><span class='in-band'><code>impl&lt;T&gt; <a class='trait' href='https://doc.rust-lang.org/nightly/core/ops/trait.Sub.html' title='core::ops::Sub'>Sub</a>&lt;T&gt; for <a class='struct' href='../num/complex/struct.Complex.html' title='num::complex::Complex'>Complex</a>&lt;T&gt; <span class='where'>where T: <a class='trait' href='https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html' title='core::clone::Clone'>Clone</a> + <a class='trait' href='../num/traits/trait.Num.html' title='num::traits::Num'>Num</a></span></code></span><span class='out-of-band'></span></h3>
<div class='impl-items'><h4 id='associatedtype.Output-15' class='type'><span id='Output.t-15' class='invisible'><code>type <a href='https://doc.rust-lang.org/nightly/core/ops/trait.Sub.html#associatedtype.Output' class='type'>Output</a> = <a class='struct' href='../num/complex/struct.Complex.html' title='num::complex::Complex'>Complex</a>&lt;T&gt;</code></span></h4>
<h4 id='method.sub-7' class='method'><span id='sub.v-7' class='invisible'><code>fn <a href='https://doc.rust-lang.org/nightly/core/ops/trait.Sub.html#tymethod.sub' class='fnname'>sub</a>(self, other: T) -&gt; <a class='struct' href='../num/complex/struct.Complex.html' title='num::complex::Complex'>Complex</a>&lt;T&gt;</code></span></h4>
</div><h3 class='impl'><span class='in-band'><code>impl&lt;T&gt; <a class='trait' href='../rustc_serialize/serialize/trait.Encodable.html' title='rustc_serialize::serialize::Encodable'>Encodable</a> for <a class='struct' href='../num/complex/struct.Complex.html' title='num::complex::Complex'>Complex</a>&lt;T&gt; <span class='where'>where T: <a class='trait' href='../rustc_serialize/serialize/trait.Encodable.html' title='rustc_serialize::serialize::Encodable'>Encodable</a></span></code></span><span class='out-of-band'></span></h3>
<div class='impl-items'><h4 id='method.encode' class='method'><span id='encode.v' class='invisible'><code>fn <a href='../rustc_serialize/serialize/trait.Encodable.html#tymethod.encode' class='fnname'>encode</a>&lt;__ST&gt;(&amp;self, __arg_0: &amp;mut __ST) -&gt; <a class='enum' href='https://doc.rust-lang.org/nightly/core/result/enum.Result.html' title='core::result::Result'>Result</a>&lt;<a class='primitive' href='https://doc.rust-lang.org/nightly/std/primitive.tuple.html'>()</a>,&nbsp;__ST::<a class='trait' href='../rustc_serialize/serialize/trait.Encoder.html' title='rustc_serialize::serialize::Encoder'>Error</a>&gt; <span class='where'>where __ST: <a class='trait' href='../rustc_serialize/serialize/trait.Encoder.html' title='rustc_serialize::serialize::Encoder'>Encoder</a></span></code></span></h4>
</div><h3 class='impl'><span class='in-band'><code>impl&lt;T&gt; <a class='trait' href='https://doc.rust-lang.org/nightly/core/ops/trait.Div.html' title='core::ops::Div'>Div</a>&lt;<a class='struct' href='../num/complex/struct.Complex.html' title='num::complex::Complex'>Complex</a>&lt;T&gt;&gt; for <a class='struct' href='../num/complex/struct.Complex.html' title='num::complex::Complex'>Complex</a>&lt;T&gt; <span class='where'>where T: <a class='trait' href='https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html' title='core::clone::Clone'>Clone</a> + <a class='trait' href='../num/traits/trait.Num.html' title='num::traits::Num'>Num</a></span></code></span><span class='out-of-band'></span></h3>
<div class='impl-items'><h4 id='associatedtype.Output-16' class='type'><span id='Output.t-16' class='invisible'><code>type <a href='https://doc.rust-lang.org/nightly/core/ops/trait.Div.html#associatedtype.Output' class='type'>Output</a> = <a class='struct' href='../num/complex/struct.Complex.html' title='num::complex::Complex'>Complex</a>&lt;T&gt;</code></span></h4>
<h4 id='method.div' class='method'><span id='div.v' class='invisible'><code>fn <a href='https://doc.rust-lang.org/nightly/core/ops/trait.Div.html#tymethod.div' class='fnname'>div</a>(self, other: <a class='struct' href='../num/complex/struct.Complex.html' title='num::complex::Complex'>Complex</a>&lt;T&gt;) -&gt; <a class='struct' href='../num/complex/struct.Complex.html' title='num::complex::Complex'>Complex</a>&lt;T&gt;</code></span></h4>
</div><h3 class='impl'><span class='in-band'><code>impl&lt;'a,&nbsp;'b,&nbsp;T&gt; <a class='trait' href='https://doc.rust-lang.org/nightly/core/ops/trait.Div.html' title='core::ops::Div'>Div</a>&lt;&amp;'b <a class='struct' href='../num/complex/struct.Complex.html' title='num::complex::Complex'>Complex</a>&lt;T&gt;&gt; for &amp;'a <a class='struct' href='../num/complex/struct.Complex.html' title='num::complex::Complex'>Complex</a>&lt;T&gt; <span class='where'>where T: <a class='trait' href='https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html' title='core::clone::Clone'>Clone</a> + <a class='trait' href='../num/traits/trait.Num.html' title='num::traits::Num'>Num</a></span></code></span><span class='out-of-band'></span></h3>
<div class='impl-items'><h4 id='associatedtype.Output-17' class='type'><span id='Output.t-17' class='invisible'><code>type <a href='https://doc.rust-lang.org/nightly/core/ops/trait.Div.html#associatedtype.Output' class='type'>Output</a> = <a class='struct' href='../num/complex/struct.Complex.html' title='num::complex::Complex'>Complex</a>&lt;T&gt;</code></span></h4>
<h4 id='method.div-1' class='method'><span id='div.v-1' class='invisible'><code>fn <a href='https://doc.rust-lang.org/nightly/core/ops/trait.Div.html#tymethod.div' class='fnname'>div</a>(self, other: &amp;<a class='struct' href='../num/complex/struct.Complex.html' title='num::complex::Complex'>Complex</a>&lt;T&gt;) -&gt; <a class='struct' href='../num/complex/struct.Complex.html' title='num::complex::Complex'>Complex</a>&lt;T&gt;</code></span></h4>
</div><h3 class='impl'><span class='in-band'><code>impl&lt;'a,&nbsp;T&gt; <a class='trait' href='https://doc.rust-lang.org/nightly/core/ops/trait.Div.html' title='core::ops::Div'>Div</a>&lt;<a class='struct' href='../num/complex/struct.Complex.html' title='num::complex::Complex'>Complex</a>&lt;T&gt;&gt; for &amp;'a <a class='struct' href='../num/complex/struct.Complex.html' title='num::complex::Complex'>Complex</a>&lt;T&gt; <span class='where'>where T: <a class='trait' href='https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html' title='core::clone::Clone'>Clone</a> + <a class='trait' href='../num/traits/trait.Num.html' title='num::traits::Num'>Num</a></span></code></span><span class='out-of-band'></span></h3>
<div class='impl-items'><h4 id='associatedtype.Output-18' class='type'><span id='Output.t-18' class='invisible'><code>type <a href='https://doc.rust-lang.org/nightly/core/ops/trait.Div.html#associatedtype.Output' class='type'>Output</a> = <a class='struct' href='../num/complex/struct.Complex.html' title='num::complex::Complex'>Complex</a>&lt;T&gt;</code></span></h4>
<h4 id='method.div-2' class='method'><span id='div.v-2' class='invisible'><code>fn <a href='https://doc.rust-lang.org/nightly/core/ops/trait.Div.html#tymethod.div' class='fnname'>div</a>(self, other: <a class='struct' href='../num/complex/struct.Complex.html' title='num::complex::Complex'>Complex</a>&lt;T&gt;) -&gt; <a class='struct' href='../num/complex/struct.Complex.html' title='num::complex::Complex'>Complex</a>&lt;T&gt;</code></span></h4>
</div><h3 class='impl'><span class='in-band'><code>impl&lt;'a,&nbsp;T&gt; <a class='trait' href='https://doc.rust-lang.org/nightly/core/ops/trait.Div.html' title='core::ops::Div'>Div</a>&lt;&amp;'a <a class='struct' href='../num/complex/struct.Complex.html' title='num::complex::Complex'>Complex</a>&lt;T&gt;&gt; for <a class='struct' href='../num/complex/struct.Complex.html' title='num::complex::Complex'>Complex</a>&lt;T&gt; <span class='where'>where T: <a class='trait' href='https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html' title='core::clone::Clone'>Clone</a> + <a class='trait' href='../num/traits/trait.Num.html' title='num::traits::Num'>Num</a></span></code></span><span class='out-of-band'></span></h3>
<div class='impl-items'><h4 id='associatedtype.Output-19' class='type'><span id='Output.t-19' class='invisible'><code>type <a href='https://doc.rust-lang.org/nightly/core/ops/trait.Div.html#associatedtype.Output' class='type'>Output</a> = <a class='struct' href='../num/complex/struct.Complex.html' title='num::complex::Complex'>Complex</a>&lt;T&gt;</code></span></h4>
<h4 id='method.div-3' class='method'><span id='div.v-3' class='invisible'><code>fn <a href='https://doc.rust-lang.org/nightly/core/ops/trait.Div.html#tymethod.div' class='fnname'>div</a>(self, other: &amp;<a class='struct' href='../num/complex/struct.Complex.html' title='num::complex::Complex'>Complex</a>&lt;T&gt;) -&gt; <a class='struct' href='../num/complex/struct.Complex.html' title='num::complex::Complex'>Complex</a>&lt;T&gt;</code></span></h4>
</div><h3 class='impl'><span class='in-band'><code>impl&lt;'a,&nbsp;T&gt; <a class='trait' href='https://doc.rust-lang.org/nightly/core/ops/trait.Div.html' title='core::ops::Div'>Div</a>&lt;&amp;'a T&gt; for <a class='struct' href='../num/complex/struct.Complex.html' title='num::complex::Complex'>Complex</a>&lt;T&gt; <span class='where'>where T: <a class='trait' href='https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html' title='core::clone::Clone'>Clone</a> + <a class='trait' href='../num/traits/trait.Num.html' title='num::traits::Num'>Num</a></span></code></span><span class='out-of-band'></span></h3>
<div class='impl-items'><h4 id='associatedtype.Output-20' class='type'><span id='Output.t-20' class='invisible'><code>type <a href='https://doc.rust-lang.org/nightly/core/ops/trait.Div.html#associatedtype.Output' class='type'>Output</a> = <a class='struct' href='../num/complex/struct.Complex.html' title='num::complex::Complex'>Complex</a>&lt;T&gt;</code></span></h4>
<h4 id='method.div-4' class='method'><span id='div.v-4' class='invisible'><code>fn <a href='https://doc.rust-lang.org/nightly/core/ops/trait.Div.html#tymethod.div' class='fnname'>div</a>(self, other: &amp;T) -&gt; <a class='struct' href='../num/complex/struct.Complex.html' title='num::complex::Complex'>Complex</a>&lt;T&gt;</code></span></h4>
</div><h3 class='impl'><span class='in-band'><code>impl&lt;'a,&nbsp;T&gt; <a class='trait' href='https://doc.rust-lang.org/nightly/core/ops/trait.Div.html' title='core::ops::Div'>Div</a>&lt;T&gt; for &amp;'a <a class='struct' href='../num/complex/struct.Complex.html' title='num::complex::Complex'>Complex</a>&lt;T&gt; <span class='where'>where T: <a class='trait' href='https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html' title='core::clone::Clone'>Clone</a> + <a class='trait' href='../num/traits/trait.Num.html' title='num::traits::Num'>Num</a></span></code></span><span class='out-of-band'></span></h3>
<div class='impl-items'><h4 id='associatedtype.Output-21' class='type'><span id='Output.t-21' class='invisible'><code>type <a href='https://doc.rust-lang.org/nightly/core/ops/trait.Div.html#associatedtype.Output' class='type'>Output</a> = <a class='struct' href='../num/complex/struct.Complex.html' title='num::complex::Complex'>Complex</a>&lt;T&gt;</code></span></h4>
<h4 id='method.div-5' class='method'><span id='div.v-5' class='invisible'><code>fn <a href='https://doc.rust-lang.org/nightly/core/ops/trait.Div.html#tymethod.div' class='fnname'>div</a>(self, other: T) -&gt; <a class='struct' href='../num/complex/struct.Complex.html' title='num::complex::Complex'>Complex</a>&lt;T&gt;</code></span></h4>
</div><h3 class='impl'><span class='in-band'><code>impl&lt;'a,&nbsp;'b,&nbsp;T&gt; <a class='trait' href='https://doc.rust-lang.org/nightly/core/ops/trait.Div.html' title='core::ops::Div'>Div</a>&lt;&amp;'a T&gt; for &amp;'b <a class='struct' href='../num/complex/struct.Complex.html' title='num::complex::Complex'>Complex</a>&lt;T&gt; <span class='where'>where T: <a class='trait' href='https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html' title='core::clone::Clone'>Clone</a> + <a class='trait' href='../num/traits/trait.Num.html' title='num::traits::Num'>Num</a></span></code></span><span class='out-of-band'></span></h3>
<div class='impl-items'><h4 id='associatedtype.Output-22' class='type'><span id='Output.t-22' class='invisible'><code>type <a href='https://doc.rust-lang.org/nightly/core/ops/trait.Div.html#associatedtype.Output' class='type'>Output</a> = <a class='struct' href='../num/complex/struct.Complex.html' title='num::complex::Complex'>Complex</a>&lt;T&gt;</code></span></h4>
<h4 id='method.div-6' class='method'><span id='div.v-6' class='invisible'><code>fn <a href='https://doc.rust-lang.org/nightly/core/ops/trait.Div.html#tymethod.div' class='fnname'>div</a>(self, other: &amp;T) -&gt; <a class='struct' href='../num/complex/struct.Complex.html' title='num::complex::Complex'>Complex</a>&lt;T&gt;</code></span></h4>
</div><h3 class='impl'><span class='in-band'><code>impl&lt;T&gt; <a class='trait' href='https://doc.rust-lang.org/nightly/core/ops/trait.Div.html' title='core::ops::Div'>Div</a>&lt;T&gt; for <a class='struct' href='../num/complex/struct.Complex.html' title='num::complex::Complex'>Complex</a>&lt;T&gt; <span class='where'>where T: <a class='trait' href='https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html' title='core::clone::Clone'>Clone</a> + <a class='trait' href='../num/traits/trait.Num.html' title='num::traits::Num'>Num</a></span></code></span><span class='out-of-band'></span></h3>
<div class='impl-items'><h4 id='associatedtype.Output-23' class='type'><span id='Output.t-23' class='invisible'><code>type <a href='https://doc.rust-lang.org/nightly/core/ops/trait.Div.html#associatedtype.Output' class='type'>Output</a> = <a class='struct' href='../num/complex/struct.Complex.html' title='num::complex::Complex'>Complex</a>&lt;T&gt;</code></span></h4>
<h4 id='method.div-7' class='method'><span id='div.v-7' class='invisible'><code>fn <a href='https://doc.rust-lang.org/nightly/core/ops/trait.Div.html#tymethod.div' class='fnname'>div</a>(self, other: T) -&gt; <a class='struct' href='../num/complex/struct.Complex.html' title='num::complex::Complex'>Complex</a>&lt;T&gt;</code></span></h4>
</div><h3 class='impl'><span class='in-band'><code>impl&lt;T&gt; <a class='trait' href='https://doc.rust-lang.org/nightly/core/fmt/trait.Display.html' title='core::fmt::Display'>Display</a> for <a class='struct' href='../num/complex/struct.Complex.html' title='num::complex::Complex'>Complex</a>&lt;T&gt; <span class='where'>where T: <a class='trait' href='https://doc.rust-lang.org/nightly/core/fmt/trait.Display.html' title='core::fmt::Display'>Display</a> + <a class='trait' href='../num/traits/trait.Num.html' title='num::traits::Num'>Num</a> + <a class='trait' href='https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html' title='core::cmp::PartialOrd'>PartialOrd</a>&lt;T&gt; + <a class='trait' href='https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html' title='core::clone::Clone'>Clone</a></span></code></span><span class='out-of-band'></span></h3>
<div class='impl-items'><h4 id='method.fmt' class='method'><span id='fmt.v' class='invisible'><code>fn <a href='https://doc.rust-lang.org/nightly/core/fmt/trait.Display.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='core::fmt::Formatter'>Formatter</a>) -&gt; <a class='enum' href='https://doc.rust-lang.org/nightly/core/result/enum.Result.html' title='core::result::Result'>Result</a>&lt;<a class='primitive' href='https://doc.rust-lang.org/nightly/std/primitive.tuple.html'>()</a>,&nbsp;<a class='struct' href='https://doc.rust-lang.org/nightly/core/fmt/struct.Error.html' title='core::fmt::Error'>Error</a>&gt;</code></span></h4>
</div><h3 class='impl'><span class='in-band'><code>impl&lt;T&gt; <a class='trait' href='https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html' title='core::hash::Hash'>Hash</a> for <a class='struct' href='../num/complex/struct.Complex.html' title='num::complex::Complex'>Complex</a>&lt;T&gt; <span class='where'>where T: <a class='trait' href='https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html' title='core::hash::Hash'>Hash</a></span></code></span><span class='out-of-band'></span></h3>
<div class='impl-items'><h4 id='method.hash' class='method'><span id='hash.v' class='invisible'><code>fn <a href='https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html#tymethod.hash' class='fnname'>hash</a>&lt;__HT&gt;(&amp;self, __arg_0: &amp;mut __HT) <span class='where'>where __HT: <a class='trait' href='https://doc.rust-lang.org/nightly/core/hash/trait.Hasher.html' title='core::hash::Hasher'>Hasher</a></span></code></span></h4>
</div><h3 class='impl'><span class='in-band'><code>impl&lt;T&gt; <a class='trait' href='https://doc.rust-lang.org/nightly/core/ops/trait.Neg.html' title='core::ops::Neg'>Neg</a> for <a class='struct' href='../num/complex/struct.Complex.html' title='num::complex::Complex'>Complex</a>&lt;T&gt; <span class='where'>where T: <a class='trait' href='https://doc.rust-lang.org/nightly/core/ops/trait.Neg.html' title='core::ops::Neg'>Neg</a>&lt;Output=T&gt; + <a class='trait' href='https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html' title='core::clone::Clone'>Clone</a> + <a class='trait' href='../num/traits/trait.Num.html' title='num::traits::Num'>Num</a></span></code></span><span class='out-of-band'></span></h3>
<div class='impl-items'><h4 id='associatedtype.Output-24' class='type'><span id='Output.t-24' class='invisible'><code>type <a href='https://doc.rust-lang.org/nightly/core/ops/trait.Neg.html#associatedtype.Output' class='type'>Output</a> = <a class='struct' href='../num/complex/struct.Complex.html' title='num::complex::Complex'>Complex</a>&lt;T&gt;</code></span></h4>
<h4 id='method.neg' class='method'><span id='neg.v' class='invisible'><code>fn <a href='https://doc.rust-lang.org/nightly/core/ops/trait.Neg.html#tymethod.neg' class='fnname'>neg</a>(self) -&gt; <a class='struct' href='../num/complex/struct.Complex.html' title='num::complex::Complex'>Complex</a>&lt;T&gt;</code></span></h4>
</div><h3 class='impl'><span class='in-band'><code>impl&lt;'a,&nbsp;T&gt; <a class='trait' href='https://doc.rust-lang.org/nightly/core/ops/trait.Neg.html' title='core::ops::Neg'>Neg</a> for &amp;'a <a class='struct' href='../num/complex/struct.Complex.html' title='num::complex::Complex'>Complex</a>&lt;T&gt; <span class='where'>where T: <a class='trait' href='https://doc.rust-lang.org/nightly/core/ops/trait.Neg.html' title='core::ops::Neg'>Neg</a>&lt;Output=T&gt; + <a class='trait' href='https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html' title='core::clone::Clone'>Clone</a> + <a class='trait' href='../num/traits/trait.Num.html' title='num::traits::Num'>Num</a></span></code></span><span class='out-of-band'></span></h3>
<div class='impl-items'><h4 id='associatedtype.Output-25' class='type'><span id='Output.t-25' class='invisible'><code>type <a href='https://doc.rust-lang.org/nightly/core/ops/trait.Neg.html#associatedtype.Output' class='type'>Output</a> = <a class='struct' href='../num/complex/struct.Complex.html' title='num::complex::Complex'>Complex</a>&lt;T&gt;</code></span></h4>
<h4 id='method.neg-1' class='method'><span id='neg.v-1' class='invisible'><code>fn <a href='https://doc.rust-lang.org/nightly/core/ops/trait.Neg.html#tymethod.neg' class='fnname'>neg</a>(self) -&gt; <a class='struct' href='../num/complex/struct.Complex.html' title='num::complex::Complex'>Complex</a>&lt;T&gt;</code></span></h4>
</div><h3 class='impl'><span class='in-band'><code>impl&lt;T&gt; <a class='trait' href='https://doc.rust-lang.org/nightly/core/ops/trait.Add.html' title='core::ops::Add'>Add</a>&lt;<a class='struct' href='../num/complex/struct.Complex.html' title='num::complex::Complex'>Complex</a>&lt;T&gt;&gt; for <a class='struct' href='../num/complex/struct.Complex.html' title='num::complex::Complex'>Complex</a>&lt;T&gt; <span class='where'>where T: <a class='trait' href='https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html' title='core::clone::Clone'>Clone</a> + <a class='trait' href='../num/traits/trait.Num.html' title='num::traits::Num'>Num</a></span></code></span><span class='out-of-band'></span></h3>
<div class='impl-items'><h4 id='associatedtype.Output-26' class='type'><span id='Output.t-26' class='invisible'><code>type <a href='https://doc.rust-lang.org/nightly/core/ops/trait.Add.html#associatedtype.Output' class='type'>Output</a> = <a class='struct' href='../num/complex/struct.Complex.html' title='num::complex::Complex'>Complex</a>&lt;T&gt;</code></span></h4>
<h4 id='method.add' class='method'><span id='add.v' class='invisible'><code>fn <a href='https://doc.rust-lang.org/nightly/core/ops/trait.Add.html#tymethod.add' class='fnname'>add</a>(self, other: <a class='struct' href='../num/complex/struct.Complex.html' title='num::complex::Complex'>Complex</a>&lt;T&gt;) -&gt; <a class='struct' href='../num/complex/struct.Complex.html' title='num::complex::Complex'>Complex</a>&lt;T&gt;</code></span></h4>
</div><h3 class='impl'><span class='in-band'><code>impl&lt;'a,&nbsp;'b,&nbsp;T&gt; <a class='trait' href='https://doc.rust-lang.org/nightly/core/ops/trait.Add.html' title='core::ops::Add'>Add</a>&lt;&amp;'b <a class='struct' href='../num/complex/struct.Complex.html' title='num::complex::Complex'>Complex</a>&lt;T&gt;&gt; for &amp;'a <a class='struct' href='../num/complex/struct.Complex.html' title='num::complex::Complex'>Complex</a>&lt;T&gt; <span class='where'>where T: <a class='trait' href='https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html' title='core::clone::Clone'>Clone</a> + <a class='trait' href='../num/traits/trait.Num.html' title='num::traits::Num'>Num</a></span></code></span><span class='out-of-band'></span></h3>
<div class='impl-items'><h4 id='associatedtype.Output-27' class='type'><span id='Output.t-27' class='invisible'><code>type <a href='https://doc.rust-lang.org/nightly/core/ops/trait.Add.html#associatedtype.Output' class='type'>Output</a> = <a class='struct' href='../num/complex/struct.Complex.html' title='num::complex::Complex'>Complex</a>&lt;T&gt;</code></span></h4>
<h4 id='method.add-1' class='method'><span id='add.v-1' class='invisible'><code>fn <a href='https://doc.rust-lang.org/nightly/core/ops/trait.Add.html#tymethod.add' class='fnname'>add</a>(self, other: &amp;<a class='struct' href='../num/complex/struct.Complex.html' title='num::complex::Complex'>Complex</a>&lt;T&gt;) -&gt; <a class='struct' href='../num/complex/struct.Complex.html' title='num::complex::Complex'>Complex</a>&lt;T&gt;</code></span></h4>
</div><h3 class='impl'><span class='in-band'><code>impl&lt;'a,&nbsp;T&gt; <a class='trait' href='https://doc.rust-lang.org/nightly/core/ops/trait.Add.html' title='core::ops::Add'>Add</a>&lt;<a class='struct' href='../num/complex/struct.Complex.html' title='num::complex::Complex'>Complex</a>&lt;T&gt;&gt; for &amp;'a <a class='struct' href='../num/complex/struct.Complex.html' title='num::complex::Complex'>Complex</a>&lt;T&gt; <span class='where'>where T: <a class='trait' href='https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html' title='core::clone::Clone'>Clone</a> + <a class='trait' href='../num/traits/trait.Num.html' title='num::traits::Num'>Num</a></span></code></span><span class='out-of-band'></span></h3>
<div class='impl-items'><h4 id='associatedtype.Output-28' class='type'><span id='Output.t-28' class='invisible'><code>type <a href='https://doc.rust-lang.org/nightly/core/ops/trait.Add.html#associatedtype.Output' class='type'>Output</a> = <a class='struct' href='../num/complex/struct.Complex.html' title='num::complex::Complex'>Complex</a>&lt;T&gt;</code></span></h4>
<h4 id='method.add-2' class='method'><span id='add.v-2' class='invisible'><code>fn <a href='https://doc.rust-lang.org/nightly/core/ops/trait.Add.html#tymethod.add' class='fnname'>add</a>(self, other: <a class='struct' href='../num/complex/struct.Complex.html' title='num::complex::Complex'>Complex</a>&lt;T&gt;) -&gt; <a class='struct' href='../num/complex/struct.Complex.html' title='num::complex::Complex'>Complex</a>&lt;T&gt;</code></span></h4>
</div><h3 class='impl'><span class='in-band'><code>impl&lt;'a,&nbsp;T&gt; <a class='trait' href='https://doc.rust-lang.org/nightly/core/ops/trait.Add.html' title='core::ops::Add'>Add</a>&lt;&amp;'a <a class='struct' href='../num/complex/struct.Complex.html' title='num::complex::Complex'>Complex</a>&lt;T&gt;&gt; for <a class='struct' href='../num/complex/struct.Complex.html' title='num::complex::Complex'>Complex</a>&lt;T&gt; <span class='where'>where T: <a class='trait' href='https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html' title='core::clone::Clone'>Clone</a> + <a class='trait' href='../num/traits/trait.Num.html' title='num::traits::Num'>Num</a></span></code></span><span class='out-of-band'></span></h3>
<div class='impl-items'><h4 id='associatedtype.Output-29' class='type'><span id='Output.t-29' class='invisible'><code>type <a href='https://doc.rust-lang.org/nightly/core/ops/trait.Add.html#associatedtype.Output' class='type'>Output</a> = <a class='struct' href='../num/complex/struct.Complex.html' title='num::complex::Complex'>Complex</a>&lt;T&gt;</code></span></h4>
<h4 id='method.add-3' class='method'><span id='add.v-3' class='invisible'><code>fn <a href='https://doc.rust-lang.org/nightly/core/ops/trait.Add.html#tymethod.add' class='fnname'>add</a>(self, other: &amp;<a class='struct' href='../num/complex/struct.Complex.html' title='num::complex::Complex'>Complex</a>&lt;T&gt;) -&gt; <a class='struct' href='../num/complex/struct.Complex.html' title='num::complex::Complex'>Complex</a>&lt;T&gt;</code></span></h4>
</div><h3 class='impl'><span class='in-band'><code>impl&lt;'a,&nbsp;T&gt; <a class='trait' href='https://doc.rust-lang.org/nightly/core/ops/trait.Add.html' title='core::ops::Add'>Add</a>&lt;&amp;'a T&gt; for <a class='struct' href='../num/complex/struct.Complex.html' title='num::complex::Complex'>Complex</a>&lt;T&gt; <span class='where'>where T: <a class='trait' href='https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html' title='core::clone::Clone'>Clone</a> + <a class='trait' href='../num/traits/trait.Num.html' title='num::traits::Num'>Num</a></span></code></span><span class='out-of-band'></span></h3>
<div class='impl-items'><h4 id='associatedtype.Output-30' class='type'><span id='Output.t-30' class='invisible'><code>type <a href='https://doc.rust-lang.org/nightly/core/ops/trait.Add.html#associatedtype.Output' class='type'>Output</a> = <a class='struct' href='../num/complex/struct.Complex.html' title='num::complex::Complex'>Complex</a>&lt;T&gt;</code></span></h4>
<h4 id='method.add-4' class='method'><span id='add.v-4' class='invisible'><code>fn <a href='https://doc.rust-lang.org/nightly/core/ops/trait.Add.html#tymethod.add' class='fnname'>add</a>(self, other: &amp;T) -&gt; <a class='struct' href='../num/complex/struct.Complex.html' title='num::complex::Complex'>Complex</a>&lt;T&gt;</code></span></h4>
</div><h3 class='impl'><span class='in-band'><code>impl&lt;'a,&nbsp;T&gt; <a class='trait' href='https://doc.rust-lang.org/nightly/core/ops/trait.Add.html' title='core::ops::Add'>Add</a>&lt;T&gt; for &amp;'a <a class='struct' href='../num/complex/struct.Complex.html' title='num::complex::Complex'>Complex</a>&lt;T&gt; <span class='where'>where T: <a class='trait' href='https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html' title='core::clone::Clone'>Clone</a> + <a class='trait' href='../num/traits/trait.Num.html' title='num::traits::Num'>Num</a></span></code></span><span class='out-of-band'></span></h3>
<div class='impl-items'><h4 id='associatedtype.Output-31' class='type'><span id='Output.t-31' class='invisible'><code>type <a href='https://doc.rust-lang.org/nightly/core/ops/trait.Add.html#associatedtype.Output' class='type'>Output</a> = <a class='struct' href='../num/complex/struct.Complex.html' title='num::complex::Complex'>Complex</a>&lt;T&gt;</code></span></h4>
<h4 id='method.add-5' class='method'><span id='add.v-5' class='invisible'><code>fn <a href='https://doc.rust-lang.org/nightly/core/ops/trait.Add.html#tymethod.add' class='fnname'>add</a>(self, other: T) -&gt; <a class='struct' href='../num/complex/struct.Complex.html' title='num::complex::Complex'>Complex</a>&lt;T&gt;</code></span></h4>
</div><h3 class='impl'><span class='in-band'><code>impl&lt;'a,&nbsp;'b,&nbsp;T&gt; <a class='trait' href='https://doc.rust-lang.org/nightly/core/ops/trait.Add.html' title='core::ops::Add'>Add</a>&lt;&amp;'a T&gt; for &amp;'b <a class='struct' href='../num/complex/struct.Complex.html' title='num::complex::Complex'>Complex</a>&lt;T&gt; <span class='where'>where T: <a class='trait' href='https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html' title='core::clone::Clone'>Clone</a> + <a class='trait' href='../num/traits/trait.Num.html' title='num::traits::Num'>Num</a></span></code></span><span class='out-of-band'></span></h3>
<div class='impl-items'><h4 id='associatedtype.Output-32' class='type'><span id='Output.t-32' class='invisible'><code>type <a href='https://doc.rust-lang.org/nightly/core/ops/trait.Add.html#associatedtype.Output' class='type'>Output</a> = <a class='struct' href='../num/complex/struct.Complex.html' title='num::complex::Complex'>Complex</a>&lt;T&gt;</code></span></h4>
<h4 id='method.add-6' class='method'><span id='add.v-6' class='invisible'><code>fn <a href='https://doc.rust-lang.org/nightly/core/ops/trait.Add.html#tymethod.add' class='fnname'>add</a>(self, other: &amp;T) -&gt; <a class='struct' href='../num/complex/struct.Complex.html' title='num::complex::Complex'>Complex</a>&lt;T&gt;</code></span></h4>
</div><h3 class='impl'><span class='in-band'><code>impl&lt;T&gt; <a class='trait' href='https://doc.rust-lang.org/nightly/core/ops/trait.Add.html' title='core::ops::Add'>Add</a>&lt;T&gt; for <a class='struct' href='../num/complex/struct.Complex.html' title='num::complex::Complex'>Complex</a>&lt;T&gt; <span class='where'>where T: <a class='trait' href='https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html' title='core::clone::Clone'>Clone</a> + <a class='trait' href='../num/traits/trait.Num.html' title='num::traits::Num'>Num</a></span></code></span><span class='out-of-band'></span></h3>
<div class='impl-items'><h4 id='associatedtype.Output-33' class='type'><span id='Output.t-33' class='invisible'><code>type <a href='https://doc.rust-lang.org/nightly/core/ops/trait.Add.html#associatedtype.Output' class='type'>Output</a> = <a class='struct' href='../num/complex/struct.Complex.html' title='num::complex::Complex'>Complex</a>&lt;T&gt;</code></span></h4>
<h4 id='method.add-7' class='method'><span id='add.v-7' class='invisible'><code>fn <a href='https://doc.rust-lang.org/nightly/core/ops/trait.Add.html#tymethod.add' class='fnname'>add</a>(self, other: T) -&gt; <a class='struct' href='../num/complex/struct.Complex.html' title='num::complex::Complex'>Complex</a>&lt;T&gt;</code></span></h4>
</div><h3 class='impl'><span class='in-band'><code>impl&lt;T&gt; <a class='trait' href='https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html' title='core::cmp::PartialEq'>PartialEq</a>&lt;<a class='struct' href='../num/complex/struct.Complex.html' title='num::complex::Complex'>Complex</a>&lt;T&gt;&gt; for <a class='struct' href='../num/complex/struct.Complex.html' title='num::complex::Complex'>Complex</a>&lt;T&gt; <span class='where'>where T: <a class='trait' href='https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html' title='core::cmp::PartialEq'>PartialEq</a>&lt;T&gt;</span></code></span><span class='out-of-band'></span></h3>
<div class='impl-items'><h4 id='method.eq' class='method'><span id='eq.v' class='invisible'><code>fn <a href='https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq' class='fnname'>eq</a>(&amp;self, __arg_0: &amp;<a class='struct' href='../num/complex/struct.Complex.html' title='num::complex::Complex'>Complex</a>&lt;T&gt;) -&gt; <a class='primitive' href='https://doc.rust-lang.org/nightly/std/primitive.bool.html'>bool</a></code></span></h4>
<h4 id='method.ne' class='method'><span id='ne.v' class='invisible'><code>fn <a href='https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#method.ne' class='fnname'>ne</a>(&amp;self, __arg_0: &amp;<a class='struct' href='../num/complex/struct.Complex.html' title='num::complex::Complex'>Complex</a>&lt;T&gt;) -&gt; <a class='primitive' href='https://doc.rust-lang.org/nightly/std/primitive.bool.html'>bool</a></code></span></h4>
</div><h3 class='impl'><span class='in-band'><code>impl&lt;T&gt; <a class='trait' href='../num/traits/trait.Zero.html' title='num::traits::Zero'>Zero</a> for <a class='struct' href='../num/complex/struct.Complex.html' title='num::complex::Complex'>Complex</a>&lt;T&gt; <span class='where'>where T: <a class='trait' href='https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html' title='core::clone::Clone'>Clone</a> + <a class='trait' href='../num/traits/trait.Num.html' title='num::traits::Num'>Num</a></span></code></span><span class='out-of-band'></span></h3>
<div class='impl-items'><h4 id='method.zero' class='method'><span id='zero.v' class='invisible'><code>fn <a href='../num/traits/trait.Zero.html#tymethod.zero' class='fnname'>zero</a>() -&gt; <a class='struct' href='../num/complex/struct.Complex.html' title='num::complex::Complex'>Complex</a>&lt;T&gt;</code></span></h4>
<div class='docblock'><p>Returns the additive identity element of <code>Self</code>, <code>0</code>. <a href="../num/traits/trait.Zero.html#tymethod.zero">Read more</a></p>
</div><h4 id='method.is_zero' class='method'><span id='is_zero.v' class='invisible'><code>fn <a href='../num/traits/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></span></h4>
<div class='docblock'><p>Returns <code>true</code> if <code>self</code> is equal to the additive identity.</p>
</div></div><h3 class='impl'><span class='in-band'><code>impl&lt;T&gt; <a class='trait' href='../rustc_serialize/serialize/trait.Decodable.html' title='rustc_serialize::serialize::Decodable'>Decodable</a> for <a class='struct' href='../num/complex/struct.Complex.html' title='num::complex::Complex'>Complex</a>&lt;T&gt; <span class='where'>where T: <a class='trait' href='../rustc_serialize/serialize/trait.Decodable.html' title='rustc_serialize::serialize::Decodable'>Decodable</a></span></code></span><span class='out-of-band'></span></h3>
<div class='impl-items'><h4 id='method.decode' class='method'><span id='decode.v' class='invisible'><code>fn <a href='../rustc_serialize/serialize/trait.Decodable.html#tymethod.decode' class='fnname'>decode</a>&lt;__DT&gt;(__arg_0: &amp;mut __DT) -&gt; <a class='enum' href='https://doc.rust-lang.org/nightly/core/result/enum.Result.html' title='core::result::Result'>Result</a>&lt;<a class='struct' href='../num/complex/struct.Complex.html' title='num::complex::Complex'>Complex</a>&lt;T&gt;,&nbsp;__DT::<a class='trait' href='../rustc_serialize/serialize/trait.Decoder.html' title='rustc_serialize::serialize::Decoder'>Error</a>&gt; <span class='where'>where __DT: <a class='trait' href='../rustc_serialize/serialize/trait.Decoder.html' title='rustc_serialize::serialize::Decoder'>Decoder</a></span></code></span></h4>
</div><h3 class='impl'><span class='in-band'><code>impl&lt;T&gt; <a class='trait' href='https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html' title='core::fmt::Debug'>Debug</a> for <a class='struct' href='../num/complex/struct.Complex.html' title='num::complex::Complex'>Complex</a>&lt;T&gt; <span class='where'>where T: <a class='trait' href='https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html' title='core::fmt::Debug'>Debug</a></span></code></span><span class='out-of-band'></span></h3>
<div class='impl-items'><h4 id='method.fmt-1' class='method'><span id='fmt.v-1' class='invisible'><code>fn <a href='https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html#tymethod.fmt' class='fnname'>fmt</a>(&amp;self, __arg_0: &amp;mut <a class='struct' href='https://doc.rust-lang.org/nightly/core/fmt/struct.Formatter.html' title='core::fmt::Formatter'>Formatter</a>) -&gt; <a class='enum' href='https://doc.rust-lang.org/nightly/core/result/enum.Result.html' title='core::result::Result'>Result</a>&lt;<a class='primitive' href='https://doc.rust-lang.org/nightly/std/primitive.tuple.html'>()</a>,&nbsp;<a class='struct' href='https://doc.rust-lang.org/nightly/core/fmt/struct.Error.html' title='core::fmt::Error'>Error</a>&gt;</code></span></h4>
</div><h3 class='impl'><span class='in-band'><code>impl&lt;T&gt; <a class='trait' href='https://doc.rust-lang.org/nightly/core/convert/trait.From.html' title='core::convert::From'>From</a>&lt;T&gt; for <a class='struct' href='../num/complex/struct.Complex.html' title='num::complex::Complex'>Complex</a>&lt;T&gt; <span class='where'>where T: <a class='trait' href='https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html' title='core::clone::Clone'>Clone</a> + <a class='trait' href='../num/traits/trait.Num.html' title='num::traits::Num'>Num</a></span></code></span><span class='out-of-band'></span></h3>
<div class='impl-items'><h4 id='method.from' class='method'><span id='from.v' class='invisible'><code>fn <a href='https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from' class='fnname'>from</a>(re: T) -&gt; <a class='struct' href='../num/complex/struct.Complex.html' title='num::complex::Complex'>Complex</a>&lt;T&gt;</code></span></h4>
</div><h3 class='impl'><span class='in-band'><code>impl&lt;'a,&nbsp;T&gt; <a class='trait' href='https://doc.rust-lang.org/nightly/core/convert/trait.From.html' title='core::convert::From'>From</a>&lt;&amp;'a T&gt; for <a class='struct' href='../num/complex/struct.Complex.html' title='num::complex::Complex'>Complex</a>&lt;T&gt; <span class='where'>where T: <a class='trait' href='https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html' title='core::clone::Clone'>Clone</a> + <a class='trait' href='../num/traits/trait.Num.html' title='num::traits::Num'>Num</a></span></code></span><span class='out-of-band'></span></h3>
<div class='impl-items'><h4 id='method.from-1' class='method'><span id='from.v-1' class='invisible'><code>fn <a href='https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from' class='fnname'>from</a>(re: &amp;T) -&gt; <a class='struct' href='../num/complex/struct.Complex.html' title='num::complex::Complex'>Complex</a>&lt;T&gt;</code></span></h4>
</div><h3 class='impl'><span class='in-band'><code>impl&lt;T&gt; <a class='trait' href='https://doc.rust-lang.org/nightly/core/marker/trait.Copy.html' title='core::marker::Copy'>Copy</a> for <a class='struct' href='../num/complex/struct.Complex.html' title='num::complex::Complex'>Complex</a>&lt;T&gt; <span class='where'>where T: <a class='trait' href='https://doc.rust-lang.org/nightly/core/marker/trait.Copy.html' title='core::marker::Copy'>Copy</a></span></code></span><span class='out-of-band'></span></h3>
<div class='impl-items'></div><h3 class='impl'><span class='in-band'><code>impl&lt;T&gt; <a class='trait' href='../num/traits/trait.One.html' title='num::traits::One'>One</a> for <a class='struct' href='../num/complex/struct.Complex.html' title='num::complex::Complex'>Complex</a>&lt;T&gt; <span class='where'>where T: <a class='trait' href='https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html' title='core::clone::Clone'>Clone</a> + <a class='trait' href='../num/traits/trait.Num.html' title='num::traits::Num'>Num</a></span></code></span><span class='out-of-band'></span></h3>
<div class='impl-items'><h4 id='method.one' class='method'><span id='one.v' class='invisible'><code>fn <a href='../num/traits/trait.One.html#tymethod.one' class='fnname'>one</a>() -&gt; <a class='struct' href='../num/complex/struct.Complex.html' title='num::complex::Complex'>Complex</a>&lt;T&gt;</code></span></h4>
<div class='docblock'><p>Returns the multiplicative identity element of <code>Self</code>, <code>1</code>. <a href="../num/traits/trait.One.html#tymethod.one">Read more</a></p>
</div></div><h3 class='impl'><span class='in-band'><code>impl&lt;T&gt; <a class='trait' href='https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html' title='core::clone::Clone'>Clone</a> for <a class='struct' href='../num/complex/struct.Complex.html' title='num::complex::Complex'>Complex</a>&lt;T&gt; <span class='where'>where T: <a class='trait' href='https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html' title='core::clone::Clone'>Clone</a></span></code></span><span class='out-of-band'></span></h3>
<div class='impl-items'><h4 id='method.clone' class='method'><span id='clone.v' class='invisible'><code>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='../num/complex/struct.Complex.html' title='num::complex::Complex'>Complex</a>&lt;T&gt;</code></span></h4>
<div class='docblock'><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'><span id='clone_from.v' class='invisible'><code>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: &amp;Self)</code><div class='since' title='Stable since Rust version 1.0.0'>1.0.0</div></span></h4>
<div class='docblock'><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></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>?</dt>
                    <dd>Show this help dialog</dd>
                    <dt>S</dt>
                    <dd>Focus the search field</dd>
                    <dt>&larrb;</dt>
                    <dd>Move up in search results</dd>
                    <dt>&rarrb;</dt>
                    <dd>Move down in search results</dd>
                    <dt>&#9166;</dt>
                    <dd>Go to active search result</dd>
                    <dt>+</dt>
                    <dd>Collapse/expand 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>
            </div>
        </div>
    </aside>

    

    <script>
        window.rootPath = "../";
        window.currentCrate = "num";
        window.playgroundUrl = "http://play.rust-lang.org/";
    </script>
    <script src="../jquery.js"></script>
    <script src="../main.js"></script>
    <script src="../playpen.js"></script>
    <script defer src="../search-index.js"></script>
</body>
</html>