Skip to content

Commit dce5fda

Browse files
committed
Deploying to master from @ gfx-rs/wgpu@6dafe9c 🚀
1 parent 69be3d7 commit dce5fda

File tree

10 files changed

+16
-110
lines changed

10 files changed

+16
-110
lines changed

doc/naga/arena/handle/struct.Handle.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
formatter: &amp;mut <a class="struct" href="https://doc.rust-lang.org/1.85.0/core/fmt/struct.Formatter.html" title="struct core::fmt::Formatter">Formatter</a>&lt;'_&gt;,
1212
prefix: &amp;'static <a class="primitive" href="https://doc.rust-lang.org/1.85.0/std/primitive.str.html">str</a>,
1313
) -&gt; <a class="type" href="https://doc.rust-lang.org/1.85.0/core/fmt/type.Result.html" title="type core::fmt::Result">Result</a></h4></section></summary><div class="docblock"><p>Write this handle’s index to <code>formatter</code>, preceded by <code>prefix</code>.</p>
14-
</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Handle%3CType%3E" class="impl"><a class="src rightside" href="../../../src/naga/front/wgsl/to_wgsl.rs.html#20-31">Source</a><a href="#impl-Handle%3CType%3E" class="anchor">§</a><h3 class="code-header">impl <a class="struct" href="../../struct.Handle.html" title="struct naga::Handle">Handle</a>&lt;<a class="struct" href="../../struct.Type.html" title="struct naga::Type">Type</a>&gt;</h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.to_wgsl" class="method"><a class="src rightside" href="../../../src/naga/front/wgsl/to_wgsl.rs.html#24-30">Source</a><h4 class="code-header">pub fn <a href="#method.to_wgsl" class="fn">to_wgsl</a>(self, gctx: &amp;<a class="struct" href="../../proc/struct.GlobalCtx.html" title="struct naga::proc::GlobalCtx">GlobalCtx</a>&lt;'_&gt;) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.85.0/alloc/string/struct.String.html" title="struct alloc::string::String">String</a></h4></section></summary><div class="docblock"><p>Formats the type as it is written in wgsl.</p>
14+
</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Handle%3CType%3E" class="impl"><a class="src rightside" href="../../../src/naga/front/wgsl/to_wgsl.rs.html#22-33">Source</a><a href="#impl-Handle%3CType%3E" class="anchor">§</a><h3 class="code-header">impl <a class="struct" href="../../struct.Handle.html" title="struct naga::Handle">Handle</a>&lt;<a class="struct" href="../../struct.Type.html" title="struct naga::Type">Type</a>&gt;</h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.to_wgsl" class="method"><a class="src rightside" href="../../../src/naga/front/wgsl/to_wgsl.rs.html#26-32">Source</a><h4 class="code-header">pub fn <a href="#method.to_wgsl" class="fn">to_wgsl</a>(self, gctx: &amp;<a class="struct" href="../../proc/struct.GlobalCtx.html" title="struct naga::proc::GlobalCtx">GlobalCtx</a>&lt;'_&gt;) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.85.0/alloc/string/struct.String.html" title="struct alloc::string::String">String</a></h4></section></summary><div class="docblock"><p>Formats the type as it is written in wgsl.</p>
1515
<p>For example <code>vec3&lt;f32&gt;</code>.</p>
1616
</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Handle%3CT%3E-1" class="impl"><a class="src rightside" href="../../../src/naga/valid/handles.rs.html#807-868">Source</a><a href="#impl-Handle%3CT%3E-1" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="struct" href="../../struct.Handle.html" title="struct naga::Handle">Handle</a>&lt;T&gt;</h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.check_valid_for" class="method"><a class="src rightside" href="../../../src/naga/valid/handles.rs.html#809-812">Source</a><h4 class="code-header">fn <a href="#method.check_valid_for" class="fn">check_valid_for</a>(self, arena: &amp;<a class="struct" href="../../struct.Arena.html" title="struct naga::Arena">Arena</a>&lt;T&gt;) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.85.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.85.0/std/primitive.unit.html">()</a>, <a class="enum" href="../../valid/handles/enum.InvalidHandleError.html" title="enum naga::valid::handles::InvalidHandleError">InvalidHandleError</a>&gt;</h4></section></summary><div class="docblock"><p>Check that <code>self</code> is valid within <code>arena</code> using <a href="../../struct.Arena.html#method.check_contains_handle" title="method naga::Arena::check_contains_handle"><code>Arena::check_contains_handle</code></a>.</p>
1717
</div></details><details class="toggle method-toggle" open><summary><section id="method.check_valid_for_uniq" class="method"><a class="src rightside" href="../../../src/naga/valid/handles.rs.html#815-824">Source</a><h4 class="code-header">fn <a href="#method.check_valid_for_uniq" class="fn">check_valid_for_uniq</a>(

doc/naga/enum.StorageFormat.html

Lines changed: 3 additions & 3 deletions
Large diffs are not rendered by default.

doc/naga/enum.TypeInner.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ <h5 id="dynamically-sized-arrays"><a class="doc-anchor" href="#dynamically-sized
153153
types: &amp;<a class="struct" href="struct.UniqueArena.html" title="struct naga::UniqueArena">UniqueArena</a>&lt;<a class="struct" href="struct.Type.html" title="struct naga::Type">Type</a>&gt;,
154154
) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.85.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="struct" href="struct.Scalar.html" title="struct naga::Scalar">Scalar</a>&gt;</h4></section></summary><div class="docblock"><p>Return the leaf scalar type of <code>pointer</code>.</p>
155155
<p><code>pointer</code> must be a <code>TypeInner</code> representing a pointer type.</p>
156-
</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-TypeInner-4" class="impl"><a class="src rightside" href="../src/naga/front/wgsl/to_wgsl.rs.html#33-144">Source</a><a href="#impl-TypeInner-4" class="anchor">§</a><h3 class="code-header">impl <a class="enum" href="enum.TypeInner.html" title="enum naga::TypeInner">TypeInner</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.to_wgsl" class="method"><a class="src rightside" href="../src/naga/front/wgsl/to_wgsl.rs.html#41-143">Source</a><h4 class="code-header">pub fn <a href="#method.to_wgsl" class="fn">to_wgsl</a>(&amp;self, gctx: &amp;<a class="struct" href="proc/struct.GlobalCtx.html" title="struct naga::proc::GlobalCtx">GlobalCtx</a>&lt;'_&gt;) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.85.0/alloc/string/struct.String.html" title="struct alloc::string::String">String</a></h4></section></summary><div class="docblock"><p>Formats the type as it is written in wgsl.</p>
156+
</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-TypeInner-4" class="impl"><a class="src rightside" href="../src/naga/front/wgsl/to_wgsl.rs.html#35-146">Source</a><a href="#impl-TypeInner-4" class="anchor">§</a><h3 class="code-header">impl <a class="enum" href="enum.TypeInner.html" title="enum naga::TypeInner">TypeInner</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.to_wgsl" class="method"><a class="src rightside" href="../src/naga/front/wgsl/to_wgsl.rs.html#43-145">Source</a><h4 class="code-header">pub fn <a href="#method.to_wgsl" class="fn">to_wgsl</a>(&amp;self, gctx: &amp;<a class="struct" href="proc/struct.GlobalCtx.html" title="struct naga::proc::GlobalCtx">GlobalCtx</a>&lt;'_&gt;) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.85.0/alloc/string/struct.String.html" title="struct alloc::string::String">String</a></h4></section></summary><div class="docblock"><p>Formats the type as it is written in wgsl.</p>
157157
<p>For example <code>vec3&lt;f32&gt;</code>.</p>
158158
<p>Note: <code>TypeInner::Struct</code> doesn’t include the name of the
159159
struct type. Therefore this method will simply return “struct”
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="Producing the WGSL forms of types, for use in error messages."><title>naga::front::wgsl::to_wgsl - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-6b053e98.ttf.woff2,FiraSans-Regular-0fe48ade.woff2,FiraSans-Medium-e1aa3f0a.woff2,SourceCodePro-Regular-8badfe75.ttf.woff2,SourceCodePro-Semibold-aa29a496.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2" crossorigin href="../../../../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../../../../static.files/normalize-9960930a.css"><link rel="stylesheet" href="../../../../static.files/rustdoc-46132b98.css"><meta name="rustdoc-vars" data-root-path="../../../../" data-static-root-path="../../../../static.files/" data-current-crate="naga" data-themes="" data-resource-suffix="" data-rustdoc-version="1.85.0 (4d91de4e4 2025-02-17)" data-channel="1.85.0" data-search-js="search-75f5ac3e.js" data-settings-js="settings-0f613d39.js" ><script src="../../../../static.files/storage-59e33391.js"></script><script defer src="../sidebar-items.js"></script><script defer src="../../../../static.files/main-5f194d8c.js"></script><noscript><link rel="stylesheet" href="../../../../static.files/noscript-893ab5e7.css"></noscript><link rel="alternate icon" type="image/png" href="../../../../static.files/favicon-32x32-6580c154.png"><link rel="icon" type="image/svg+xml" href="../../../../static.files/favicon-044be391.svg"></head><body class="rustdoc mod"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle" title="show sidebar"></button></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../../../naga/index.html">naga</a><span class="version">24.0.0</span></h2></div><div class="sidebar-elems"><div id="rustdoc-modnav"><h2><a href="../index.html">In naga::<wbr>front::<wbr>wgsl</a></h2></div></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><span class="rustdoc-breadcrumbs"><a href="../../../index.html">naga</a>::<wbr><a href="../../index.html">front</a>::<wbr><a href="../index.html">wgsl</a></span><h1>Module <span>to_wgsl</span><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span class="sub-heading"><a class="src" href="../../../../src/naga/front/wgsl/to_wgsl.rs.html#1-301">Source</a> </span></div><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Producing the WGSL forms of types, for use in error messages.</p>
1+
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="Producing the WGSL forms of types, for use in error messages."><title>naga::front::wgsl::to_wgsl - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-6b053e98.ttf.woff2,FiraSans-Regular-0fe48ade.woff2,FiraSans-Medium-e1aa3f0a.woff2,SourceCodePro-Regular-8badfe75.ttf.woff2,SourceCodePro-Semibold-aa29a496.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2" crossorigin href="../../../../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../../../../static.files/normalize-9960930a.css"><link rel="stylesheet" href="../../../../static.files/rustdoc-46132b98.css"><meta name="rustdoc-vars" data-root-path="../../../../" data-static-root-path="../../../../static.files/" data-current-crate="naga" data-themes="" data-resource-suffix="" data-rustdoc-version="1.85.0 (4d91de4e4 2025-02-17)" data-channel="1.85.0" data-search-js="search-75f5ac3e.js" data-settings-js="settings-0f613d39.js" ><script src="../../../../static.files/storage-59e33391.js"></script><script defer src="../sidebar-items.js"></script><script defer src="../../../../static.files/main-5f194d8c.js"></script><noscript><link rel="stylesheet" href="../../../../static.files/noscript-893ab5e7.css"></noscript><link rel="alternate icon" type="image/png" href="../../../../static.files/favicon-32x32-6580c154.png"><link rel="icon" type="image/svg+xml" href="../../../../static.files/favicon-044be391.svg"></head><body class="rustdoc mod"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle" title="show sidebar"></button></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../../../naga/index.html">naga</a><span class="version">24.0.0</span></h2></div><div class="sidebar-elems"><div id="rustdoc-modnav"><h2><a href="../index.html">In naga::<wbr>front::<wbr>wgsl</a></h2></div></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><span class="rustdoc-breadcrumbs"><a href="../../../index.html">naga</a>::<wbr><a href="../../index.html">front</a>::<wbr><a href="../index.html">wgsl</a></span><h1>Module <span>to_wgsl</span><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span class="sub-heading"><a class="src" href="../../../../src/naga/front/wgsl/to_wgsl.rs.html#1-254">Source</a> </span></div><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Producing the WGSL forms of types, for use in error messages.</p>
22
</div></details></section></div></main></body></html>

0 commit comments

Comments
 (0)