Skip to content

Commit dadf955

Browse files
committed
Deploying to master from @ gfx-rs/wgpu@3693da2 🚀
1 parent 32b351c commit dadf955

File tree

8 files changed

+300
-130
lines changed

8 files changed

+300
-130
lines changed

doc/naga/enum.ArraySize.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
}</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Size of an array.</p>
66
</div></details><h2 id="variants" class="variants section-header">Variants<a href="#variants" class="anchor">§</a></h2><div class="variants"><section id="variant.Constant" class="variant"><a href="#variant.Constant" class="anchor">§</a><h3 class="code-header">Constant(<a class="struct" href="https://doc.rust-lang.org/nightly/core/num/nonzero/struct.NonZeroU32.html" title="struct core::num::nonzero::NonZeroU32">NonZeroU32</a>)</h3></section><div class="docblock"><p>The array size is constant.</p>
77
</div><section id="variant.Dynamic" class="variant"><a href="#variant.Dynamic" class="anchor">§</a><h3 class="code-header">Dynamic</h3></section><div class="docblock"><p>The array size can change at runtime.</p>
8-
</div></div><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-ArraySize" class="impl"><a class="src rightside" href="../src/naga/proc/index.rs.html#416-426">source</a><a href="#impl-ArraySize" class="anchor">§</a><h3 class="code-header">impl <a class="enum" href="enum.ArraySize.html" title="enum naga::ArraySize">ArraySize</a></h3></section></summary><div class="impl-items"><section id="method.to_indexable_length" class="method"><a class="src rightside" href="../src/naga/proc/index.rs.html#417-425">source</a><h4 class="code-header">pub const fn <a href="#method.to_indexable_length" class="fn">to_indexable_length</a>(
8+
</div></div><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-ArraySize" class="impl"><a class="src rightside" href="../src/naga/proc/index.rs.html#420-430">source</a><a href="#impl-ArraySize" class="anchor">§</a><h3 class="code-header">impl <a class="enum" href="enum.ArraySize.html" title="enum naga::ArraySize">ArraySize</a></h3></section></summary><div class="impl-items"><section id="method.to_indexable_length" class="method"><a class="src rightside" href="../src/naga/proc/index.rs.html#421-429">source</a><h4 class="code-header">pub const fn <a href="#method.to_indexable_length" class="fn">to_indexable_length</a>(
99
self,
1010
_module: &amp;<a class="struct" href="struct.Module.html" title="struct naga::Module">Module</a>
1111
) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="enum" href="proc/index/enum.IndexableLength.html" title="enum naga::proc::index::IndexableLength">IndexableLength</a>, <a class="enum" href="proc/index/enum.IndexableLengthError.html" title="enum naga::proc::index::IndexableLengthError">IndexableLengthError</a>&gt;</h4></section></div></details></div><h2 id="trait-implementations" class="section-header">Trait Implementations<a href="#trait-implementations" class="anchor">§</a></h2><div id="trait-implementations-list"><details class="toggle implementors-toggle" open><summary><section id="impl-Arbitrary%3C'arbitrary%3E-for-ArraySize" class="impl"><a class="src rightside" href="../src/naga/lib.rs.html#492">source</a><a href="#impl-Arbitrary%3C'arbitrary%3E-for-ArraySize" class="anchor">§</a><h3 class="code-header">impl&lt;'arbitrary&gt; Arbitrary&lt;'arbitrary&gt; for <a class="enum" href="enum.ArraySize.html" title="enum naga::ArraySize">ArraySize</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.arbitrary" class="method trait-impl"><a class="src rightside" href="../src/naga/lib.rs.html#492">source</a><a href="#method.arbitrary" class="anchor">§</a><h4 class="code-header">fn <a class="fn">arbitrary</a>(u: &amp;mut Unstructured&lt;'arbitrary&gt;) -&gt; Result&lt;Self&gt;</h4></section></summary><div class='docblock'>Generate an arbitrary value of <code>Self</code> from the given unstructured data. <a>Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.arbitrary_take_rest" class="method trait-impl"><a class="src rightside" href="../src/naga/lib.rs.html#492">source</a><a href="#method.arbitrary_take_rest" class="anchor">§</a><h4 class="code-header">fn <a class="fn">arbitrary_take_rest</a>(u: Unstructured&lt;'arbitrary&gt;) -&gt; Result&lt;Self&gt;</h4></section></summary><div class='docblock'>Generate an arbitrary value of <code>Self</code> from the entirety of the given

