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.

148 lines
5.3 KiB

  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="utf-8">
  5. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  6. <meta name="generator" content="rustdoc">
  7. <meta name="description" content="API documentation for the Rust `complex` crate.">
  8. <meta name="keywords" content="rust, rustlang, rust-lang, complex">
  9. <title>complex - Rust</title>
  10. <link rel="stylesheet" type="text/css" href="../main.css">
  11. </head>
  12. <body class="rustdoc">
  13. <!--[if lte IE 8]>
  14. <div class="warning">
  15. This old browser is unsupported and will most likely display funky
  16. things.
  17. </div>
  18. <![endif]-->
  19. <section class="sidebar">
  20. <p class='location'></p><script>window.sidebarCurrent = {name: 'complex', ty: 'mod', relpath: '../'};</script>
  21. </section>
  22. <nav class="sub">
  23. <form class="search-form js-only">
  24. <div class="search-container">
  25. <input class="search-input" name="search"
  26. autocomplete="off"
  27. placeholder="Click or press 'S' to search, '?' for more options..."
  28. type="search">
  29. </div>
  30. </form>
  31. </nav>
  32. <section id='main' class="content mod">
  33. <h1 class='fqn'><span class='in-band'>Crate <a class='mod' href=''>complex</a></span><span class='out-of-band'><span id='render-detail'>
  34. <a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">
  35. [<span class='inner'>&#x2212;</span>]
  36. </a>
  37. </span><a id='src-0' class='srclink' href='../src/complex/lib.rs.html#1-331' title='goto source code'>[src]</a></span></h1>
  38. <div class='docblock'><p><a href="https://en.wikipedia.org/wiki/Complex_number">Complex numbers</a>.</p>
  39. </div><h2 id='structs' class='section-header'><a href="#structs">Structs</a></h2>
  40. <table>
  41. <tr class=' module-item'>
  42. <td><a class='struct' href='struct.c32.html'
  43. title='complex::c32'>c32</a></td>
  44. <td class='docblock short'>
  45. <p>A complex number with 32-bit parts.</p>
  46. </td>
  47. </tr>
  48. <tr class=' module-item'>
  49. <td><a class='struct' href='struct.c64.html'
  50. title='complex::c64'>c64</a></td>
  51. <td class='docblock short'>
  52. <p>A complex number with 64-bit parts.</p>
  53. </td>
  54. </tr>
  55. </table><h2 id='traits' class='section-header'><a href="#traits">Traits</a></h2>
  56. <table>
  57. <tr class=' module-item'>
  58. <td><a class='trait' href='trait.Complex.html'
  59. title='complex::Complex'>Complex</a></td>
  60. <td class='docblock short'>
  61. <p>A complex number.</p>
  62. </td>
  63. </tr>
  64. <tr class=' module-item'>
  65. <td><a class='trait' href='trait.Number.html'
  66. title='complex::Number'>Number</a></td>
  67. <td class='docblock short'>
  68. <p>A number.</p>
  69. </td>
  70. </tr>
  71. <tr class=' module-item'>
  72. <td><a class='trait' href='trait.Real.html'
  73. title='complex::Real'>Real</a></td>
  74. <td class='docblock short'>
  75. <p>A real number.</p>
  76. </td>
  77. </tr>
  78. </table></section>
  79. <section id='search' class="content hidden"></section>
  80. <section class="footer"></section>
  81. <div id="help" class="hidden">
  82. <div class="shortcuts">
  83. <h1>Keyboard shortcuts</h1>
  84. <dl>
  85. <dt>?</dt>
  86. <dd>Show this help dialog</dd>
  87. <dt>S</dt>
  88. <dd>Focus the search field</dd>
  89. <dt>&larrb;</dt>
  90. <dd>Move up in search results</dd>
  91. <dt>&rarrb;</dt>
  92. <dd>Move down in search results</dd>
  93. <dt>&#9166;</dt>
  94. <dd>Go to active search result</dd>
  95. </dl>
  96. </div>
  97. <div class="infos">
  98. <h1>Search tricks</h1>
  99. <p>
  100. Prefix searches with a type followed by a colon (e.g.
  101. <code>fn:</code>) to restrict the search to a given type.
  102. </p>
  103. <p>
  104. Accepted types are: <code>fn</code>, <code>mod</code>,
  105. <code>struct</code>, <code>enum</code>,
  106. <code>trait</code>, <code>typedef</code> (or
  107. <code>tdef</code>).
  108. </p>
  109. <p>
  110. Search functions by type signature (e.g.
  111. <code>vec -> usize</code>)
  112. </p>
  113. </div>
  114. </div>
  115. <script>
  116. window.rootPath = "../";
  117. window.currentCrate = "complex";
  118. window.playgroundUrl = "";
  119. </script>
  120. <script src="../jquery.js"></script>
  121. <script src="../main.js"></script>
  122. <script async src="../search-index.js"></script>
  123. </body>
  124. </html>