Skip to content

Commit a0a70a5

Browse files
committed
Deploying to master from @ gfx-rs/wgpu@3196a9d 🚀
1 parent cfd251b commit a0a70a5

File tree

3 files changed

+4
-6
lines changed

3 files changed

+4
-6
lines changed

doc/naga/valid/struct.Validator.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -166,10 +166,10 @@ <h5 id="errors"><a class="doc-anchor" href="#errors">§</a>Errors</h5>
166166
ep: &amp;<a class="struct" href="../struct.EntryPoint.html" title="struct naga::EntryPoint">EntryPoint</a>,
167167
module: &amp;<a class="struct" href="../struct.Module.html" title="struct naga::Module">Module</a>,
168168
mod_info: &amp;<a class="struct" href="struct.ModuleInfo.html" title="struct naga::valid::ModuleInfo">ModuleInfo</a>,
169-
) -&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="struct" href="struct.FunctionInfo.html" title="struct naga::valid::FunctionInfo">FunctionInfo</a>, <a class="struct" href="../struct.WithSpan.html" title="struct naga::WithSpan">WithSpan</a>&lt;<a class="enum" href="enum.EntryPointError.html" title="enum naga::valid::EntryPointError">EntryPointError</a>&gt;&gt;</h4></section></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Validator-4" class="impl"><a class="src rightside" href="../../src/naga/valid/type.rs.html#244-760">Source</a><a href="#impl-Validator-4" class="anchor">§</a><h3 class="code-header">impl <a class="struct" href="struct.Validator.html" title="struct naga::valid::Validator">Validator</a></h3></section></summary><div class="impl-items"><section id="method.require_type_capability" class="method"><a class="src rightside" href="../../src/naga/valid/type.rs.html#245-251">Source</a><h4 class="code-header">const fn <a href="#method.require_type_capability" class="fn">require_type_capability</a>(
169+
) -&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="struct" href="struct.FunctionInfo.html" title="struct naga::valid::FunctionInfo">FunctionInfo</a>, <a class="struct" href="../struct.WithSpan.html" title="struct naga::WithSpan">WithSpan</a>&lt;<a class="enum" href="enum.EntryPointError.html" title="enum naga::valid::EntryPointError">EntryPointError</a>&gt;&gt;</h4></section></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Validator-4" class="impl"><a class="src rightside" href="../../src/naga/valid/type.rs.html#244-759">Source</a><a href="#impl-Validator-4" class="anchor">§</a><h3 class="code-header">impl <a class="struct" href="struct.Validator.html" title="struct naga::valid::Validator">Validator</a></h3></section></summary><div class="impl-items"><section id="method.require_type_capability" class="method"><a class="src rightside" href="../../src/naga/valid/type.rs.html#245-251">Source</a><h4 class="code-header">const fn <a href="#method.require_type_capability" class="fn">require_type_capability</a>(
170170
&amp;self,
171171
capability: <a class="struct" href="struct.Capabilities.html" title="struct naga::valid::Capabilities">Capabilities</a>,
172-
) -&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="enum.TypeError.html" title="enum naga::valid::TypeError">TypeError</a>&gt;</h4></section><section id="method.check_width" class="method"><a class="src rightside" href="../../src/naga/valid/type.rs.html#253-304">Source</a><h4 class="code-header">pub(super) const fn <a href="#method.check_width" class="fn">check_width</a>(&amp;self, scalar: <a class="struct" href="../struct.Scalar.html" title="struct naga::Scalar">Scalar</a>) -&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="enum.WidthError.html" title="enum naga::valid::WidthError">WidthError</a>&gt;</h4></section><section id="method.reset_types" class="method"><a class="src rightside" href="../../src/naga/valid/type.rs.html#306-310">Source</a><h4 class="code-header">pub(super) fn <a href="#method.reset_types" class="fn">reset_types</a>(&amp;mut self, size: <a class="primitive" href="https://doc.rust-lang.org/1.85.0/std/primitive.usize.html">usize</a>)</h4></section><section id="method.validate_type" class="method"><a class="src rightside" href="../../src/naga/valid/type.rs.html#312-759">Source</a><h4 class="code-header">pub(super) fn <a href="#method.validate_type" class="fn">validate_type</a>(
172+
) -&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="enum.TypeError.html" title="enum naga::valid::TypeError">TypeError</a>&gt;</h4></section><section id="method.check_width" class="method"><a class="src rightside" href="../../src/naga/valid/type.rs.html#253-304">Source</a><h4 class="code-header">pub(super) const fn <a href="#method.check_width" class="fn">check_width</a>(&amp;self, scalar: <a class="struct" href="../struct.Scalar.html" title="struct naga::Scalar">Scalar</a>) -&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="enum.WidthError.html" title="enum naga::valid::WidthError">WidthError</a>&gt;</h4></section><section id="method.reset_types" class="method"><a class="src rightside" href="../../src/naga/valid/type.rs.html#306-310">Source</a><h4 class="code-header">pub(super) fn <a href="#method.reset_types" class="fn">reset_types</a>(&amp;mut self, size: <a class="primitive" href="https://doc.rust-lang.org/1.85.0/std/primitive.usize.html">usize</a>)</h4></section><section id="method.validate_type" class="method"><a class="src rightside" href="../../src/naga/valid/type.rs.html#312-758">Source</a><h4 class="code-header">pub(super) fn <a href="#method.validate_type" class="fn">validate_type</a>(
173173
&amp;self,
174174
handle: <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;,
175175
gctx: <a class="struct" href="../proc/struct.GlobalCtx.html" title="struct naga::proc::GlobalCtx">GlobalCtx</a>&lt;'_&gt;,

doc/naga/valid/type/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
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="API documentation for the Rust `type` mod in crate `naga`."><title>naga::valid::type - 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"><section id="rustdoc-toc"><h2 class="location"><a href="#">Module type</a></h2><h3><a href="#structs">Module Items</a></h3><ul class="block"><li><a href="#structs" title="Structs">Structs</a></li><li><a href="#enums" title="Enums">Enums</a></li><li><a href="#functions" title="Functions">Functions</a></li><li><a href="#types" title="Type Aliases">Type Aliases</a></li></ul></section><div id="rustdoc-modnav"><h2><a href="../index.html">In naga::<wbr>valid</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">valid</a></span><h1>Module <span>type</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/valid/type.rs.html#1-760">Source</a> </span></div><h2 id="structs" class="section-header">Structs<a href="#structs" class="anchor">§</a></h2><ul class="item-table"><li><div class="item-name"><a class="struct" href="struct.TypeFlags.html" title="struct naga::valid::type::TypeFlags">Type<wbr>Flags</a></div><div class="desc docblock-short">Flags associated with <a href="../../struct.Type.html" title="struct naga::Type"><code>Type</code></a>s by <a href="../struct.Validator.html" title="struct naga::valid::Validator"><code>Validator</code></a>.</div></li><li><div class="item-name"><a class="struct" href="struct.TypeInfo.html" title="struct naga::valid::type::TypeInfo">Type<wbr>Info</a><span title="Restricted Visibility">&nbsp;🔒</span> </div></li></ul><h2 id="enums" class="section-header">Enums<a href="#enums" class="anchor">§</a></h2><ul class="item-table"><li><div class="item-name"><a class="enum" href="enum.Disalignment.html" title="enum naga::valid::type::Disalignment">Disalignment</a></div></li><li><div class="item-name"><a class="enum" href="enum.TypeError.html" title="enum naga::valid::type::TypeError">Type<wbr>Error</a></div></li><li><div class="item-name"><a class="enum" href="enum.WidthError.html" title="enum naga::valid::type::WidthError">Width<wbr>Error</a></div></li></ul><h2 id="functions" class="section-header">Functions<a href="#functions" class="anchor">§</a></h2><ul class="item-table"><li><div class="item-name"><a class="fn" href="fn.check_member_layout.html" title="fn naga::valid::type::check_member_layout">check_<wbr>member_<wbr>layout</a><span title="Restricted Visibility">&nbsp;🔒</span> </div></li><li><div class="item-name"><a class="fn" href="fn.ptr_space_argument_flag.html" title="fn naga::valid::type::ptr_space_argument_flag">ptr_<wbr>space_<wbr>argument_<wbr>flag</a><span title="Restricted Visibility">&nbsp;🔒</span> </div><div class="desc docblock-short">Determine whether a pointer in <code>space</code> can be passed as an argument.</div></li></ul><h2 id="types" class="section-header">Type Aliases<a href="#types" class="anchor">§</a></h2><ul class="item-table"><li><div class="item-name"><a class="type" href="type.LayoutCompatibility.html" title="type naga::valid::type::LayoutCompatibility">Layout<wbr>Compatibility</a><span title="Restricted Visibility">&nbsp;🔒</span> </div></li></ul></section></div></main></body></html>
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="API documentation for the Rust `type` mod in crate `naga`."><title>naga::valid::type - 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"><section id="rustdoc-toc"><h2 class="location"><a href="#">Module type</a></h2><h3><a href="#structs">Module Items</a></h3><ul class="block"><li><a href="#structs" title="Structs">Structs</a></li><li><a href="#enums" title="Enums">Enums</a></li><li><a href="#functions" title="Functions">Functions</a></li><li><a href="#types" title="Type Aliases">Type Aliases</a></li></ul></section><div id="rustdoc-modnav"><h2><a href="../index.html">In naga::<wbr>valid</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">valid</a></span><h1>Module <span>type</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/valid/type.rs.html#1-759">Source</a> </span></div><h2 id="structs" class="section-header">Structs<a href="#structs" class="anchor">§</a></h2><ul class="item-table"><li><div class="item-name"><a class="struct" href="struct.TypeFlags.html" title="struct naga::valid::type::TypeFlags">Type<wbr>Flags</a></div><div class="desc docblock-short">Flags associated with <a href="../../struct.Type.html" title="struct naga::Type"><code>Type</code></a>s by <a href="../struct.Validator.html" title="struct naga::valid::Validator"><code>Validator</code></a>.</div></li><li><div class="item-name"><a class="struct" href="struct.TypeInfo.html" title="struct naga::valid::type::TypeInfo">Type<wbr>Info</a><span title="Restricted Visibility">&nbsp;🔒</span> </div></li></ul><h2 id="enums" class="section-header">Enums<a href="#enums" class="anchor">§</a></h2><ul class="item-table"><li><div class="item-name"><a class="enum" href="enum.Disalignment.html" title="enum naga::valid::type::Disalignment">Disalignment</a></div></li><li><div class="item-name"><a class="enum" href="enum.TypeError.html" title="enum naga::valid::type::TypeError">Type<wbr>Error</a></div></li><li><div class="item-name"><a class="enum" href="enum.WidthError.html" title="enum naga::valid::type::WidthError">Width<wbr>Error</a></div></li></ul><h2 id="functions" class="section-header">Functions<a href="#functions" class="anchor">§</a></h2><ul class="item-table"><li><div class="item-name"><a class="fn" href="fn.check_member_layout.html" title="fn naga::valid::type::check_member_layout">check_<wbr>member_<wbr>layout</a><span title="Restricted Visibility">&nbsp;🔒</span> </div></li><li><div class="item-name"><a class="fn" href="fn.ptr_space_argument_flag.html" title="fn naga::valid::type::ptr_space_argument_flag">ptr_<wbr>space_<wbr>argument_<wbr>flag</a><span title="Restricted Visibility">&nbsp;🔒</span> </div><div class="desc docblock-short">Determine whether a pointer in <code>space</code> can be passed as an argument.</div></li></ul><h2 id="types" class="section-header">Type Aliases<a href="#types" class="anchor">§</a></h2><ul class="item-table"><li><div class="item-name"><a class="type" href="type.LayoutCompatibility.html" title="type naga::valid::type::LayoutCompatibility">Layout<wbr>Compatibility</a><span title="Restricted Visibility">&nbsp;🔒</span> </div></li></ul></section></div></main></body></html>

doc/src/naga/valid/type.rs.html

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -757,8 +757,7 @@
757757
<a href="#756" id="756">756</a>
758758
<a href="#757" id="757">757</a>
759759
<a href="#758" id="758">758</a>
760-
<a href="#759" id="759">759</a>
761-
<a href="#760" id="760">760</a></pre></div><pre class="rust"><code><span class="kw">use </span>alloc::string::String;
760+
<a href="#759" id="759">759</a></pre></div><pre class="rust"><code><span class="kw">use </span>alloc::string::String;
762761

763762
<span class="kw">use </span><span class="kw">super</span>::Capabilities;
764763
<span class="kw">use crate</span>::{arena::Handle, proc::Alignment};
@@ -1295,7 +1294,6 @@
12951294
| TypeFlags::COPY
12961295
| TypeFlags::HOST_SHAREABLE
12971296
| TypeFlags::ARGUMENT
1298-
| TypeFlags::CONSTRUCTIBLE
12991297
}
13001298
<span class="kw">crate</span>::ArraySize::Dynamic =&gt; {
13011299
<span class="comment">// Non-SIZED types may only appear as the last element of a structure.

0 commit comments

Comments
 (0)