struct.dqblk.html 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190
  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 `dqblk` struct in crate `libc`.">
  8. <meta name="keywords" content="rust, rustlang, rust-lang, dqblk">
  9. <title>libc::dqblk - 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 dqblk</p><div class="sidebar-elems"><div class="block items"><a class="sidebar-title" href="#fields">Fields</a><div class="sidebar-links"><a href="#structfield.dqb_bhardlimit">dqb_bhardlimit</a><a href="#structfield.dqb_bsoftlimit">dqb_bsoftlimit</a><a href="#structfield.dqb_curbytes">dqb_curbytes</a><a href="#structfield.dqb_ihardlimit">dqb_ihardlimit</a><a href="#structfield.dqb_isoftlimit">dqb_isoftlimit</a><a href="#structfield.dqb_curinodes">dqb_curinodes</a><a href="#structfield.dqb_btime">dqb_btime</a><a href="#structfield.dqb_itime">dqb_itime</a><a href="#structfield.dqb_id">dqb_id</a><a href="#structfield.dqb_spare">dqb_spare</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: 'dqblk', 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=''>dqblk</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 dqblk {
  54. pub dqb_bhardlimit: <a class="type" href="../libc/type.uint64_t.html" title="type libc::uint64_t">uint64_t</a>,
  55. pub dqb_bsoftlimit: <a class="type" href="../libc/type.uint64_t.html" title="type libc::uint64_t">uint64_t</a>,
  56. pub dqb_curbytes: <a class="type" href="../libc/type.uint64_t.html" title="type libc::uint64_t">uint64_t</a>,
  57. pub dqb_ihardlimit: <a class="type" href="../libc/type.uint32_t.html" title="type libc::uint32_t">uint32_t</a>,
  58. pub dqb_isoftlimit: <a class="type" href="../libc/type.uint32_t.html" title="type libc::uint32_t">uint32_t</a>,
  59. pub dqb_curinodes: <a class="type" href="../libc/type.uint32_t.html" title="type libc::uint32_t">uint32_t</a>,
  60. pub dqb_btime: <a class="type" href="../libc/type.uint32_t.html" title="type libc::uint32_t">uint32_t</a>,
  61. pub dqb_itime: <a class="type" href="../libc/type.uint32_t.html" title="type libc::uint32_t">uint32_t</a>,
  62. pub dqb_id: <a class="type" href="../libc/type.uint32_t.html" title="type libc::uint32_t">uint32_t</a>,
  63. pub dqb_spare: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">[</a><a class="type" href="../libc/type.uint32_t.html" title="type libc::uint32_t">uint32_t</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">; 4]</a>,
  64. }</pre><h2 id='fields' class='fields small-section-header'>
  65. Fields<a href='#fields' class='anchor'></a></h2><span id="structfield.dqb_bhardlimit" class="structfield small-section-header">
  66. <a href="#structfield.dqb_bhardlimit" class="anchor field"></a>
  67. <span id="dqb_bhardlimit.v" class='invisible'>
  68. <code>dqb_bhardlimit: <a class="type" href="../libc/type.uint64_t.html" title="type libc::uint64_t">uint64_t</a></code>
  69. </span></span><span id="structfield.dqb_bsoftlimit" class="structfield small-section-header">
  70. <a href="#structfield.dqb_bsoftlimit" class="anchor field"></a>
  71. <span id="dqb_bsoftlimit.v" class='invisible'>
  72. <code>dqb_bsoftlimit: <a class="type" href="../libc/type.uint64_t.html" title="type libc::uint64_t">uint64_t</a></code>
  73. </span></span><span id="structfield.dqb_curbytes" class="structfield small-section-header">
  74. <a href="#structfield.dqb_curbytes" class="anchor field"></a>
  75. <span id="dqb_curbytes.v" class='invisible'>
  76. <code>dqb_curbytes: <a class="type" href="../libc/type.uint64_t.html" title="type libc::uint64_t">uint64_t</a></code>
  77. </span></span><span id="structfield.dqb_ihardlimit" class="structfield small-section-header">
  78. <a href="#structfield.dqb_ihardlimit" class="anchor field"></a>
  79. <span id="dqb_ihardlimit.v" class='invisible'>
  80. <code>dqb_ihardlimit: <a class="type" href="../libc/type.uint32_t.html" title="type libc::uint32_t">uint32_t</a></code>
  81. </span></span><span id="structfield.dqb_isoftlimit" class="structfield small-section-header">
  82. <a href="#structfield.dqb_isoftlimit" class="anchor field"></a>
  83. <span id="dqb_isoftlimit.v" class='invisible'>
  84. <code>dqb_isoftlimit: <a class="type" href="../libc/type.uint32_t.html" title="type libc::uint32_t">uint32_t</a></code>
  85. </span></span><span id="structfield.dqb_curinodes" class="structfield small-section-header">
  86. <a href="#structfield.dqb_curinodes" class="anchor field"></a>
  87. <span id="dqb_curinodes.v" class='invisible'>
  88. <code>dqb_curinodes: <a class="type" href="../libc/type.uint32_t.html" title="type libc::uint32_t">uint32_t</a></code>
  89. </span></span><span id="structfield.dqb_btime" class="structfield small-section-header">
  90. <a href="#structfield.dqb_btime" class="anchor field"></a>
  91. <span id="dqb_btime.v" class='invisible'>
  92. <code>dqb_btime: <a class="type" href="../libc/type.uint32_t.html" title="type libc::uint32_t">uint32_t</a></code>
  93. </span></span><span id="structfield.dqb_itime" class="structfield small-section-header">
  94. <a href="#structfield.dqb_itime" class="anchor field"></a>
  95. <span id="dqb_itime.v" class='invisible'>
  96. <code>dqb_itime: <a class="type" href="../libc/type.uint32_t.html" title="type libc::uint32_t">uint32_t</a></code>
  97. </span></span><span id="structfield.dqb_id" class="structfield small-section-header">
  98. <a href="#structfield.dqb_id" class="anchor field"></a>
  99. <span id="dqb_id.v" class='invisible'>
  100. <code>dqb_id: <a class="type" href="../libc/type.uint32_t.html" title="type libc::uint32_t">uint32_t</a></code>
  101. </span></span><span id="structfield.dqb_spare" class="structfield small-section-header">
  102. <a href="#structfield.dqb_spare" class="anchor field"></a>
  103. <span id="dqb_spare.v" class='invisible'>
  104. <code>dqb_spare: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">[</a><a class="type" href="../libc/type.uint32_t.html" title="type libc::uint32_t">uint32_t</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">; 4]</a></code>
  105. </span></span>
  106. <h2 id='implementations' class='small-section-header'>
  107. Trait Implementations<a href='#implementations' class='anchor'></a>
  108. </h2>
  109. <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.dqblk.html" title="struct libc::dqblk">dqblk</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>
  110. <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.dqblk.html" title="struct libc::dqblk">dqblk</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>
  111. <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.dqblk.html" title="struct libc::dqblk">dqblk</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>
  112. <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>
  113. </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>
  114. <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>
  115. </div></div></section>
  116. <section id='search' class="content hidden"></section>
  117. <section class="footer"></section>
  118. <aside id="help" class="hidden">
  119. <div>
  120. <h1 class="hidden">Help</h1>
  121. <div class="shortcuts">
  122. <h2>Keyboard Shortcuts</h2>
  123. <dl>
  124. <dt><kbd>?</kbd></dt>
  125. <dd>Show this help dialog</dd>
  126. <dt><kbd>S</kbd></dt>
  127. <dd>Focus the search field</dd>
  128. <dt><kbd>↑</kbd></dt>
  129. <dd>Move up in search results</dd>
  130. <dt><kbd>↓</kbd></dt>
  131. <dd>Move down in search results</dd>
  132. <dt><kbd>↹</kbd></dt>
  133. <dd>Switch tab</dd>
  134. <dt><kbd>&#9166;</kbd></dt>
  135. <dd>Go to active search result</dd>
  136. <dt><kbd>+</kbd></dt>
  137. <dd>Expand all sections</dd>
  138. <dt><kbd>-</kbd></dt>
  139. <dd>Collapse all sections</dd>
  140. </dl>
  141. </div>
  142. <div class="infos">
  143. <h2>Search Tricks</h2>
  144. <p>
  145. Prefix searches with a type followed by a colon (e.g.
  146. <code>fn:</code>) to restrict the search to a given type.
  147. </p>
  148. <p>
  149. Accepted types are: <code>fn</code>, <code>mod</code>,
  150. <code>struct</code>, <code>enum</code>,
  151. <code>trait</code>, <code>type</code>, <code>macro</code>,
  152. and <code>const</code>.
  153. </p>
  154. <p>
  155. Search functions by type signature (e.g.
  156. <code>vec -> usize</code> or <code>* -> vec</code>)
  157. </p>
  158. </div>
  159. </div>
  160. </aside>
  161. <script>
  162. window.rootPath = "../";
  163. window.currentCrate = "libc";
  164. </script>
  165. <script src="../main.js"></script>
  166. <script defer src="../search-index.js"></script>
  167. </body>
  168. </html>