struct.if_data.html 25 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285
  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 `if_data` struct in crate `libc`.">
  8. <meta name="keywords" content="rust, rustlang, rust-lang, if_data">
  9. <title>libc::if_data - Rust</title>
  10. <link rel="stylesheet" type="text/css" href="../normalize.css">
  11. <link rel="stylesheet" type="text/css" href="../rustdoc.css" id="mainThemeStyle">
  12. <link rel="stylesheet" type="text/css" href="../dark.css">
  13. <link rel="stylesheet" type="text/css" href="../main.css" id="themeStyle">
  14. <script src="../storage.js"></script>
  15. <link rel="shortcut icon" href="https://doc.rust-lang.org/favicon.ico">
  16. </head>
  17. <body class="rustdoc struct">
  18. <!--[if lte IE 8]>
  19. <div class="warning">
  20. This old browser is unsupported and will most likely display funky
  21. things.
  22. </div>
  23. <![endif]-->
  24. <nav class="sidebar">
  25. <div class="sidebar-menu">&#9776;</div>
  26. <a href='../libc/index.html'><img src='https://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png' alt='logo' width='100'></a>
  27. <p class='location'>Struct if_data</p><div class="sidebar-elems"><div class="block items"><a class="sidebar-title" href="#fields">Fields</a><div class="sidebar-links"><a href="#structfield.ifi_type">ifi_type</a><a href="#structfield.ifi_typelen">ifi_typelen</a><a href="#structfield.ifi_physical">ifi_physical</a><a href="#structfield.ifi_addrlen">ifi_addrlen</a><a href="#structfield.ifi_hdrlen">ifi_hdrlen</a><a href="#structfield.ifi_recvquota">ifi_recvquota</a><a href="#structfield.ifi_xmitquota">ifi_xmitquota</a><a href="#structfield.ifi_unused1">ifi_unused1</a><a href="#structfield.ifi_mtu">ifi_mtu</a><a href="#structfield.ifi_metric">ifi_metric</a><a href="#structfield.ifi_baudrate">ifi_baudrate</a><a href="#structfield.ifi_ipackets">ifi_ipackets</a><a href="#structfield.ifi_ierrors">ifi_ierrors</a><a href="#structfield.ifi_opackets">ifi_opackets</a><a href="#structfield.ifi_oerrors">ifi_oerrors</a><a href="#structfield.ifi_collisions">ifi_collisions</a><a href="#structfield.ifi_ibytes">ifi_ibytes</a><a href="#structfield.ifi_obytes">ifi_obytes</a><a href="#structfield.ifi_imcasts">ifi_imcasts</a><a href="#structfield.ifi_omcasts">ifi_omcasts</a><a href="#structfield.ifi_iqdrops">ifi_iqdrops</a><a href="#structfield.ifi_noproto">ifi_noproto</a><a href="#structfield.ifi_recvtiming">ifi_recvtiming</a><a href="#structfield.ifi_xmittiming">ifi_xmittiming</a><a href="#structfield.ifi_lastchange">ifi_lastchange</a><a href="#structfield.ifi_unused2">ifi_unused2</a><a href="#structfield.ifi_hwassist">ifi_hwassist</a><a href="#structfield.ifi_reserved1">ifi_reserved1</a><a href="#structfield.ifi_reserved2">ifi_reserved2</a></div><a class="sidebar-title" href="#implementations">Trait Implementations</a><div class="sidebar-links"><a href="#impl-Copy">Copy</a><a href="#impl-Clone">Clone</a></div></div><p class='location'><a href='index.html'>libc</a></p><script>window.sidebarCurrent = {name: 'if_data', ty: 'struct', relpath: ''};</script><script defer src="sidebar-items.js"></script></div>
  28. </nav>
  29. <div class="theme-picker">
  30. <button id="theme-picker" aria-label="Pick another theme!">
  31. <img src="../brush.svg" width="18" alt="Pick another theme!">
  32. </button>
  33. <div id="theme-choices"></div>
  34. </div>
  35. <script src="../theme.js"></script>
  36. <nav class="sub">
  37. <form class="search-form js-only">
  38. <div class="search-container">
  39. <input class="search-input" name="search"
  40. autocomplete="off"
  41. placeholder="Click or press ‘S’ to search, ‘?’ for more options…"
  42. type="search">
  43. </div>
  44. </form>
  45. </nav>
  46. <section id='main' class="content">
  47. <h1 class='fqn'><span class='in-band'>Struct <a href='index.html'>libc</a>::<wbr><a class="struct" href=''>if_data</a></span><span class='out-of-band'><span id='render-detail'>
  48. <a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">
  49. [<span class='inner'>&#x2212;</span>]
  50. </a>
  51. </span><a class='srclink' href='../src/libc/macros.rs.html#42' title='goto source code'>[src]</a></span></h1>
  52. <pre class='rust struct'><div class="docblock attributes">#[repr(C)]
  53. </div>pub struct if_data {
  54. pub ifi_type: <a class="type" href="../libc/type.c_uchar.html" title="type libc::c_uchar">c_uchar</a>,
  55. pub ifi_typelen: <a class="type" href="../libc/type.c_uchar.html" title="type libc::c_uchar">c_uchar</a>,
  56. pub ifi_physical: <a class="type" href="../libc/type.c_uchar.html" title="type libc::c_uchar">c_uchar</a>,
  57. pub ifi_addrlen: <a class="type" href="../libc/type.c_uchar.html" title="type libc::c_uchar">c_uchar</a>,
  58. pub ifi_hdrlen: <a class="type" href="../libc/type.c_uchar.html" title="type libc::c_uchar">c_uchar</a>,
  59. pub ifi_recvquota: <a class="type" href="../libc/type.c_uchar.html" title="type libc::c_uchar">c_uchar</a>,
  60. pub ifi_xmitquota: <a class="type" href="../libc/type.c_uchar.html" title="type libc::c_uchar">c_uchar</a>,
  61. pub ifi_unused1: <a class="type" href="../libc/type.c_uchar.html" title="type libc::c_uchar">c_uchar</a>,
  62. pub ifi_mtu: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>,
  63. pub ifi_metric: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>,
  64. pub ifi_baudrate: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>,
  65. pub ifi_ipackets: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>,
  66. pub ifi_ierrors: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>,
  67. pub ifi_opackets: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>,
  68. pub ifi_oerrors: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>,
  69. pub ifi_collisions: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>,
  70. pub ifi_ibytes: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>,
  71. pub ifi_obytes: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>,
  72. pub ifi_imcasts: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>,
  73. pub ifi_omcasts: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>,
  74. pub ifi_iqdrops: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>,
  75. pub ifi_noproto: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>,
  76. pub ifi_recvtiming: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>,
  77. pub ifi_xmittiming: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>,
  78. pub ifi_lastchange: <a class="struct" href="../libc/struct.timeval32.html" title="struct libc::timeval32">timeval32</a>,
  79. pub ifi_unused2: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>,
  80. pub ifi_hwassist: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>,
  81. pub ifi_reserved1: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>,
  82. pub ifi_reserved2: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>,
  83. }</pre><h2 id='fields' class='fields small-section-header'>
  84. Fields<a href='#fields' class='anchor'></a></h2><span id="structfield.ifi_type" class="structfield small-section-header">
  85. <a href="#structfield.ifi_type" class="anchor field"></a>
  86. <span id="ifi_type.v" class='invisible'>
  87. <code>ifi_type: <a class="type" href="../libc/type.c_uchar.html" title="type libc::c_uchar">c_uchar</a></code>
  88. </span></span><span id="structfield.ifi_typelen" class="structfield small-section-header">
  89. <a href="#structfield.ifi_typelen" class="anchor field"></a>
  90. <span id="ifi_typelen.v" class='invisible'>
  91. <code>ifi_typelen: <a class="type" href="../libc/type.c_uchar.html" title="type libc::c_uchar">c_uchar</a></code>
  92. </span></span><span id="structfield.ifi_physical" class="structfield small-section-header">
  93. <a href="#structfield.ifi_physical" class="anchor field"></a>
  94. <span id="ifi_physical.v" class='invisible'>
  95. <code>ifi_physical: <a class="type" href="../libc/type.c_uchar.html" title="type libc::c_uchar">c_uchar</a></code>
  96. </span></span><span id="structfield.ifi_addrlen" class="structfield small-section-header">
  97. <a href="#structfield.ifi_addrlen" class="anchor field"></a>
  98. <span id="ifi_addrlen.v" class='invisible'>
  99. <code>ifi_addrlen: <a class="type" href="../libc/type.c_uchar.html" title="type libc::c_uchar">c_uchar</a></code>
  100. </span></span><span id="structfield.ifi_hdrlen" class="structfield small-section-header">
  101. <a href="#structfield.ifi_hdrlen" class="anchor field"></a>
  102. <span id="ifi_hdrlen.v" class='invisible'>
  103. <code>ifi_hdrlen: <a class="type" href="../libc/type.c_uchar.html" title="type libc::c_uchar">c_uchar</a></code>
  104. </span></span><span id="structfield.ifi_recvquota" class="structfield small-section-header">
  105. <a href="#structfield.ifi_recvquota" class="anchor field"></a>
  106. <span id="ifi_recvquota.v" class='invisible'>
  107. <code>ifi_recvquota: <a class="type" href="../libc/type.c_uchar.html" title="type libc::c_uchar">c_uchar</a></code>
  108. </span></span><span id="structfield.ifi_xmitquota" class="structfield small-section-header">
  109. <a href="#structfield.ifi_xmitquota" class="anchor field"></a>
  110. <span id="ifi_xmitquota.v" class='invisible'>
  111. <code>ifi_xmitquota: <a class="type" href="../libc/type.c_uchar.html" title="type libc::c_uchar">c_uchar</a></code>
  112. </span></span><span id="structfield.ifi_unused1" class="structfield small-section-header">
  113. <a href="#structfield.ifi_unused1" class="anchor field"></a>
  114. <span id="ifi_unused1.v" class='invisible'>
  115. <code>ifi_unused1: <a class="type" href="../libc/type.c_uchar.html" title="type libc::c_uchar">c_uchar</a></code>
  116. </span></span><span id="structfield.ifi_mtu" class="structfield small-section-header">
  117. <a href="#structfield.ifi_mtu" class="anchor field"></a>
  118. <span id="ifi_mtu.v" class='invisible'>
  119. <code>ifi_mtu: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a></code>
  120. </span></span><span id="structfield.ifi_metric" class="structfield small-section-header">
  121. <a href="#structfield.ifi_metric" class="anchor field"></a>
  122. <span id="ifi_metric.v" class='invisible'>
  123. <code>ifi_metric: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a></code>
  124. </span></span><span id="structfield.ifi_baudrate" class="structfield small-section-header">
  125. <a href="#structfield.ifi_baudrate" class="anchor field"></a>
  126. <span id="ifi_baudrate.v" class='invisible'>
  127. <code>ifi_baudrate: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a></code>
  128. </span></span><span id="structfield.ifi_ipackets" class="structfield small-section-header">
  129. <a href="#structfield.ifi_ipackets" class="anchor field"></a>
  130. <span id="ifi_ipackets.v" class='invisible'>
  131. <code>ifi_ipackets: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a></code>
  132. </span></span><span id="structfield.ifi_ierrors" class="structfield small-section-header">
  133. <a href="#structfield.ifi_ierrors" class="anchor field"></a>
  134. <span id="ifi_ierrors.v" class='invisible'>
  135. <code>ifi_ierrors: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a></code>
  136. </span></span><span id="structfield.ifi_opackets" class="structfield small-section-header">
  137. <a href="#structfield.ifi_opackets" class="anchor field"></a>
  138. <span id="ifi_opackets.v" class='invisible'>
  139. <code>ifi_opackets: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a></code>
  140. </span></span><span id="structfield.ifi_oerrors" class="structfield small-section-header">
  141. <a href="#structfield.ifi_oerrors" class="anchor field"></a>
  142. <span id="ifi_oerrors.v" class='invisible'>
  143. <code>ifi_oerrors: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a></code>
  144. </span></span><span id="structfield.ifi_collisions" class="structfield small-section-header">
  145. <a href="#structfield.ifi_collisions" class="anchor field"></a>
  146. <span id="ifi_collisions.v" class='invisible'>
  147. <code>ifi_collisions: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a></code>
  148. </span></span><span id="structfield.ifi_ibytes" class="structfield small-section-header">
  149. <a href="#structfield.ifi_ibytes" class="anchor field"></a>
  150. <span id="ifi_ibytes.v" class='invisible'>
  151. <code>ifi_ibytes: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a></code>
  152. </span></span><span id="structfield.ifi_obytes" class="structfield small-section-header">
  153. <a href="#structfield.ifi_obytes" class="anchor field"></a>
  154. <span id="ifi_obytes.v" class='invisible'>
  155. <code>ifi_obytes: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a></code>
  156. </span></span><span id="structfield.ifi_imcasts" class="structfield small-section-header">
  157. <a href="#structfield.ifi_imcasts" class="anchor field"></a>
  158. <span id="ifi_imcasts.v" class='invisible'>
  159. <code>ifi_imcasts: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a></code>
  160. </span></span><span id="structfield.ifi_omcasts" class="structfield small-section-header">
  161. <a href="#structfield.ifi_omcasts" class="anchor field"></a>
  162. <span id="ifi_omcasts.v" class='invisible'>
  163. <code>ifi_omcasts: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a></code>
  164. </span></span><span id="structfield.ifi_iqdrops" class="structfield small-section-header">
  165. <a href="#structfield.ifi_iqdrops" class="anchor field"></a>
  166. <span id="ifi_iqdrops.v" class='invisible'>
  167. <code>ifi_iqdrops: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a></code>
  168. </span></span><span id="structfield.ifi_noproto" class="structfield small-section-header">
  169. <a href="#structfield.ifi_noproto" class="anchor field"></a>
  170. <span id="ifi_noproto.v" class='invisible'>
  171. <code>ifi_noproto: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a></code>
  172. </span></span><span id="structfield.ifi_recvtiming" class="structfield small-section-header">
  173. <a href="#structfield.ifi_recvtiming" class="anchor field"></a>
  174. <span id="ifi_recvtiming.v" class='invisible'>
  175. <code>ifi_recvtiming: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a></code>
  176. </span></span><span id="structfield.ifi_xmittiming" class="structfield small-section-header">
  177. <a href="#structfield.ifi_xmittiming" class="anchor field"></a>
  178. <span id="ifi_xmittiming.v" class='invisible'>
  179. <code>ifi_xmittiming: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a></code>
  180. </span></span><span id="structfield.ifi_lastchange" class="structfield small-section-header">
  181. <a href="#structfield.ifi_lastchange" class="anchor field"></a>
  182. <span id="ifi_lastchange.v" class='invisible'>
  183. <code>ifi_lastchange: <a class="struct" href="../libc/struct.timeval32.html" title="struct libc::timeval32">timeval32</a></code>
  184. </span></span><span id="structfield.ifi_unused2" class="structfield small-section-header">
  185. <a href="#structfield.ifi_unused2" class="anchor field"></a>
  186. <span id="ifi_unused2.v" class='invisible'>
  187. <code>ifi_unused2: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a></code>
  188. </span></span><span id="structfield.ifi_hwassist" class="structfield small-section-header">
  189. <a href="#structfield.ifi_hwassist" class="anchor field"></a>
  190. <span id="ifi_hwassist.v" class='invisible'>
  191. <code>ifi_hwassist: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a></code>
  192. </span></span><span id="structfield.ifi_reserved1" class="structfield small-section-header">
  193. <a href="#structfield.ifi_reserved1" class="anchor field"></a>
  194. <span id="ifi_reserved1.v" class='invisible'>
  195. <code>ifi_reserved1: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a></code>
  196. </span></span><span id="structfield.ifi_reserved2" class="structfield small-section-header">
  197. <a href="#structfield.ifi_reserved2" class="anchor field"></a>
  198. <span id="ifi_reserved2.v" class='invisible'>
  199. <code>ifi_reserved2: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a></code>
  200. </span></span>
  201. <h2 id='implementations' class='small-section-header'>
  202. Trait Implementations<a href='#implementations' class='anchor'></a>
  203. </h2>
  204. <h3 id='impl-Copy' class='impl'><span class='in-band'><code>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Copy.html" title="trait core::marker::Copy">Copy</a> for <a class="struct" href="../libc/struct.if_data.html" title="struct libc::if_data">if_data</a></code><a href='#impl-Copy' class='anchor'></a></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/libc/macros.rs.html#44' title='goto source code'>[src]</a></span></h3>
  205. <div class='impl-items'></div><h3 id='impl-Clone' class='impl'><span class='in-band'><code>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> for <a class="struct" href="../libc/struct.if_data.html" title="struct libc::if_data">if_data</a></code><a href='#impl-Clone' class='anchor'></a></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/libc/macros.rs.html#45-47' title='goto source code'>[src]</a></span></h3>
  206. <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="../libc/struct.if_data.html" title="struct libc::if_data">if_data</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/libc/macros.rs.html#46' title='goto source code'>[src]</a></span></h4>
  207. <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>
  208. </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: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;</a>Self)</code></span><span class='out-of-band'><div class='ghost'></div><div class='since' title='Stable since Rust version 1.0.0'>1.0.0</div><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/clone.rs.html#112-114' title='goto source code'>[src]</a></span></h4>
  209. <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>
  210. </div></div></section>
  211. <section id='search' class="content hidden"></section>
  212. <section class="footer"></section>
  213. <aside id="help" class="hidden">
  214. <div>
  215. <h1 class="hidden">Help</h1>
  216. <div class="shortcuts">
  217. <h2>Keyboard Shortcuts</h2>
  218. <dl>
  219. <dt><kbd>?</kbd></dt>
  220. <dd>Show this help dialog</dd>
  221. <dt><kbd>S</kbd></dt>
  222. <dd>Focus the search field</dd>
  223. <dt><kbd>↑</kbd></dt>
  224. <dd>Move up in search results</dd>
  225. <dt><kbd>↓</kbd></dt>
  226. <dd>Move down in search results</dd>
  227. <dt><kbd>↹</kbd></dt>
  228. <dd>Switch tab</dd>
  229. <dt><kbd>&#9166;</kbd></dt>
  230. <dd>Go to active search result</dd>
  231. <dt><kbd>+</kbd></dt>
  232. <dd>Expand all sections</dd>
  233. <dt><kbd>-</kbd></dt>
  234. <dd>Collapse all sections</dd>
  235. </dl>
  236. </div>
  237. <div class="infos">
  238. <h2>Search Tricks</h2>
  239. <p>
  240. Prefix searches with a type followed by a colon (e.g.
  241. <code>fn:</code>) to restrict the search to a given type.
  242. </p>
  243. <p>
  244. Accepted types are: <code>fn</code>, <code>mod</code>,
  245. <code>struct</code>, <code>enum</code>,
  246. <code>trait</code>, <code>type</code>, <code>macro</code>,
  247. and <code>const</code>.
  248. </p>
  249. <p>
  250. Search functions by type signature (e.g.
  251. <code>vec -> usize</code> or <code>* -> vec</code>)
  252. </p>
  253. </div>
  254. </div>
  255. </aside>
  256. <script>
  257. window.rootPath = "../";
  258. window.currentCrate = "libc";
  259. </script>
  260. <script src="../main.js"></script>
  261. <script defer src="../search-index.js"></script>
  262. </body>
  263. </html>