- <main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><div id="sidebar-button" tabindex="-1"><a href="../../../naga/all.html" title="show sidebar"></a></div><input class="search-input" name="search" aria-label="Run search in the documentation" autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"><div id="help-button" tabindex="-1"><a href="../../../help.html" title="help">?</a></div><div id="settings-menu" tabindex="-1"><a href="../../../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../../../static.files/wheel-7b819b6101059cd0.svg"></a></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1>Struct <a href="../../index.html">naga</a>::<wbr><a href="../index.html">back</a>::<wbr><a href="index.html">hlsl</a>::<wbr><a class="struct" href="#">Writer</a><button id="copy-path" title="Copy item path to clipboard"><img src="../../../static.files/clipboard-7571035ce49a181d.svg" width="19" height="18" alt="Copy item path"></button></h1><span class="out-of-band"><a class="src" href="../../../src/naga/back/hlsl/mod.rs.html#323-355">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>−</span>]</button></span></div><pre class="rust item-decl"><code>pub struct Writer<'a, W> { <span class="comment">/* private fields */</span> }</code></pre><h2 id="implementations" class="section-header">Implementations<a href="#implementations" class="anchor">§</a></h2><div id="implementations-list"><details class="toggle implementors-toggle" open><summary><section id="impl-Writer%3C'a,+W%3E" class="impl"><a class="src rightside" href="../../../src/naga/back/hlsl/writer.rs.html#97-3668">source</a><a href="#impl-Writer%3C'a,+W%3E" class="anchor">§</a><h3 class="code-header">impl<'a, W: <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.Write.html" title="trait core::fmt::Write">Write</a>> <a class="struct" href="struct.Writer.html" title="struct naga::back::hlsl::Writer">Writer</a><'a, W></h3></section></summary><div class="impl-items"><section id="method.new" class="method"><a class="src rightside" href="../../../src/naga/back/hlsl/writer.rs.html#98-111">source</a><h4 class="code-header">pub fn <a href="#method.new" class="fn">new</a>(out: W, options: &'a <a class="struct" href="struct.Options.html" title="struct naga::back::hlsl::Options">Options</a>) -> Self</h4></section><section id="method.write" class="method"><a class="src rightside" href="../../../src/naga/back/hlsl/writer.rs.html#202-416">source</a><h4 class="code-header">pub fn <a href="#method.write" class="fn">write</a>(
0 commit comments