Files
phy/wgpu/enum.TextureFormat.html
Orion Kindel 0ce894e6b0 doc
2025-03-18 10:30:23 -05:00

341 lines
107 KiB
HTML

<!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="Underlying texture data format."><title>TextureFormat in wgpu - 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" 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 enum"><!--[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><a class="logo-container" href="../wgpu/index.html"><img src="https://raw.githubusercontent.com/gfx-rs/wgpu/trunk/logo.png" alt=""></a></nav><nav class="sidebar"><div class="sidebar-crate"><a class="logo-container" href="../wgpu/index.html"><img src="https://raw.githubusercontent.com/gfx-rs/wgpu/trunk/logo.png" alt="logo"></a><h2><a href="../wgpu/index.html">wgpu</a><span class="version">23.0.1</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Texture<wbr>Format</a></h2><h3><a href="#variants">Variants</a></h3><ul class="block variant"><li><a href="#variant.Astc" title="Astc">Astc</a></li><li><a href="#variant.Bc1RgbaUnorm" title="Bc1RgbaUnorm">Bc1RgbaUnorm</a></li><li><a href="#variant.Bc1RgbaUnormSrgb" title="Bc1RgbaUnormSrgb">Bc1RgbaUnormSrgb</a></li><li><a href="#variant.Bc2RgbaUnorm" title="Bc2RgbaUnorm">Bc2RgbaUnorm</a></li><li><a href="#variant.Bc2RgbaUnormSrgb" title="Bc2RgbaUnormSrgb">Bc2RgbaUnormSrgb</a></li><li><a href="#variant.Bc3RgbaUnorm" title="Bc3RgbaUnorm">Bc3RgbaUnorm</a></li><li><a href="#variant.Bc3RgbaUnormSrgb" title="Bc3RgbaUnormSrgb">Bc3RgbaUnormSrgb</a></li><li><a href="#variant.Bc4RSnorm" title="Bc4RSnorm">Bc4RSnorm</a></li><li><a href="#variant.Bc4RUnorm" title="Bc4RUnorm">Bc4RUnorm</a></li><li><a href="#variant.Bc5RgSnorm" title="Bc5RgSnorm">Bc5RgSnorm</a></li><li><a href="#variant.Bc5RgUnorm" title="Bc5RgUnorm">Bc5RgUnorm</a></li><li><a href="#variant.Bc6hRgbFloat" title="Bc6hRgbFloat">Bc6hRgbFloat</a></li><li><a href="#variant.Bc6hRgbUfloat" title="Bc6hRgbUfloat">Bc6hRgbUfloat</a></li><li><a href="#variant.Bc7RgbaUnorm" title="Bc7RgbaUnorm">Bc7RgbaUnorm</a></li><li><a href="#variant.Bc7RgbaUnormSrgb" title="Bc7RgbaUnormSrgb">Bc7RgbaUnormSrgb</a></li><li><a href="#variant.Bgra8Unorm" title="Bgra8Unorm">Bgra8Unorm</a></li><li><a href="#variant.Bgra8UnormSrgb" title="Bgra8UnormSrgb">Bgra8UnormSrgb</a></li><li><a href="#variant.Depth16Unorm" title="Depth16Unorm">Depth16Unorm</a></li><li><a href="#variant.Depth24Plus" title="Depth24Plus">Depth24Plus</a></li><li><a href="#variant.Depth24PlusStencil8" title="Depth24PlusStencil8">Depth24PlusStencil8</a></li><li><a href="#variant.Depth32Float" title="Depth32Float">Depth32Float</a></li><li><a href="#variant.Depth32FloatStencil8" title="Depth32FloatStencil8">Depth32FloatStencil8</a></li><li><a href="#variant.EacR11Snorm" title="EacR11Snorm">EacR11Snorm</a></li><li><a href="#variant.EacR11Unorm" title="EacR11Unorm">EacR11Unorm</a></li><li><a href="#variant.EacRg11Snorm" title="EacRg11Snorm">EacRg11Snorm</a></li><li><a href="#variant.EacRg11Unorm" title="EacRg11Unorm">EacRg11Unorm</a></li><li><a href="#variant.Etc2Rgb8A1Unorm" title="Etc2Rgb8A1Unorm">Etc2Rgb8A1Unorm</a></li><li><a href="#variant.Etc2Rgb8A1UnormSrgb" title="Etc2Rgb8A1UnormSrgb">Etc2Rgb8A1UnormSrgb</a></li><li><a href="#variant.Etc2Rgb8Unorm" title="Etc2Rgb8Unorm">Etc2Rgb8Unorm</a></li><li><a href="#variant.Etc2Rgb8UnormSrgb" title="Etc2Rgb8UnormSrgb">Etc2Rgb8UnormSrgb</a></li><li><a href="#variant.Etc2Rgba8Unorm" title="Etc2Rgba8Unorm">Etc2Rgba8Unorm</a></li><li><a href="#variant.Etc2Rgba8UnormSrgb" title="Etc2Rgba8UnormSrgb">Etc2Rgba8UnormSrgb</a></li><li><a href="#variant.NV12" title="NV12">NV12</a></li><li><a href="#variant.R16Float" title="R16Float">R16Float</a></li><li><a href="#variant.R16Sint" title="R16Sint">R16Sint</a></li><li><a href="#variant.R16Snorm" title="R16Snorm">R16Snorm</a></li><li><a href="#variant.R16Uint" title="R16Uint">R16Uint</a></li><li><a href="#variant.R16Unorm" title="R16Unorm">R16Unorm</a></li><li><a href="#variant.R32Float" title="R32Float">R32Float</a></li><li><a href="#variant.R32Sint" title="R32Sint">R32Sint</a></li><li><a href="#variant.R32Uint" title="R32Uint">R32Uint</a></li><li><a href="#variant.R8Sint" title="R8Sint">R8Sint</a></li><li><a href="#variant.R8Snorm" title="R8Snorm">R8Snorm</a></li><li><a href="#variant.R8Uint" title="R8Uint">R8Uint</a></li><li><a href="#variant.R8Unorm" title="R8Unorm">R8Unorm</a></li><li><a href="#variant.Rg11b10Ufloat" title="Rg11b10Ufloat">Rg11b10Ufloat</a></li><li><a href="#variant.Rg16Float" title="Rg16Float">Rg16Float</a></li><li><a href="#variant.Rg16Sint" title="Rg16Sint">Rg16Sint</a></li><li><a href="#variant.Rg16Snorm" title="Rg16Snorm">Rg16Snorm</a></li><li><a href="#variant.Rg16Uint" title="Rg16Uint">Rg16Uint</a></li><li><a href="#variant.Rg16Unorm" title="Rg16Unorm">Rg16Unorm</a></li><li><a href="#variant.Rg32Float" title="Rg32Float">Rg32Float</a></li><li><a href="#variant.Rg32Sint" title="Rg32Sint">Rg32Sint</a></li><li><a href="#variant.Rg32Uint" title="Rg32Uint">Rg32Uint</a></li><li><a href="#variant.Rg8Sint" title="Rg8Sint">Rg8Sint</a></li><li><a href="#variant.Rg8Snorm" title="Rg8Snorm">Rg8Snorm</a></li><li><a href="#variant.Rg8Uint" title="Rg8Uint">Rg8Uint</a></li><li><a href="#variant.Rg8Unorm" title="Rg8Unorm">Rg8Unorm</a></li><li><a href="#variant.Rgb10a2Uint" title="Rgb10a2Uint">Rgb10a2Uint</a></li><li><a href="#variant.Rgb10a2Unorm" title="Rgb10a2Unorm">Rgb10a2Unorm</a></li><li><a href="#variant.Rgb9e5Ufloat" title="Rgb9e5Ufloat">Rgb9e5Ufloat</a></li><li><a href="#variant.Rgba16Float" title="Rgba16Float">Rgba16Float</a></li><li><a href="#variant.Rgba16Sint" title="Rgba16Sint">Rgba16Sint</a></li><li><a href="#variant.Rgba16Snorm" title="Rgba16Snorm">Rgba16Snorm</a></li><li><a href="#variant.Rgba16Uint" title="Rgba16Uint">Rgba16Uint</a></li><li><a href="#variant.Rgba16Unorm" title="Rgba16Unorm">Rgba16Unorm</a></li><li><a href="#variant.Rgba32Float" title="Rgba32Float">Rgba32Float</a></li><li><a href="#variant.Rgba32Sint" title="Rgba32Sint">Rgba32Sint</a></li><li><a href="#variant.Rgba32Uint" title="Rgba32Uint">Rgba32Uint</a></li><li><a href="#variant.Rgba8Sint" title="Rgba8Sint">Rgba8Sint</a></li><li><a href="#variant.Rgba8Snorm" title="Rgba8Snorm">Rgba8Snorm</a></li><li><a href="#variant.Rgba8Uint" title="Rgba8Uint">Rgba8Uint</a></li><li><a href="#variant.Rgba8Unorm" title="Rgba8Unorm">Rgba8Unorm</a></li><li><a href="#variant.Rgba8UnormSrgb" title="Rgba8UnormSrgb">Rgba8UnormSrgb</a></li><li><a href="#variant.Stencil8" title="Stencil8">Stencil8</a></li></ul><h3><a href="#implementations">Methods</a></h3><ul class="block method"><li><a href="#method.add_srgb_suffix" title="add_srgb_suffix">add_srgb_suffix</a></li><li><a href="#method.aspect_specific_format" title="aspect_specific_format">aspect_specific_format</a></li><li><a href="#method.block_copy_size" title="block_copy_size">block_copy_size</a></li><li><a href="#method.block_dimensions" title="block_dimensions">block_dimensions</a></li><li><a href="#method.block_size" title="block_size">block_size</a></li><li><a href="#method.components" title="components">components</a></li><li><a href="#method.components_with_aspect" title="components_with_aspect">components_with_aspect</a></li><li><a href="#method.guaranteed_format_features" title="guaranteed_format_features">guaranteed_format_features</a></li><li><a href="#method.has_color_aspect" title="has_color_aspect">has_color_aspect</a></li><li><a href="#method.has_depth_aspect" title="has_depth_aspect">has_depth_aspect</a></li><li><a href="#method.has_stencil_aspect" title="has_stencil_aspect">has_stencil_aspect</a></li><li><a href="#method.is_bcn" title="is_bcn">is_bcn</a></li><li><a href="#method.is_combined_depth_stencil_format" title="is_combined_depth_stencil_format">is_combined_depth_stencil_format</a></li><li><a href="#method.is_compressed" title="is_compressed">is_compressed</a></li><li><a href="#method.is_depth_stencil_component" title="is_depth_stencil_component">is_depth_stencil_component</a></li><li><a href="#method.is_depth_stencil_format" title="is_depth_stencil_format">is_depth_stencil_format</a></li><li><a href="#method.is_multi_planar_format" title="is_multi_planar_format">is_multi_planar_format</a></li><li><a href="#method.is_srgb" title="is_srgb">is_srgb</a></li><li><a href="#method.planes" title="planes">planes</a></li><li><a href="#method.remove_srgb_suffix" title="remove_srgb_suffix">remove_srgb_suffix</a></li><li><a href="#method.required_features" title="required_features">required_features</a></li><li><a href="#method.sample_type" title="sample_type">sample_type</a></li><li><a href="#method.size_multiple_requirement" title="size_multiple_requirement">size_multiple_requirement</a></li><li><a href="#method.target_component_alignment" title="target_component_alignment">target_component_alignment</a></li><li><a href="#method.target_pixel_byte_cost" title="target_pixel_byte_cost">target_pixel_byte_cost</a></li></ul><h3><a href="#trait-implementations">Trait Implementations</a></h3><ul class="block trait-implementation"><li><a href="#impl-Clone-for-TextureFormat" title="Clone">Clone</a></li><li><a href="#impl-Copy-for-TextureFormat" title="Copy">Copy</a></li><li><a href="#impl-Debug-for-TextureFormat" title="Debug">Debug</a></li><li><a href="#impl-Eq-for-TextureFormat" title="Eq">Eq</a></li><li><a href="#impl-From%3CTextureFormat%3E-for-ColorTargetState" title="From&#60;TextureFormat&#62;">From&#60;TextureFormat&#62;</a></li><li><a href="#impl-Hash-for-TextureFormat" title="Hash">Hash</a></li><li><a href="#impl-PartialEq-for-TextureFormat" title="PartialEq">PartialEq</a></li><li><a href="#impl-StructuralPartialEq-for-TextureFormat" title="StructuralPartialEq">StructuralPartialEq</a></li></ul><h3><a href="#synthetic-implementations">Auto Trait Implementations</a></h3><ul class="block synthetic-implementation"><li><a href="#impl-Freeze-for-TextureFormat" title="Freeze">Freeze</a></li><li><a href="#impl-RefUnwindSafe-for-TextureFormat" title="RefUnwindSafe">RefUnwindSafe</a></li><li><a href="#impl-Send-for-TextureFormat" title="Send">Send</a></li><li><a href="#impl-Sync-for-TextureFormat" title="Sync">Sync</a></li><li><a href="#impl-Unpin-for-TextureFormat" title="Unpin">Unpin</a></li><li><a href="#impl-UnwindSafe-for-TextureFormat" title="UnwindSafe">UnwindSafe</a></li></ul><h3><a href="#blanket-implementations">Blanket Implementations</a></h3><ul class="block blanket-implementation"><li><a href="#impl-Any-for-T" title="Any">Any</a></li><li><a href="#impl-Borrow%3CT%3E-for-T" title="Borrow&#60;T&#62;">Borrow&#60;T&#62;</a></li><li><a href="#impl-BorrowMut%3CT%3E-for-T" title="BorrowMut&#60;T&#62;">BorrowMut&#60;T&#62;</a></li><li><a href="#impl-CloneToUninit-for-T" title="CloneToUninit">CloneToUninit</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-Equivalent%3CK%3E-for-Q" title="Equivalent&#60;K&#62;">Equivalent&#60;K&#62;</a></li><li><a href="#impl-Equivalent%3CK%3E-for-Q-1" title="Equivalent&#60;K&#62;">Equivalent&#60;K&#62;</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-ToOwned-for-T" title="ToOwned">ToOwned</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 class="in-crate"><a href="index.html">In crate wgpu</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</a></span><h1>Enum <span class="enum">TextureFormat</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_types/lib.rs.html#2478">Source</a> </span></div><pre class="rust item-decl"><code><div class="code-attribute">#[repr(C)]</div>pub enum TextureFormat {
<details class="toggle type-contents-toggle"><summary class="hideme"><span>Show 75 variants</span></summary> R8Unorm,
R8Snorm,
R8Uint,
R8Sint,
R16Uint,
R16Sint,
R16Unorm,
R16Snorm,
R16Float,
Rg8Unorm,
Rg8Snorm,
Rg8Uint,
Rg8Sint,
R32Uint,
R32Sint,
R32Float,
Rg16Uint,
Rg16Sint,
Rg16Unorm,
Rg16Snorm,
Rg16Float,
Rgba8Unorm,
Rgba8UnormSrgb,
Rgba8Snorm,
Rgba8Uint,
Rgba8Sint,
Bgra8Unorm,
Bgra8UnormSrgb,
Rgb9e5Ufloat,
Rgb10a2Uint,
Rgb10a2Unorm,
Rg11b10Ufloat,
Rg32Uint,
Rg32Sint,
Rg32Float,
Rgba16Uint,
Rgba16Sint,
Rgba16Unorm,
Rgba16Snorm,
Rgba16Float,
Rgba32Uint,
Rgba32Sint,
Rgba32Float,
Stencil8,
Depth16Unorm,
Depth24Plus,
Depth24PlusStencil8,
Depth32Float,
Depth32FloatStencil8,
NV12,
Bc1RgbaUnorm,
Bc1RgbaUnormSrgb,
Bc2RgbaUnorm,
Bc2RgbaUnormSrgb,
Bc3RgbaUnorm,
Bc3RgbaUnormSrgb,
Bc4RUnorm,
Bc4RSnorm,
Bc5RgUnorm,
Bc5RgSnorm,
Bc6hRgbUfloat,
Bc6hRgbFloat,
Bc7RgbaUnorm,
Bc7RgbaUnormSrgb,
Etc2Rgb8Unorm,
Etc2Rgb8UnormSrgb,
Etc2Rgb8A1Unorm,
Etc2Rgb8A1UnormSrgb,
Etc2Rgba8Unorm,
Etc2Rgba8UnormSrgb,
EacR11Unorm,
EacR11Snorm,
EacRg11Unorm,
EacRg11Snorm,
Astc {
block: <a class="enum" href="enum.AstcBlock.html" title="enum wgpu::AstcBlock">AstcBlock</a>,
channel: <a class="enum" href="enum.AstcChannel.html" title="enum wgpu::AstcChannel">AstcChannel</a>,
},
</details>}</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Underlying texture data format.</p>
<p>If there is a conversion in the format (such as srgb -&gt; linear), the conversion listed here is for
loading from texture in a shader. When writing to the texture, the opposite conversion takes place.</p>
<p>Corresponds to <a href="https://gpuweb.github.io/gpuweb/#enumdef-gputextureformat">WebGPU <code>GPUTextureFormat</code></a>.</p>
</div></details><h2 id="variants" class="variants section-header">Variants<a href="#variants" class="anchor">§</a></h2><div class="variants"><section id="variant.R8Unorm" class="variant"><a href="#variant.R8Unorm" class="anchor">§</a><h3 class="code-header">R8Unorm</h3></section><div class="docblock"><p>Red channel only. 8 bit integer per channel. [0, 255] converted to/from float [0, 1] in shader.</p>
</div><section id="variant.R8Snorm" class="variant"><a href="#variant.R8Snorm" class="anchor">§</a><h3 class="code-header">R8Snorm</h3></section><div class="docblock"><p>Red channel only. 8 bit integer per channel. [-127, 127] converted to/from float [-1, 1] in shader.</p>
</div><section id="variant.R8Uint" class="variant"><a href="#variant.R8Uint" class="anchor">§</a><h3 class="code-header">R8Uint</h3></section><div class="docblock"><p>Red channel only. 8 bit integer per channel. Unsigned in shader.</p>
</div><section id="variant.R8Sint" class="variant"><a href="#variant.R8Sint" class="anchor">§</a><h3 class="code-header">R8Sint</h3></section><div class="docblock"><p>Red channel only. 8 bit integer per channel. Signed in shader.</p>
</div><section id="variant.R16Uint" class="variant"><a href="#variant.R16Uint" class="anchor">§</a><h3 class="code-header">R16Uint</h3></section><div class="docblock"><p>Red channel only. 16 bit integer per channel. Unsigned in shader.</p>
</div><section id="variant.R16Sint" class="variant"><a href="#variant.R16Sint" class="anchor">§</a><h3 class="code-header">R16Sint</h3></section><div class="docblock"><p>Red channel only. 16 bit integer per channel. Signed in shader.</p>
</div><section id="variant.R16Unorm" class="variant"><a href="#variant.R16Unorm" class="anchor">§</a><h3 class="code-header">R16Unorm</h3></section><div class="docblock"><p>Red channel only. 16 bit integer per channel. [0, 65535] converted to/from float [0, 1] in shader.</p>
<p><a href="struct.Features.html#associatedconstant.TEXTURE_FORMAT_16BIT_NORM" title="associated constant wgpu::Features::TEXTURE_FORMAT_16BIT_NORM"><code>Features::TEXTURE_FORMAT_16BIT_NORM</code></a> must be enabled to use this texture format.</p>
</div><section id="variant.R16Snorm" class="variant"><a href="#variant.R16Snorm" class="anchor">§</a><h3 class="code-header">R16Snorm</h3></section><div class="docblock"><p>Red channel only. 16 bit integer per channel. [0, 65535] converted to/from float [-1, 1] in shader.</p>
<p><a href="struct.Features.html#associatedconstant.TEXTURE_FORMAT_16BIT_NORM" title="associated constant wgpu::Features::TEXTURE_FORMAT_16BIT_NORM"><code>Features::TEXTURE_FORMAT_16BIT_NORM</code></a> must be enabled to use this texture format.</p>
</div><section id="variant.R16Float" class="variant"><a href="#variant.R16Float" class="anchor">§</a><h3 class="code-header">R16Float</h3></section><div class="docblock"><p>Red channel only. 16 bit float per channel. Float in shader.</p>
</div><section id="variant.Rg8Unorm" class="variant"><a href="#variant.Rg8Unorm" class="anchor">§</a><h3 class="code-header">Rg8Unorm</h3></section><div class="docblock"><p>Red and green channels. 8 bit integer per channel. [0, 255] converted to/from float [0, 1] in shader.</p>
</div><section id="variant.Rg8Snorm" class="variant"><a href="#variant.Rg8Snorm" class="anchor">§</a><h3 class="code-header">Rg8Snorm</h3></section><div class="docblock"><p>Red and green channels. 8 bit integer per channel. [-127, 127] converted to/from float [-1, 1] in shader.</p>
</div><section id="variant.Rg8Uint" class="variant"><a href="#variant.Rg8Uint" class="anchor">§</a><h3 class="code-header">Rg8Uint</h3></section><div class="docblock"><p>Red and green channels. 8 bit integer per channel. Unsigned in shader.</p>
</div><section id="variant.Rg8Sint" class="variant"><a href="#variant.Rg8Sint" class="anchor">§</a><h3 class="code-header">Rg8Sint</h3></section><div class="docblock"><p>Red and green channels. 8 bit integer per channel. Signed in shader.</p>
</div><section id="variant.R32Uint" class="variant"><a href="#variant.R32Uint" class="anchor">§</a><h3 class="code-header">R32Uint</h3></section><div class="docblock"><p>Red channel only. 32 bit integer per channel. Unsigned in shader.</p>
</div><section id="variant.R32Sint" class="variant"><a href="#variant.R32Sint" class="anchor">§</a><h3 class="code-header">R32Sint</h3></section><div class="docblock"><p>Red channel only. 32 bit integer per channel. Signed in shader.</p>
</div><section id="variant.R32Float" class="variant"><a href="#variant.R32Float" class="anchor">§</a><h3 class="code-header">R32Float</h3></section><div class="docblock"><p>Red channel only. 32 bit float per channel. Float in shader.</p>
</div><section id="variant.Rg16Uint" class="variant"><a href="#variant.Rg16Uint" class="anchor">§</a><h3 class="code-header">Rg16Uint</h3></section><div class="docblock"><p>Red and green channels. 16 bit integer per channel. Unsigned in shader.</p>
</div><section id="variant.Rg16Sint" class="variant"><a href="#variant.Rg16Sint" class="anchor">§</a><h3 class="code-header">Rg16Sint</h3></section><div class="docblock"><p>Red and green channels. 16 bit integer per channel. Signed in shader.</p>
</div><section id="variant.Rg16Unorm" class="variant"><a href="#variant.Rg16Unorm" class="anchor">§</a><h3 class="code-header">Rg16Unorm</h3></section><div class="docblock"><p>Red and green channels. 16 bit integer per channel. [0, 65535] converted to/from float [0, 1] in shader.</p>
<p><a href="struct.Features.html#associatedconstant.TEXTURE_FORMAT_16BIT_NORM" title="associated constant wgpu::Features::TEXTURE_FORMAT_16BIT_NORM"><code>Features::TEXTURE_FORMAT_16BIT_NORM</code></a> must be enabled to use this texture format.</p>
</div><section id="variant.Rg16Snorm" class="variant"><a href="#variant.Rg16Snorm" class="anchor">§</a><h3 class="code-header">Rg16Snorm</h3></section><div class="docblock"><p>Red and green channels. 16 bit integer per channel. [0, 65535] converted to/from float [-1, 1] in shader.</p>
<p><a href="struct.Features.html#associatedconstant.TEXTURE_FORMAT_16BIT_NORM" title="associated constant wgpu::Features::TEXTURE_FORMAT_16BIT_NORM"><code>Features::TEXTURE_FORMAT_16BIT_NORM</code></a> must be enabled to use this texture format.</p>
</div><section id="variant.Rg16Float" class="variant"><a href="#variant.Rg16Float" class="anchor">§</a><h3 class="code-header">Rg16Float</h3></section><div class="docblock"><p>Red and green channels. 16 bit float per channel. Float in shader.</p>
</div><section id="variant.Rgba8Unorm" class="variant"><a href="#variant.Rgba8Unorm" class="anchor">§</a><h3 class="code-header">Rgba8Unorm</h3></section><div class="docblock"><p>Red, green, blue, and alpha channels. 8 bit integer per channel. [0, 255] converted to/from float [0, 1] in shader.</p>
</div><section id="variant.Rgba8UnormSrgb" class="variant"><a href="#variant.Rgba8UnormSrgb" class="anchor">§</a><h3 class="code-header">Rgba8UnormSrgb</h3></section><div class="docblock"><p>Red, green, blue, and alpha channels. 8 bit integer per channel. Srgb-color [0, 255] converted to/from linear-color float [0, 1] in shader.</p>
</div><section id="variant.Rgba8Snorm" class="variant"><a href="#variant.Rgba8Snorm" class="anchor">§</a><h3 class="code-header">Rgba8Snorm</h3></section><div class="docblock"><p>Red, green, blue, and alpha channels. 8 bit integer per channel. [-127, 127] converted to/from float [-1, 1] in shader.</p>
</div><section id="variant.Rgba8Uint" class="variant"><a href="#variant.Rgba8Uint" class="anchor">§</a><h3 class="code-header">Rgba8Uint</h3></section><div class="docblock"><p>Red, green, blue, and alpha channels. 8 bit integer per channel. Unsigned in shader.</p>
</div><section id="variant.Rgba8Sint" class="variant"><a href="#variant.Rgba8Sint" class="anchor">§</a><h3 class="code-header">Rgba8Sint</h3></section><div class="docblock"><p>Red, green, blue, and alpha channels. 8 bit integer per channel. Signed in shader.</p>
</div><section id="variant.Bgra8Unorm" class="variant"><a href="#variant.Bgra8Unorm" class="anchor">§</a><h3 class="code-header">Bgra8Unorm</h3></section><div class="docblock"><p>Blue, green, red, and alpha channels. 8 bit integer per channel. [0, 255] converted to/from float [0, 1] in shader.</p>
</div><section id="variant.Bgra8UnormSrgb" class="variant"><a href="#variant.Bgra8UnormSrgb" class="anchor">§</a><h3 class="code-header">Bgra8UnormSrgb</h3></section><div class="docblock"><p>Blue, green, red, and alpha channels. 8 bit integer per channel. Srgb-color [0, 255] converted to/from linear-color float [0, 1] in shader.</p>
</div><section id="variant.Rgb9e5Ufloat" class="variant"><a href="#variant.Rgb9e5Ufloat" class="anchor">§</a><h3 class="code-header">Rgb9e5Ufloat</h3></section><div class="docblock"><p>Packed unsigned float with 9 bits mantisa for each RGB component, then a common 5 bits exponent</p>
</div><section id="variant.Rgb10a2Uint" class="variant"><a href="#variant.Rgb10a2Uint" class="anchor">§</a><h3 class="code-header">Rgb10a2Uint</h3></section><div class="docblock"><p>Red, green, blue, and alpha channels. 10 bit integer for RGB channels, 2 bit integer for alpha channel. Unsigned in shader.</p>
</div><section id="variant.Rgb10a2Unorm" class="variant"><a href="#variant.Rgb10a2Unorm" class="anchor">§</a><h3 class="code-header">Rgb10a2Unorm</h3></section><div class="docblock"><p>Red, green, blue, and alpha channels. 10 bit integer for RGB channels, 2 bit integer for alpha channel. [0, 1023] ([0, 3] for alpha) converted to/from float [0, 1] in shader.</p>
</div><section id="variant.Rg11b10Ufloat" class="variant"><a href="#variant.Rg11b10Ufloat" class="anchor">§</a><h3 class="code-header">Rg11b10Ufloat</h3></section><div class="docblock"><p>Red, green, and blue channels. 11 bit float with no sign bit for RG channels. 10 bit float with no sign bit for blue channel. Float in shader.</p>
</div><section id="variant.Rg32Uint" class="variant"><a href="#variant.Rg32Uint" class="anchor">§</a><h3 class="code-header">Rg32Uint</h3></section><div class="docblock"><p>Red and green channels. 32 bit integer per channel. Unsigned in shader.</p>
</div><section id="variant.Rg32Sint" class="variant"><a href="#variant.Rg32Sint" class="anchor">§</a><h3 class="code-header">Rg32Sint</h3></section><div class="docblock"><p>Red and green channels. 32 bit integer per channel. Signed in shader.</p>
</div><section id="variant.Rg32Float" class="variant"><a href="#variant.Rg32Float" class="anchor">§</a><h3 class="code-header">Rg32Float</h3></section><div class="docblock"><p>Red and green channels. 32 bit float per channel. Float in shader.</p>
</div><section id="variant.Rgba16Uint" class="variant"><a href="#variant.Rgba16Uint" class="anchor">§</a><h3 class="code-header">Rgba16Uint</h3></section><div class="docblock"><p>Red, green, blue, and alpha channels. 16 bit integer per channel. Unsigned in shader.</p>
</div><section id="variant.Rgba16Sint" class="variant"><a href="#variant.Rgba16Sint" class="anchor">§</a><h3 class="code-header">Rgba16Sint</h3></section><div class="docblock"><p>Red, green, blue, and alpha channels. 16 bit integer per channel. Signed in shader.</p>
</div><section id="variant.Rgba16Unorm" class="variant"><a href="#variant.Rgba16Unorm" class="anchor">§</a><h3 class="code-header">Rgba16Unorm</h3></section><div class="docblock"><p>Red, green, blue, and alpha channels. 16 bit integer per channel. [0, 65535] converted to/from float [0, 1] in shader.</p>
<p><a href="struct.Features.html#associatedconstant.TEXTURE_FORMAT_16BIT_NORM" title="associated constant wgpu::Features::TEXTURE_FORMAT_16BIT_NORM"><code>Features::TEXTURE_FORMAT_16BIT_NORM</code></a> must be enabled to use this texture format.</p>
</div><section id="variant.Rgba16Snorm" class="variant"><a href="#variant.Rgba16Snorm" class="anchor">§</a><h3 class="code-header">Rgba16Snorm</h3></section><div class="docblock"><p>Red, green, blue, and alpha. 16 bit integer per channel. [0, 65535] converted to/from float [-1, 1] in shader.</p>
<p><a href="struct.Features.html#associatedconstant.TEXTURE_FORMAT_16BIT_NORM" title="associated constant wgpu::Features::TEXTURE_FORMAT_16BIT_NORM"><code>Features::TEXTURE_FORMAT_16BIT_NORM</code></a> must be enabled to use this texture format.</p>
</div><section id="variant.Rgba16Float" class="variant"><a href="#variant.Rgba16Float" class="anchor">§</a><h3 class="code-header">Rgba16Float</h3></section><div class="docblock"><p>Red, green, blue, and alpha channels. 16 bit float per channel. Float in shader.</p>
</div><section id="variant.Rgba32Uint" class="variant"><a href="#variant.Rgba32Uint" class="anchor">§</a><h3 class="code-header">Rgba32Uint</h3></section><div class="docblock"><p>Red, green, blue, and alpha channels. 32 bit integer per channel. Unsigned in shader.</p>
</div><section id="variant.Rgba32Sint" class="variant"><a href="#variant.Rgba32Sint" class="anchor">§</a><h3 class="code-header">Rgba32Sint</h3></section><div class="docblock"><p>Red, green, blue, and alpha channels. 32 bit integer per channel. Signed in shader.</p>
</div><section id="variant.Rgba32Float" class="variant"><a href="#variant.Rgba32Float" class="anchor">§</a><h3 class="code-header">Rgba32Float</h3></section><div class="docblock"><p>Red, green, blue, and alpha channels. 32 bit float per channel. Float in shader.</p>
</div><section id="variant.Stencil8" class="variant"><a href="#variant.Stencil8" class="anchor">§</a><h3 class="code-header">Stencil8</h3></section><div class="docblock"><p>Stencil format with 8 bit integer stencil.</p>
</div><section id="variant.Depth16Unorm" class="variant"><a href="#variant.Depth16Unorm" class="anchor">§</a><h3 class="code-header">Depth16Unorm</h3></section><div class="docblock"><p>Special depth format with 16 bit integer depth.</p>
</div><section id="variant.Depth24Plus" class="variant"><a href="#variant.Depth24Plus" class="anchor">§</a><h3 class="code-header">Depth24Plus</h3></section><div class="docblock"><p>Special depth format with at least 24 bit integer depth.</p>
</div><section id="variant.Depth24PlusStencil8" class="variant"><a href="#variant.Depth24PlusStencil8" class="anchor">§</a><h3 class="code-header">Depth24PlusStencil8</h3></section><div class="docblock"><p>Special depth/stencil format with at least 24 bit integer depth and 8 bits integer stencil.</p>
</div><section id="variant.Depth32Float" class="variant"><a href="#variant.Depth32Float" class="anchor">§</a><h3 class="code-header">Depth32Float</h3></section><div class="docblock"><p>Special depth format with 32 bit floating point depth.</p>
</div><section id="variant.Depth32FloatStencil8" class="variant"><a href="#variant.Depth32FloatStencil8" class="anchor">§</a><h3 class="code-header">Depth32FloatStencil8</h3></section><div class="docblock"><p>Special depth/stencil format with 32 bit floating point depth and 8 bits integer stencil.</p>
<p><a href="struct.Features.html#associatedconstant.DEPTH32FLOAT_STENCIL8" title="associated constant wgpu::Features::DEPTH32FLOAT_STENCIL8"><code>Features::DEPTH32FLOAT_STENCIL8</code></a> must be enabled to use this texture format.</p>
</div><section id="variant.NV12" class="variant"><a href="#variant.NV12" class="anchor">§</a><h3 class="code-header">NV12</h3></section><div class="docblock"><p>YUV 4:2:0 chroma subsampled format.</p>
<p>Contains two planes:</p>
<ul>
<li>0: Single 8 bit channel luminance.</li>
<li>1: Dual 8 bit channel chrominance at half width and half height.</li>
</ul>
<p>Valid view formats for luminance are <a href="enum.TextureFormat.html#variant.R8Unorm" title="variant wgpu::TextureFormat::R8Unorm"><code>TextureFormat::R8Unorm</code></a>.</p>
<p>Valid view formats for chrominance are <a href="enum.TextureFormat.html#variant.Rg8Unorm" title="variant wgpu::TextureFormat::Rg8Unorm"><code>TextureFormat::Rg8Unorm</code></a>.</p>
<p>Width and height must be even.</p>
<p><a href="struct.Features.html#associatedconstant.TEXTURE_FORMAT_NV12" title="associated constant wgpu::Features::TEXTURE_FORMAT_NV12"><code>Features::TEXTURE_FORMAT_NV12</code></a> must be enabled to use this texture format.</p>
</div><section id="variant.Bc1RgbaUnorm" class="variant"><a href="#variant.Bc1RgbaUnorm" class="anchor">§</a><h3 class="code-header">Bc1RgbaUnorm</h3></section><div class="docblock"><p>4x4 block compressed texture. 8 bytes per block (4 bit/px). 4 color + alpha pallet. 5 bit R + 6 bit G + 5 bit B + 1 bit alpha.
[0, 63] ([0, 1] for alpha) converted to/from float [0, 1] in shader.</p>
<p>Also known as DXT1.</p>
<p><a href="struct.Features.html#associatedconstant.TEXTURE_COMPRESSION_BC" title="associated constant wgpu::Features::TEXTURE_COMPRESSION_BC"><code>Features::TEXTURE_COMPRESSION_BC</code></a> must be enabled to use this texture format.
<a href="struct.Features.html#associatedconstant.TEXTURE_COMPRESSION_BC_SLICED_3D" title="associated constant wgpu::Features::TEXTURE_COMPRESSION_BC_SLICED_3D"><code>Features::TEXTURE_COMPRESSION_BC_SLICED_3D</code></a> must be enabled to use this texture format with 3D dimension.</p>
</div><section id="variant.Bc1RgbaUnormSrgb" class="variant"><a href="#variant.Bc1RgbaUnormSrgb" class="anchor">§</a><h3 class="code-header">Bc1RgbaUnormSrgb</h3></section><div class="docblock"><p>4x4 block compressed texture. 8 bytes per block (4 bit/px). 4 color + alpha pallet. 5 bit R + 6 bit G + 5 bit B + 1 bit alpha.
Srgb-color [0, 63] ([0, 1] for alpha) converted to/from linear-color float [0, 1] in shader.</p>
<p>Also known as DXT1.</p>
<p><a href="struct.Features.html#associatedconstant.TEXTURE_COMPRESSION_BC" title="associated constant wgpu::Features::TEXTURE_COMPRESSION_BC"><code>Features::TEXTURE_COMPRESSION_BC</code></a> must be enabled to use this texture format.
<a href="struct.Features.html#associatedconstant.TEXTURE_COMPRESSION_BC_SLICED_3D" title="associated constant wgpu::Features::TEXTURE_COMPRESSION_BC_SLICED_3D"><code>Features::TEXTURE_COMPRESSION_BC_SLICED_3D</code></a> must be enabled to use this texture format with 3D dimension.</p>
</div><section id="variant.Bc2RgbaUnorm" class="variant"><a href="#variant.Bc2RgbaUnorm" class="anchor">§</a><h3 class="code-header">Bc2RgbaUnorm</h3></section><div class="docblock"><p>4x4 block compressed texture. 16 bytes per block (8 bit/px). 4 color pallet. 5 bit R + 6 bit G + 5 bit B + 4 bit alpha.
[0, 63] ([0, 15] for alpha) converted to/from float [0, 1] in shader.</p>
<p>Also known as DXT3.</p>
<p><a href="struct.Features.html#associatedconstant.TEXTURE_COMPRESSION_BC" title="associated constant wgpu::Features::TEXTURE_COMPRESSION_BC"><code>Features::TEXTURE_COMPRESSION_BC</code></a> must be enabled to use this texture format.
<a href="struct.Features.html#associatedconstant.TEXTURE_COMPRESSION_BC_SLICED_3D" title="associated constant wgpu::Features::TEXTURE_COMPRESSION_BC_SLICED_3D"><code>Features::TEXTURE_COMPRESSION_BC_SLICED_3D</code></a> must be enabled to use this texture format with 3D dimension.</p>
</div><section id="variant.Bc2RgbaUnormSrgb" class="variant"><a href="#variant.Bc2RgbaUnormSrgb" class="anchor">§</a><h3 class="code-header">Bc2RgbaUnormSrgb</h3></section><div class="docblock"><p>4x4 block compressed texture. 16 bytes per block (8 bit/px). 4 color pallet. 5 bit R + 6 bit G + 5 bit B + 4 bit alpha.
Srgb-color [0, 63] ([0, 255] for alpha) converted to/from linear-color float [0, 1] in shader.</p>
<p>Also known as DXT3.</p>
<p><a href="struct.Features.html#associatedconstant.TEXTURE_COMPRESSION_BC" title="associated constant wgpu::Features::TEXTURE_COMPRESSION_BC"><code>Features::TEXTURE_COMPRESSION_BC</code></a> must be enabled to use this texture format.
<a href="struct.Features.html#associatedconstant.TEXTURE_COMPRESSION_BC_SLICED_3D" title="associated constant wgpu::Features::TEXTURE_COMPRESSION_BC_SLICED_3D"><code>Features::TEXTURE_COMPRESSION_BC_SLICED_3D</code></a> must be enabled to use this texture format with 3D dimension.</p>
</div><section id="variant.Bc3RgbaUnorm" class="variant"><a href="#variant.Bc3RgbaUnorm" class="anchor">§</a><h3 class="code-header">Bc3RgbaUnorm</h3></section><div class="docblock"><p>4x4 block compressed texture. 16 bytes per block (8 bit/px). 4 color pallet + 8 alpha pallet. 5 bit R + 6 bit G + 5 bit B + 8 bit alpha.
[0, 63] ([0, 255] for alpha) converted to/from float [0, 1] in shader.</p>
<p>Also known as DXT5.</p>
<p><a href="struct.Features.html#associatedconstant.TEXTURE_COMPRESSION_BC" title="associated constant wgpu::Features::TEXTURE_COMPRESSION_BC"><code>Features::TEXTURE_COMPRESSION_BC</code></a> must be enabled to use this texture format.
<a href="struct.Features.html#associatedconstant.TEXTURE_COMPRESSION_BC_SLICED_3D" title="associated constant wgpu::Features::TEXTURE_COMPRESSION_BC_SLICED_3D"><code>Features::TEXTURE_COMPRESSION_BC_SLICED_3D</code></a> must be enabled to use this texture format with 3D dimension.</p>
</div><section id="variant.Bc3RgbaUnormSrgb" class="variant"><a href="#variant.Bc3RgbaUnormSrgb" class="anchor">§</a><h3 class="code-header">Bc3RgbaUnormSrgb</h3></section><div class="docblock"><p>4x4 block compressed texture. 16 bytes per block (8 bit/px). 4 color pallet + 8 alpha pallet. 5 bit R + 6 bit G + 5 bit B + 8 bit alpha.
Srgb-color [0, 63] ([0, 255] for alpha) converted to/from linear-color float [0, 1] in shader.</p>
<p>Also known as DXT5.</p>
<p><a href="struct.Features.html#associatedconstant.TEXTURE_COMPRESSION_BC" title="associated constant wgpu::Features::TEXTURE_COMPRESSION_BC"><code>Features::TEXTURE_COMPRESSION_BC</code></a> must be enabled to use this texture format.
<a href="struct.Features.html#associatedconstant.TEXTURE_COMPRESSION_BC_SLICED_3D" title="associated constant wgpu::Features::TEXTURE_COMPRESSION_BC_SLICED_3D"><code>Features::TEXTURE_COMPRESSION_BC_SLICED_3D</code></a> must be enabled to use this texture format with 3D dimension.</p>
</div><section id="variant.Bc4RUnorm" class="variant"><a href="#variant.Bc4RUnorm" class="anchor">§</a><h3 class="code-header">Bc4RUnorm</h3></section><div class="docblock"><p>4x4 block compressed texture. 8 bytes per block (4 bit/px). 8 color pallet. 8 bit R.
[0, 255] converted to/from float [0, 1] in shader.</p>
<p>Also known as RGTC1.</p>
<p><a href="struct.Features.html#associatedconstant.TEXTURE_COMPRESSION_BC" title="associated constant wgpu::Features::TEXTURE_COMPRESSION_BC"><code>Features::TEXTURE_COMPRESSION_BC</code></a> must be enabled to use this texture format.
<a href="struct.Features.html#associatedconstant.TEXTURE_COMPRESSION_BC_SLICED_3D" title="associated constant wgpu::Features::TEXTURE_COMPRESSION_BC_SLICED_3D"><code>Features::TEXTURE_COMPRESSION_BC_SLICED_3D</code></a> must be enabled to use this texture format with 3D dimension.</p>
</div><section id="variant.Bc4RSnorm" class="variant"><a href="#variant.Bc4RSnorm" class="anchor">§</a><h3 class="code-header">Bc4RSnorm</h3></section><div class="docblock"><p>4x4 block compressed texture. 8 bytes per block (4 bit/px). 8 color pallet. 8 bit R.
[-127, 127] converted to/from float [-1, 1] in shader.</p>
<p>Also known as RGTC1.</p>
<p><a href="struct.Features.html#associatedconstant.TEXTURE_COMPRESSION_BC" title="associated constant wgpu::Features::TEXTURE_COMPRESSION_BC"><code>Features::TEXTURE_COMPRESSION_BC</code></a> must be enabled to use this texture format.
<a href="struct.Features.html#associatedconstant.TEXTURE_COMPRESSION_BC_SLICED_3D" title="associated constant wgpu::Features::TEXTURE_COMPRESSION_BC_SLICED_3D"><code>Features::TEXTURE_COMPRESSION_BC_SLICED_3D</code></a> must be enabled to use this texture format with 3D dimension.</p>
</div><section id="variant.Bc5RgUnorm" class="variant"><a href="#variant.Bc5RgUnorm" class="anchor">§</a><h3 class="code-header">Bc5RgUnorm</h3></section><div class="docblock"><p>4x4 block compressed texture. 16 bytes per block (8 bit/px). 8 color red pallet + 8 color green pallet. 8 bit RG.
[0, 255] converted to/from float [0, 1] in shader.</p>
<p>Also known as RGTC2.</p>
<p><a href="struct.Features.html#associatedconstant.TEXTURE_COMPRESSION_BC" title="associated constant wgpu::Features::TEXTURE_COMPRESSION_BC"><code>Features::TEXTURE_COMPRESSION_BC</code></a> must be enabled to use this texture format.
<a href="struct.Features.html#associatedconstant.TEXTURE_COMPRESSION_BC_SLICED_3D" title="associated constant wgpu::Features::TEXTURE_COMPRESSION_BC_SLICED_3D"><code>Features::TEXTURE_COMPRESSION_BC_SLICED_3D</code></a> must be enabled to use this texture format with 3D dimension.</p>
</div><section id="variant.Bc5RgSnorm" class="variant"><a href="#variant.Bc5RgSnorm" class="anchor">§</a><h3 class="code-header">Bc5RgSnorm</h3></section><div class="docblock"><p>4x4 block compressed texture. 16 bytes per block (8 bit/px). 8 color red pallet + 8 color green pallet. 8 bit RG.
[-127, 127] converted to/from float [-1, 1] in shader.</p>
<p>Also known as RGTC2.</p>
<p><a href="struct.Features.html#associatedconstant.TEXTURE_COMPRESSION_BC" title="associated constant wgpu::Features::TEXTURE_COMPRESSION_BC"><code>Features::TEXTURE_COMPRESSION_BC</code></a> must be enabled to use this texture format.
<a href="struct.Features.html#associatedconstant.TEXTURE_COMPRESSION_BC_SLICED_3D" title="associated constant wgpu::Features::TEXTURE_COMPRESSION_BC_SLICED_3D"><code>Features::TEXTURE_COMPRESSION_BC_SLICED_3D</code></a> must be enabled to use this texture format with 3D dimension.</p>
</div><section id="variant.Bc6hRgbUfloat" class="variant"><a href="#variant.Bc6hRgbUfloat" class="anchor">§</a><h3 class="code-header">Bc6hRgbUfloat</h3></section><div class="docblock"><p>4x4 block compressed texture. 16 bytes per block (8 bit/px). Variable sized pallet. 16 bit unsigned float RGB. Float in shader.</p>
<p>Also known as BPTC (float).</p>
<p><a href="struct.Features.html#associatedconstant.TEXTURE_COMPRESSION_BC" title="associated constant wgpu::Features::TEXTURE_COMPRESSION_BC"><code>Features::TEXTURE_COMPRESSION_BC</code></a> must be enabled to use this texture format.
<a href="struct.Features.html#associatedconstant.TEXTURE_COMPRESSION_BC_SLICED_3D" title="associated constant wgpu::Features::TEXTURE_COMPRESSION_BC_SLICED_3D"><code>Features::TEXTURE_COMPRESSION_BC_SLICED_3D</code></a> must be enabled to use this texture format with 3D dimension.</p>
</div><section id="variant.Bc6hRgbFloat" class="variant"><a href="#variant.Bc6hRgbFloat" class="anchor">§</a><h3 class="code-header">Bc6hRgbFloat</h3></section><div class="docblock"><p>4x4 block compressed texture. 16 bytes per block (8 bit/px). Variable sized pallet. 16 bit signed float RGB. Float in shader.</p>
<p>Also known as BPTC (float).</p>
<p><a href="struct.Features.html#associatedconstant.TEXTURE_COMPRESSION_BC" title="associated constant wgpu::Features::TEXTURE_COMPRESSION_BC"><code>Features::TEXTURE_COMPRESSION_BC</code></a> must be enabled to use this texture format.
<a href="struct.Features.html#associatedconstant.TEXTURE_COMPRESSION_BC_SLICED_3D" title="associated constant wgpu::Features::TEXTURE_COMPRESSION_BC_SLICED_3D"><code>Features::TEXTURE_COMPRESSION_BC_SLICED_3D</code></a> must be enabled to use this texture format with 3D dimension.</p>
</div><section id="variant.Bc7RgbaUnorm" class="variant"><a href="#variant.Bc7RgbaUnorm" class="anchor">§</a><h3 class="code-header">Bc7RgbaUnorm</h3></section><div class="docblock"><p>4x4 block compressed texture. 16 bytes per block (8 bit/px). Variable sized pallet. 8 bit integer RGBA.
[0, 255] converted to/from float [0, 1] in shader.</p>
<p>Also known as BPTC (unorm).</p>
<p><a href="struct.Features.html#associatedconstant.TEXTURE_COMPRESSION_BC" title="associated constant wgpu::Features::TEXTURE_COMPRESSION_BC"><code>Features::TEXTURE_COMPRESSION_BC</code></a> must be enabled to use this texture format.
<a href="struct.Features.html#associatedconstant.TEXTURE_COMPRESSION_BC_SLICED_3D" title="associated constant wgpu::Features::TEXTURE_COMPRESSION_BC_SLICED_3D"><code>Features::TEXTURE_COMPRESSION_BC_SLICED_3D</code></a> must be enabled to use this texture format with 3D dimension.</p>
</div><section id="variant.Bc7RgbaUnormSrgb" class="variant"><a href="#variant.Bc7RgbaUnormSrgb" class="anchor">§</a><h3 class="code-header">Bc7RgbaUnormSrgb</h3></section><div class="docblock"><p>4x4 block compressed texture. 16 bytes per block (8 bit/px). Variable sized pallet. 8 bit integer RGBA.
Srgb-color [0, 255] converted to/from linear-color float [0, 1] in shader.</p>
<p>Also known as BPTC (unorm).</p>
<p><a href="struct.Features.html#associatedconstant.TEXTURE_COMPRESSION_BC" title="associated constant wgpu::Features::TEXTURE_COMPRESSION_BC"><code>Features::TEXTURE_COMPRESSION_BC</code></a> must be enabled to use this texture format.
<a href="struct.Features.html#associatedconstant.TEXTURE_COMPRESSION_BC_SLICED_3D" title="associated constant wgpu::Features::TEXTURE_COMPRESSION_BC_SLICED_3D"><code>Features::TEXTURE_COMPRESSION_BC_SLICED_3D</code></a> must be enabled to use this texture format with 3D dimension.</p>
</div><section id="variant.Etc2Rgb8Unorm" class="variant"><a href="#variant.Etc2Rgb8Unorm" class="anchor">§</a><h3 class="code-header">Etc2Rgb8Unorm</h3></section><div class="docblock"><p>4x4 block compressed texture. 8 bytes per block (4 bit/px). Complex pallet. 8 bit integer RGB.
[0, 255] converted to/from float [0, 1] in shader.</p>
<p><a href="struct.Features.html#associatedconstant.TEXTURE_COMPRESSION_ETC2" title="associated constant wgpu::Features::TEXTURE_COMPRESSION_ETC2"><code>Features::TEXTURE_COMPRESSION_ETC2</code></a> must be enabled to use this texture format.</p>
</div><section id="variant.Etc2Rgb8UnormSrgb" class="variant"><a href="#variant.Etc2Rgb8UnormSrgb" class="anchor">§</a><h3 class="code-header">Etc2Rgb8UnormSrgb</h3></section><div class="docblock"><p>4x4 block compressed texture. 8 bytes per block (4 bit/px). Complex pallet. 8 bit integer RGB.
Srgb-color [0, 255] converted to/from linear-color float [0, 1] in shader.</p>
<p><a href="struct.Features.html#associatedconstant.TEXTURE_COMPRESSION_ETC2" title="associated constant wgpu::Features::TEXTURE_COMPRESSION_ETC2"><code>Features::TEXTURE_COMPRESSION_ETC2</code></a> must be enabled to use this texture format.</p>
</div><section id="variant.Etc2Rgb8A1Unorm" class="variant"><a href="#variant.Etc2Rgb8A1Unorm" class="anchor">§</a><h3 class="code-header">Etc2Rgb8A1Unorm</h3></section><div class="docblock"><p>4x4 block compressed texture. 8 bytes per block (4 bit/px). Complex pallet. 8 bit integer RGB + 1 bit alpha.
[0, 255] ([0, 1] for alpha) converted to/from float [0, 1] in shader.</p>
<p><a href="struct.Features.html#associatedconstant.TEXTURE_COMPRESSION_ETC2" title="associated constant wgpu::Features::TEXTURE_COMPRESSION_ETC2"><code>Features::TEXTURE_COMPRESSION_ETC2</code></a> must be enabled to use this texture format.</p>
</div><section id="variant.Etc2Rgb8A1UnormSrgb" class="variant"><a href="#variant.Etc2Rgb8A1UnormSrgb" class="anchor">§</a><h3 class="code-header">Etc2Rgb8A1UnormSrgb</h3></section><div class="docblock"><p>4x4 block compressed texture. 8 bytes per block (4 bit/px). Complex pallet. 8 bit integer RGB + 1 bit alpha.
Srgb-color [0, 255] ([0, 1] for alpha) converted to/from linear-color float [0, 1] in shader.</p>
<p><a href="struct.Features.html#associatedconstant.TEXTURE_COMPRESSION_ETC2" title="associated constant wgpu::Features::TEXTURE_COMPRESSION_ETC2"><code>Features::TEXTURE_COMPRESSION_ETC2</code></a> must be enabled to use this texture format.</p>
</div><section id="variant.Etc2Rgba8Unorm" class="variant"><a href="#variant.Etc2Rgba8Unorm" class="anchor">§</a><h3 class="code-header">Etc2Rgba8Unorm</h3></section><div class="docblock"><p>4x4 block compressed texture. 16 bytes per block (8 bit/px). Complex pallet. 8 bit integer RGB + 8 bit alpha.
[0, 255] converted to/from float [0, 1] in shader.</p>
<p><a href="struct.Features.html#associatedconstant.TEXTURE_COMPRESSION_ETC2" title="associated constant wgpu::Features::TEXTURE_COMPRESSION_ETC2"><code>Features::TEXTURE_COMPRESSION_ETC2</code></a> must be enabled to use this texture format.</p>
</div><section id="variant.Etc2Rgba8UnormSrgb" class="variant"><a href="#variant.Etc2Rgba8UnormSrgb" class="anchor">§</a><h3 class="code-header">Etc2Rgba8UnormSrgb</h3></section><div class="docblock"><p>4x4 block compressed texture. 16 bytes per block (8 bit/px). Complex pallet. 8 bit integer RGB + 8 bit alpha.
Srgb-color [0, 255] converted to/from linear-color float [0, 1] in shader.</p>
<p><a href="struct.Features.html#associatedconstant.TEXTURE_COMPRESSION_ETC2" title="associated constant wgpu::Features::TEXTURE_COMPRESSION_ETC2"><code>Features::TEXTURE_COMPRESSION_ETC2</code></a> must be enabled to use this texture format.</p>
</div><section id="variant.EacR11Unorm" class="variant"><a href="#variant.EacR11Unorm" class="anchor">§</a><h3 class="code-header">EacR11Unorm</h3></section><div class="docblock"><p>4x4 block compressed texture. 8 bytes per block (4 bit/px). Complex pallet. 11 bit integer R.
[0, 255] converted to/from float [0, 1] in shader.</p>
<p><a href="struct.Features.html#associatedconstant.TEXTURE_COMPRESSION_ETC2" title="associated constant wgpu::Features::TEXTURE_COMPRESSION_ETC2"><code>Features::TEXTURE_COMPRESSION_ETC2</code></a> must be enabled to use this texture format.</p>
</div><section id="variant.EacR11Snorm" class="variant"><a href="#variant.EacR11Snorm" class="anchor">§</a><h3 class="code-header">EacR11Snorm</h3></section><div class="docblock"><p>4x4 block compressed texture. 8 bytes per block (4 bit/px). Complex pallet. 11 bit integer R.
[-127, 127] converted to/from float [-1, 1] in shader.</p>
<p><a href="struct.Features.html#associatedconstant.TEXTURE_COMPRESSION_ETC2" title="associated constant wgpu::Features::TEXTURE_COMPRESSION_ETC2"><code>Features::TEXTURE_COMPRESSION_ETC2</code></a> must be enabled to use this texture format.</p>
</div><section id="variant.EacRg11Unorm" class="variant"><a href="#variant.EacRg11Unorm" class="anchor">§</a><h3 class="code-header">EacRg11Unorm</h3></section><div class="docblock"><p>4x4 block compressed texture. 16 bytes per block (8 bit/px). Complex pallet. 11 bit integer R + 11 bit integer G.
[0, 255] converted to/from float [0, 1] in shader.</p>
<p><a href="struct.Features.html#associatedconstant.TEXTURE_COMPRESSION_ETC2" title="associated constant wgpu::Features::TEXTURE_COMPRESSION_ETC2"><code>Features::TEXTURE_COMPRESSION_ETC2</code></a> must be enabled to use this texture format.</p>
</div><section id="variant.EacRg11Snorm" class="variant"><a href="#variant.EacRg11Snorm" class="anchor">§</a><h3 class="code-header">EacRg11Snorm</h3></section><div class="docblock"><p>4x4 block compressed texture. 16 bytes per block (8 bit/px). Complex pallet. 11 bit integer R + 11 bit integer G.
[-127, 127] converted to/from float [-1, 1] in shader.</p>
<p><a href="struct.Features.html#associatedconstant.TEXTURE_COMPRESSION_ETC2" title="associated constant wgpu::Features::TEXTURE_COMPRESSION_ETC2"><code>Features::TEXTURE_COMPRESSION_ETC2</code></a> must be enabled to use this texture format.</p>
</div><section id="variant.Astc" class="variant"><a href="#variant.Astc" class="anchor">§</a><h3 class="code-header">Astc</h3></section><div class="docblock"><p>block compressed texture. 16 bytes per block.</p>
<p>Features <a href="struct.Features.html#associatedconstant.TEXTURE_COMPRESSION_ASTC" title="associated constant wgpu::Features::TEXTURE_COMPRESSION_ASTC"><code>TEXTURE_COMPRESSION_ASTC</code></a> or <a href="struct.Features.html#associatedconstant.TEXTURE_COMPRESSION_ASTC_HDR" title="associated constant wgpu::Features::TEXTURE_COMPRESSION_ASTC_HDR"><code>TEXTURE_COMPRESSION_ASTC_HDR</code></a>
must be enabled to use this texture format.</p>
</div><div class="sub-variant" id="variant.Astc.fields"><h4>Fields</h4><div class="sub-variant-field"><span id="variant.Astc.field.block" class="section-header"><a href="#variant.Astc.field.block" class="anchor field">§</a><code>block: <a class="enum" href="enum.AstcBlock.html" title="enum wgpu::AstcBlock">AstcBlock</a></code></span><div class="docblock"><p>compressed block dimensions</p>
</div></div><div class="sub-variant-field"><span id="variant.Astc.field.channel" class="section-header"><a href="#variant.Astc.field.channel" class="anchor field">§</a><code>channel: <a class="enum" href="enum.AstcChannel.html" title="enum wgpu::AstcChannel">AstcChannel</a></code></span><div class="docblock"><p>ASTC RGBA channel</p>
</div></div></div></div><h2 id="implementations" class="section-header">Implementations<a href="#implementations" class="anchor">§</a></h2><div id="implementations-list"><details class="toggle implementors-toggle" open><summary><section id="impl-TextureFormat" class="impl"><a class="src rightside" href="../src/wgpu_types/lib.rs.html#3062">Source</a><a href="#impl-TextureFormat" class="anchor">§</a><h3 class="code-header">impl <a class="enum" href="enum.TextureFormat.html" title="enum wgpu::TextureFormat">TextureFormat</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.aspect_specific_format" class="method"><a class="src rightside" href="../src/wgpu_types/lib.rs.html#3067">Source</a><h4 class="code-header">pub fn <a href="#method.aspect_specific_format" class="fn">aspect_specific_format</a>(
&amp;self,
aspect: <a class="enum" href="enum.TextureAspect.html" title="enum wgpu::TextureAspect">TextureAspect</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="enum" href="enum.TextureFormat.html" title="enum wgpu::TextureFormat">TextureFormat</a>&gt;</h4></section></summary><div class="docblock"><p>Returns the aspect-specific format of the original format</p>
<p>see <a href="https://gpuweb.github.io/gpuweb/#abstract-opdef-resolving-gputextureaspect">https://gpuweb.github.io/gpuweb/#abstract-opdef-resolving-gputextureaspect</a></p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.is_depth_stencil_component" class="method"><a class="src rightside" href="../src/wgpu_types/lib.rs.html#3091">Source</a><h4 class="code-header">pub fn <a href="#method.is_depth_stencil_component" class="fn">is_depth_stencil_component</a>(&amp;self, combined_format: <a class="enum" href="enum.TextureFormat.html" title="enum wgpu::TextureFormat">TextureFormat</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.bool.html">bool</a></h4></section></summary><div class="docblock"><p>Returns <code>true</code> if <code>self</code> is a depth or stencil component of the given
combined depth-stencil format</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.is_depth_stencil_format" class="method"><a class="src rightside" href="../src/wgpu_types/lib.rs.html#3103">Source</a><h4 class="code-header">pub fn <a href="#method.is_depth_stencil_format" class="fn">is_depth_stencil_format</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.bool.html">bool</a></h4></section></summary><div class="docblock"><p>Returns <code>true</code> if the format is a depth and/or stencil format</p>
<p>see <a href="https://gpuweb.github.io/gpuweb/#depth-formats">https://gpuweb.github.io/gpuweb/#depth-formats</a></p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.is_combined_depth_stencil_format" class="method"><a class="src rightside" href="../src/wgpu_types/lib.rs.html#3119">Source</a><h4 class="code-header">pub fn <a href="#method.is_combined_depth_stencil_format" class="fn">is_combined_depth_stencil_format</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.bool.html">bool</a></h4></section></summary><div class="docblock"><p>Returns <code>true</code> if the format is a combined depth-stencil format</p>
<p>see <a href="https://gpuweb.github.io/gpuweb/#combined-depth-stencil-format">https://gpuweb.github.io/gpuweb/#combined-depth-stencil-format</a></p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.is_multi_planar_format" class="method"><a class="src rightside" href="../src/wgpu_types/lib.rs.html#3128">Source</a><h4 class="code-header">pub fn <a href="#method.is_multi_planar_format" class="fn">is_multi_planar_format</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.bool.html">bool</a></h4></section></summary><div class="docblock"><p>Returns <code>true</code> if the format is a multi-planar format</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.planes" class="method"><a class="src rightside" href="../src/wgpu_types/lib.rs.html#3134">Source</a><h4 class="code-header">pub fn <a href="#method.planes" class="fn">planes</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.u32.html">u32</a>&gt;</h4></section></summary><div class="docblock"><p>Returns the number of planes a multi-planar format has.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.has_color_aspect" class="method"><a class="src rightside" href="../src/wgpu_types/lib.rs.html#3143">Source</a><h4 class="code-header">pub fn <a href="#method.has_color_aspect" class="fn">has_color_aspect</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.bool.html">bool</a></h4></section></summary><div class="docblock"><p>Returns <code>true</code> if the format has a color aspect</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.has_depth_aspect" class="method"><a class="src rightside" href="../src/wgpu_types/lib.rs.html#3149">Source</a><h4 class="code-header">pub fn <a href="#method.has_depth_aspect" class="fn">has_depth_aspect</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.bool.html">bool</a></h4></section></summary><div class="docblock"><p>Returns <code>true</code> if the format has a depth aspect</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.has_stencil_aspect" class="method"><a class="src rightside" href="../src/wgpu_types/lib.rs.html#3162">Source</a><h4 class="code-header">pub fn <a href="#method.has_stencil_aspect" class="fn">has_stencil_aspect</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.bool.html">bool</a></h4></section></summary><div class="docblock"><p>Returns <code>true</code> if the format has a stencil aspect</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.size_multiple_requirement" class="method"><a class="src rightside" href="../src/wgpu_types/lib.rs.html#3171">Source</a><h4 class="code-header">pub fn <a href="#method.size_multiple_requirement" class="fn">size_multiple_requirement</a>(&amp;self) -&gt; (<a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.u32.html">u32</a>, <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 size multiple requirement for a texture using this format.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.block_dimensions" class="method"><a class="src rightside" href="../src/wgpu_types/lib.rs.html#3182">Source</a><h4 class="code-header">pub fn <a href="#method.block_dimensions" class="fn">block_dimensions</a>(&amp;self) -&gt; (<a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.u32.html">u32</a>, <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 dimension of a <a href="https://gpuweb.github.io/gpuweb/#texel-block">block</a> of texels.</p>
<p>Uncompressed formats have a block dimension of <code>(1, 1)</code>.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.is_compressed" class="method"><a class="src rightside" href="../src/wgpu_types/lib.rs.html#3282">Source</a><h4 class="code-header">pub fn <a href="#method.is_compressed" class="fn">is_compressed</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.bool.html">bool</a></h4></section></summary><div class="docblock"><p>Returns <code>true</code> for compressed formats.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.is_bcn" class="method"><a class="src rightside" href="../src/wgpu_types/lib.rs.html#3288">Source</a><h4 class="code-header">pub fn <a href="#method.is_bcn" class="fn">is_bcn</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.bool.html">bool</a></h4></section></summary><div class="docblock"><p>Returns <code>true</code> for BCn compressed formats.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.required_features" class="method"><a class="src rightside" href="../src/wgpu_types/lib.rs.html#3294">Source</a><h4 class="code-header">pub fn <a href="#method.required_features" class="fn">required_features</a>(&amp;self) -&gt; <a class="struct" href="struct.Features.html" title="struct wgpu::Features">Features</a></h4></section></summary><div class="docblock"><p>Returns the required features (if any) in order to use the texture.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.guaranteed_format_features" class="method"><a class="src rightside" href="../src/wgpu_types/lib.rs.html#3387">Source</a><h4 class="code-header">pub fn <a href="#method.guaranteed_format_features" class="fn">guaranteed_format_features</a>(
&amp;self,
device_features: <a class="struct" href="struct.Features.html" title="struct wgpu::Features">Features</a>,
) -&gt; <a class="struct" href="struct.TextureFormatFeatures.html" title="struct wgpu::TextureFormatFeatures">TextureFormatFeatures</a></h4></section></summary><div class="docblock"><p>Returns the format features guaranteed by the WebGPU spec.</p>
<p>Additional features are available if <code>Features::TEXTURE_ADAPTER_SPECIFIC_FORMAT_FEATURES</code> is enabled.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.sample_type" class="method"><a class="src rightside" href="../src/wgpu_types/lib.rs.html#3523-3527">Source</a><h4 class="code-header">pub fn <a href="#method.sample_type" class="fn">sample_type</a>(
&amp;self,
aspect: <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="enum" href="enum.TextureAspect.html" title="enum wgpu::TextureAspect">TextureAspect</a>&gt;,
device_features: <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="struct" href="struct.Features.html" title="struct wgpu::Features">Features</a>&gt;,
) -&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="enum" href="enum.TextureSampleType.html" title="enum wgpu::TextureSampleType">TextureSampleType</a>&gt;</h4></section></summary><div class="docblock"><p>Returns the sample type compatible with this format and aspect.</p>
<p>Returns <code>None</code> only if this is a combined depth-stencil format or a multi-planar format
and <code>TextureAspect::All</code> or no <code>aspect</code> was provided.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.block_size" class="method"><a class="src rightside" href="../src/wgpu_types/lib.rs.html#3646">Source</a><h4 class="code-header">pub fn <a href="#method.block_size" class="fn">block_size</a>(&amp;self, aspect: <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="enum" href="enum.TextureAspect.html" title="enum wgpu::TextureAspect">TextureAspect</a>&gt;) -&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.u32.html">u32</a>&gt;</h4></section><span class="item-info"><div class="stab deprecated"><span class="emoji">👎</span><span>Deprecated since 0.19.0: Use <code>block_copy_size</code> instead.</span></div></span></summary><div class="docblock"><p>The number of bytes one <a href="https://gpuweb.github.io/gpuweb/#texel-block">texel block</a> occupies during an image copy, if applicable.</p>
<p>Known as the <a href="https://gpuweb.github.io/gpuweb/#texel-block-copy-footprint">texel block copy footprint</a>.</p>
<p>Note that for uncompressed formats this is the same as the size of a single texel,
since uncompressed formats have a block size of 1x1.</p>
<p>Returns <code>None</code> if any of the following are true:</p>
<ul>
<li>the format is a combined depth-stencil and no <code>aspect</code> was provided</li>
<li>the format is a multi-planar format and no <code>aspect</code> was provided</li>
<li>the format is <code>Depth24Plus</code></li>
<li>the format is <code>Depth24PlusStencil8</code> and <code>aspect</code> is depth.</li>
</ul>
</div></details><details class="toggle method-toggle" open><summary><section id="method.block_copy_size" class="method"><a class="src rightside" href="../src/wgpu_types/lib.rs.html#3663">Source</a><h4 class="code-header">pub fn <a href="#method.block_copy_size" class="fn">block_copy_size</a>(&amp;self, aspect: <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="enum" href="enum.TextureAspect.html" title="enum wgpu::TextureAspect">TextureAspect</a>&gt;) -&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.u32.html">u32</a>&gt;</h4></section></summary><div class="docblock"><p>The number of bytes one <a href="https://gpuweb.github.io/gpuweb/#texel-block">texel block</a> occupies during an image copy, if applicable.</p>
<p>Known as the <a href="https://gpuweb.github.io/gpuweb/#texel-block-copy-footprint">texel block copy footprint</a>.</p>
<p>Note that for uncompressed formats this is the same as the size of a single texel,
since uncompressed formats have a block size of 1x1.</p>
<p>Returns <code>None</code> if any of the following are true:</p>
<ul>
<li>the format is a combined depth-stencil and no <code>aspect</code> was provided</li>
<li>the format is a multi-planar format and no <code>aspect</code> was provided</li>
<li>the format is <code>Depth24Plus</code></li>
<li>the format is <code>Depth24PlusStencil8</code> and <code>aspect</code> is depth.</li>
</ul>
</div></details><details class="toggle method-toggle" open><summary><section id="method.target_pixel_byte_cost" class="method"><a class="src rightside" href="../src/wgpu_types/lib.rs.html#3751">Source</a><h4 class="code-header">pub fn <a href="#method.target_pixel_byte_cost" class="fn">target_pixel_byte_cost</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.u32.html">u32</a>&gt;</h4></section></summary><div class="docblock"><p>The number of bytes occupied per pixel in a color attachment
<a href="https://gpuweb.github.io/gpuweb/#render-target-pixel-byte-cost">https://gpuweb.github.io/gpuweb/#render-target-pixel-byte-cost</a></p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.target_component_alignment" class="method"><a class="src rightside" href="../src/wgpu_types/lib.rs.html#3828">Source</a><h4 class="code-header">pub fn <a href="#method.target_component_alignment" class="fn">target_component_alignment</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.u32.html">u32</a>&gt;</h4></section></summary><div class="docblock"><p>See <a href="https://gpuweb.github.io/gpuweb/#render-target-component-alignment">https://gpuweb.github.io/gpuweb/#render-target-component-alignment</a></p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.components" class="method"><a class="src rightside" href="../src/wgpu_types/lib.rs.html#3910">Source</a><h4 class="code-header">pub fn <a href="#method.components" class="fn">components</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.u8.html">u8</a></h4></section></summary><div class="docblock"><p>Returns the number of components this format has.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.components_with_aspect" class="method"><a class="src rightside" href="../src/wgpu_types/lib.rs.html#3918">Source</a><h4 class="code-header">pub fn <a href="#method.components_with_aspect" class="fn">components_with_aspect</a>(&amp;self, aspect: <a class="enum" href="enum.TextureAspect.html" title="enum wgpu::TextureAspect">TextureAspect</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.u8.html">u8</a></h4></section></summary><div class="docblock"><p>Returns the number of components this format has taking into account the <code>aspect</code>.</p>
<p>The <code>aspect</code> is only relevant for combined depth-stencil formats and multi-planar formats.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.remove_srgb_suffix" class="method"><a class="src rightside" href="../src/wgpu_types/lib.rs.html#4004">Source</a><h4 class="code-header">pub fn <a href="#method.remove_srgb_suffix" class="fn">remove_srgb_suffix</a>(&amp;self) -&gt; <a class="enum" href="enum.TextureFormat.html" title="enum wgpu::TextureFormat">TextureFormat</a></h4></section></summary><div class="docblock"><p>Strips the <code>Srgb</code> suffix from the given texture format.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.add_srgb_suffix" class="method"><a class="src rightside" href="../src/wgpu_types/lib.rs.html#4028">Source</a><h4 class="code-header">pub fn <a href="#method.add_srgb_suffix" class="fn">add_srgb_suffix</a>(&amp;self) -&gt; <a class="enum" href="enum.TextureFormat.html" title="enum wgpu::TextureFormat">TextureFormat</a></h4></section></summary><div class="docblock"><p>Adds an <code>Srgb</code> suffix to the given texture format, if the format supports it.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.is_srgb" class="method"><a class="src rightside" href="../src/wgpu_types/lib.rs.html#4052">Source</a><h4 class="code-header">pub fn <a href="#method.is_srgb" class="fn">is_srgb</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.bool.html">bool</a></h4></section></summary><div class="docblock"><p>Returns <code>true</code> for srgb formats.</p>
</div></details></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-Clone-for-TextureFormat" class="impl"><a class="src rightside" href="../src/wgpu_types/lib.rs.html#2477">Source</a><a href="#impl-Clone-for-TextureFormat" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> for <a class="enum" href="enum.TextureFormat.html" title="enum wgpu::TextureFormat">TextureFormat</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.clone" class="method trait-impl"><a class="src rightside" href="../src/wgpu_types/lib.rs.html#2477">Source</a><a href="#method.clone" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/clone/trait.Clone.html#tymethod.clone" class="fn">clone</a>(&amp;self) -&gt; <a class="enum" href="enum.TextureFormat.html" title="enum wgpu::TextureFormat">TextureFormat</a></h4></section></summary><div class='docblock'>Returns a copy of the value. <a href="https://doc.rust-lang.org/1.84.0/core/clone/trait.Clone.html#tymethod.clone">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.clone_from" class="method trait-impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="src" href="https://doc.rust-lang.org/1.84.0/src/core/clone.rs.html#174">Source</a></span><a href="#method.clone_from" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/clone/trait.Clone.html#method.clone_from" class="fn">clone_from</a>(&amp;mut self, source: &amp;Self)</h4></section></summary><div class='docblock'>Performs copy-assignment from <code>source</code>. <a href="https://doc.rust-lang.org/1.84.0/core/clone/trait.Clone.html#method.clone_from">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Debug-for-TextureFormat" class="impl"><a class="src rightside" href="../src/wgpu_types/lib.rs.html#2477">Source</a><a href="#impl-Debug-for-TextureFormat" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a> for <a class="enum" href="enum.TextureFormat.html" title="enum wgpu::TextureFormat">TextureFormat</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.fmt" class="method trait-impl"><a class="src rightside" href="../src/wgpu_types/lib.rs.html#2477">Source</a><a href="#method.fmt" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/fmt/trait.Debug.html#tymethod.fmt" class="fn">fmt</a>(&amp;self, f: &amp;mut <a class="struct" href="https://doc.rust-lang.org/1.84.0/core/fmt/struct.Formatter.html" title="struct core::fmt::Formatter">Formatter</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="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.unit.html">()</a>, <a class="struct" href="https://doc.rust-lang.org/1.84.0/core/fmt/struct.Error.html" title="struct core::fmt::Error">Error</a>&gt;</h4></section></summary><div class='docblock'>Formats the value using the given formatter. <a href="https://doc.rust-lang.org/1.84.0/core/fmt/trait.Debug.html#tymethod.fmt">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-From%3CTextureFormat%3E-for-ColorTargetState" class="impl"><a class="src rightside" href="../src/wgpu_types/lib.rs.html#2166">Source</a><a href="#impl-From%3CTextureFormat%3E-for-ColorTargetState" class="anchor">§</a><h3 class="code-header">impl <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;<a class="enum" href="enum.TextureFormat.html" title="enum wgpu::TextureFormat">TextureFormat</a>&gt; for <a class="struct" href="struct.ColorTargetState.html" title="struct wgpu::ColorTargetState">ColorTargetState</a></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="../src/wgpu_types/lib.rs.html#2167">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>(format: <a class="enum" href="enum.TextureFormat.html" title="enum wgpu::TextureFormat">TextureFormat</a>) -&gt; <a class="struct" href="struct.ColorTargetState.html" title="struct wgpu::ColorTargetState">ColorTargetState</a></h4></section></summary><div class='docblock'>Converts to this type from the input type.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Hash-for-TextureFormat" class="impl"><a class="src rightside" href="../src/wgpu_types/lib.rs.html#2477">Source</a><a href="#impl-Hash-for-TextureFormat" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/hash/trait.Hash.html" title="trait core::hash::Hash">Hash</a> for <a class="enum" href="enum.TextureFormat.html" title="enum wgpu::TextureFormat">TextureFormat</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.hash" class="method trait-impl"><a class="src rightside" href="../src/wgpu_types/lib.rs.html#2477">Source</a><a href="#method.hash" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/hash/trait.Hash.html#tymethod.hash" class="fn">hash</a>&lt;__H&gt;(&amp;self, state: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.reference.html">&amp;mut __H</a>)<div class="where">where
__H: <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/hash/trait.Hasher.html" title="trait core::hash::Hasher">Hasher</a>,</div></h4></section></summary><div class='docblock'>Feeds this value into the given <a href="https://doc.rust-lang.org/1.84.0/core/hash/trait.Hasher.html" title="trait core::hash::Hasher"><code>Hasher</code></a>. <a href="https://doc.rust-lang.org/1.84.0/core/hash/trait.Hash.html#tymethod.hash">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.hash_slice" class="method trait-impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.3.0">1.3.0</span> · <a class="src" href="https://doc.rust-lang.org/1.84.0/src/core/hash/mod.rs.html#235-237">Source</a></span><a href="#method.hash_slice" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/hash/trait.Hash.html#method.hash_slice" class="fn">hash_slice</a>&lt;H&gt;(data: &amp;[Self], state: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.reference.html">&amp;mut H</a>)<div class="where">where
H: <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/hash/trait.Hasher.html" title="trait core::hash::Hasher">Hasher</a>,
Self: <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></h4></section></summary><div class='docblock'>Feeds a slice of this type into the given <a href="https://doc.rust-lang.org/1.84.0/core/hash/trait.Hasher.html" title="trait core::hash::Hasher"><code>Hasher</code></a>. <a href="https://doc.rust-lang.org/1.84.0/core/hash/trait.Hash.html#method.hash_slice">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-PartialEq-for-TextureFormat" class="impl"><a class="src rightside" href="../src/wgpu_types/lib.rs.html#2477">Source</a><a href="#impl-PartialEq-for-TextureFormat" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a> for <a class="enum" href="enum.TextureFormat.html" title="enum wgpu::TextureFormat">TextureFormat</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.eq" class="method trait-impl"><a class="src rightside" href="../src/wgpu_types/lib.rs.html#2477">Source</a><a href="#method.eq" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialEq.html#tymethod.eq" class="fn">eq</a>(&amp;self, other: &amp;<a class="enum" href="enum.TextureFormat.html" title="enum wgpu::TextureFormat">TextureFormat</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests for <code>self</code> and <code>other</code> values to be equal, and is used by <code>==</code>.</div></details><details class="toggle method-toggle" open><summary><section id="method.ne" class="method trait-impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="src" href="https://doc.rust-lang.org/1.84.0/src/core/cmp.rs.html#261">Source</a></span><a href="#method.ne" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialEq.html#method.ne" class="fn">ne</a>(&amp;self, other: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.reference.html">&amp;Rhs</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests for <code>!=</code>. The default implementation is almost always sufficient,
and should not be overridden without very good reason.</div></details></div></details><section id="impl-Copy-for-TextureFormat" class="impl"><a class="src rightside" href="../src/wgpu_types/lib.rs.html#2477">Source</a><a href="#impl-Copy-for-TextureFormat" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/marker/trait.Copy.html" title="trait core::marker::Copy">Copy</a> for <a class="enum" href="enum.TextureFormat.html" title="enum wgpu::TextureFormat">TextureFormat</a></h3></section><section id="impl-Eq-for-TextureFormat" class="impl"><a class="src rightside" href="../src/wgpu_types/lib.rs.html#2477">Source</a><a href="#impl-Eq-for-TextureFormat" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.Eq.html" title="trait core::cmp::Eq">Eq</a> for <a class="enum" href="enum.TextureFormat.html" title="enum wgpu::TextureFormat">TextureFormat</a></h3></section><section id="impl-StructuralPartialEq-for-TextureFormat" class="impl"><a class="src rightside" href="../src/wgpu_types/lib.rs.html#2477">Source</a><a href="#impl-StructuralPartialEq-for-TextureFormat" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/marker/trait.StructuralPartialEq.html" title="trait core::marker::StructuralPartialEq">StructuralPartialEq</a> for <a class="enum" href="enum.TextureFormat.html" title="enum wgpu::TextureFormat">TextureFormat</a></h3></section></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-TextureFormat" class="impl"><a href="#impl-Freeze-for-TextureFormat" 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="enum" href="enum.TextureFormat.html" title="enum wgpu::TextureFormat">TextureFormat</a></h3></section><section id="impl-RefUnwindSafe-for-TextureFormat" class="impl"><a href="#impl-RefUnwindSafe-for-TextureFormat" 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="enum" href="enum.TextureFormat.html" title="enum wgpu::TextureFormat">TextureFormat</a></h3></section><section id="impl-Send-for-TextureFormat" class="impl"><a href="#impl-Send-for-TextureFormat" 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="enum" href="enum.TextureFormat.html" title="enum wgpu::TextureFormat">TextureFormat</a></h3></section><section id="impl-Sync-for-TextureFormat" class="impl"><a href="#impl-Sync-for-TextureFormat" 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="enum" href="enum.TextureFormat.html" title="enum wgpu::TextureFormat">TextureFormat</a></h3></section><section id="impl-Unpin-for-TextureFormat" class="impl"><a href="#impl-Unpin-for-TextureFormat" 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="enum" href="enum.TextureFormat.html" title="enum wgpu::TextureFormat">TextureFormat</a></h3></section><section id="impl-UnwindSafe-for-TextureFormat" class="impl"><a href="#impl-UnwindSafe-for-TextureFormat" 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="enum" href="enum.TextureFormat.html" title="enum wgpu::TextureFormat">TextureFormat</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-CloneToUninit-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.84.0/src/core/clone.rs.html#273">Source</a><a href="#impl-CloneToUninit-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/clone/trait.CloneToUninit.html" title="trait core::clone::CloneToUninit">CloneToUninit</a> for T<div class="where">where
T: <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.clone_to_uninit" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.84.0/src/core/clone.rs.html#275">Source</a><a href="#method.clone_to_uninit" class="anchor">§</a><h4 class="code-header">unsafe fn <a href="https://doc.rust-lang.org/1.84.0/core/clone/trait.CloneToUninit.html#tymethod.clone_to_uninit" class="fn">clone_to_uninit</a>(&amp;self, dst: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.pointer.html">*mut </a><a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.u8.html">u8</a>)</h4></section></summary><span class="item-info"><div class="stab unstable"><span class="emoji">🔬</span><span>This is a nightly-only experimental API. (<code>clone_to_uninit</code>)</span></div></span><div class='docblock'>Performs copy-assignment from <code>self</code> to <code>dst</code>. <a href="https://doc.rust-lang.org/1.84.0/core/clone/trait.CloneToUninit.html#tymethod.clone_to_uninit">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-Equivalent%3CK%3E-for-Q" class="impl"><a class="src rightside" href="../src/hashbrown/lib.rs.html#155-158">Source</a><a href="#impl-Equivalent%3CK%3E-for-Q" class="anchor">§</a><h3 class="code-header">impl&lt;Q, K&gt; <a class="trait" href="../hashbrown/trait.Equivalent.html" title="trait hashbrown::Equivalent">Equivalent</a>&lt;K&gt; for Q<div class="where">where
Q: <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.Eq.html" title="trait core::cmp::Eq">Eq</a> + ?<a class="trait" href="https://doc.rust-lang.org/1.84.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,
K: <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;Q&gt; + ?<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.equivalent" class="method trait-impl"><a class="src rightside" href="../src/hashbrown/lib.rs.html#160">Source</a><a href="#method.equivalent" class="anchor">§</a><h4 class="code-header">fn <a href="../hashbrown/trait.Equivalent.html#tymethod.equivalent" class="fn">equivalent</a>(&amp;self, key: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.reference.html">&amp;K</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Checks if this value is equivalent to the given key. <a href="../hashbrown/trait.Equivalent.html#tymethod.equivalent">Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Equivalent%3CK%3E-for-Q-1" class="impl"><a class="src rightside" href="../src/equivalent/lib.rs.html#82-85">Source</a><a href="#impl-Equivalent%3CK%3E-for-Q-1" class="anchor">§</a><h3 class="code-header">impl&lt;Q, K&gt; <a class="trait" href="../equivalent/trait.Equivalent.html" title="trait equivalent::Equivalent">Equivalent</a>&lt;K&gt; for Q<div class="where">where
Q: <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.Eq.html" title="trait core::cmp::Eq">Eq</a> + ?<a class="trait" href="https://doc.rust-lang.org/1.84.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,
K: <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;Q&gt; + ?<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.equivalent-1" class="method trait-impl"><a class="src rightside" href="../src/equivalent/lib.rs.html#88">Source</a><a href="#method.equivalent-1" class="anchor">§</a><h4 class="code-header">fn <a href="../equivalent/trait.Equivalent.html#tymethod.equivalent" class="fn">equivalent</a>(&amp;self, key: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.reference.html">&amp;K</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Compare self to <code>key</code> and return <code>true</code> if they are equal.</div></details></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-1" 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-1" 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-ToOwned-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.84.0/src/alloc/borrow.rs.html#82-84">Source</a><a href="#impl-ToOwned-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/alloc/borrow/trait.ToOwned.html" title="trait alloc::borrow::ToOwned">ToOwned</a> for T<div class="where">where
T: <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Owned" class="associatedtype trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.84.0/src/alloc/borrow.rs.html#86">Source</a><a href="#associatedtype.Owned" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.84.0/alloc/borrow/trait.ToOwned.html#associatedtype.Owned" class="associatedtype">Owned</a> = T</h4></section></summary><div class='docblock'>The resulting type after obtaining ownership.</div></details><details class="toggle method-toggle" open><summary><section id="method.to_owned" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.84.0/src/alloc/borrow.rs.html#87">Source</a><a href="#method.to_owned" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/alloc/borrow/trait.ToOwned.html#tymethod.to_owned" class="fn">to_owned</a>(&amp;self) -&gt; T</h4></section></summary><div class='docblock'>Creates owned data from borrowed data, usually by cloning. <a href="https://doc.rust-lang.org/1.84.0/alloc/borrow/trait.ToOwned.html#tymethod.to_owned">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.clone_into" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.84.0/src/alloc/borrow.rs.html#91">Source</a><a href="#method.clone_into" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/alloc/borrow/trait.ToOwned.html#method.clone_into" class="fn">clone_into</a>(&amp;self, target: <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'>Uses borrowed data to replace owned data, usually by cloning. <a href="https://doc.rust-lang.org/1.84.0/alloc/borrow/trait.ToOwned.html#method.clone_into">Read more</a></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="trait.WasmNotSend.html" title="trait wgpu::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="trait.WasmNotSendSync.html" title="trait wgpu::WasmNotSendSync">WasmNotSendSync</a> for T<div class="where">where
T: <a class="trait" href="trait.WasmNotSend.html" title="trait wgpu::WasmNotSend">WasmNotSend</a> + <a class="trait" href="trait.WasmNotSync.html" title="trait wgpu::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="trait.WasmNotSync.html" title="trait wgpu::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>