Files
phy/wgpu_hal/empty/struct.Context.html
Orion Kindel 0ce894e6b0 doc
2025-03-18 10:30:23 -05:00

242 lines
130 KiB
HTML
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!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 `Context` struct in crate `wgpu_hal`."><title>Context in wgpu_hal::empty - 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-42caa33d.css"><meta name="rustdoc-vars" data-root-path="../../" data-static-root-path="../../static.files/" data-current-crate="wgpu_hal" data-themes="" data-resource-suffix="" data-rustdoc-version="1.84.0 (9fc6b4312 2025-01-07)" data-channel="1.84.0" data-search-js="search-92e6798f.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 struct"><!--[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="../../wgpu_hal/index.html">wgpu_<wbr>hal</a><span class="version">23.0.1</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Context</a></h2><h3><a href="#trait-implementations">Trait Implementations</a></h3><ul class="block trait-implementation"><li><a href="#impl-Adapter-for-Context" title="Adapter">Adapter</a></li><li><a href="#impl-Device-for-Context" title="Device">Device</a></li><li><a href="#impl-DynResource-for-Context" title="DynResource">DynResource</a></li><li><a href="#impl-Instance-for-Context" title="Instance">Instance</a></li><li><a href="#impl-Queue-for-Context" title="Queue">Queue</a></li><li><a href="#impl-Surface-for-Context" title="Surface">Surface</a></li></ul><h3><a href="#synthetic-implementations">Auto Trait Implementations</a></h3><ul class="block synthetic-implementation"><li><a href="#impl-Freeze-for-Context" title="Freeze">Freeze</a></li><li><a href="#impl-RefUnwindSafe-for-Context" title="RefUnwindSafe">RefUnwindSafe</a></li><li><a href="#impl-Send-for-Context" title="Send">Send</a></li><li><a href="#impl-Sync-for-Context" title="Sync">Sync</a></li><li><a href="#impl-Unpin-for-Context" title="Unpin">Unpin</a></li><li><a href="#impl-UnwindSafe-for-Context" title="UnwindSafe">UnwindSafe</a></li></ul><h3><a href="#blanket-implementations">Blanket Implementations</a></h3><ul class="block blanket-implementation"><li><a href="#impl-Any-for-T" title="Any">Any</a></li><li><a href="#impl-Borrow%3CT%3E-for-T" title="Borrow&#60;T&#62;">Borrow&#60;T&#62;</a></li><li><a href="#impl-BorrowMut%3CT%3E-for-T" title="BorrowMut&#60;T&#62;">BorrowMut&#60;T&#62;</a></li><li><a href="#impl-Downcast%3CT%3E-for-T" title="Downcast&#60;T&#62;">Downcast&#60;T&#62;</a></li><li><a href="#impl-DynAdapter-for-A" title="DynAdapter">DynAdapter</a></li><li><a href="#impl-DynDevice-for-D" title="DynDevice">DynDevice</a></li><li><a href="#impl-DynInstance-for-I" title="DynInstance">DynInstance</a></li><li><a href="#impl-DynQueue-for-Q" title="DynQueue">DynQueue</a></li><li><a href="#impl-DynSurface-for-S" title="DynSurface">DynSurface</a></li><li><a href="#impl-From%3CT%3E-for-T" title="From&#60;T&#62;">From&#60;T&#62;</a></li><li><a href="#impl-Into%3CU%3E-for-T" title="Into&#60;U&#62;">Into&#60;U&#62;</a></li><li><a href="#impl-TryFrom%3CU%3E-for-T" title="TryFrom&#60;U&#62;">TryFrom&#60;U&#62;</a></li><li><a href="#impl-TryInto%3CU%3E-for-T" title="TryInto&#60;U&#62;">TryInto&#60;U&#62;</a></li><li><a href="#impl-Upcast%3CT%3E-for-T" title="Upcast&#60;T&#62;">Upcast&#60;T&#62;</a></li><li><a href="#impl-WasmNotSend-for-T" title="WasmNotSend">WasmNotSend</a></li><li><a href="#impl-WasmNotSendSync-for-T" title="WasmNotSendSync">WasmNotSendSync</a></li><li><a href="#impl-WasmNotSync-for-T" title="WasmNotSync">WasmNotSync</a></li></ul></section><div id="rustdoc-modnav"><h2><a href="index.html">In wgpu_<wbr>hal::<wbr>empty</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">wgpu_hal</a>::<wbr><a href="index.html">empty</a></span><h1>Struct <span class="struct">Context</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/wgpu_hal/empty.rs.html#7">Source</a> </span></div><pre class="rust item-decl"><code>pub struct Context;</code></pre><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-Adapter-for-Context" class="impl"><a class="src rightside" href="../../src/wgpu_hal/empty.rs.html#112-137">Source</a><a href="#impl-Adapter-for-Context" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../trait.Adapter.html" title="trait wgpu_hal::Adapter">Adapter</a> for <a class="struct" href="struct.Context.html" title="struct wgpu_hal::empty::Context">Context</a></h3></section></summary><div class="impl-items"><section id="associatedtype.A-2" class="associatedtype trait-impl"><a class="src rightside" href="../../src/wgpu_hal/empty.rs.html#113">Source</a><a href="#associatedtype.A-2" class="anchor">§</a><h4 class="code-header">type <a href="../trait.Adapter.html#associatedtype.A" class="associatedtype">A</a> = <a class="struct" href="struct.Api.html" title="struct wgpu_hal::empty::Api">Api</a></h4></section><section id="method.open" class="method trait-impl"><a class="src rightside" href="../../src/wgpu_hal/empty.rs.html#115-122">Source</a><a href="#method.open" class="anchor">§</a><h4 class="code-header">unsafe fn <a href="../trait.Adapter.html#tymethod.open" class="fn">open</a>(
&amp;self,
features: <a class="struct" href="../../wgpu_types/struct.Features.html" title="struct wgpu_types::Features">Features</a>,
_limits: &amp;<a class="struct" href="../../wgpu_types/struct.Limits.html" title="struct wgpu_types::Limits">Limits</a>,
_memory_hints: &amp;<a class="enum" href="../../wgpu_types/enum.MemoryHints.html" title="enum wgpu_types::MemoryHints">MemoryHints</a>,
) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="../struct.OpenDevice.html" title="struct wgpu_hal::OpenDevice">OpenDevice</a>&lt;<a class="struct" href="struct.Api.html" title="struct wgpu_hal::empty::Api">Api</a>&gt;, <a class="enum" href="../enum.DeviceError.html" title="enum wgpu_hal::DeviceError">DeviceError</a>&gt;</h4></section><details class="toggle method-toggle" open><summary><section id="method.texture_format_capabilities" class="method trait-impl"><a class="src rightside" href="../../src/wgpu_hal/empty.rs.html#123-128">Source</a><a href="#method.texture_format_capabilities" class="anchor">§</a><h4 class="code-header">unsafe fn <a href="../trait.Adapter.html#tymethod.texture_format_capabilities" class="fn">texture_format_capabilities</a>(
&amp;self,
format: <a class="enum" href="../../wgpu_types/enum.TextureFormat.html" title="enum wgpu_types::TextureFormat">TextureFormat</a>,
) -&gt; <a class="struct" href="../struct.TextureFormatCapabilities.html" title="struct wgpu_hal::TextureFormatCapabilities">TextureFormatCapabilities</a></h4></section></summary><div class='docblock'>Return the set of supported capabilities for a texture format.</div></details><details class="toggle method-toggle" open><summary><section id="method.surface_capabilities" class="method trait-impl"><a class="src rightside" href="../../src/wgpu_hal/empty.rs.html#130-132">Source</a><a href="#method.surface_capabilities" class="anchor">§</a><h4 class="code-header">unsafe fn <a href="../trait.Adapter.html#tymethod.surface_capabilities" class="fn">surface_capabilities</a>(
&amp;self,
surface: &amp;<a class="struct" href="struct.Context.html" title="struct wgpu_hal::empty::Context">Context</a>,
) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="struct" href="../struct.SurfaceCapabilities.html" title="struct wgpu_hal::SurfaceCapabilities">SurfaceCapabilities</a>&gt;</h4></section></summary><div class='docblock'>Returns the capabilities of working with a specified surface. <a href="../trait.Adapter.html#tymethod.surface_capabilities">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.get_presentation_timestamp" class="method trait-impl"><a class="src rightside" href="../../src/wgpu_hal/empty.rs.html#134-136">Source</a><a href="#method.get_presentation_timestamp" class="anchor">§</a><h4 class="code-header">unsafe fn <a href="../trait.Adapter.html#tymethod.get_presentation_timestamp" class="fn">get_presentation_timestamp</a>(&amp;self) -&gt; <a class="struct" href="../../wgpu_types/struct.PresentationTimestamp.html" title="struct wgpu_types::PresentationTimestamp">PresentationTimestamp</a></h4></section></summary><div class='docblock'>Creates a <a href="../../wgpu_types/struct.PresentationTimestamp.html" title="struct wgpu_types::PresentationTimestamp"><code>PresentationTimestamp</code></a> using the adapter’s WSI.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Device-for-Context" class="impl"><a class="src rightside" href="../../src/wgpu_hal/empty.rs.html#163-313">Source</a><a href="#impl-Device-for-Context" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../trait.Device.html" title="trait wgpu_hal::Device">Device</a> for <a class="struct" href="struct.Context.html" title="struct wgpu_hal::empty::Context">Context</a></h3></section></summary><div class="impl-items"><section id="associatedtype.A-4" class="associatedtype trait-impl"><a class="src rightside" href="../../src/wgpu_hal/empty.rs.html#164">Source</a><a href="#associatedtype.A-4" class="anchor">§</a><h4 class="code-header">type <a href="../trait.Device.html#associatedtype.A" class="associatedtype">A</a> = <a class="struct" href="struct.Api.html" title="struct wgpu_hal::empty::Api">Api</a></h4></section><details class="toggle method-toggle" open><summary><section id="method.exit" class="method trait-impl"><a class="src rightside" href="../../src/wgpu_hal/empty.rs.html#166">Source</a><a href="#method.exit" class="anchor">§</a><h4 class="code-header">unsafe fn <a href="../trait.Device.html#tymethod.exit" class="fn">exit</a>(self, queue: <a class="struct" href="struct.Context.html" title="struct wgpu_hal::empty::Context">Context</a>)</h4></section></summary><div class='docblock'>Exit connection to this logical device.</div></details><details class="toggle method-toggle" open><summary><section id="method.create_buffer" class="method trait-impl"><a class="src rightside" href="../../src/wgpu_hal/empty.rs.html#167-169">Source</a><a href="#method.create_buffer" class="anchor">§</a><h4 class="code-header">unsafe fn <a href="../trait.Device.html#tymethod.create_buffer" class="fn">create_buffer</a>(
&amp;self,
desc: &amp;<a class="struct" href="../struct.BufferDescriptor.html" title="struct wgpu_hal::BufferDescriptor">BufferDescriptor</a>&lt;'_&gt;,
) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="struct.Resource.html" title="struct wgpu_hal::empty::Resource">Resource</a>, <a class="enum" href="../enum.DeviceError.html" title="enum wgpu_hal::DeviceError">DeviceError</a>&gt;</h4></section></summary><div class='docblock'>Creates a new buffer. <a href="../trait.Device.html#tymethod.create_buffer">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.destroy_buffer" class="method trait-impl"><a class="src rightside" href="../../src/wgpu_hal/empty.rs.html#170">Source</a><a href="#method.destroy_buffer" class="anchor">§</a><h4 class="code-header">unsafe fn <a href="../trait.Device.html#tymethod.destroy_buffer" class="fn">destroy_buffer</a>(&amp;self, buffer: <a class="struct" href="struct.Resource.html" title="struct wgpu_hal::empty::Resource">Resource</a>)</h4></section></summary><div class='docblock'>Free <code>buffer</code> and any GPU resources it owns. <a href="../trait.Device.html#tymethod.destroy_buffer">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.add_raw_buffer" class="method trait-impl"><a class="src rightside" href="../../src/wgpu_hal/empty.rs.html#171">Source</a><a href="#method.add_raw_buffer" class="anchor">§</a><h4 class="code-header">unsafe fn <a href="../trait.Device.html#tymethod.add_raw_buffer" class="fn">add_raw_buffer</a>(&amp;self, _buffer: &amp;<a class="struct" href="struct.Resource.html" title="struct wgpu_hal::empty::Resource">Resource</a>)</h4></section></summary><div class='docblock'>A hook for when a wgpu-core buffer is created from a raw wgpu-hal buffer.</div></details><details class="toggle method-toggle" open><summary><section id="method.map_buffer" class="method trait-impl"><a class="src rightside" href="../../src/wgpu_hal/empty.rs.html#173-179">Source</a><a href="#method.map_buffer" class="anchor">§</a><h4 class="code-header">unsafe fn <a href="../trait.Device.html#tymethod.map_buffer" class="fn">map_buffer</a>(
&amp;self,
buffer: &amp;<a class="struct" href="struct.Resource.html" title="struct wgpu_hal::empty::Resource">Resource</a>,
range: <a class="type" href="../type.MemoryRange.html" title="type wgpu_hal::MemoryRange">MemoryRange</a>,
) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="../struct.BufferMapping.html" title="struct wgpu_hal::BufferMapping">BufferMapping</a>, <a class="enum" href="../enum.DeviceError.html" title="enum wgpu_hal::DeviceError">DeviceError</a>&gt;</h4></section></summary><div class='docblock'>Return a pointer to CPU memory mapping the contents of <code>buffer</code>. <a href="../trait.Device.html#tymethod.map_buffer">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.unmap_buffer" class="method trait-impl"><a class="src rightside" href="../../src/wgpu_hal/empty.rs.html#180">Source</a><a href="#method.unmap_buffer" class="anchor">§</a><h4 class="code-header">unsafe fn <a href="../trait.Device.html#tymethod.unmap_buffer" class="fn">unmap_buffer</a>(&amp;self, buffer: &amp;<a class="struct" href="struct.Resource.html" title="struct wgpu_hal::empty::Resource">Resource</a>)</h4></section></summary><div class='docblock'>Remove the mapping established by the last call to <a href="../trait.Device.html#tymethod.map_buffer" title="method wgpu_hal::Device::map_buffer"><code>Device::map_buffer</code></a>. <a href="../trait.Device.html#tymethod.unmap_buffer">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.flush_mapped_ranges" class="method trait-impl"><a class="src rightside" href="../../src/wgpu_hal/empty.rs.html#181">Source</a><a href="#method.flush_mapped_ranges" class="anchor">§</a><h4 class="code-header">unsafe fn <a href="../trait.Device.html#tymethod.flush_mapped_ranges" class="fn">flush_mapped_ranges</a>&lt;I&gt;(&amp;self, buffer: &amp;<a class="struct" href="struct.Resource.html" title="struct wgpu_hal::empty::Resource">Resource</a>, ranges: I)</h4></section></summary><div class='docblock'>Indicate that CPU writes to mapped buffer memory should be made visible to the GPU. <a href="../trait.Device.html#tymethod.flush_mapped_ranges">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.invalidate_mapped_ranges" class="method trait-impl"><a class="src rightside" href="../../src/wgpu_hal/empty.rs.html#182">Source</a><a href="#method.invalidate_mapped_ranges" class="anchor">§</a><h4 class="code-header">unsafe fn <a href="../trait.Device.html#tymethod.invalidate_mapped_ranges" class="fn">invalidate_mapped_ranges</a>&lt;I&gt;(&amp;self, buffer: &amp;<a class="struct" href="struct.Resource.html" title="struct wgpu_hal::empty::Resource">Resource</a>, ranges: I)</h4></section></summary><div class='docblock'>Indicate that GPU writes to mapped buffer memory should be made visible to the CPU. <a href="../trait.Device.html#tymethod.invalidate_mapped_ranges">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.create_texture" class="method trait-impl"><a class="src rightside" href="../../src/wgpu_hal/empty.rs.html#184-186">Source</a><a href="#method.create_texture" class="anchor">§</a><h4 class="code-header">unsafe fn <a href="../trait.Device.html#tymethod.create_texture" class="fn">create_texture</a>(
&amp;self,
desc: &amp;<a class="struct" href="../struct.TextureDescriptor.html" title="struct wgpu_hal::TextureDescriptor">TextureDescriptor</a>&lt;'_&gt;,
) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="struct.Resource.html" title="struct wgpu_hal::empty::Resource">Resource</a>, <a class="enum" href="../enum.DeviceError.html" title="enum wgpu_hal::DeviceError">DeviceError</a>&gt;</h4></section></summary><div class='docblock'>Creates a new texture. <a href="../trait.Device.html#tymethod.create_texture">Read more</a></div></details><section id="method.destroy_texture" class="method trait-impl"><a class="src rightside" href="../../src/wgpu_hal/empty.rs.html#187">Source</a><a href="#method.destroy_texture" class="anchor">§</a><h4 class="code-header">unsafe fn <a href="../trait.Device.html#tymethod.destroy_texture" class="fn">destroy_texture</a>(&amp;self, texture: <a class="struct" href="struct.Resource.html" title="struct wgpu_hal::empty::Resource">Resource</a>)</h4></section><details class="toggle method-toggle" open><summary><section id="method.add_raw_texture" class="method trait-impl"><a class="src rightside" href="../../src/wgpu_hal/empty.rs.html#188">Source</a><a href="#method.add_raw_texture" class="anchor">§</a><h4 class="code-header">unsafe fn <a href="../trait.Device.html#tymethod.add_raw_texture" class="fn">add_raw_texture</a>(&amp;self, _texture: &amp;<a class="struct" href="struct.Resource.html" title="struct wgpu_hal::empty::Resource">Resource</a>)</h4></section></summary><div class='docblock'>A hook for when a wgpu-core texture is created from a raw wgpu-hal texture.</div></details><section id="method.create_texture_view" class="method trait-impl"><a class="src rightside" href="../../src/wgpu_hal/empty.rs.html#190-196">Source</a><a href="#method.create_texture_view" class="anchor">§</a><h4 class="code-header">unsafe fn <a href="../trait.Device.html#tymethod.create_texture_view" class="fn">create_texture_view</a>(
&amp;self,
texture: &amp;<a class="struct" href="struct.Resource.html" title="struct wgpu_hal::empty::Resource">Resource</a>,
desc: &amp;<a class="struct" href="../struct.TextureViewDescriptor.html" title="struct wgpu_hal::TextureViewDescriptor">TextureViewDescriptor</a>&lt;'_&gt;,
) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="struct.Resource.html" title="struct wgpu_hal::empty::Resource">Resource</a>, <a class="enum" href="../enum.DeviceError.html" title="enum wgpu_hal::DeviceError">DeviceError</a>&gt;</h4></section><section id="method.destroy_texture_view" class="method trait-impl"><a class="src rightside" href="../../src/wgpu_hal/empty.rs.html#197">Source</a><a href="#method.destroy_texture_view" class="anchor">§</a><h4 class="code-header">unsafe fn <a href="../trait.Device.html#tymethod.destroy_texture_view" class="fn">destroy_texture_view</a>(&amp;self, view: <a class="struct" href="struct.Resource.html" title="struct wgpu_hal::empty::Resource">Resource</a>)</h4></section><section id="method.create_sampler" class="method trait-impl"><a class="src rightside" href="../../src/wgpu_hal/empty.rs.html#198-200">Source</a><a href="#method.create_sampler" class="anchor">§</a><h4 class="code-header">unsafe fn <a href="../trait.Device.html#tymethod.create_sampler" class="fn">create_sampler</a>(
&amp;self,
desc: &amp;<a class="struct" href="../struct.SamplerDescriptor.html" title="struct wgpu_hal::SamplerDescriptor">SamplerDescriptor</a>&lt;'_&gt;,
) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="struct.Resource.html" title="struct wgpu_hal::empty::Resource">Resource</a>, <a class="enum" href="../enum.DeviceError.html" title="enum wgpu_hal::DeviceError">DeviceError</a>&gt;</h4></section><section id="method.destroy_sampler" class="method trait-impl"><a class="src rightside" href="../../src/wgpu_hal/empty.rs.html#201">Source</a><a href="#method.destroy_sampler" class="anchor">§</a><h4 class="code-header">unsafe fn <a href="../trait.Device.html#tymethod.destroy_sampler" class="fn">destroy_sampler</a>(&amp;self, sampler: <a class="struct" href="struct.Resource.html" title="struct wgpu_hal::empty::Resource">Resource</a>)</h4></section><details class="toggle method-toggle" open><summary><section id="method.create_command_encoder" class="method trait-impl"><a class="src rightside" href="../../src/wgpu_hal/empty.rs.html#203-208">Source</a><a href="#method.create_command_encoder" class="anchor">§</a><h4 class="code-header">unsafe fn <a href="../trait.Device.html#tymethod.create_command_encoder" class="fn">create_command_encoder</a>(
&amp;self,
desc: &amp;<a class="struct" href="../struct.CommandEncoderDescriptor.html" title="struct wgpu_hal::CommandEncoderDescriptor">CommandEncoderDescriptor</a>&lt;'_, <a class="struct" href="struct.Context.html" title="struct wgpu_hal::empty::Context">Context</a>&gt;,
) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="struct.Encoder.html" title="struct wgpu_hal::empty::Encoder">Encoder</a>, <a class="enum" href="../enum.DeviceError.html" title="enum wgpu_hal::DeviceError">DeviceError</a>&gt;</h4></section></summary><div class='docblock'>Create a fresh <a href="../trait.CommandEncoder.html" title="trait wgpu_hal::CommandEncoder"><code>CommandEncoder</code></a>. <a href="../trait.Device.html#tymethod.create_command_encoder">Read more</a></div></details><section id="method.destroy_command_encoder" class="method trait-impl"><a class="src rightside" href="../../src/wgpu_hal/empty.rs.html#209">Source</a><a href="#method.destroy_command_encoder" class="anchor">§</a><h4 class="code-header">unsafe fn <a href="../trait.Device.html#tymethod.destroy_command_encoder" class="fn">destroy_command_encoder</a>(&amp;self, encoder: <a class="struct" href="struct.Encoder.html" title="struct wgpu_hal::empty::Encoder">Encoder</a>)</h4></section><details class="toggle method-toggle" open><summary><section id="method.create_bind_group_layout" class="method trait-impl"><a class="src rightside" href="../../src/wgpu_hal/empty.rs.html#211-216">Source</a><a href="#method.create_bind_group_layout" class="anchor">§</a><h4 class="code-header">unsafe fn <a href="../trait.Device.html#tymethod.create_bind_group_layout" class="fn">create_bind_group_layout</a>(
&amp;self,
desc: &amp;<a class="struct" href="../struct.BindGroupLayoutDescriptor.html" title="struct wgpu_hal::BindGroupLayoutDescriptor">BindGroupLayoutDescriptor</a>&lt;'_&gt;,
) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="struct.Resource.html" title="struct wgpu_hal::empty::Resource">Resource</a>, <a class="enum" href="../enum.DeviceError.html" title="enum wgpu_hal::DeviceError">DeviceError</a>&gt;</h4></section></summary><div class='docblock'>Creates a bind group layout.</div></details><section id="method.destroy_bind_group_layout" class="method trait-impl"><a class="src rightside" href="../../src/wgpu_hal/empty.rs.html#217">Source</a><a href="#method.destroy_bind_group_layout" class="anchor">§</a><h4 class="code-header">unsafe fn <a href="../trait.Device.html#tymethod.destroy_bind_group_layout" class="fn">destroy_bind_group_layout</a>(&amp;self, bg_layout: <a class="struct" href="struct.Resource.html" title="struct wgpu_hal::empty::Resource">Resource</a>)</h4></section><section id="method.create_pipeline_layout" class="method trait-impl"><a class="src rightside" href="../../src/wgpu_hal/empty.rs.html#218-223">Source</a><a href="#method.create_pipeline_layout" class="anchor">§</a><h4 class="code-header">unsafe fn <a href="../trait.Device.html#tymethod.create_pipeline_layout" class="fn">create_pipeline_layout</a>(
&amp;self,
desc: &amp;<a class="struct" href="../struct.PipelineLayoutDescriptor.html" title="struct wgpu_hal::PipelineLayoutDescriptor">PipelineLayoutDescriptor</a>&lt;'_, <a class="struct" href="struct.Resource.html" title="struct wgpu_hal::empty::Resource">Resource</a>&gt;,
) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="struct.Resource.html" title="struct wgpu_hal::empty::Resource">Resource</a>, <a class="enum" href="../enum.DeviceError.html" title="enum wgpu_hal::DeviceError">DeviceError</a>&gt;</h4></section><section id="method.destroy_pipeline_layout" class="method trait-impl"><a class="src rightside" href="../../src/wgpu_hal/empty.rs.html#224">Source</a><a href="#method.destroy_pipeline_layout" class="anchor">§</a><h4 class="code-header">unsafe fn <a href="../trait.Device.html#tymethod.destroy_pipeline_layout" class="fn">destroy_pipeline_layout</a>(&amp;self, pipeline_layout: <a class="struct" href="struct.Resource.html" title="struct wgpu_hal::empty::Resource">Resource</a>)</h4></section><section id="method.create_bind_group" class="method trait-impl"><a class="src rightside" href="../../src/wgpu_hal/empty.rs.html#225-230">Source</a><a href="#method.create_bind_group" class="anchor">§</a><h4 class="code-header">unsafe fn <a href="../trait.Device.html#tymethod.create_bind_group" class="fn">create_bind_group</a>(
&amp;self,
desc: &amp;<a class="struct" href="../struct.BindGroupDescriptor.html" title="struct wgpu_hal::BindGroupDescriptor">BindGroupDescriptor</a>&lt;'_, <a class="struct" href="struct.Resource.html" title="struct wgpu_hal::empty::Resource">Resource</a>, <a class="struct" href="struct.Resource.html" title="struct wgpu_hal::empty::Resource">Resource</a>, <a class="struct" href="struct.Resource.html" title="struct wgpu_hal::empty::Resource">Resource</a>, <a class="struct" href="struct.Resource.html" title="struct wgpu_hal::empty::Resource">Resource</a>, <a class="struct" href="struct.Resource.html" title="struct wgpu_hal::empty::Resource">Resource</a>&gt;,
) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="struct.Resource.html" title="struct wgpu_hal::empty::Resource">Resource</a>, <a class="enum" href="../enum.DeviceError.html" title="enum wgpu_hal::DeviceError">DeviceError</a>&gt;</h4></section><section id="method.destroy_bind_group" class="method trait-impl"><a class="src rightside" href="../../src/wgpu_hal/empty.rs.html#231">Source</a><a href="#method.destroy_bind_group" class="anchor">§</a><h4 class="code-header">unsafe fn <a href="../trait.Device.html#tymethod.destroy_bind_group" class="fn">destroy_bind_group</a>(&amp;self, group: <a class="struct" href="struct.Resource.html" title="struct wgpu_hal::empty::Resource">Resource</a>)</h4></section><section id="method.create_shader_module" class="method trait-impl"><a class="src rightside" href="../../src/wgpu_hal/empty.rs.html#233-239">Source</a><a href="#method.create_shader_module" class="anchor">§</a><h4 class="code-header">unsafe fn <a href="../trait.Device.html#tymethod.create_shader_module" class="fn">create_shader_module</a>(
&amp;self,
desc: &amp;<a class="struct" href="../struct.ShaderModuleDescriptor.html" title="struct wgpu_hal::ShaderModuleDescriptor">ShaderModuleDescriptor</a>&lt;'_&gt;,
shader: <a class="enum" href="../enum.ShaderInput.html" title="enum wgpu_hal::ShaderInput">ShaderInput</a>&lt;'_&gt;,
) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="struct.Resource.html" title="struct wgpu_hal::empty::Resource">Resource</a>, <a class="enum" href="../enum.ShaderError.html" title="enum wgpu_hal::ShaderError">ShaderError</a>&gt;</h4></section><section id="method.destroy_shader_module" class="method trait-impl"><a class="src rightside" href="../../src/wgpu_hal/empty.rs.html#240">Source</a><a href="#method.destroy_shader_module" class="anchor">§</a><h4 class="code-header">unsafe fn <a href="../trait.Device.html#tymethod.destroy_shader_module" class="fn">destroy_shader_module</a>(&amp;self, module: <a class="struct" href="struct.Resource.html" title="struct wgpu_hal::empty::Resource">Resource</a>)</h4></section><section id="method.create_render_pipeline" class="method trait-impl"><a class="src rightside" href="../../src/wgpu_hal/empty.rs.html#241-246">Source</a><a href="#method.create_render_pipeline" class="anchor">§</a><h4 class="code-header">unsafe fn <a href="../trait.Device.html#tymethod.create_render_pipeline" class="fn">create_render_pipeline</a>(
&amp;self,
desc: &amp;<a class="struct" href="../struct.RenderPipelineDescriptor.html" title="struct wgpu_hal::RenderPipelineDescriptor">RenderPipelineDescriptor</a>&lt;'_, <a class="struct" href="struct.Resource.html" title="struct wgpu_hal::empty::Resource">Resource</a>, <a class="struct" href="struct.Resource.html" title="struct wgpu_hal::empty::Resource">Resource</a>, <a class="struct" href="struct.Resource.html" title="struct wgpu_hal::empty::Resource">Resource</a>&gt;,
) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="struct.Resource.html" title="struct wgpu_hal::empty::Resource">Resource</a>, <a class="enum" href="../enum.PipelineError.html" title="enum wgpu_hal::PipelineError">PipelineError</a>&gt;</h4></section><section id="method.destroy_render_pipeline" class="method trait-impl"><a class="src rightside" href="../../src/wgpu_hal/empty.rs.html#247">Source</a><a href="#method.destroy_render_pipeline" class="anchor">§</a><h4 class="code-header">unsafe fn <a href="../trait.Device.html#tymethod.destroy_render_pipeline" class="fn">destroy_render_pipeline</a>(&amp;self, pipeline: <a class="struct" href="struct.Resource.html" title="struct wgpu_hal::empty::Resource">Resource</a>)</h4></section><section id="method.create_compute_pipeline" class="method trait-impl"><a class="src rightside" href="../../src/wgpu_hal/empty.rs.html#248-253">Source</a><a href="#method.create_compute_pipeline" class="anchor">§</a><h4 class="code-header">unsafe fn <a href="../trait.Device.html#tymethod.create_compute_pipeline" class="fn">create_compute_pipeline</a>(
&amp;self,
desc: &amp;<a class="struct" href="../struct.ComputePipelineDescriptor.html" title="struct wgpu_hal::ComputePipelineDescriptor">ComputePipelineDescriptor</a>&lt;'_, <a class="struct" href="struct.Resource.html" title="struct wgpu_hal::empty::Resource">Resource</a>, <a class="struct" href="struct.Resource.html" title="struct wgpu_hal::empty::Resource">Resource</a>, <a class="struct" href="struct.Resource.html" title="struct wgpu_hal::empty::Resource">Resource</a>&gt;,
) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="struct.Resource.html" title="struct wgpu_hal::empty::Resource">Resource</a>, <a class="enum" href="../enum.PipelineError.html" title="enum wgpu_hal::PipelineError">PipelineError</a>&gt;</h4></section><section id="method.destroy_compute_pipeline" class="method trait-impl"><a class="src rightside" href="../../src/wgpu_hal/empty.rs.html#254">Source</a><a href="#method.destroy_compute_pipeline" class="anchor">§</a><h4 class="code-header">unsafe fn <a href="../trait.Device.html#tymethod.destroy_compute_pipeline" class="fn">destroy_compute_pipeline</a>(&amp;self, pipeline: <a class="struct" href="struct.Resource.html" title="struct wgpu_hal::empty::Resource">Resource</a>)</h4></section><section id="method.create_pipeline_cache" class="method trait-impl"><a class="src rightside" href="../../src/wgpu_hal/empty.rs.html#255-260">Source</a><a href="#method.create_pipeline_cache" class="anchor">§</a><h4 class="code-header">unsafe fn <a href="../trait.Device.html#tymethod.create_pipeline_cache" class="fn">create_pipeline_cache</a>(
&amp;self,
desc: &amp;<a class="struct" href="../struct.PipelineCacheDescriptor.html" title="struct wgpu_hal::PipelineCacheDescriptor">PipelineCacheDescriptor</a>&lt;'_&gt;,
) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="struct.Resource.html" title="struct wgpu_hal::empty::Resource">Resource</a>, <a class="enum" href="../enum.PipelineCacheError.html" title="enum wgpu_hal::PipelineCacheError">PipelineCacheError</a>&gt;</h4></section><section id="method.destroy_pipeline_cache" class="method trait-impl"><a class="src rightside" href="../../src/wgpu_hal/empty.rs.html#261">Source</a><a href="#method.destroy_pipeline_cache" class="anchor">§</a><h4 class="code-header">unsafe fn <a href="../trait.Device.html#tymethod.destroy_pipeline_cache" class="fn">destroy_pipeline_cache</a>(&amp;self, cache: <a class="struct" href="struct.Resource.html" title="struct wgpu_hal::empty::Resource">Resource</a>)</h4></section><section id="method.create_query_set" class="method trait-impl"><a class="src rightside" href="../../src/wgpu_hal/empty.rs.html#263-268">Source</a><a href="#method.create_query_set" class="anchor">§</a><h4 class="code-header">unsafe fn <a href="../trait.Device.html#tymethod.create_query_set" class="fn">create_query_set</a>(
&amp;self,
desc: &amp;<a class="struct" href="../../wgpu_types/struct.QuerySetDescriptor.html" title="struct wgpu_types::QuerySetDescriptor">QuerySetDescriptor</a>&lt;<a class="type" href="../type.Label.html" title="type wgpu_hal::Label">Label</a>&lt;'_&gt;&gt;,
) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="struct.Resource.html" title="struct wgpu_hal::empty::Resource">Resource</a>, <a class="enum" href="../enum.DeviceError.html" title="enum wgpu_hal::DeviceError">DeviceError</a>&gt;</h4></section><section id="method.destroy_query_set" class="method trait-impl"><a class="src rightside" href="../../src/wgpu_hal/empty.rs.html#269">Source</a><a href="#method.destroy_query_set" class="anchor">§</a><h4 class="code-header">unsafe fn <a href="../trait.Device.html#tymethod.destroy_query_set" class="fn">destroy_query_set</a>(&amp;self, set: <a class="struct" href="struct.Resource.html" title="struct wgpu_hal::empty::Resource">Resource</a>)</h4></section><section id="method.create_fence" class="method trait-impl"><a class="src rightside" href="../../src/wgpu_hal/empty.rs.html#270-272">Source</a><a href="#method.create_fence" class="anchor">§</a><h4 class="code-header">unsafe fn <a href="../trait.Device.html#tymethod.create_fence" class="fn">create_fence</a>(&amp;self) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="struct.Resource.html" title="struct wgpu_hal::empty::Resource">Resource</a>, <a class="enum" href="../enum.DeviceError.html" title="enum wgpu_hal::DeviceError">DeviceError</a>&gt;</h4></section><section id="method.destroy_fence" class="method trait-impl"><a class="src rightside" href="../../src/wgpu_hal/empty.rs.html#273">Source</a><a href="#method.destroy_fence" class="anchor">§</a><h4 class="code-header">unsafe fn <a href="../trait.Device.html#tymethod.destroy_fence" class="fn">destroy_fence</a>(&amp;self, fence: <a class="struct" href="struct.Resource.html" title="struct wgpu_hal::empty::Resource">Resource</a>)</h4></section><section id="method.get_fence_value" class="method trait-impl"><a class="src rightside" href="../../src/wgpu_hal/empty.rs.html#274-276">Source</a><a href="#method.get_fence_value" class="anchor">§</a><h4 class="code-header">unsafe fn <a href="../trait.Device.html#tymethod.get_fence_value" class="fn">get_fence_value</a>(
&amp;self,
fence: &amp;<a class="struct" href="struct.Resource.html" title="struct wgpu_hal::empty::Resource">Resource</a>,
) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="type" href="../type.FenceValue.html" title="type wgpu_hal::FenceValue">FenceValue</a>, <a class="enum" href="../enum.DeviceError.html" title="enum wgpu_hal::DeviceError">DeviceError</a>&gt;</h4></section><details class="toggle method-toggle" open><summary><section id="method.wait" class="method trait-impl"><a class="src rightside" href="../../src/wgpu_hal/empty.rs.html#277-284">Source</a><a href="#method.wait" class="anchor">§</a><h4 class="code-header">unsafe fn <a href="../trait.Device.html#tymethod.wait" class="fn">wait</a>(
&amp;self,
fence: &amp;<a class="struct" href="struct.Resource.html" title="struct wgpu_hal::empty::Resource">Resource</a>,
value: <a class="type" href="../type.FenceValue.html" title="type wgpu_hal::FenceValue">FenceValue</a>,
timeout_ms: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.u32.html">u32</a>,
) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.bool.html">bool</a>, <a class="enum" href="../enum.DeviceError.html" title="enum wgpu_hal::DeviceError">DeviceError</a>&gt;</h4></section></summary><div class='docblock'>Wait for <code>fence</code> to reach <code>value</code>. <a href="../trait.Device.html#tymethod.wait">Read more</a></div></details><section id="method.start_capture" class="method trait-impl"><a class="src rightside" href="../../src/wgpu_hal/empty.rs.html#286-288">Source</a><a href="#method.start_capture" class="anchor">§</a><h4 class="code-header">unsafe fn <a href="../trait.Device.html#tymethod.start_capture" class="fn">start_capture</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.bool.html">bool</a></h4></section><section id="method.stop_capture" class="method trait-impl"><a class="src rightside" href="../../src/wgpu_hal/empty.rs.html#289">Source</a><a href="#method.stop_capture" class="anchor">§</a><h4 class="code-header">unsafe fn <a href="../trait.Device.html#tymethod.stop_capture" class="fn">stop_capture</a>(&amp;self)</h4></section><section id="method.create_acceleration_structure" class="method trait-impl"><a class="src rightside" href="../../src/wgpu_hal/empty.rs.html#290-295">Source</a><a href="#method.create_acceleration_structure" class="anchor">§</a><h4 class="code-header">unsafe fn <a href="../trait.Device.html#tymethod.create_acceleration_structure" class="fn">create_acceleration_structure</a>(
&amp;self,
desc: &amp;<a class="struct" href="../struct.AccelerationStructureDescriptor.html" title="struct wgpu_hal::AccelerationStructureDescriptor">AccelerationStructureDescriptor</a>&lt;'_&gt;,
) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="struct.Resource.html" title="struct wgpu_hal::empty::Resource">Resource</a>, <a class="enum" href="../enum.DeviceError.html" title="enum wgpu_hal::DeviceError">DeviceError</a>&gt;</h4></section><section id="method.get_acceleration_structure_build_sizes" class="method trait-impl"><a class="src rightside" href="../../src/wgpu_hal/empty.rs.html#296-301">Source</a><a href="#method.get_acceleration_structure_build_sizes" class="anchor">§</a><h4 class="code-header">unsafe fn <a href="../trait.Device.html#tymethod.get_acceleration_structure_build_sizes" class="fn">get_acceleration_structure_build_sizes</a>&lt;'a&gt;(
&amp;self,
_desc: &amp;<a class="struct" href="../struct.GetAccelerationStructureBuildSizesDescriptor.html" title="struct wgpu_hal::GetAccelerationStructureBuildSizesDescriptor">GetAccelerationStructureBuildSizesDescriptor</a>&lt;'a, <a class="struct" href="struct.Resource.html" title="struct wgpu_hal::empty::Resource">Resource</a>&gt;,
) -&gt; <a class="struct" href="../struct.AccelerationStructureBuildSizes.html" title="struct wgpu_hal::AccelerationStructureBuildSizes">AccelerationStructureBuildSizes</a></h4></section><section id="method.get_acceleration_structure_device_address" class="method trait-impl"><a class="src rightside" href="../../src/wgpu_hal/empty.rs.html#302-307">Source</a><a href="#method.get_acceleration_structure_device_address" class="anchor">§</a><h4 class="code-header">unsafe fn <a href="../trait.Device.html#tymethod.get_acceleration_structure_device_address" class="fn">get_acceleration_structure_device_address</a>(
&amp;self,
_acceleration_structure: &amp;<a class="struct" href="struct.Resource.html" title="struct wgpu_hal::empty::Resource">Resource</a>,
) -&gt; <a class="type" href="../../wgpu_types/type.BufferAddress.html" title="type wgpu_types::BufferAddress">BufferAddress</a></h4></section><section id="method.destroy_acceleration_structure" class="method trait-impl"><a class="src rightside" href="../../src/wgpu_hal/empty.rs.html#308">Source</a><a href="#method.destroy_acceleration_structure" class="anchor">§</a><h4 class="code-header">unsafe fn <a href="../trait.Device.html#tymethod.destroy_acceleration_structure" class="fn">destroy_acceleration_structure</a>(
&amp;self,
_acceleration_structure: <a class="struct" href="struct.Resource.html" title="struct wgpu_hal::empty::Resource">Resource</a>,
)</h4></section><section id="method.get_internal_counters" class="method trait-impl"><a class="src rightside" href="../../src/wgpu_hal/empty.rs.html#310-312">Source</a><a href="#method.get_internal_counters" class="anchor">§</a><h4 class="code-header">fn <a href="../trait.Device.html#tymethod.get_internal_counters" class="fn">get_internal_counters</a>(&amp;self) -&gt; <a class="struct" href="../../wgpu_types/counters/struct.HalCounters.html" title="struct wgpu_types::counters::HalCounters">HalCounters</a></h4></section><section id="method.pipeline_cache_validation_key" class="method trait-impl"><a class="src rightside" href="../../src/wgpu_hal/lib.rs.html#903-905">Source</a><a href="#method.pipeline_cache_validation_key" class="anchor">§</a><h4 class="code-header">fn <a href="../trait.Device.html#method.pipeline_cache_validation_key" class="fn">pipeline_cache_validation_key</a>(&amp;self) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;[<a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.u8.html">u8</a>; <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.array.html">16</a>]&gt;</h4></section><section id="method.pipeline_cache_get_data" class="method trait-impl"><a class="src rightside" href="../../src/wgpu_hal/lib.rs.html#949-954">Source</a><a href="#method.pipeline_cache_get_data" class="anchor">§</a><h4 class="code-header">unsafe fn <a href="../trait.Device.html#method.pipeline_cache_get_data" class="fn">pipeline_cache_get_data</a>(
&amp;self,
cache: &amp;&lt;Self::<a class="associatedtype" href="../trait.Device.html#associatedtype.A" title="type wgpu_hal::Device::A">A</a> as <a class="trait" href="../trait.Api.html" title="trait wgpu_hal::Api">Api</a>&gt;::<a class="associatedtype" href="../trait.Api.html#associatedtype.PipelineCache" title="type wgpu_hal::Api::PipelineCache">PipelineCache</a>,
) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.u8.html">u8</a>&gt;&gt;</h4></section><section id="method.generate_allocator_report" class="method trait-impl"><a class="src rightside" href="../../src/wgpu_hal/lib.rs.html#975-977">Source</a><a href="#method.generate_allocator_report" class="anchor">§</a><h4 class="code-header">fn <a href="../trait.Device.html#method.generate_allocator_report" class="fn">generate_allocator_report</a>(&amp;self) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="struct" href="../../wgpu_types/counters/struct.AllocatorReport.html" title="struct wgpu_types::counters::AllocatorReport">AllocatorReport</a>&gt;</h4></section></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-DynResource-for-Context" class="impl"><a class="src rightside" href="../../src/wgpu_hal/empty.rs.html#43">Source</a><a href="#impl-DynResource-for-Context" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../trait.DynResource.html" title="trait wgpu_hal::DynResource">DynResource</a> for <a class="struct" href="struct.Context.html" title="struct wgpu_hal::empty::Context">Context</a></h3></section></summary><div class="impl-items"><section id="method.as_any" class="method trait-impl"><a class="src rightside" href="../../src/wgpu_hal/empty.rs.html#43">Source</a><a href="#method.as_any" class="anchor">§</a><h4 class="code-header">fn <a href="../trait.DynResource.html#tymethod.as_any" class="fn">as_any</a>(&amp;self) -&gt; &amp;dyn <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/any/trait.Any.html" title="trait core::any::Any">Any</a></h4></section><section id="method.as_any_mut" class="method trait-impl"><a class="src rightside" href="../../src/wgpu_hal/empty.rs.html#43">Source</a><a href="#method.as_any_mut" class="anchor">§</a><h4 class="code-header">fn <a href="../trait.DynResource.html#tymethod.as_any_mut" class="fn">as_any_mut</a>(&amp;mut self) -&gt; &amp;mut dyn <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/any/trait.Any.html" title="trait core::any::Any">Any</a></h4></section></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Instance-for-Context" class="impl"><a class="src rightside" href="../../src/wgpu_hal/empty.rs.html#68-87">Source</a><a href="#impl-Instance-for-Context" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../trait.Instance.html" title="trait wgpu_hal::Instance">Instance</a> for <a class="struct" href="struct.Context.html" title="struct wgpu_hal::empty::Context">Context</a></h3></section></summary><div class="impl-items"><section id="associatedtype.A" class="associatedtype trait-impl"><a class="src rightside" href="../../src/wgpu_hal/empty.rs.html#69">Source</a><a href="#associatedtype.A" class="anchor">§</a><h4 class="code-header">type <a href="../trait.Instance.html#associatedtype.A" class="associatedtype">A</a> = <a class="struct" href="struct.Api.html" title="struct wgpu_hal::empty::Api">Api</a></h4></section><section id="method.init" class="method trait-impl"><a class="src rightside" href="../../src/wgpu_hal/empty.rs.html#71-73">Source</a><a href="#method.init" class="anchor">§</a><h4 class="code-header">unsafe fn <a href="../trait.Instance.html#tymethod.init" class="fn">init</a>(desc: &amp;<a class="struct" href="../struct.InstanceDescriptor.html" title="struct wgpu_hal::InstanceDescriptor">InstanceDescriptor</a>&lt;'_&gt;) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Self, <a class="struct" href="../struct.InstanceError.html" title="struct wgpu_hal::InstanceError">InstanceError</a>&gt;</h4></section><section id="method.create_surface" class="method trait-impl"><a class="src rightside" href="../../src/wgpu_hal/empty.rs.html#74-80">Source</a><a href="#method.create_surface" class="anchor">§</a><h4 class="code-header">unsafe fn <a href="../trait.Instance.html#tymethod.create_surface" class="fn">create_surface</a>(
&amp;self,
_display_handle: <a class="enum" href="../../raw_window_handle/enum.RawDisplayHandle.html" title="enum raw_window_handle::RawDisplayHandle">RawDisplayHandle</a>,
_window_handle: <a class="enum" href="../../raw_window_handle/enum.RawWindowHandle.html" title="enum raw_window_handle::RawWindowHandle">RawWindowHandle</a>,
) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="struct.Context.html" title="struct wgpu_hal::empty::Context">Context</a>, <a class="struct" href="../struct.InstanceError.html" title="struct wgpu_hal::InstanceError">InstanceError</a>&gt;</h4></section><details class="toggle method-toggle" open><summary><section id="method.enumerate_adapters" class="method trait-impl"><a class="src rightside" href="../../src/wgpu_hal/empty.rs.html#81-86">Source</a><a href="#method.enumerate_adapters" class="anchor">§</a><h4 class="code-header">unsafe fn <a href="../trait.Instance.html#tymethod.enumerate_adapters" class="fn">enumerate_adapters</a>(
&amp;self,
_surface_hint: <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;&amp;<a class="struct" href="struct.Context.html" title="struct wgpu_hal::empty::Context">Context</a>&gt;,
) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="struct" href="../struct.ExposedAdapter.html" title="struct wgpu_hal::ExposedAdapter">ExposedAdapter</a>&lt;<a class="struct" href="struct.Api.html" title="struct wgpu_hal::empty::Api">Api</a>&gt;&gt;</h4></section></summary><div class='docblock'><code>surface_hint</code> is only used by the GLES backend targeting WebGL2</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Queue-for-Context" class="impl"><a class="src rightside" href="../../src/wgpu_hal/empty.rs.html#139-161">Source</a><a href="#impl-Queue-for-Context" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../trait.Queue.html" title="trait wgpu_hal::Queue">Queue</a> for <a class="struct" href="struct.Context.html" title="struct wgpu_hal::empty::Context">Context</a></h3></section></summary><div class="impl-items"><section id="associatedtype.A-3" class="associatedtype trait-impl"><a class="src rightside" href="../../src/wgpu_hal/empty.rs.html#140">Source</a><a href="#associatedtype.A-3" class="anchor">§</a><h4 class="code-header">type <a href="../trait.Queue.html#associatedtype.A" class="associatedtype">A</a> = <a class="struct" href="struct.Api.html" title="struct wgpu_hal::empty::Api">Api</a></h4></section><details class="toggle method-toggle" open><summary><section id="method.submit" class="method trait-impl"><a class="src rightside" href="../../src/wgpu_hal/empty.rs.html#142-149">Source</a><a href="#method.submit" class="anchor">§</a><h4 class="code-header">unsafe fn <a href="../trait.Queue.html#tymethod.submit" class="fn">submit</a>(
&amp;self,
command_buffers: &amp;[&amp;<a class="struct" href="struct.Resource.html" title="struct wgpu_hal::empty::Resource">Resource</a>],
surface_textures: &amp;[&amp;<a class="struct" href="struct.Resource.html" title="struct wgpu_hal::empty::Resource">Resource</a>],
signal_fence: (&amp;mut <a class="struct" href="struct.Resource.html" title="struct wgpu_hal::empty::Resource">Resource</a>, <a class="type" href="../type.FenceValue.html" title="type wgpu_hal::FenceValue">FenceValue</a>),
) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.unit.html">()</a>, <a class="enum" href="../enum.DeviceError.html" title="enum wgpu_hal::DeviceError">DeviceError</a>&gt;</h4></section></summary><div class='docblock'>Submit <code>command_buffers</code> for execution on GPU. <a href="../trait.Queue.html#tymethod.submit">Read more</a></div></details><section id="method.present" class="method trait-impl"><a class="src rightside" href="../../src/wgpu_hal/empty.rs.html#150-156">Source</a><a href="#method.present" class="anchor">§</a><h4 class="code-header">unsafe fn <a href="../trait.Queue.html#tymethod.present" class="fn">present</a>(
&amp;self,
surface: &amp;<a class="struct" href="struct.Context.html" title="struct wgpu_hal::empty::Context">Context</a>,
texture: <a class="struct" href="struct.Resource.html" title="struct wgpu_hal::empty::Resource">Resource</a>,
) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.unit.html">()</a>, <a class="enum" href="../enum.SurfaceError.html" title="enum wgpu_hal::SurfaceError">SurfaceError</a>&gt;</h4></section><section id="method.get_timestamp_period" class="method trait-impl"><a class="src rightside" href="../../src/wgpu_hal/empty.rs.html#158-160">Source</a><a href="#method.get_timestamp_period" class="anchor">§</a><h4 class="code-header">unsafe fn <a href="../trait.Queue.html#tymethod.get_timestamp_period" class="fn">get_timestamp_period</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.f32.html">f32</a></h4></section></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Surface-for-Context" class="impl"><a class="src rightside" href="../../src/wgpu_hal/empty.rs.html#89-110">Source</a><a href="#impl-Surface-for-Context" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../trait.Surface.html" title="trait wgpu_hal::Surface">Surface</a> for <a class="struct" href="struct.Context.html" title="struct wgpu_hal::empty::Context">Context</a></h3></section></summary><div class="impl-items"><section id="associatedtype.A-1" class="associatedtype trait-impl"><a class="src rightside" href="../../src/wgpu_hal/empty.rs.html#90">Source</a><a href="#associatedtype.A-1" class="anchor">§</a><h4 class="code-header">type <a href="../trait.Surface.html#associatedtype.A" class="associatedtype">A</a> = <a class="struct" href="struct.Api.html" title="struct wgpu_hal::empty::Api">Api</a></h4></section><details class="toggle method-toggle" open><summary><section id="method.configure" class="method trait-impl"><a class="src rightside" href="../../src/wgpu_hal/empty.rs.html#92-98">Source</a><a href="#method.configure" class="anchor">§</a><h4 class="code-header">unsafe fn <a href="../trait.Surface.html#tymethod.configure" class="fn">configure</a>(
&amp;self,
device: &amp;<a class="struct" href="struct.Context.html" title="struct wgpu_hal::empty::Context">Context</a>,
config: &amp;<a class="struct" href="../struct.SurfaceConfiguration.html" title="struct wgpu_hal::SurfaceConfiguration">SurfaceConfiguration</a>,
) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.unit.html">()</a>, <a class="enum" href="../enum.SurfaceError.html" title="enum wgpu_hal::SurfaceError">SurfaceError</a>&gt;</h4></section></summary><div class='docblock'>Configure <code>self</code> to use <code>device</code>. <a href="../trait.Surface.html#tymethod.configure">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.unconfigure" class="method trait-impl"><a class="src rightside" href="../../src/wgpu_hal/empty.rs.html#100">Source</a><a href="#method.unconfigure" class="anchor">§</a><h4 class="code-header">unsafe fn <a href="../trait.Surface.html#tymethod.unconfigure" class="fn">unconfigure</a>(&amp;self, device: &amp;<a class="struct" href="struct.Context.html" title="struct wgpu_hal::empty::Context">Context</a>)</h4></section></summary><div class='docblock'>Unconfigure <code>self</code> on <code>device</code>. <a href="../trait.Surface.html#tymethod.unconfigure">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.acquire_texture" class="method trait-impl"><a class="src rightside" href="../../src/wgpu_hal/empty.rs.html#102-108">Source</a><a href="#method.acquire_texture" class="anchor">§</a><h4 class="code-header">unsafe fn <a href="../trait.Surface.html#tymethod.acquire_texture" class="fn">acquire_texture</a>(
&amp;self,
timeout: <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.84.0/core/time/struct.Duration.html" title="struct core::time::Duration">Duration</a>&gt;,
fence: &amp;<a class="struct" href="struct.Resource.html" title="struct wgpu_hal::empty::Resource">Resource</a>,
) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="struct" href="../struct.AcquiredSurfaceTexture.html" title="struct wgpu_hal::AcquiredSurfaceTexture">AcquiredSurfaceTexture</a>&lt;<a class="struct" href="struct.Api.html" title="struct wgpu_hal::empty::Api">Api</a>&gt;&gt;, <a class="enum" href="../enum.SurfaceError.html" title="enum wgpu_hal::SurfaceError">SurfaceError</a>&gt;</h4></section></summary><div class='docblock'>Return the next texture to be presented by <code>self</code>, for the caller to draw on. <a href="../trait.Surface.html#tymethod.acquire_texture">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.discard_texture" class="method trait-impl"><a class="src rightside" href="../../src/wgpu_hal/empty.rs.html#109">Source</a><a href="#method.discard_texture" class="anchor">§</a><h4 class="code-header">unsafe fn <a href="../trait.Surface.html#tymethod.discard_texture" class="fn">discard_texture</a>(&amp;self, texture: <a class="struct" href="struct.Resource.html" title="struct wgpu_hal::empty::Resource">Resource</a>)</h4></section></summary><div class='docblock'>Relinquish an acquired texture without presenting it. <a href="../trait.Surface.html#tymethod.discard_texture">Read more</a></div></details></div></details></div><h2 id="synthetic-implementations" class="section-header">Auto Trait Implementations<a href="#synthetic-implementations" class="anchor">§</a></h2><div id="synthetic-implementations-list"><section id="impl-Freeze-for-Context" class="impl"><a href="#impl-Freeze-for-Context" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/marker/trait.Freeze.html" title="trait core::marker::Freeze">Freeze</a> for <a class="struct" href="struct.Context.html" title="struct wgpu_hal::empty::Context">Context</a></h3></section><section id="impl-RefUnwindSafe-for-Context" class="impl"><a href="#impl-RefUnwindSafe-for-Context" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/panic/unwind_safe/trait.RefUnwindSafe.html" title="trait core::panic::unwind_safe::RefUnwindSafe">RefUnwindSafe</a> for <a class="struct" href="struct.Context.html" title="struct wgpu_hal::empty::Context">Context</a></h3></section><section id="impl-Send-for-Context" class="impl"><a href="#impl-Send-for-Context" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> for <a class="struct" href="struct.Context.html" title="struct wgpu_hal::empty::Context">Context</a></h3></section><section id="impl-Sync-for-Context" class="impl"><a href="#impl-Sync-for-Context" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> for <a class="struct" href="struct.Context.html" title="struct wgpu_hal::empty::Context">Context</a></h3></section><section id="impl-Unpin-for-Context" class="impl"><a href="#impl-Unpin-for-Context" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a> for <a class="struct" href="struct.Context.html" title="struct wgpu_hal::empty::Context">Context</a></h3></section><section id="impl-UnwindSafe-for-Context" class="impl"><a href="#impl-UnwindSafe-for-Context" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/panic/unwind_safe/trait.UnwindSafe.html" title="trait core::panic::unwind_safe::UnwindSafe">UnwindSafe</a> for <a class="struct" href="struct.Context.html" title="struct wgpu_hal::empty::Context">Context</a></h3></section></div><h2 id="blanket-implementations" class="section-header">Blanket Implementations<a href="#blanket-implementations" class="anchor">§</a></h2><div id="blanket-implementations-list"><details class="toggle implementors-toggle"><summary><section id="impl-Any-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.84.0/src/core/any.rs.html#138">Source</a><a href="#impl-Any-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/any/trait.Any.html" title="trait core::any::Any">Any</a> for T<div class="where">where
T: 'static + ?<a class="trait" href="https://doc.rust-lang.org/1.84.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.type_id" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.84.0/src/core/any.rs.html#139">Source</a><a href="#method.type_id" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/any/trait.Any.html#tymethod.type_id" class="fn">type_id</a>(&amp;self) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.84.0/core/any/struct.TypeId.html" title="struct core::any::TypeId">TypeId</a></h4></section></summary><div class='docblock'>Gets the <code>TypeId</code> of <code>self</code>. <a href="https://doc.rust-lang.org/1.84.0/core/any/trait.Any.html#tymethod.type_id">Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Borrow%3CT%3E-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.84.0/src/core/borrow.rs.html#209">Source</a><a href="#impl-Borrow%3CT%3E-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/borrow/trait.Borrow.html" title="trait core::borrow::Borrow">Borrow</a>&lt;T&gt; for T<div class="where">where
T: ?<a class="trait" href="https://doc.rust-lang.org/1.84.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.borrow" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.84.0/src/core/borrow.rs.html#211">Source</a><a href="#method.borrow" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/borrow/trait.Borrow.html#tymethod.borrow" class="fn">borrow</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.reference.html">&amp;T</a></h4></section></summary><div class='docblock'>Immutably borrows from an owned value. <a href="https://doc.rust-lang.org/1.84.0/core/borrow/trait.Borrow.html#tymethod.borrow">Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-BorrowMut%3CT%3E-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.84.0/src/core/borrow.rs.html#217">Source</a><a href="#impl-BorrowMut%3CT%3E-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/borrow/trait.BorrowMut.html" title="trait core::borrow::BorrowMut">BorrowMut</a>&lt;T&gt; for T<div class="where">where
T: ?<a class="trait" href="https://doc.rust-lang.org/1.84.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.borrow_mut" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.84.0/src/core/borrow.rs.html#218">Source</a><a href="#method.borrow_mut" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/borrow/trait.BorrowMut.html#tymethod.borrow_mut" class="fn">borrow_mut</a>(&amp;mut self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.reference.html">&amp;mut T</a></h4></section></summary><div class='docblock'>Mutably borrows from an owned value. <a href="https://doc.rust-lang.org/1.84.0/core/borrow/trait.BorrowMut.html#tymethod.borrow_mut">Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Downcast%3CT%3E-for-T" class="impl"><a class="src rightside" href="../../src/khronos_egl/lib.rs.html#148">Source</a><a href="#impl-Downcast%3CT%3E-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="../../khronos_egl/trait.Downcast.html" title="trait khronos_egl::Downcast">Downcast</a>&lt;T&gt; for T</h3></section></summary><div class="impl-items"><section id="method.downcast" class="method trait-impl"><a class="src rightside" href="../../src/khronos_egl/lib.rs.html#149">Source</a><a href="#method.downcast" class="anchor">§</a><h4 class="code-header">fn <a href="../../khronos_egl/trait.Downcast.html#tymethod.downcast" class="fn">downcast</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.reference.html">&amp;T</a></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-DynAdapter-for-A" class="impl"><a class="src rightside" href="../../src/wgpu_hal/dynamic/adapter.rs.html#39-67">Source</a><a href="#impl-DynAdapter-for-A" class="anchor">§</a><h3 class="code-header">impl&lt;A&gt; <a class="trait" href="../trait.DynAdapter.html" title="trait wgpu_hal::DynAdapter">DynAdapter</a> for A<div class="where">where
A: <a class="trait" href="../trait.Adapter.html" title="trait wgpu_hal::Adapter">Adapter</a> + <a class="trait" href="../trait.DynResource.html" title="trait wgpu_hal::DynResource">DynResource</a>,</div></h3></section></summary><div class="impl-items"><section id="method.open-1" class="method trait-impl"><a class="src rightside" href="../../src/wgpu_hal/dynamic/adapter.rs.html#40-50">Source</a><a href="#method.open-1" class="anchor">§</a><h4 class="code-header">unsafe fn <a href="../trait.DynAdapter.html#tymethod.open" class="fn">open</a>(
&amp;self,
features: <a class="struct" href="../../wgpu_types/struct.Features.html" title="struct wgpu_types::Features">Features</a>,
limits: &amp;<a class="struct" href="../../wgpu_types/struct.Limits.html" title="struct wgpu_types::Limits">Limits</a>,
memory_hints: &amp;<a class="enum" href="../../wgpu_types/enum.MemoryHints.html" title="enum wgpu_types::MemoryHints">MemoryHints</a>,
) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="../struct.DynOpenDevice.html" title="struct wgpu_hal::DynOpenDevice">DynOpenDevice</a>, <a class="enum" href="../enum.DeviceError.html" title="enum wgpu_hal::DeviceError">DeviceError</a>&gt;</h4></section><section id="method.texture_format_capabilities-1" class="method trait-impl"><a class="src rightside" href="../../src/wgpu_hal/dynamic/adapter.rs.html#52-57">Source</a><a href="#method.texture_format_capabilities-1" class="anchor">§</a><h4 class="code-header">unsafe fn <a href="../trait.DynAdapter.html#tymethod.texture_format_capabilities" class="fn">texture_format_capabilities</a>(
&amp;self,
format: <a class="enum" href="../../wgpu_types/enum.TextureFormat.html" title="enum wgpu_types::TextureFormat">TextureFormat</a>,
) -&gt; <a class="struct" href="../struct.TextureFormatCapabilities.html" title="struct wgpu_hal::TextureFormatCapabilities">TextureFormatCapabilities</a></h4></section><section id="method.surface_capabilities-1" class="method trait-impl"><a class="src rightside" href="../../src/wgpu_hal/dynamic/adapter.rs.html#59-62">Source</a><a href="#method.surface_capabilities-1" class="anchor">§</a><h4 class="code-header">unsafe fn <a href="../trait.DynAdapter.html#tymethod.surface_capabilities" class="fn">surface_capabilities</a>(
&amp;self,
surface: &amp;(dyn <a class="trait" href="../trait.DynSurface.html" title="trait wgpu_hal::DynSurface">DynSurface</a> + 'static),
) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="struct" href="../struct.SurfaceCapabilities.html" title="struct wgpu_hal::SurfaceCapabilities">SurfaceCapabilities</a>&gt;</h4></section><section id="method.get_presentation_timestamp-1" class="method trait-impl"><a class="src rightside" href="../../src/wgpu_hal/dynamic/adapter.rs.html#64-66">Source</a><a href="#method.get_presentation_timestamp-1" class="anchor">§</a><h4 class="code-header">unsafe fn <a href="../trait.DynAdapter.html#tymethod.get_presentation_timestamp" class="fn">get_presentation_timestamp</a>(&amp;self) -&gt; <a class="struct" href="../../wgpu_types/struct.PresentationTimestamp.html" title="struct wgpu_types::PresentationTimestamp">PresentationTimestamp</a></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-DynDevice-for-D" class="impl"><a class="src rightside" href="../../src/wgpu_hal/dynamic/device.rs.html#168-536">Source</a><a href="#impl-DynDevice-for-D" class="anchor">§</a><h3 class="code-header">impl&lt;D&gt; <a class="trait" href="../trait.DynDevice.html" title="trait wgpu_hal::DynDevice">DynDevice</a> for D<div class="where">where
D: <a class="trait" href="../trait.Device.html" title="trait wgpu_hal::Device">Device</a> + <a class="trait" href="../trait.DynResource.html" title="trait wgpu_hal::DynResource">DynResource</a>,</div></h3></section></summary><div class="impl-items"><section id="method.exit-1" class="method trait-impl"><a class="src rightside" href="../../src/wgpu_hal/dynamic/device.rs.html#169-171">Source</a><a href="#method.exit-1" class="anchor">§</a><h4 class="code-header">unsafe fn <a href="../trait.DynDevice.html#tymethod.exit" class="fn">exit</a>(self: <a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;D&gt;, queue: <a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="../trait.DynQueue.html" title="trait wgpu_hal::DynQueue">DynQueue</a>&gt;)</h4></section><section id="method.create_buffer-1" class="method trait-impl"><a class="src rightside" href="../../src/wgpu_hal/dynamic/device.rs.html#173-178">Source</a><a href="#method.create_buffer-1" class="anchor">§</a><h4 class="code-header">unsafe fn <a href="../trait.DynDevice.html#tymethod.create_buffer" class="fn">create_buffer</a>(
&amp;self,
desc: &amp;<a class="struct" href="../struct.BufferDescriptor.html" title="struct wgpu_hal::BufferDescriptor">BufferDescriptor</a>&lt;'_&gt;,
) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="../trait.DynBuffer.html" title="trait wgpu_hal::DynBuffer">DynBuffer</a>&gt;, <a class="enum" href="../enum.DeviceError.html" title="enum wgpu_hal::DeviceError">DeviceError</a>&gt;</h4></section><section id="method.destroy_buffer-1" class="method trait-impl"><a class="src rightside" href="../../src/wgpu_hal/dynamic/device.rs.html#180-182">Source</a><a href="#method.destroy_buffer-1" class="anchor">§</a><h4 class="code-header">unsafe fn <a href="../trait.DynDevice.html#tymethod.destroy_buffer" class="fn">destroy_buffer</a>(&amp;self, buffer: <a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="../trait.DynBuffer.html" title="trait wgpu_hal::DynBuffer">DynBuffer</a>&gt;)</h4></section><section id="method.add_raw_buffer-1" class="method trait-impl"><a class="src rightside" href="../../src/wgpu_hal/dynamic/device.rs.html#183-186">Source</a><a href="#method.add_raw_buffer-1" class="anchor">§</a><h4 class="code-header">unsafe fn <a href="../trait.DynDevice.html#tymethod.add_raw_buffer" class="fn">add_raw_buffer</a>(&amp;self, buffer: &amp;(dyn <a class="trait" href="../trait.DynBuffer.html" title="trait wgpu_hal::DynBuffer">DynBuffer</a> + 'static))</h4></section><section id="method.map_buffer-1" class="method trait-impl"><a class="src rightside" href="../../src/wgpu_hal/dynamic/device.rs.html#188-195">Source</a><a href="#method.map_buffer-1" class="anchor">§</a><h4 class="code-header">unsafe fn <a href="../trait.DynDevice.html#tymethod.map_buffer" class="fn">map_buffer</a>(
&amp;self,
buffer: &amp;(dyn <a class="trait" href="../trait.DynBuffer.html" title="trait wgpu_hal::DynBuffer">DynBuffer</a> + 'static),
range: <a class="struct" href="https://doc.rust-lang.org/1.84.0/core/ops/range/struct.Range.html" title="struct core::ops::range::Range">Range</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.u64.html">u64</a>&gt;,
) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="../struct.BufferMapping.html" title="struct wgpu_hal::BufferMapping">BufferMapping</a>, <a class="enum" href="../enum.DeviceError.html" title="enum wgpu_hal::DeviceError">DeviceError</a>&gt;</h4></section><section id="method.unmap_buffer-1" class="method trait-impl"><a class="src rightside" href="../../src/wgpu_hal/dynamic/device.rs.html#197-200">Source</a><a href="#method.unmap_buffer-1" class="anchor">§</a><h4 class="code-header">unsafe fn <a href="../trait.DynDevice.html#tymethod.unmap_buffer" class="fn">unmap_buffer</a>(&amp;self, buffer: &amp;(dyn <a class="trait" href="../trait.DynBuffer.html" title="trait wgpu_hal::DynBuffer">DynBuffer</a> + 'static))</h4></section><section id="method.flush_mapped_ranges-1" class="method trait-impl"><a class="src rightside" href="../../src/wgpu_hal/dynamic/device.rs.html#202-205">Source</a><a href="#method.flush_mapped_ranges-1" class="anchor">§</a><h4 class="code-header">unsafe fn <a href="../trait.DynDevice.html#tymethod.flush_mapped_ranges" class="fn">flush_mapped_ranges</a>(
&amp;self,
buffer: &amp;(dyn <a class="trait" href="../trait.DynBuffer.html" title="trait wgpu_hal::DynBuffer">DynBuffer</a> + 'static),
ranges: &amp;[<a class="struct" href="https://doc.rust-lang.org/1.84.0/core/ops/range/struct.Range.html" title="struct core::ops::range::Range">Range</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.u64.html">u64</a>&gt;],
)</h4></section><section id="method.invalidate_mapped_ranges-1" class="method trait-impl"><a class="src rightside" href="../../src/wgpu_hal/dynamic/device.rs.html#207-210">Source</a><a href="#method.invalidate_mapped_ranges-1" class="anchor">§</a><h4 class="code-header">unsafe fn <a href="../trait.DynDevice.html#tymethod.invalidate_mapped_ranges" class="fn">invalidate_mapped_ranges</a>(
&amp;self,
buffer: &amp;(dyn <a class="trait" href="../trait.DynBuffer.html" title="trait wgpu_hal::DynBuffer">DynBuffer</a> + 'static),
ranges: &amp;[<a class="struct" href="https://doc.rust-lang.org/1.84.0/core/ops/range/struct.Range.html" title="struct core::ops::range::Range">Range</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.u64.html">u64</a>&gt;],
)</h4></section><section id="method.create_texture-1" class="method trait-impl"><a class="src rightside" href="../../src/wgpu_hal/dynamic/device.rs.html#212-221">Source</a><a href="#method.create_texture-1" class="anchor">§</a><h4 class="code-header">unsafe fn <a href="../trait.DynDevice.html#tymethod.create_texture" class="fn">create_texture</a>(
&amp;self,
desc: &amp;<a class="struct" href="../struct.TextureDescriptor.html" title="struct wgpu_hal::TextureDescriptor">TextureDescriptor</a>&lt;'_&gt;,
) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="../trait.DynTexture.html" title="trait wgpu_hal::DynTexture">DynTexture</a>&gt;, <a class="enum" href="../enum.DeviceError.html" title="enum wgpu_hal::DeviceError">DeviceError</a>&gt;</h4></section><section id="method.destroy_texture-1" class="method trait-impl"><a class="src rightside" href="../../src/wgpu_hal/dynamic/device.rs.html#223-225">Source</a><a href="#method.destroy_texture-1" class="anchor">§</a><h4 class="code-header">unsafe fn <a href="../trait.DynDevice.html#tymethod.destroy_texture" class="fn">destroy_texture</a>(&amp;self, texture: <a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="../trait.DynTexture.html" title="trait wgpu_hal::DynTexture">DynTexture</a>&gt;)</h4></section><section id="method.add_raw_texture-1" class="method trait-impl"><a class="src rightside" href="../../src/wgpu_hal/dynamic/device.rs.html#227-230">Source</a><a href="#method.add_raw_texture-1" class="anchor">§</a><h4 class="code-header">unsafe fn <a href="../trait.DynDevice.html#tymethod.add_raw_texture" class="fn">add_raw_texture</a>(&amp;self, texture: &amp;(dyn <a class="trait" href="../trait.DynTexture.html" title="trait wgpu_hal::DynTexture">DynTexture</a> + 'static))</h4></section><section id="method.create_texture_view-1" class="method trait-impl"><a class="src rightside" href="../../src/wgpu_hal/dynamic/device.rs.html#232-243">Source</a><a href="#method.create_texture_view-1" class="anchor">§</a><h4 class="code-header">unsafe fn <a href="../trait.DynDevice.html#tymethod.create_texture_view" class="fn">create_texture_view</a>(
&amp;self,
texture: &amp;(dyn <a class="trait" href="../trait.DynTexture.html" title="trait wgpu_hal::DynTexture">DynTexture</a> + 'static),
desc: &amp;<a class="struct" href="../struct.TextureViewDescriptor.html" title="struct wgpu_hal::TextureViewDescriptor">TextureViewDescriptor</a>&lt;'_&gt;,
) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="../trait.DynTextureView.html" title="trait wgpu_hal::DynTextureView">DynTextureView</a>&gt;, <a class="enum" href="../enum.DeviceError.html" title="enum wgpu_hal::DeviceError">DeviceError</a>&gt;</h4></section><section id="method.destroy_texture_view-1" class="method trait-impl"><a class="src rightside" href="../../src/wgpu_hal/dynamic/device.rs.html#245-247">Source</a><a href="#method.destroy_texture_view-1" class="anchor">§</a><h4 class="code-header">unsafe fn <a href="../trait.DynDevice.html#tymethod.destroy_texture_view" class="fn">destroy_texture_view</a>(&amp;self, view: <a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="../trait.DynTextureView.html" title="trait wgpu_hal::DynTextureView">DynTextureView</a>&gt;)</h4></section><section id="method.create_sampler-1" class="method trait-impl"><a class="src rightside" href="../../src/wgpu_hal/dynamic/device.rs.html#249-258">Source</a><a href="#method.create_sampler-1" class="anchor">§</a><h4 class="code-header">unsafe fn <a href="../trait.DynDevice.html#tymethod.create_sampler" class="fn">create_sampler</a>(
&amp;self,
desc: &amp;<a class="struct" href="../struct.SamplerDescriptor.html" title="struct wgpu_hal::SamplerDescriptor">SamplerDescriptor</a>&lt;'_&gt;,
) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="../trait.DynSampler.html" title="trait wgpu_hal::DynSampler">DynSampler</a>&gt;, <a class="enum" href="../enum.DeviceError.html" title="enum wgpu_hal::DeviceError">DeviceError</a>&gt;</h4></section><section id="method.destroy_sampler-1" class="method trait-impl"><a class="src rightside" href="../../src/wgpu_hal/dynamic/device.rs.html#260-262">Source</a><a href="#method.destroy_sampler-1" class="anchor">§</a><h4 class="code-header">unsafe fn <a href="../trait.DynDevice.html#tymethod.destroy_sampler" class="fn">destroy_sampler</a>(&amp;self, sampler: <a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="../trait.DynSampler.html" title="trait wgpu_hal::DynSampler">DynSampler</a>&gt;)</h4></section><section id="method.create_command_encoder-1" class="method trait-impl"><a class="src rightside" href="../../src/wgpu_hal/dynamic/device.rs.html#264-274">Source</a><a href="#method.create_command_encoder-1" class="anchor">§</a><h4 class="code-header">unsafe fn <a href="../trait.DynDevice.html#tymethod.create_command_encoder" class="fn">create_command_encoder</a>(
&amp;self,
desc: &amp;<a class="struct" href="../struct.CommandEncoderDescriptor.html" title="struct wgpu_hal::CommandEncoderDescriptor">CommandEncoderDescriptor</a>&lt;'_, dyn <a class="trait" href="../trait.DynQueue.html" title="trait wgpu_hal::DynQueue">DynQueue</a>&gt;,
) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="../trait.DynCommandEncoder.html" title="trait wgpu_hal::DynCommandEncoder">DynCommandEncoder</a>&gt;, <a class="enum" href="../enum.DeviceError.html" title="enum wgpu_hal::DeviceError">DeviceError</a>&gt;</h4></section><section id="method.destroy_command_encoder-1" class="method trait-impl"><a class="src rightside" href="../../src/wgpu_hal/dynamic/device.rs.html#276-278">Source</a><a href="#method.destroy_command_encoder-1" class="anchor">§</a><h4 class="code-header">unsafe fn <a href="../trait.DynDevice.html#tymethod.destroy_command_encoder" class="fn">destroy_command_encoder</a>(&amp;self, encoder: <a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="../trait.DynCommandEncoder.html" title="trait wgpu_hal::DynCommandEncoder">DynCommandEncoder</a>&gt;)</h4></section><section id="method.create_bind_group_layout-1" class="method trait-impl"><a class="src rightside" href="../../src/wgpu_hal/dynamic/device.rs.html#280-286">Source</a><a href="#method.create_bind_group_layout-1" class="anchor">§</a><h4 class="code-header">unsafe fn <a href="../trait.DynDevice.html#tymethod.create_bind_group_layout" class="fn">create_bind_group_layout</a>(
&amp;self,
desc: &amp;<a class="struct" href="../struct.BindGroupLayoutDescriptor.html" title="struct wgpu_hal::BindGroupLayoutDescriptor">BindGroupLayoutDescriptor</a>&lt;'_&gt;,
) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="../trait.DynBindGroupLayout.html" title="trait wgpu_hal::DynBindGroupLayout">DynBindGroupLayout</a>&gt;, <a class="enum" href="../enum.DeviceError.html" title="enum wgpu_hal::DeviceError">DeviceError</a>&gt;</h4></section><section id="method.destroy_bind_group_layout-1" class="method trait-impl"><a class="src rightside" href="../../src/wgpu_hal/dynamic/device.rs.html#288-290">Source</a><a href="#method.destroy_bind_group_layout-1" class="anchor">§</a><h4 class="code-header">unsafe fn <a href="../trait.DynDevice.html#tymethod.destroy_bind_group_layout" class="fn">destroy_bind_group_layout</a>(
&amp;self,
bg_layout: <a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="../trait.DynBindGroupLayout.html" title="trait wgpu_hal::DynBindGroupLayout">DynBindGroupLayout</a>&gt;,
)</h4></section><section id="method.create_pipeline_layout-1" class="method trait-impl"><a class="src rightside" href="../../src/wgpu_hal/dynamic/device.rs.html#292-310">Source</a><a href="#method.create_pipeline_layout-1" class="anchor">§</a><h4 class="code-header">unsafe fn <a href="../trait.DynDevice.html#tymethod.create_pipeline_layout" class="fn">create_pipeline_layout</a>(
&amp;self,
desc: &amp;<a class="struct" href="../struct.PipelineLayoutDescriptor.html" title="struct wgpu_hal::PipelineLayoutDescriptor">PipelineLayoutDescriptor</a>&lt;'_, dyn <a class="trait" href="../trait.DynBindGroupLayout.html" title="trait wgpu_hal::DynBindGroupLayout">DynBindGroupLayout</a>&gt;,
) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="../trait.DynPipelineLayout.html" title="trait wgpu_hal::DynPipelineLayout">DynPipelineLayout</a>&gt;, <a class="enum" href="../enum.DeviceError.html" title="enum wgpu_hal::DeviceError">DeviceError</a>&gt;</h4></section><section id="method.destroy_pipeline_layout-1" class="method trait-impl"><a class="src rightside" href="../../src/wgpu_hal/dynamic/device.rs.html#312-314">Source</a><a href="#method.destroy_pipeline_layout-1" class="anchor">§</a><h4 class="code-header">unsafe fn <a href="../trait.DynDevice.html#tymethod.destroy_pipeline_layout" class="fn">destroy_pipeline_layout</a>(
&amp;self,
pipeline_layout: <a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="../trait.DynPipelineLayout.html" title="trait wgpu_hal::DynPipelineLayout">DynPipelineLayout</a>&gt;,
)</h4></section><section id="method.create_bind_group-1" class="method trait-impl"><a class="src rightside" href="../../src/wgpu_hal/dynamic/device.rs.html#316-359">Source</a><a href="#method.create_bind_group-1" class="anchor">§</a><h4 class="code-header">unsafe fn <a href="../trait.DynDevice.html#tymethod.create_bind_group" class="fn">create_bind_group</a>(
&amp;self,
desc: &amp;<a class="struct" href="../struct.BindGroupDescriptor.html" title="struct wgpu_hal::BindGroupDescriptor">BindGroupDescriptor</a>&lt;'_, dyn <a class="trait" href="../trait.DynBindGroupLayout.html" title="trait wgpu_hal::DynBindGroupLayout">DynBindGroupLayout</a>, dyn <a class="trait" href="../trait.DynBuffer.html" title="trait wgpu_hal::DynBuffer">DynBuffer</a>, dyn <a class="trait" href="../trait.DynSampler.html" title="trait wgpu_hal::DynSampler">DynSampler</a>, dyn <a class="trait" href="../trait.DynTextureView.html" title="trait wgpu_hal::DynTextureView">DynTextureView</a>, dyn <a class="trait" href="../trait.DynAccelerationStructure.html" title="trait wgpu_hal::DynAccelerationStructure">DynAccelerationStructure</a>&gt;,
) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="../trait.DynBindGroup.html" title="trait wgpu_hal::DynBindGroup">DynBindGroup</a>&gt;, <a class="enum" href="../enum.DeviceError.html" title="enum wgpu_hal::DeviceError">DeviceError</a>&gt;</h4></section><section id="method.destroy_bind_group-1" class="method trait-impl"><a class="src rightside" href="../../src/wgpu_hal/dynamic/device.rs.html#361-363">Source</a><a href="#method.destroy_bind_group-1" class="anchor">§</a><h4 class="code-header">unsafe fn <a href="../trait.DynDevice.html#tymethod.destroy_bind_group" class="fn">destroy_bind_group</a>(&amp;self, group: <a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="../trait.DynBindGroup.html" title="trait wgpu_hal::DynBindGroup">DynBindGroup</a>&gt;)</h4></section><section id="method.create_shader_module-1" class="method trait-impl"><a class="src rightside" href="../../src/wgpu_hal/dynamic/device.rs.html#365-372">Source</a><a href="#method.create_shader_module-1" class="anchor">§</a><h4 class="code-header">unsafe fn <a href="../trait.DynDevice.html#tymethod.create_shader_module" class="fn">create_shader_module</a>(
&amp;self,
desc: &amp;<a class="struct" href="../struct.ShaderModuleDescriptor.html" title="struct wgpu_hal::ShaderModuleDescriptor">ShaderModuleDescriptor</a>&lt;'_&gt;,
shader: <a class="enum" href="../enum.ShaderInput.html" title="enum wgpu_hal::ShaderInput">ShaderInput</a>&lt;'_&gt;,
) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="../trait.DynShaderModule.html" title="trait wgpu_hal::DynShaderModule">DynShaderModule</a>&gt;, <a class="enum" href="../enum.ShaderError.html" title="enum wgpu_hal::ShaderError">ShaderError</a>&gt;</h4></section><section id="method.destroy_shader_module-1" class="method trait-impl"><a class="src rightside" href="../../src/wgpu_hal/dynamic/device.rs.html#374-376">Source</a><a href="#method.destroy_shader_module-1" class="anchor">§</a><h4 class="code-header">unsafe fn <a href="../trait.DynDevice.html#tymethod.destroy_shader_module" class="fn">destroy_shader_module</a>(&amp;self, module: <a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="../trait.DynShaderModule.html" title="trait wgpu_hal::DynShaderModule">DynShaderModule</a>&gt;)</h4></section><section id="method.create_render_pipeline-1" class="method trait-impl"><a class="src rightside" href="../../src/wgpu_hal/dynamic/device.rs.html#378-402">Source</a><a href="#method.create_render_pipeline-1" class="anchor">§</a><h4 class="code-header">unsafe fn <a href="../trait.DynDevice.html#tymethod.create_render_pipeline" class="fn">create_render_pipeline</a>(
&amp;self,
desc: &amp;<a class="struct" href="../struct.RenderPipelineDescriptor.html" title="struct wgpu_hal::RenderPipelineDescriptor">RenderPipelineDescriptor</a>&lt;'_, dyn <a class="trait" href="../trait.DynPipelineLayout.html" title="trait wgpu_hal::DynPipelineLayout">DynPipelineLayout</a>, dyn <a class="trait" href="../trait.DynShaderModule.html" title="trait wgpu_hal::DynShaderModule">DynShaderModule</a>, dyn <a class="trait" href="../trait.DynPipelineCache.html" title="trait wgpu_hal::DynPipelineCache">DynPipelineCache</a>&gt;,
) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="../trait.DynRenderPipeline.html" title="trait wgpu_hal::DynRenderPipeline">DynRenderPipeline</a>&gt;, <a class="enum" href="../enum.PipelineError.html" title="enum wgpu_hal::PipelineError">PipelineError</a>&gt;</h4></section><section id="method.destroy_render_pipeline-1" class="method trait-impl"><a class="src rightside" href="../../src/wgpu_hal/dynamic/device.rs.html#404-406">Source</a><a href="#method.destroy_render_pipeline-1" class="anchor">§</a><h4 class="code-header">unsafe fn <a href="../trait.DynDevice.html#tymethod.destroy_render_pipeline" class="fn">destroy_render_pipeline</a>(&amp;self, pipeline: <a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="../trait.DynRenderPipeline.html" title="trait wgpu_hal::DynRenderPipeline">DynRenderPipeline</a>&gt;)</h4></section><section id="method.create_compute_pipeline-1" class="method trait-impl"><a class="src rightside" href="../../src/wgpu_hal/dynamic/device.rs.html#408-425">Source</a><a href="#method.create_compute_pipeline-1" class="anchor">§</a><h4 class="code-header">unsafe fn <a href="../trait.DynDevice.html#tymethod.create_compute_pipeline" class="fn">create_compute_pipeline</a>(
&amp;self,
desc: &amp;<a class="struct" href="../struct.ComputePipelineDescriptor.html" title="struct wgpu_hal::ComputePipelineDescriptor">ComputePipelineDescriptor</a>&lt;'_, dyn <a class="trait" href="../trait.DynPipelineLayout.html" title="trait wgpu_hal::DynPipelineLayout">DynPipelineLayout</a>, dyn <a class="trait" href="../trait.DynShaderModule.html" title="trait wgpu_hal::DynShaderModule">DynShaderModule</a>, dyn <a class="trait" href="../trait.DynPipelineCache.html" title="trait wgpu_hal::DynPipelineCache">DynPipelineCache</a>&gt;,
) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="../trait.DynComputePipeline.html" title="trait wgpu_hal::DynComputePipeline">DynComputePipeline</a>&gt;, <a class="enum" href="../enum.PipelineError.html" title="enum wgpu_hal::PipelineError">PipelineError</a>&gt;</h4></section><section id="method.destroy_compute_pipeline-1" class="method trait-impl"><a class="src rightside" href="../../src/wgpu_hal/dynamic/device.rs.html#427-429">Source</a><a href="#method.destroy_compute_pipeline-1" class="anchor">§</a><h4 class="code-header">unsafe fn <a href="../trait.DynDevice.html#tymethod.destroy_compute_pipeline" class="fn">destroy_compute_pipeline</a>(&amp;self, pipeline: <a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="../trait.DynComputePipeline.html" title="trait wgpu_hal::DynComputePipeline">DynComputePipeline</a>&gt;)</h4></section><section id="method.create_pipeline_cache-1" class="method trait-impl"><a class="src rightside" href="../../src/wgpu_hal/dynamic/device.rs.html#431-437">Source</a><a href="#method.create_pipeline_cache-1" class="anchor">§</a><h4 class="code-header">unsafe fn <a href="../trait.DynDevice.html#tymethod.create_pipeline_cache" class="fn">create_pipeline_cache</a>(
&amp;self,
desc: &amp;<a class="struct" href="../struct.PipelineCacheDescriptor.html" title="struct wgpu_hal::PipelineCacheDescriptor">PipelineCacheDescriptor</a>&lt;'_&gt;,
) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="../trait.DynPipelineCache.html" title="trait wgpu_hal::DynPipelineCache">DynPipelineCache</a>&gt;, <a class="enum" href="../enum.PipelineCacheError.html" title="enum wgpu_hal::PipelineCacheError">PipelineCacheError</a>&gt;</h4></section><section id="method.pipeline_cache_validation_key-1" class="method trait-impl"><a class="src rightside" href="../../src/wgpu_hal/dynamic/device.rs.html#439-441">Source</a><a href="#method.pipeline_cache_validation_key-1" class="anchor">§</a><h4 class="code-header">fn <a href="../trait.DynDevice.html#method.pipeline_cache_validation_key" class="fn">pipeline_cache_validation_key</a>(&amp;self) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;[<a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.u8.html">u8</a>; <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.array.html">16</a>]&gt;</h4></section><section id="method.destroy_pipeline_cache-1" class="method trait-impl"><a class="src rightside" href="../../src/wgpu_hal/dynamic/device.rs.html#443-445">Source</a><a href="#method.destroy_pipeline_cache-1" class="anchor">§</a><h4 class="code-header">unsafe fn <a href="../trait.DynDevice.html#tymethod.destroy_pipeline_cache" class="fn">destroy_pipeline_cache</a>(
&amp;self,
pipeline_cache: <a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="../trait.DynPipelineCache.html" title="trait wgpu_hal::DynPipelineCache">DynPipelineCache</a>&gt;,
)</h4></section><section id="method.create_query_set-1" class="method trait-impl"><a class="src rightside" href="../../src/wgpu_hal/dynamic/device.rs.html#447-452">Source</a><a href="#method.create_query_set-1" class="anchor">§</a><h4 class="code-header">unsafe fn <a href="../trait.DynDevice.html#tymethod.create_query_set" class="fn">create_query_set</a>(
&amp;self,
desc: &amp;<a class="struct" href="../../wgpu_types/struct.QuerySetDescriptor.html" title="struct wgpu_types::QuerySetDescriptor">QuerySetDescriptor</a>&lt;<a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;&amp;<a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.str.html">str</a>&gt;&gt;,
) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="../trait.DynQuerySet.html" title="trait wgpu_hal::DynQuerySet">DynQuerySet</a>&gt;, <a class="enum" href="../enum.DeviceError.html" title="enum wgpu_hal::DeviceError">DeviceError</a>&gt;</h4></section><section id="method.destroy_query_set-1" class="method trait-impl"><a class="src rightside" href="../../src/wgpu_hal/dynamic/device.rs.html#454-456">Source</a><a href="#method.destroy_query_set-1" class="anchor">§</a><h4 class="code-header">unsafe fn <a href="../trait.DynDevice.html#tymethod.destroy_query_set" class="fn">destroy_query_set</a>(&amp;self, query_set: <a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="../trait.DynQuerySet.html" title="trait wgpu_hal::DynQuerySet">DynQuerySet</a>&gt;)</h4></section><section id="method.create_fence-1" class="method trait-impl"><a class="src rightside" href="../../src/wgpu_hal/dynamic/device.rs.html#458-460">Source</a><a href="#method.create_fence-1" class="anchor">§</a><h4 class="code-header">unsafe fn <a href="../trait.DynDevice.html#tymethod.create_fence" class="fn">create_fence</a>(&amp;self) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="../trait.DynFence.html" title="trait wgpu_hal::DynFence">DynFence</a>&gt;, <a class="enum" href="../enum.DeviceError.html" title="enum wgpu_hal::DeviceError">DeviceError</a>&gt;</h4></section><section id="method.destroy_fence-1" class="method trait-impl"><a class="src rightside" href="../../src/wgpu_hal/dynamic/device.rs.html#462-464">Source</a><a href="#method.destroy_fence-1" class="anchor">§</a><h4 class="code-header">unsafe fn <a href="../trait.DynDevice.html#tymethod.destroy_fence" class="fn">destroy_fence</a>(&amp;self, fence: <a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="../trait.DynFence.html" title="trait wgpu_hal::DynFence">DynFence</a>&gt;)</h4></section><section id="method.get_fence_value-1" class="method trait-impl"><a class="src rightside" href="../../src/wgpu_hal/dynamic/device.rs.html#466-469">Source</a><a href="#method.get_fence_value-1" class="anchor">§</a><h4 class="code-header">unsafe fn <a href="../trait.DynDevice.html#tymethod.get_fence_value" class="fn">get_fence_value</a>(
&amp;self,
fence: &amp;(dyn <a class="trait" href="../trait.DynFence.html" title="trait wgpu_hal::DynFence">DynFence</a> + 'static),
) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.u64.html">u64</a>, <a class="enum" href="../enum.DeviceError.html" title="enum wgpu_hal::DeviceError">DeviceError</a>&gt;</h4></section><section id="method.wait-1" class="method trait-impl"><a class="src rightside" href="../../src/wgpu_hal/dynamic/device.rs.html#471-479">Source</a><a href="#method.wait-1" class="anchor">§</a><h4 class="code-header">unsafe fn <a href="../trait.DynDevice.html#tymethod.wait" class="fn">wait</a>(
&amp;self,
fence: &amp;(dyn <a class="trait" href="../trait.DynFence.html" title="trait wgpu_hal::DynFence">DynFence</a> + 'static),
value: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.u64.html">u64</a>,
timeout_ms: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.u32.html">u32</a>,
) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.bool.html">bool</a>, <a class="enum" href="../enum.DeviceError.html" title="enum wgpu_hal::DeviceError">DeviceError</a>&gt;</h4></section><section id="method.start_capture-1" class="method trait-impl"><a class="src rightside" href="../../src/wgpu_hal/dynamic/device.rs.html#481-483">Source</a><a href="#method.start_capture-1" class="anchor">§</a><h4 class="code-header">unsafe fn <a href="../trait.DynDevice.html#tymethod.start_capture" class="fn">start_capture</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.bool.html">bool</a></h4></section><section id="method.stop_capture-1" class="method trait-impl"><a class="src rightside" href="../../src/wgpu_hal/dynamic/device.rs.html#485-487">Source</a><a href="#method.stop_capture-1" class="anchor">§</a><h4 class="code-header">unsafe fn <a href="../trait.DynDevice.html#tymethod.stop_capture" class="fn">stop_capture</a>(&amp;self)</h4></section><section id="method.pipeline_cache_get_data-1" class="method trait-impl"><a class="src rightside" href="../../src/wgpu_hal/dynamic/device.rs.html#489-492">Source</a><a href="#method.pipeline_cache_get_data-1" class="anchor">§</a><h4 class="code-header">unsafe fn <a href="../trait.DynDevice.html#tymethod.pipeline_cache_get_data" class="fn">pipeline_cache_get_data</a>(
&amp;self,
cache: &amp;(dyn <a class="trait" href="../trait.DynPipelineCache.html" title="trait wgpu_hal::DynPipelineCache">DynPipelineCache</a> + 'static),
) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.u8.html">u8</a>&gt;&gt;</h4></section><section id="method.create_acceleration_structure-1" class="method trait-impl"><a class="src rightside" href="../../src/wgpu_hal/dynamic/device.rs.html#494-500">Source</a><a href="#method.create_acceleration_structure-1" class="anchor">§</a><h4 class="code-header">unsafe fn <a href="../trait.DynDevice.html#tymethod.create_acceleration_structure" class="fn">create_acceleration_structure</a>(
&amp;self,
desc: &amp;<a class="struct" href="../struct.AccelerationStructureDescriptor.html" title="struct wgpu_hal::AccelerationStructureDescriptor">AccelerationStructureDescriptor</a>&lt;'_&gt;,
) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="../trait.DynAccelerationStructure.html" title="trait wgpu_hal::DynAccelerationStructure">DynAccelerationStructure</a>&gt;, <a class="enum" href="../enum.DeviceError.html" title="enum wgpu_hal::DeviceError">DeviceError</a>&gt;</h4></section><section id="method.get_acceleration_structure_build_sizes-1" class="method trait-impl"><a class="src rightside" href="../../src/wgpu_hal/dynamic/device.rs.html#502-512">Source</a><a href="#method.get_acceleration_structure_build_sizes-1" class="anchor">§</a><h4 class="code-header">unsafe fn <a href="../trait.DynDevice.html#tymethod.get_acceleration_structure_build_sizes" class="fn">get_acceleration_structure_build_sizes</a>(
&amp;self,
desc: &amp;<a class="struct" href="../struct.GetAccelerationStructureBuildSizesDescriptor.html" title="struct wgpu_hal::GetAccelerationStructureBuildSizesDescriptor">GetAccelerationStructureBuildSizesDescriptor</a>&lt;'_, dyn <a class="trait" href="../trait.DynBuffer.html" title="trait wgpu_hal::DynBuffer">DynBuffer</a>&gt;,
) -&gt; <a class="struct" href="../struct.AccelerationStructureBuildSizes.html" title="struct wgpu_hal::AccelerationStructureBuildSizes">AccelerationStructureBuildSizes</a></h4></section><section id="method.get_acceleration_structure_device_address-1" class="method trait-impl"><a class="src rightside" href="../../src/wgpu_hal/dynamic/device.rs.html#514-520">Source</a><a href="#method.get_acceleration_structure_device_address-1" class="anchor">§</a><h4 class="code-header">unsafe fn <a href="../trait.DynDevice.html#tymethod.get_acceleration_structure_device_address" class="fn">get_acceleration_structure_device_address</a>(
&amp;self,
acceleration_structure: &amp;(dyn <a class="trait" href="../trait.DynAccelerationStructure.html" title="trait wgpu_hal::DynAccelerationStructure">DynAccelerationStructure</a> + 'static),
) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.u64.html">u64</a></h4></section><section id="method.destroy_acceleration_structure-1" class="method trait-impl"><a class="src rightside" href="../../src/wgpu_hal/dynamic/device.rs.html#522-527">Source</a><a href="#method.destroy_acceleration_structure-1" class="anchor">§</a><h4 class="code-header">unsafe fn <a href="../trait.DynDevice.html#tymethod.destroy_acceleration_structure" class="fn">destroy_acceleration_structure</a>(
&amp;self,
acceleration_structure: <a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="../trait.DynAccelerationStructure.html" title="trait wgpu_hal::DynAccelerationStructure">DynAccelerationStructure</a>&gt;,
)</h4></section><section id="method.get_internal_counters-1" class="method trait-impl"><a class="src rightside" href="../../src/wgpu_hal/dynamic/device.rs.html#529-531">Source</a><a href="#method.get_internal_counters-1" class="anchor">§</a><h4 class="code-header">fn <a href="../trait.DynDevice.html#tymethod.get_internal_counters" class="fn">get_internal_counters</a>(&amp;self) -&gt; <a class="struct" href="../../wgpu_types/counters/struct.HalCounters.html" title="struct wgpu_types::counters::HalCounters">HalCounters</a></h4></section><section id="method.generate_allocator_report-1" class="method trait-impl"><a class="src rightside" href="../../src/wgpu_hal/dynamic/device.rs.html#533-535">Source</a><a href="#method.generate_allocator_report-1" class="anchor">§</a><h4 class="code-header">fn <a href="../trait.DynDevice.html#tymethod.generate_allocator_report" class="fn">generate_allocator_report</a>(&amp;self) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="struct" href="../../wgpu_types/counters/struct.AllocatorReport.html" title="struct wgpu_types::counters::AllocatorReport">AllocatorReport</a>&gt;</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-DynInstance-for-I" class="impl"><a class="src rightside" href="../../src/wgpu_hal/dynamic/instance.rs.html#43-68">Source</a><a href="#impl-DynInstance-for-I" class="anchor">§</a><h3 class="code-header">impl&lt;I&gt; <a class="trait" href="../trait.DynInstance.html" title="trait wgpu_hal::DynInstance">DynInstance</a> for I<div class="where">where
I: <a class="trait" href="../trait.Instance.html" title="trait wgpu_hal::Instance">Instance</a> + <a class="trait" href="../trait.DynResource.html" title="trait wgpu_hal::DynResource">DynResource</a>,</div></h3></section></summary><div class="impl-items"><section id="method.create_surface-1" class="method trait-impl"><a class="src rightside" href="../../src/wgpu_hal/dynamic/instance.rs.html#44-51">Source</a><a href="#method.create_surface-1" class="anchor">§</a><h4 class="code-header">unsafe fn <a href="../trait.DynInstance.html#tymethod.create_surface" class="fn">create_surface</a>(
&amp;self,
display_handle: <a class="enum" href="../../raw_window_handle/enum.RawDisplayHandle.html" title="enum raw_window_handle::RawDisplayHandle">RawDisplayHandle</a>,
window_handle: <a class="enum" href="../../raw_window_handle/enum.RawWindowHandle.html" title="enum raw_window_handle::RawWindowHandle">RawWindowHandle</a>,
) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="../trait.DynSurface.html" title="trait wgpu_hal::DynSurface">DynSurface</a>&gt;, <a class="struct" href="../struct.InstanceError.html" title="struct wgpu_hal::InstanceError">InstanceError</a>&gt;</h4></section><section id="method.enumerate_adapters-1" class="method trait-impl"><a class="src rightside" href="../../src/wgpu_hal/dynamic/instance.rs.html#53-67">Source</a><a href="#method.enumerate_adapters-1" class="anchor">§</a><h4 class="code-header">unsafe fn <a href="../trait.DynInstance.html#tymethod.enumerate_adapters" class="fn">enumerate_adapters</a>(
&amp;self,
surface_hint: <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;&amp;(dyn <a class="trait" href="../trait.DynSurface.html" title="trait wgpu_hal::DynSurface">DynSurface</a> + 'static)&gt;,
) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="struct" href="../struct.DynExposedAdapter.html" title="struct wgpu_hal::DynExposedAdapter">DynExposedAdapter</a>&gt;</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-DynQueue-for-Q" class="impl"><a class="src rightside" href="../../src/wgpu_hal/dynamic/queue.rs.html#23-54">Source</a><a href="#impl-DynQueue-for-Q" class="anchor">§</a><h3 class="code-header">impl&lt;Q&gt; <a class="trait" href="../trait.DynQueue.html" title="trait wgpu_hal::DynQueue">DynQueue</a> for Q<div class="where">where
Q: <a class="trait" href="../trait.Queue.html" title="trait wgpu_hal::Queue">Queue</a> + <a class="trait" href="../trait.DynResource.html" title="trait wgpu_hal::DynResource">DynResource</a>,</div></h3></section></summary><div class="impl-items"><section id="method.submit-1" class="method trait-impl"><a class="src rightside" href="../../src/wgpu_hal/dynamic/queue.rs.html#24-40">Source</a><a href="#method.submit-1" class="anchor">§</a><h4 class="code-header">unsafe fn <a href="../trait.DynQueue.html#tymethod.submit" class="fn">submit</a>(
&amp;self,
command_buffers: &amp;[&amp;(dyn <a class="trait" href="../trait.DynCommandBuffer.html" title="trait wgpu_hal::DynCommandBuffer">DynCommandBuffer</a> + 'static)],
surface_textures: &amp;[&amp;(dyn <a class="trait" href="../trait.DynSurfaceTexture.html" title="trait wgpu_hal::DynSurfaceTexture">DynSurfaceTexture</a> + 'static)],
signal_fence: (&amp;mut (dyn <a class="trait" href="../trait.DynFence.html" title="trait wgpu_hal::DynFence">DynFence</a> + 'static), <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.u64.html">u64</a>),
) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.unit.html">()</a>, <a class="enum" href="../enum.DeviceError.html" title="enum wgpu_hal::DeviceError">DeviceError</a>&gt;</h4></section><section id="method.present-1" class="method trait-impl"><a class="src rightside" href="../../src/wgpu_hal/dynamic/queue.rs.html#42-49">Source</a><a href="#method.present-1" class="anchor">§</a><h4 class="code-header">unsafe fn <a href="../trait.DynQueue.html#tymethod.present" class="fn">present</a>(
&amp;self,
surface: &amp;(dyn <a class="trait" href="../trait.DynSurface.html" title="trait wgpu_hal::DynSurface">DynSurface</a> + 'static),
texture: <a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="../trait.DynSurfaceTexture.html" title="trait wgpu_hal::DynSurfaceTexture">DynSurfaceTexture</a>&gt;,
) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.unit.html">()</a>, <a class="enum" href="../enum.SurfaceError.html" title="enum wgpu_hal::SurfaceError">SurfaceError</a>&gt;</h4></section><section id="method.get_timestamp_period-1" class="method trait-impl"><a class="src rightside" href="../../src/wgpu_hal/dynamic/queue.rs.html#51-53">Source</a><a href="#method.get_timestamp_period-1" class="anchor">§</a><h4 class="code-header">unsafe fn <a href="../trait.DynQueue.html#tymethod.get_timestamp_period" class="fn">get_timestamp_period</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.f32.html">f32</a></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-DynSurface-for-S" class="impl"><a class="src rightside" href="../../src/wgpu_hal/dynamic/surface.rs.html#35-71">Source</a><a href="#impl-DynSurface-for-S" class="anchor">§</a><h3 class="code-header">impl&lt;S&gt; <a class="trait" href="../trait.DynSurface.html" title="trait wgpu_hal::DynSurface">DynSurface</a> for S<div class="where">where
S: <a class="trait" href="../trait.Surface.html" title="trait wgpu_hal::Surface">Surface</a> + <a class="trait" href="../trait.DynResource.html" title="trait wgpu_hal::DynResource">DynResource</a>,</div></h3></section></summary><div class="impl-items"><section id="method.configure-1" class="method trait-impl"><a class="src rightside" href="../../src/wgpu_hal/dynamic/surface.rs.html#36-43">Source</a><a href="#method.configure-1" class="anchor">§</a><h4 class="code-header">unsafe fn <a href="../trait.DynSurface.html#tymethod.configure" class="fn">configure</a>(
&amp;self,
device: &amp;(dyn <a class="trait" href="../trait.DynDevice.html" title="trait wgpu_hal::DynDevice">DynDevice</a> + 'static),
config: &amp;<a class="struct" href="../struct.SurfaceConfiguration.html" title="struct wgpu_hal::SurfaceConfiguration">SurfaceConfiguration</a>,
) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.unit.html">()</a>, <a class="enum" href="../enum.SurfaceError.html" title="enum wgpu_hal::SurfaceError">SurfaceError</a>&gt;</h4></section><section id="method.unconfigure-1" class="method trait-impl"><a class="src rightside" href="../../src/wgpu_hal/dynamic/surface.rs.html#45-48">Source</a><a href="#method.unconfigure-1" class="anchor">§</a><h4 class="code-header">unsafe fn <a href="../trait.DynSurface.html#tymethod.unconfigure" class="fn">unconfigure</a>(&amp;self, device: &amp;(dyn <a class="trait" href="../trait.DynDevice.html" title="trait wgpu_hal::DynDevice">DynDevice</a> + 'static))</h4></section><section id="method.acquire_texture-1" class="method trait-impl"><a class="src rightside" href="../../src/wgpu_hal/dynamic/surface.rs.html#50-66">Source</a><a href="#method.acquire_texture-1" class="anchor">§</a><h4 class="code-header">unsafe fn <a href="../trait.DynSurface.html#tymethod.acquire_texture" class="fn">acquire_texture</a>(
&amp;self,
timeout: <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.84.0/core/time/struct.Duration.html" title="struct core::time::Duration">Duration</a>&gt;,
fence: &amp;(dyn <a class="trait" href="../trait.DynFence.html" title="trait wgpu_hal::DynFence">DynFence</a> + 'static),
) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="struct" href="../struct.DynAcquiredSurfaceTexture.html" title="struct wgpu_hal::DynAcquiredSurfaceTexture">DynAcquiredSurfaceTexture</a>&gt;, <a class="enum" href="../enum.SurfaceError.html" title="enum wgpu_hal::SurfaceError">SurfaceError</a>&gt;</h4></section><section id="method.discard_texture-1" class="method trait-impl"><a class="src rightside" href="../../src/wgpu_hal/dynamic/surface.rs.html#68-70">Source</a><a href="#method.discard_texture-1" class="anchor">§</a><h4 class="code-header">unsafe fn <a href="../trait.DynSurface.html#tymethod.discard_texture" class="fn">discard_texture</a>(&amp;self, texture: <a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="../trait.DynSurfaceTexture.html" title="trait wgpu_hal::DynSurfaceTexture">DynSurfaceTexture</a>&gt;)</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-From%3CT%3E-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.84.0/src/core/convert/mod.rs.html#765">Source</a><a href="#impl-From%3CT%3E-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;T&gt; for T</h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.from" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.84.0/src/core/convert/mod.rs.html#768">Source</a><a href="#method.from" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/convert/trait.From.html#tymethod.from" class="fn">from</a>(t: T) -&gt; T</h4></section></summary><div class="docblock"><p>Returns the argument unchanged.</p>
</div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Into%3CU%3E-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.84.0/src/core/convert/mod.rs.html#748-750">Source</a><a href="#impl-Into%3CU%3E-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T, U&gt; <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;U&gt; for T<div class="where">where
U: <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;T&gt;,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.into" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.84.0/src/core/convert/mod.rs.html#758">Source</a><a href="#method.into" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/convert/trait.Into.html#tymethod.into" class="fn">into</a>(self) -&gt; U</h4></section></summary><div class="docblock"><p>Calls <code>U::from(self)</code>.</p>
<p>That is, this conversion is whatever the implementation of
<code><a href="https://doc.rust-lang.org/1.84.0/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;T&gt; for U</code> chooses to do.</p>
</div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-TryFrom%3CU%3E-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.84.0/src/core/convert/mod.rs.html#805-807">Source</a><a href="#impl-TryFrom%3CU%3E-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T, U&gt; <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a>&lt;U&gt; for T<div class="where">where
U: <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;T&gt;,</div></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Error-1" class="associatedtype trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.84.0/src/core/convert/mod.rs.html#809">Source</a><a href="#associatedtype.Error-1" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.84.0/core/convert/trait.TryFrom.html#associatedtype.Error" class="associatedtype">Error</a> = <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/convert/enum.Infallible.html" title="enum core::convert::Infallible">Infallible</a></h4></section></summary><div class='docblock'>The type returned in the event of a conversion error.</div></details><details class="toggle method-toggle" open><summary><section id="method.try_from" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.84.0/src/core/convert/mod.rs.html#812">Source</a><a href="#method.try_from" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/convert/trait.TryFrom.html#tymethod.try_from" class="fn">try_from</a>(value: U) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;T, &lt;T as <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a>&lt;U&gt;&gt;::<a class="associatedtype" href="https://doc.rust-lang.org/1.84.0/core/convert/trait.TryFrom.html#associatedtype.Error" title="type core::convert::TryFrom::Error">Error</a>&gt;</h4></section></summary><div class='docblock'>Performs the conversion.</div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-TryInto%3CU%3E-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.84.0/src/core/convert/mod.rs.html#790-792">Source</a><a href="#impl-TryInto%3CU%3E-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T, U&gt; <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/convert/trait.TryInto.html" title="trait core::convert::TryInto">TryInto</a>&lt;U&gt; for T<div class="where">where
U: <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a>&lt;T&gt;,</div></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Error" class="associatedtype trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.84.0/src/core/convert/mod.rs.html#794">Source</a><a href="#associatedtype.Error" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.84.0/core/convert/trait.TryInto.html#associatedtype.Error" class="associatedtype">Error</a> = &lt;U as <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a>&lt;T&gt;&gt;::<a class="associatedtype" href="https://doc.rust-lang.org/1.84.0/core/convert/trait.TryFrom.html#associatedtype.Error" title="type core::convert::TryFrom::Error">Error</a></h4></section></summary><div class='docblock'>The type returned in the event of a conversion error.</div></details><details class="toggle method-toggle" open><summary><section id="method.try_into" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.84.0/src/core/convert/mod.rs.html#797">Source</a><a href="#method.try_into" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/convert/trait.TryInto.html#tymethod.try_into" class="fn">try_into</a>(self) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;U, &lt;U as <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a>&lt;T&gt;&gt;::<a class="associatedtype" href="https://doc.rust-lang.org/1.84.0/core/convert/trait.TryFrom.html#associatedtype.Error" title="type core::convert::TryFrom::Error">Error</a>&gt;</h4></section></summary><div class='docblock'>Performs the conversion.</div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Upcast%3CT%3E-for-T" class="impl"><a class="src rightside" href="../../src/khronos_egl/lib.rs.html#158">Source</a><a href="#impl-Upcast%3CT%3E-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="../../khronos_egl/trait.Upcast.html" title="trait khronos_egl::Upcast">Upcast</a>&lt;T&gt; for T</h3></section></summary><div class="impl-items"><section id="method.upcast" class="method trait-impl"><a class="src rightside" href="../../src/khronos_egl/lib.rs.html#159">Source</a><a href="#method.upcast" class="anchor">§</a><h4 class="code-header">fn <a href="../../khronos_egl/trait.Upcast.html#tymethod.upcast" class="fn">upcast</a>(&amp;self) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.reference.html">&amp;T</a>&gt;</h4></section></div></details><section id="impl-WasmNotSend-for-T" class="impl"><a class="src rightside" href="../../src/wgpu_types/lib.rs.html#7477">Source</a><a href="#impl-WasmNotSend-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="../../wgpu_types/send_sync/trait.WasmNotSend.html" title="trait wgpu_types::send_sync::WasmNotSend">WasmNotSend</a> for T<div class="where">where
T: <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a>,</div></h3></section><section id="impl-WasmNotSendSync-for-T" class="impl"><a class="src rightside" href="../../src/wgpu_types/lib.rs.html#7461">Source</a><a href="#impl-WasmNotSendSync-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="../../wgpu_types/send_sync/trait.WasmNotSendSync.html" title="trait wgpu_types::send_sync::WasmNotSendSync">WasmNotSendSync</a> for T<div class="where">where
T: <a class="trait" href="../../wgpu_types/send_sync/trait.WasmNotSend.html" title="trait wgpu_types::send_sync::WasmNotSend">WasmNotSend</a> + <a class="trait" href="../../wgpu_types/send_sync/trait.WasmNotSync.html" title="trait wgpu_types::send_sync::WasmNotSync">WasmNotSync</a>,</div></h3></section><section id="impl-WasmNotSync-for-T" class="impl"><a class="src rightside" href="../../src/wgpu_types/lib.rs.html#7510">Source</a><a href="#impl-WasmNotSync-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="../../wgpu_types/send_sync/trait.WasmNotSync.html" title="trait wgpu_types::send_sync::WasmNotSync">WasmNotSync</a> for T<div class="where">where
T: <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a>,</div></h3></section></div></section></div></main></body></html>