Skip to content

Commit de1d44f

Browse files
committed
Deploying to master from @ 02cc2ae234a41f614f1a8648e4c384834c26cb4e πŸš€
1 parent c01b7d8 commit de1d44f

File tree

306 files changed

+1371
-1336
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

306 files changed

+1371
-1336
lines changed

β€Ždoc/rustdoc.cssβ€Ž

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

β€Ždoc/search-index.jsβ€Ž

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

β€Ždoc/settings.htmlβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
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="Settings of Rustdoc"><meta name="keywords" content="rust, rustlang, rust-lang"><title>Rustdoc settings</title><link rel="preload" as="font" type="font/woff2" crossorigin href="./SourceSerif4-Regular.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="./FiraSans-Regular.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="./FiraSans-Medium.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="./SourceCodePro-Regular.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="./SourceSerif4-Bold.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="./SourceCodePro-Semibold.ttf.woff2"><link rel="stylesheet" href="./normalize.css"><link rel="stylesheet" href="./rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" href="./ayu.css" disabled><link rel="stylesheet" href="./dark.css" disabled><link rel="stylesheet" href="./light.css" id="themeStyle"><script id="default-settings" ></script><script src="./storage.js"></script><script defer src="./main.js"></script><noscript><link rel="stylesheet" href="./noscript.css"></noscript><link rel="alternate icon" type="image/png" href="./favicon-16x16.png"><link rel="alternate icon" type="image/png" href="./favicon-32x32.png"><link rel="icon" type="image/svg+xml" href="./favicon.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><a class="sidebar-logo" href="./wgpu/index.html"><div class="logo-container"><img src="https://raw.githubusercontent.com/gfx-rs/wgpu/master/logo.png" alt="logo"></div></a><h2 class="location"></h2></nav><nav class="sidebar"><a class="sidebar-logo" href="./wgpu/index.html"><div class="logo-container">
22
<img src="https://raw.githubusercontent.com/gfx-rs/wgpu/master/logo.png" alt="logo"></div></a><h2 class="location">Settings</h2><div class="sidebar-elems"></div></nav><main><div class="width-limiter"><div class="sub-container"><a class="sub-logo-container" href="./wgpu/index.html">
3-
<img src="https://raw.githubusercontent.com/gfx-rs/wgpu/master/logo.png" alt="logo"></a><nav class="sub"><form class="search-form"><div class="search-container"><span></span><input class="search-input" name="search" autocomplete="off" spellcheck="false" placeholder="Click or press β€˜S’ to search, β€˜?’ for more options…" type="search"><div id="help-button" title="help" tabindex="-1"><button type="button">?</button></div><div id="settings-menu" tabindex="-1"><a href="./settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="./wheel.svg"></a></div></div></form></nav></div><section id="main-content" class="content"><div class="main-heading"><h1 class="fqn">Rustdoc settings</h1><span class="out-of-band"><a id="back" href="javascript:void(0)" onclick="history.back();">Back</a></span></div><noscript><section>You need to enable Javascript be able to update your settings.</section></noscript><link rel="stylesheet" type="text/css" href="settings.css"><script defer src="settings.js"></script></section></div></main><div id="rustdoc-vars" data-root-path="./" data-current-crate="wgpu" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.66.0-nightly (0ca356586 2022-10-06)" ></div></body></html>
3+
<img src="https://raw.githubusercontent.com/gfx-rs/wgpu/master/logo.png" alt="logo"></a><nav class="sub"><form class="search-form"><div class="search-container"><span></span><input class="search-input" name="search" autocomplete="off" spellcheck="false" placeholder="Click or press β€˜S’ to search, β€˜?’ for more options…" type="search"><div id="help-button" title="help" tabindex="-1"><button type="button">?</button></div><div id="settings-menu" tabindex="-1"><a href="./settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="./wheel.svg"></a></div></div></form></nav></div><section id="main-content" class="content"><div class="main-heading"><h1 class="fqn">Rustdoc settings</h1><span class="out-of-band"><a id="back" href="javascript:void(0)" onclick="history.back();">Back</a></span></div><noscript><section>You need to enable Javascript be able to update your settings.</section></noscript><link rel="stylesheet" type="text/css" href="settings.css"><script defer src="settings.js"></script></section></div></main><div id="rustdoc-vars" data-root-path="./" data-current-crate="wgpu" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.66.0-nightly (8b0c05d9a 2022-10-07)" ></div></body></html>

β€Ždoc/src/wgpu/backend/direct.rs.htmlβ€Ž

