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.

108 lines
4.2 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 `Real` trait in crate `complex`.">
  8. <meta name="keywords" content="rust, rustlang, rust-lang, Real">
  9. <title>complex::Real - 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'><a href='index.html'>complex</a></p><script>window.sidebarCurrent = {name: 'Real', ty: 'trait', relpath: ''};</script><script defer src="sidebar-items.js"></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 trait">
  33. <h1 class='fqn'><span class='in-band'>Trait <a href='index.html'>complex</a>::<wbr><a class='trait' href=''>Real</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-31' class='srclink' href='../src/complex/lib.rs.html#18-19' title='goto source code'>[src]</a></span></h1>
  38. <pre class='rust trait'>pub trait Real: <a class='trait' href='../complex/trait.Number.html' title='complex::Number'>Number</a> { }</pre><div class='docblock'><p>A real number.</p>
  39. </div>
  40. <h2 id='implementors'>Implementors</h2>
  41. <ul class='item-list' id='implementors-list'>
  42. <li><code>impl <a class='trait' href='../complex/trait.Real.html' title='complex::Real'>Real</a> for <a href='http://doc.rust-lang.org/nightly/std/primitive.f32.html'>f32</a></code></li>
  43. <li><code>impl <a class='trait' href='../complex/trait.Real.html' title='complex::Real'>Real</a> for <a href='http://doc.rust-lang.org/nightly/std/primitive.f64.html'>f64</a></code></li>
  44. </ul><script type="text/javascript" async
  45. src="../implementors/complex/trait.Real.js">
  46. </script></section>
  47. <section id='search' class="content hidden"></section>
  48. <section class="footer"></section>
  49. <div id="help" class="hidden">
  50. <div class="shortcuts">
  51. <h1>Keyboard shortcuts</h1>
  52. <dl>
  53. <dt>?</dt>
  54. <dd>Show this help dialog</dd>
  55. <dt>S</dt>
  56. <dd>Focus the search field</dd>
  57. <dt>&larrb;</dt>
  58. <dd>Move up in search results</dd>
  59. <dt>&rarrb;</dt>
  60. <dd>Move down in search results</dd>
  61. <dt>&#9166;</dt>
  62. <dd>Go to active search result</dd>
  63. </dl>
  64. </div>
  65. <div class="infos">
  66. <h1>Search tricks</h1>
  67. <p>
  68. Prefix searches with a type followed by a colon (e.g.
  69. <code>fn:</code>) to restrict the search to a given type.
  70. </p>
  71. <p>
  72. Accepted types are: <code>fn</code>, <code>mod</code>,
  73. <code>struct</code>, <code>enum</code>,
  74. <code>trait</code>, <code>typedef</code> (or
  75. <code>tdef</code>).
  76. </p>
  77. <p>
  78. Search functions by type signature (e.g.
  79. <code>vec -> usize</code>)
  80. </p>
  81. </div>
  82. </div>
  83. <script>
  84. window.rootPath = "../";
  85. window.currentCrate = "complex";
  86. window.playgroundUrl = "";
  87. </script>
  88. <script src="../jquery.js"></script>
  89. <script src="../main.js"></script>
  90. <script async src="../search-index.js"></script>
  91. </body>
  92. </html>