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

190 lines
108 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 `Device` struct in crate `wgpu_hal`."><title>Device in wgpu_hal::vulkan - 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="#">Device</a></h2><h3><a href="#implementations">Methods</a></h3><ul class="block method"><li><a href="#method.buffer_from_raw" title="buffer_from_raw">buffer_from_raw</a></li><li><a href="#method.enabled_device_extensions" title="enabled_device_extensions">enabled_device_extensions</a></li><li><a href="#method.queue_family_index" title="queue_family_index">queue_family_index</a></li><li><a href="#method.queue_index" title="queue_index">queue_index</a></li><li><a href="#method.raw_device" title="raw_device">raw_device</a></li><li><a href="#method.raw_physical_device" title="raw_physical_device">raw_physical_device</a></li><li><a href="#method.raw_queue" title="raw_queue">raw_queue</a></li><li><a href="#method.shared_instance" title="shared_instance">shared_instance</a></li><li><a href="#method.texture_from_raw" title="texture_from_raw">texture_from_raw</a></li></ul><h3><a href="#trait-implementations">Trait Implementations</a></h3><ul class="block trait-implementation"><li><a href="#impl-Device-for-Device" title="Device">Device</a></li><li><a href="#impl-DynResource-for-Device" title="DynResource">DynResource</a></li></ul><h3><a href="#synthetic-implementations">Auto Trait Implementations</a></h3><ul class="block synthetic-implementation"><li><a href="#impl-Freeze-for-Device" title="!Freeze">!Freeze</a></li><li><a href="#impl-RefUnwindSafe-for-Device" title="!RefUnwindSafe">!RefUnwindSafe</a></li><li><a href="#impl-UnwindSafe-for-Device" title="!UnwindSafe">!UnwindSafe</a></li><li><a href="#impl-Send-for-Device" title="Send">Send</a></li><li><a href="#impl-Sync-for-Device" title="Sync">Sync</a></li><li><a href="#impl-Unpin-for-Device" title="Unpin">Unpin</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-DynDevice-for-D" title="DynDevice">DynDevice</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>vulkan</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">vulkan</a></span><h1>Struct <span class="struct">Device</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/vulkan/mod.rs.html#649-659">Source</a> </span></div><pre class="rust item-decl"><code>pub struct Device { <span class="comment">/* private fields */</span> }</code></pre><h2 id="implementations" class="section-header">Implementations<a href="#implementations" class="anchor">§</a></h2><div id="implementations-list"><details class="toggle implementors-toggle" open><summary><section id="impl-Device" class="impl"><a class="src rightside" href="../../src/wgpu_hal/vulkan/device.rs.html#537-1021">Source</a><a href="#impl-Device" class="anchor">§</a><h3 class="code-header">impl <a class="struct" href="struct.Device.html" title="struct wgpu_hal::vulkan::Device">Device</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.texture_from_raw" class="method"><a class="src rightside" href="../../src/wgpu_hal/vulkan/device.rs.html#662-697">Source</a><h4 class="code-header">pub unsafe fn <a href="#method.texture_from_raw" class="fn">texture_from_raw</a>(
vk_image: <a class="struct" href="../../ash/vk/definitions/struct.Image.html" title="struct ash::vk::definitions::Image">Image</a>,
desc: &amp;<a class="struct" href="../struct.TextureDescriptor.html" title="struct wgpu_hal::TextureDescriptor">TextureDescriptor</a>&lt;'_&gt;,
drop_callback: <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="type" href="../type.DropCallback.html" title="type wgpu_hal::DropCallback">DropCallback</a>&gt;,
) -&gt; <a class="struct" href="struct.Texture.html" title="struct wgpu_hal::vulkan::Texture">Texture</a></h4></section></summary><div class="docblock"><h5 id="safety"><a class="doc-anchor" href="#safety">§</a>Safety</h5>
<ul>
<li><code>vk_image</code> must be created respecting <code>desc</code></li>
<li>If <code>drop_callback</code> is <a href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html#variant.None" title="variant core::option::Option::None"><code>None</code></a>, wgpu-hal will take ownership of <code>vk_image</code>. If
<code>drop_callback</code> is <a href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html#variant.Some" title="variant core::option::Option::Some"><code>Some</code></a>, <code>vk_image</code> must be valid until the callback is called.</li>
<li>If the <code>ImageCreateFlags</code> does not contain <code>MUTABLE_FORMAT</code>, the <code>view_formats</code> of <code>desc</code> must be empty.</li>
</ul>
</div></details><details class="toggle method-toggle" open><summary><section id="method.buffer_from_raw" class="method"><a class="src rightside" href="../../src/wgpu_hal/vulkan/device.rs.html#864-869">Source</a><h4 class="code-header">pub unsafe fn <a href="#method.buffer_from_raw" class="fn">buffer_from_raw</a>(vk_buffer: <a class="struct" href="../../ash/vk/definitions/struct.Buffer.html" title="struct ash::vk::definitions::Buffer">Buffer</a>) -&gt; <a class="struct" href="struct.Buffer.html" title="struct wgpu_hal::vulkan::Buffer">Buffer</a></h4></section></summary><div class="docblock"><h5 id="safety-1"><a class="doc-anchor" href="#safety-1">§</a>Safety</h5>
<ul>
<li><code>vk_buffer</code>’s memory must be managed by the caller</li>
<li>Externally imported buffers can’t be mapped by <code>wgpu</code></li>
</ul>
</div></details><details class="toggle method-toggle" open><summary><section id="method.queue_family_index" class="method"><a class="src rightside" href="../../src/wgpu_hal/vulkan/device.rs.html#994-996">Source</a><h4 class="code-header">pub fn <a href="#method.queue_family_index" class="fn">queue_family_index</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.u32.html">u32</a></h4></section></summary><div class="docblock"><p>Returns the queue family index of the device’s internal queue.</p>
<p>This is useful for constructing memory barriers needed for queue family ownership transfer when
external memory is involved (from/to <code>VK_QUEUE_FAMILY_EXTERNAL_KHR</code> and <code>VK_QUEUE_FAMILY_FOREIGN_EXT</code>
for example).</p>
</div></details><section id="method.queue_index" class="method"><a class="src rightside" href="../../src/wgpu_hal/vulkan/device.rs.html#998-1000">Source</a><h4 class="code-header">pub fn <a href="#method.queue_index" class="fn">queue_index</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.u32.html">u32</a></h4></section><section id="method.raw_device" class="method"><a class="src rightside" href="../../src/wgpu_hal/vulkan/device.rs.html#1002-1004">Source</a><h4 class="code-header">pub fn <a href="#method.raw_device" class="fn">raw_device</a>(&amp;self) -&gt; &amp;<a class="struct" href="../../ash/device/struct.Device.html" title="struct ash::device::Device">Device</a></h4></section><section id="method.raw_physical_device" class="method"><a class="src rightside" href="../../src/wgpu_hal/vulkan/device.rs.html#1006-1008">Source</a><h4 class="code-header">pub fn <a href="#method.raw_physical_device" class="fn">raw_physical_device</a>(&amp;self) -&gt; <a class="struct" href="../../ash/vk/definitions/struct.PhysicalDevice.html" title="struct ash::vk::definitions::PhysicalDevice">PhysicalDevice</a></h4></section><section id="method.raw_queue" class="method"><a class="src rightside" href="../../src/wgpu_hal/vulkan/device.rs.html#1010-1012">Source</a><h4 class="code-header">pub fn <a href="#method.raw_queue" class="fn">raw_queue</a>(&amp;self) -&gt; <a class="struct" href="../../ash/vk/definitions/struct.Queue.html" title="struct ash::vk::definitions::Queue">Queue</a></h4></section><section id="method.enabled_device_extensions" class="method"><a class="src rightside" href="../../src/wgpu_hal/vulkan/device.rs.html#1014-1016">Source</a><h4 class="code-header">pub fn <a href="#method.enabled_device_extensions" class="fn">enabled_device_extensions</a>(&amp;self) -&gt; &amp;[&amp;'static <a class="struct" href="https://doc.rust-lang.org/1.84.0/core/ffi/c_str/struct.CStr.html" title="struct core::ffi::c_str::CStr">CStr</a>]</h4></section><section id="method.shared_instance" class="method"><a class="src rightside" href="../../src/wgpu_hal/vulkan/device.rs.html#1018-1020">Source</a><h4 class="code-header">pub fn <a href="#method.shared_instance" class="fn">shared_instance</a>(&amp;self) -&gt; &amp;<a class="struct" href="struct.InstanceShared.html" title="struct wgpu_hal::vulkan::InstanceShared">InstanceShared</a></h4></section></div></details></div><h2 id="trait-implementations" class="section-header">Trait Implementations<a href="#trait-implementations" class="anchor">§</a></h2><div id="trait-implementations-list"><details class="toggle implementors-toggle" open><summary><section id="impl-Device-for-Device" class="impl"><a class="src rightside" href="../../src/wgpu_hal/vulkan/device.rs.html#1023-2591">Source</a><a href="#impl-Device-for-Device" 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.Device.html" title="struct wgpu_hal::vulkan::Device">Device</a></h3></section></summary><div class="impl-items"><section id="associatedtype.A" class="associatedtype trait-impl"><a class="src rightside" href="../../src/wgpu_hal/vulkan/device.rs.html#1024">Source</a><a href="#associatedtype.A" 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::vulkan::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/vulkan/device.rs.html#1026-1036">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.Queue.html" title="struct wgpu_hal::vulkan::Queue">Queue</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/vulkan/device.rs.html#1038-1117">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.Buffer.html" title="struct wgpu_hal::vulkan::Buffer">Buffer</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/vulkan/device.rs.html#1118-1127">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.Buffer.html" title="struct wgpu_hal::vulkan::Buffer">Buffer</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/vulkan/device.rs.html#1129-1131">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.Buffer.html" title="struct wgpu_hal::vulkan::Buffer">Buffer</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/vulkan/device.rs.html#1133-1149">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.Buffer.html" title="struct wgpu_hal::vulkan::Buffer">Buffer</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/vulkan/device.rs.html#1150-1156">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.Buffer.html" title="struct wgpu_hal::vulkan::Buffer">Buffer</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/vulkan/device.rs.html#1158-1172">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.Buffer.html" title="struct wgpu_hal::vulkan::Buffer">Buffer</a>, ranges: I)<div class="where">where
I: <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/iter/traits/iterator/trait.Iterator.html" title="trait core::iter::traits::iterator::Iterator">Iterator</a>&lt;Item = <a class="type" href="../type.MemoryRange.html" title="type wgpu_hal::MemoryRange">MemoryRange</a>&gt;,</div></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/vulkan/device.rs.html#1173-1187">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.Buffer.html" title="struct wgpu_hal::vulkan::Buffer">Buffer</a>, ranges: I)<div class="where">where
I: <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/iter/traits/iterator/trait.Iterator.html" title="trait core::iter::traits::iterator::Iterator">Iterator</a>&lt;Item = <a class="type" href="../type.MemoryRange.html" title="type wgpu_hal::MemoryRange">MemoryRange</a>&gt;,</div></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/vulkan/device.rs.html#1189-1233">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.Texture.html" title="struct wgpu_hal::vulkan::Texture">Texture</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/vulkan/device.rs.html#1234-1248">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.Texture.html" title="struct wgpu_hal::vulkan::Texture">Texture</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/vulkan/device.rs.html#1250-1252">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.Texture.html" title="struct wgpu_hal::vulkan::Texture">Texture</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/vulkan/device.rs.html#1254-1309">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.Texture.html" title="struct wgpu_hal::vulkan::Texture">Texture</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.TextureView.html" title="struct wgpu_hal::vulkan::TextureView">TextureView</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/vulkan/device.rs.html#1310-1323">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.TextureView.html" title="struct wgpu_hal::vulkan::TextureView">TextureView</a>)</h4></section><section id="method.create_sampler" class="method trait-impl"><a class="src rightside" href="../../src/wgpu_hal/vulkan/device.rs.html#1325-1372">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.Sampler.html" title="struct wgpu_hal::vulkan::Sampler">Sampler</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/vulkan/device.rs.html#1373-1377">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.Sampler.html" title="struct wgpu_hal::vulkan::Sampler">Sampler</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/vulkan/device.rs.html#1379-1407">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.Queue.html" title="struct wgpu_hal::vulkan::Queue">Queue</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.CommandEncoder.html" title="struct wgpu_hal::vulkan::CommandEncoder">CommandEncoder</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/vulkan/device.rs.html#1408-1418">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, cmd_encoder: <a class="struct" href="struct.CommandEncoder.html" title="struct wgpu_hal::vulkan::CommandEncoder">CommandEncoder</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/vulkan/device.rs.html#1420-1547">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.BindGroupLayout.html" title="struct wgpu_hal::vulkan::BindGroupLayout">BindGroupLayout</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/vulkan/device.rs.html#1548-1556">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.BindGroupLayout.html" title="struct wgpu_hal::vulkan::BindGroupLayout">BindGroupLayout</a>)</h4></section><section id="method.create_pipeline_layout" class="method trait-impl"><a class="src rightside" href="../../src/wgpu_hal/vulkan/device.rs.html#1558-1618">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.BindGroupLayout.html" title="struct wgpu_hal::vulkan::BindGroupLayout">BindGroupLayout</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.PipelineLayout.html" title="struct wgpu_hal::vulkan::PipelineLayout">PipelineLayout</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/vulkan/device.rs.html#1619-1627">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.PipelineLayout.html" title="struct wgpu_hal::vulkan::PipelineLayout">PipelineLayout</a>)</h4></section><section id="method.create_bind_group" class="method trait-impl"><a class="src rightside" href="../../src/wgpu_hal/vulkan/device.rs.html#1629-1816">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.BindGroupLayout.html" title="struct wgpu_hal::vulkan::BindGroupLayout">BindGroupLayout</a>, <a class="struct" href="struct.Buffer.html" title="struct wgpu_hal::vulkan::Buffer">Buffer</a>, <a class="struct" href="struct.Sampler.html" title="struct wgpu_hal::vulkan::Sampler">Sampler</a>, <a class="struct" href="struct.TextureView.html" title="struct wgpu_hal::vulkan::TextureView">TextureView</a>, <a class="struct" href="struct.AccelerationStructure.html" title="struct wgpu_hal::vulkan::AccelerationStructure">AccelerationStructure</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.BindGroup.html" title="struct wgpu_hal::vulkan::BindGroup">BindGroup</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/vulkan/device.rs.html#1818-1826">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.BindGroup.html" title="struct wgpu_hal::vulkan::BindGroup">BindGroup</a>)</h4></section><section id="method.create_shader_module" class="method trait-impl"><a class="src rightside" href="../../src/wgpu_hal/vulkan/device.rs.html#1828-1886">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="enum" href="enum.ShaderModule.html" title="enum wgpu_hal::vulkan::ShaderModule">ShaderModule</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/vulkan/device.rs.html#1888-1897">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="enum" href="enum.ShaderModule.html" title="enum wgpu_hal::vulkan::ShaderModule">ShaderModule</a>)</h4></section><section id="method.create_render_pipeline" class="method trait-impl"><a class="src rightside" href="../../src/wgpu_hal/vulkan/device.rs.html#1899-2134">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.PipelineLayout.html" title="struct wgpu_hal::vulkan::PipelineLayout">PipelineLayout</a>, <a class="enum" href="enum.ShaderModule.html" title="enum wgpu_hal::vulkan::ShaderModule">ShaderModule</a>, <a class="struct" href="struct.PipelineCache.html" title="struct wgpu_hal::vulkan::PipelineCache">PipelineCache</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.RenderPipeline.html" title="struct wgpu_hal::vulkan::RenderPipeline">RenderPipeline</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/vulkan/device.rs.html#2136-2140">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.RenderPipeline.html" title="struct wgpu_hal::vulkan::RenderPipeline">RenderPipeline</a>)</h4></section><section id="method.create_compute_pipeline" class="method trait-impl"><a class="src rightside" href="../../src/wgpu_hal/vulkan/device.rs.html#2142-2189">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.PipelineLayout.html" title="struct wgpu_hal::vulkan::PipelineLayout">PipelineLayout</a>, <a class="enum" href="enum.ShaderModule.html" title="enum wgpu_hal::vulkan::ShaderModule">ShaderModule</a>, <a class="struct" href="struct.PipelineCache.html" title="struct wgpu_hal::vulkan::PipelineCache">PipelineCache</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.ComputePipeline.html" title="struct wgpu_hal::vulkan::ComputePipeline">ComputePipeline</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/vulkan/device.rs.html#2191-2195">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.ComputePipeline.html" title="struct wgpu_hal::vulkan::ComputePipeline">ComputePipeline</a>)</h4></section><section id="method.create_pipeline_cache" class="method trait-impl"><a class="src rightside" href="../../src/wgpu_hal/vulkan/device.rs.html#2197-2210">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.PipelineCache.html" title="struct wgpu_hal::vulkan::PipelineCache">PipelineCache</a>, <a class="enum" href="../enum.PipelineCacheError.html" title="enum wgpu_hal::PipelineCacheError">PipelineCacheError</a>&gt;</h4></section><section id="method.pipeline_cache_validation_key" class="method trait-impl"><a class="src rightside" href="../../src/wgpu_hal/vulkan/device.rs.html#2211-2213">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.destroy_pipeline_cache" class="method trait-impl"><a class="src rightside" href="../../src/wgpu_hal/vulkan/device.rs.html#2214-2216">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.PipelineCache.html" title="struct wgpu_hal::vulkan::PipelineCache">PipelineCache</a>)</h4></section><section id="method.create_query_set" class="method trait-impl"><a class="src rightside" href="../../src/wgpu_hal/vulkan/device.rs.html#2217-2250">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.QuerySet.html" title="struct wgpu_hal::vulkan::QuerySet">QuerySet</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/vulkan/device.rs.html#2252-2256">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.QuerySet.html" title="struct wgpu_hal::vulkan::QuerySet">QuerySet</a>)</h4></section><section id="method.create_fence" class="method trait-impl"><a class="src rightside" href="../../src/wgpu_hal/vulkan/device.rs.html#2258-2276">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="enum" href="enum.Fence.html" title="enum wgpu_hal::vulkan::Fence">Fence</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/vulkan/device.rs.html#2277-2297">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="enum" href="enum.Fence.html" title="enum wgpu_hal::vulkan::Fence">Fence</a>)</h4></section><section id="method.get_fence_value" class="method trait-impl"><a class="src rightside" href="../../src/wgpu_hal/vulkan/device.rs.html#2298-2306">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="enum" href="enum.Fence.html" title="enum wgpu_hal::vulkan::Fence">Fence</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/vulkan/device.rs.html#2307-2315">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="enum" href="enum.Fence.html" title="enum wgpu_hal::vulkan::Fence">Fence</a>,
wait_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/vulkan/device.rs.html#2317-2331">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/vulkan/device.rs.html#2332-2345">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.pipeline_cache_get_data" class="method trait-impl"><a class="src rightside" href="../../src/wgpu_hal/vulkan/device.rs.html#2347-2350">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;<a class="struct" href="struct.PipelineCache.html" title="struct wgpu_hal::vulkan::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.get_acceleration_structure_build_sizes" class="method trait-impl"><a class="src rightside" href="../../src/wgpu_hal/vulkan/device.rs.html#2352-2467">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.Buffer.html" title="struct wgpu_hal::vulkan::Buffer">Buffer</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/vulkan/device.rs.html#2469-2488">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.AccelerationStructure.html" title="struct wgpu_hal::vulkan::AccelerationStructure">AccelerationStructure</a>,
) -&gt; <a class="type" href="../../wgpu_types/type.BufferAddress.html" title="type wgpu_types::BufferAddress">BufferAddress</a></h4></section><section id="method.create_acceleration_structure" class="method trait-impl"><a class="src rightside" href="../../src/wgpu_hal/vulkan/device.rs.html#2490-2558">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.AccelerationStructure.html" title="struct wgpu_hal::vulkan::AccelerationStructure">AccelerationStructure</a>, <a class="enum" href="../enum.DeviceError.html" title="enum wgpu_hal::DeviceError">DeviceError</a>&gt;</h4></section><section id="method.destroy_acceleration_structure" class="method trait-impl"><a class="src rightside" href="../../src/wgpu_hal/vulkan/device.rs.html#2560-2582">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.AccelerationStructure.html" title="struct wgpu_hal::vulkan::AccelerationStructure">AccelerationStructure</a>,
)</h4></section><section id="method.get_internal_counters" class="method trait-impl"><a class="src rightside" href="../../src/wgpu_hal/vulkan/device.rs.html#2584-2590">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.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-Device" class="impl"><a class="src rightside" href="../../src/wgpu_hal/vulkan/mod.rs.html#81-104">Source</a><a href="#impl-DynResource-for-Device" 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.Device.html" title="struct wgpu_hal::vulkan::Device">Device</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/vulkan/mod.rs.html#81-104">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/vulkan/mod.rs.html#81-104">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></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-Device" class="impl"><a href="#impl-Freeze-for-Device" 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.Device.html" title="struct wgpu_hal::vulkan::Device">Device</a></h3></section><section id="impl-RefUnwindSafe-for-Device" class="impl"><a href="#impl-RefUnwindSafe-for-Device" 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.Device.html" title="struct wgpu_hal::vulkan::Device">Device</a></h3></section><section id="impl-Send-for-Device" class="impl"><a href="#impl-Send-for-Device" 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.Device.html" title="struct wgpu_hal::vulkan::Device">Device</a></h3></section><section id="impl-Sync-for-Device" class="impl"><a href="#impl-Sync-for-Device" 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.Device.html" title="struct wgpu_hal::vulkan::Device">Device</a></h3></section><section id="impl-Unpin-for-Device" class="impl"><a href="#impl-Unpin-for-Device" 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.Device.html" title="struct wgpu_hal::vulkan::Device">Device</a></h3></section><section id="impl-UnwindSafe-for-Device" class="impl"><a href="#impl-UnwindSafe-for-Device" 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.Device.html" title="struct wgpu_hal::vulkan::Device">Device</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-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-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>