Lines changed: 25 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2451,6 +2451,17 @@
24512451
<span id="2449">2449</span>
24522452
<span id="2450">2450</span>
24532453
<span id="2451">2451</span>
2454+
<span id="2452">2452</span>
2455+
<span id="2453">2453</span>
2456+
<span id="2454">2454</span>
2457+
<span id="2455">2455</span>
2458+
<span id="2456">2456</span>
2459+
<span id="2457">2457</span>
2460+
<span id="2458">2458</span>
2461+
<span id="2459">2459</span>
2462+
<span id="2460">2460</span>
2463+
<span id="2461">2461</span>
2464+
<span id="2462">2462</span>
24542465
</pre><pre class="rust"><code><span class="kw">use crate</span>::{
24552466
AdapterInfo, BindGroupDescriptor, BindGroupLayoutDescriptor, BindingResource, BufferBinding,
24562467
CommandEncoderDescriptor, ComputePassDescriptor, ComputePipelineDescriptor,
@@ -3547,7 +3558,16 @@
35473558
}
35483559
}
35493560

3550-
<span class="kw">fn </span>device_create_shader_module(
3561+
<span class="attribute">#[cfg_attr(
3562+
not(any(
3563+
feature = <span class="string">&quot;spirv&quot;</span>,
3564+
feature = <span class="string">&quot;glsl&quot;</span>,
3565+
feature = <span class="string">&quot;wgsl&quot;</span>,
3566+
feature = <span class="string">&quot;naga&quot;
3567+
</span>)),
3568+
allow(unreachable_code, unused_variables)
3569+
)]
3570+
</span><span class="kw">fn </span>device_create_shader_module(
35513571
<span class="kw-2">&amp;</span><span class="self">self</span>,
35523572
device: <span class="kw-2">&amp;</span><span class="self">Self</span>::DeviceId,
35533573
desc: ShaderModuleDescriptor,
@@ -3587,9 +3607,11 @@
35873607

35883608
wgc::pipeline::ShaderModuleSource::Naga(std::borrow::Cow::Owned(module))
35893609
}
3590-
ShaderSource::Wgsl(<span class="kw-2">ref </span>code) =&gt; wgc::pipeline::ShaderModuleSource::Wgsl(Borrowed(code)),
3610+
<span class="attribute">#[cfg(feature = <span class="string">&quot;wgsl&quot;</span>)]
3611+
</span>ShaderSource::Wgsl(<span class="kw-2">ref </span>code) =&gt; wgc::pipeline::ShaderModuleSource::Wgsl(Borrowed(code)),
35913612
<span class="attribute">#[cfg(feature = <span class="string">&quot;naga&quot;</span>)]
35923613
</span>ShaderSource::Naga(module) =&gt; wgc::pipeline::ShaderModuleSource::Naga(module),
3614+
ShaderSource::Dummy(<span class="kw">_</span>) =&gt; <span class="macro">panic!</span>(<span class="string">&quot;found `ShaderSource::Dummy`&quot;</span>),
35933615
};
35943616
<span class="kw">let </span>(id, error) = <span class="macro">wgc::gfx_select!</span>(
35953617
device.id =&gt; global.device_create_shader_module(device.id, <span class="kw-2">&amp;</span>descriptor, source, ())
@@ -4903,4 +4925,4 @@
49034925
</span>}
49044926
}
49054927
</code></pre></div>
4906-
</section></div></main><div id="rustdoc-vars" data-root-path="../../../" data-current-crate="wgpu" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.66.0-nightly (0ca356586 2022-10-06)" ></div></body></html>
4928+
</section></div></main><div id="rustdoc-vars" data-root-path="../../../" data-current-crate="wgpu" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.66.0-nightly (8b0c05d9a 2022-10-07)" ></div></body></html>

β€Ždoc/src/wgpu/backend/mod.rs.htmlβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,4 @@
1919
<span class="attribute">#[cfg(any(not(target_arch = <span class="string">&quot;wasm32&quot;</span>), feature = <span class="string">&quot;webgl&quot;</span>))]
2020
</span><span class="kw">pub</span>(<span class="kw">crate</span>) <span class="kw">use </span>direct::{BufferMappedRange, Context, QueueWriteBuffer};
2121
</code></pre></div>
22-
</section></div></main><div id="rustdoc-vars" data-root-path="../../../" data-current-crate="wgpu" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.66.0-nightly (0ca356586 2022-10-06)" ></div></body></html>
22+
</section></div></main><div id="rustdoc-vars" data-root-path="../../../" data-current-crate="wgpu" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.66.0-nightly (8b0c05d9a 2022-10-07)" ></div></body></html>