doc/naga/enum.TypeInner.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ <h5 id="dynamically-sized-arrays"><a href="#dynamically-sized-arrays">Dynamicall
128128
<p>Note: <code>TypeInner::Struct</code> doesn’t include the name of the
129129
struct type. Therefore this method will simply return “struct”
130130
for them.</p>
131-
</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-TypeInner-2" class="impl"><a class="src rightside" href="../src/naga/proc/index.rs.html#357-401">source</a><a href="#impl-TypeInner-2" 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.indexable_length" class="method"><a class="src rightside" href="../src/naga/proc/index.rs.html#369-400">source</a><h4 class="code-header">pub fn <a href="#method.indexable_length" class="fn">indexable_length</a>(
131+
</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-TypeInner-2" class="impl"><a class="src rightside" href="../src/naga/proc/index.rs.html#361-405">source</a><a href="#impl-TypeInner-2" 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.indexable_length" class="method"><a class="src rightside" href="../src/naga/proc/index.rs.html#373-404">source</a><h4 class="code-header">pub fn <a href="#method.indexable_length" class="fn">indexable_length</a>(
132132
&amp;self,
133133
module: &amp;<a class="struct" href="struct.Module.html" title="struct naga::Module">Module</a>
134134
) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="enum" href="proc/index/enum.IndexableLength.html" title="enum naga::proc::index::IndexableLength">IndexableLength</a>, <a class="enum" href="proc/index/enum.IndexableLengthError.html" title="enum naga::proc::index::IndexableLengthError">IndexableLengthError</a>&gt;</h4></section></summary><div class="docblock"><p>Return the length of a subscriptable type.</p>

doc/naga/proc/index/enum.IndexableLength.html

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

doc/naga/proc/index/enum.IndexableLengthError.html

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

doc/naga/proc/index/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
<!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="Definitions for index bounds checking."><title>naga::proc::index - Rust</title><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/SourceSerif4-Regular-46f98efaafac5295.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/FiraSans-Regular-018c141bf0843ffd.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/FiraSans-Medium-8f9a781e4970d388.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2"><link rel="stylesheet" href="../../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../../static.files/rustdoc-804b98a1284a310a.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.76.0-nightly (445177724 2023-12-16)" data-channel="nightly" data-search-js="search-874d56868bf05518.js" data-settings-js="settings-4313503d2e1961c2.js" ><script src="../../../static.files/storage-f2adc0d6ca4d09fb.js"></script><script defer src="../sidebar-items.js"></script><script defer src="../../../static.files/main-305769736d49e732.js"></script><noscript><link rel="stylesheet" href="../../../static.files/noscript-feafe1bb7466e4bd.css"></noscript><link rel="alternate icon" type="image/png" href="../../../static.files/favicon-16x16-8b506e7a72182f1c.png"><link rel="alternate icon" type="image/png" href="../../../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../../../static.files/favicon-2c020d218678b618.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">&#9776;</button></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../../naga/index.html">naga</a><span class="version">22.0.0</span></h2></div><h2 class="location"><a href="#">Module index</a></h2><div class="sidebar-elems"><section><ul class="block"><li><a href="#structs">Structs</a></li><li><a href="#enums">Enums</a></li><li><a href="#functions">Functions</a></li></ul></section><h2><a href="../index.html">In naga::proc</a></h2></div></nav><div class="sidebar-resizer"></div>
2-
<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>Module <a href="../../index.html">naga</a>::<wbr><a href="../index.html">proc</a>::<wbr><a class="mod" href="#">index</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/proc/index.rs.html#1-426">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>&#x2212;</span>]</button></span></div><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Definitions for index bounds checking.</p>
2+
<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>Module <a href="../../index.html">naga</a>::<wbr><a href="../index.html">proc</a>::<wbr><a class="mod" href="#">index</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/proc/index.rs.html#1-430">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>&#x2212;</span>]</button></span></div><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Definitions for index bounds checking.</p>
33
</div></details><h2 id="structs" class="section-header"><a href="#structs">Structs</a></h2><ul class="item-table"><li><div class="item-name"><a class="struct" href="struct.BoundsCheckPolicies.html" title="struct naga::proc::index::BoundsCheckPolicies">BoundsCheckPolicies</a></div><div class="desc docblock-short">Policies for injecting bounds checks during code generation.</div></li></ul><h2 id="enums" class="section-header"><a href="#enums">Enums</a></h2><ul class="item-table"><li><div class="item-name"><a class="enum" href="enum.BoundsCheckPolicy.html" title="enum naga::proc::index::BoundsCheckPolicy">BoundsCheckPolicy</a></div><div class="desc docblock-short">How should code generated by Naga do bounds checks?</div></li><li><div class="item-name"><a class="enum" href="enum.GuardedIndex.html" title="enum naga::proc::index::GuardedIndex">GuardedIndex</a></div><div class="desc docblock-short">An index that may be statically known, or may need to be computed at runtime.</div></li><li><div class="item-name"><a class="enum" href="enum.IndexableLength.html" title="enum naga::proc::index::IndexableLength">IndexableLength</a></div><div class="desc docblock-short">The number of elements in an indexable type.</div></li><li><div class="item-name"><a class="enum" href="enum.IndexableLengthError.html" title="enum naga::proc::index::IndexableLengthError">IndexableLengthError</a></div></li></ul><h2 id="functions" class="section-header"><a href="#functions">Functions</a></h2><ul class="item-table"><li><div class="item-name"><a class="fn" href="fn.access_needs_check.html" title="fn naga::proc::index::access_needs_check">access_needs_check</a></div><div class="desc docblock-short">Determine whether <code>index</code> is statically known to be in bounds for <code>base</code>.</div></li><li><div class="item-name"><a class="fn" href="fn.find_checked_indexes.html" title="fn naga::proc::index::find_checked_indexes">find_checked_indexes</a></div><div class="desc docblock-short">Build a set of expressions used as indices, to cache in temporary variables when
44
emitted.</div></li></ul></section></div></main></body></html>

0 commit comments

Comments
 (0)