β€Ždoc/src/wgpu/lib.rs.htmlβ€Ž

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3791,6 +3791,12 @@
37913791
<span id="3789">3789</span>
37923792
<span id="3790">3790</span>
37933793
<span id="3791">3791</span>
3794+
<span id="3792">3792</span>
3795+
<span id="3793">3793</span>
3796+
<span id="3794">3794</span>
3797+
<span id="3795">3795</span>
3798+
<span id="3796">3796</span>
3799+
<span id="3797">3797</span>
37943800
</pre><pre class="rust"><code><span class="doccomment">//! A cross-platform graphics and compute library based on [WebGPU](https://gpuweb.github.io/gpuweb/).
37953801
//!
37963802
//! To start using the API, create an [`Instance`].
@@ -4651,11 +4657,17 @@
46514657
</span>defines: naga::FastHashMap&lt;String, String&gt;,
46524658
},
46534659
<span class="doccomment">/// WGSL module as a string slice.
4660+
</span><span class="attribute">#[cfg(feature = <span class="string">&quot;wgsl&quot;</span>)]
4661+
#[cfg_attr(docsrs, doc(cfg(feature = <span class="string">&quot;wgsl&quot;</span>)))]
46544662
</span>Wgsl(Cow&lt;<span class="lifetime">&#39;a</span>, str&gt;),
46554663
<span class="doccomment">/// Naga module.
46564664
</span><span class="attribute">#[cfg(feature = <span class="string">&quot;naga&quot;</span>)]
46574665
#[cfg_attr(docsrs, doc(cfg(feature = <span class="string">&quot;naga&quot;</span>)))]
46584666
</span>Naga(Cow&lt;<span class="lifetime">&#39;static</span>, naga::Module&gt;),
4667+
<span class="doccomment">/// Dummy variant because `Naga` doesn&#39;t have a lifetime and without enough active features it
4668+
/// could be the last one active.
4669+
</span><span class="attribute">#[doc(hidden)]
4670+
</span>Dummy(PhantomData&lt;<span class="kw-2">&amp;</span><span class="lifetime">&#39;a </span>()&gt;),
46594671
}
46604672
<span class="macro">static_assertions::assert_impl_all!</span>(ShaderSource: Send, Sync);
46614673

@@ -7583,4 +7595,4 @@
75837595
}
75847596
}
75857597
</code></pre></div>
7586-
</section></div></main><div id="rustdoc-vars" data-root-path="../../" data-current-crate="wgpu" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.66.0-nightly (0ca356586 2022-10-06)" ></div></body></html>
7598+
</section></div></main><div id="rustdoc-vars" data-root-path="../../" data-current-crate="wgpu" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.66.0-nightly (8b0c05d9a 2022-10-07)" ></div></body></html>

β€Ždoc/src/wgpu/macros.rs.htmlβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,4 +187,4 @@
187187
};
188188
}
189189
</code></pre></div>
190-
</section></div></main><div id="rustdoc-vars" data-root-path="../../" data-current-crate="wgpu" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.66.0-nightly (0ca356586 2022-10-06)" ></div></body></html>
190+
</section></div></main><div id="rustdoc-vars" data-root-path="../../" data-current-crate="wgpu" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.66.0-nightly (8b0c05d9a 2022-10-07)" ></div></body></html>

β€Ždoc/src/wgpu/util/belt.rs.htmlβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -367,4 +367,4 @@
367367
}
368368
}
369369
</code></pre></div>
370-
</section></div></main><div id="rustdoc-vars" data-root-path="../../../" data-current-crate="wgpu" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.66.0-nightly (0ca356586 2022-10-06)" ></div></body></html>
370+
</section></div></main><div id="rustdoc-vars" data-root-path="../../../" data-current-crate="wgpu" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.66.0-nightly (8b0c05d9a 2022-10-07)" ></div></body></html>

β€Ždoc/src/wgpu/util/device.rs.htmlβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -295,4 +295,4 @@
295295
}
296296
}
297297
</code></pre></div>
298-
</section></div></main><div id="rustdoc-vars" data-root-path="../../../" data-current-crate="wgpu" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.66.0-nightly (0ca356586 2022-10-06)" ></div></body></html>
298+
</section></div></main><div id="rustdoc-vars" data-root-path="../../../" data-current-crate="wgpu" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.66.0-nightly (8b0c05d9a 2022-10-07)" ></div></body></html>

β€Ždoc/src/wgpu/util/encoder.rs.htmlβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -405,4 +405,4 @@
405405
}
406406
}
407407
</code></pre></div>
408-
</section></div></main><div id="rustdoc-vars" data-root-path="../../../" data-current-crate="wgpu" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.66.0-nightly (0ca356586 2022-10-06)" ></div></body></html>
408+
</section></div></main><div id="rustdoc-vars" data-root-path="../../../" data-current-crate="wgpu" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.66.0-nightly (8b0c05d9a 2022-10-07)" ></div></body></html>

0 commit comments

Comments
Β (0)