Files
rust-gpu/api/spirv_std/image/trait.ImageWithMethods.html
2026-04-17 14:18:32 +00:00

95 lines
57 KiB
HTML
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="Helper trait that defines all `*_with` methods on an `Image` that use the extra image operands, such as bias or lod, defined by the `SampleParams` struct."><title>ImageWithMethods in spirv_std::image - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-6b053e98.ttf.woff2,FiraSans-Italic-81dc35de.woff2,FiraSans-Regular-0fe48ade.woff2,FiraSans-MediumItalic-ccf7e434.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"href="../../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../../static.files/normalize-9960930a.css"><link rel="stylesheet" href="../../static.files/rustdoc-17e0aaed.css"><meta name="rustdoc-vars" data-root-path="../../" data-static-root-path="../../static.files/" data-current-crate="spirv_std" data-themes="" data-resource-suffix="" data-rustdoc-version="1.96.0-nightly (02c7f9bec 2026-04-10)" data-channel="nightly" data-search-js="search-b5634cc7.js" data-stringdex-js="stringdex-2da4960a.js" data-settings-js="settings-170eb4bf.js" ><script src="../../static.files/storage-41dd4d93.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../static.files/main-5013f961.js"></script><noscript><link rel="stylesheet" href="../../static.files/noscript-f7c3ffd8.css"></noscript><link rel="alternate icon" type="image/png" href="../../static.files/favicon-32x32-eab170b8.png"><link rel="icon" type="image/svg+xml" href="../../static.files/favicon-044be391.svg"></head><body class="rustdoc trait"><a class="skip-main-content" href="#main-content">Skip to main content</a><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><rustdoc-topbar><h2><a href="#">ImageWithMethods</a></h2></rustdoc-topbar><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../spirv_std/index.html">spirv_<wbr>std</a><span class="version">0.10.0-alpha.1</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Image<wbr>With<wbr>Methods</a></h2><h3><a href="#required-methods">Required Methods</a></h3><ul class="block"><li><a href="#tymethod.fetch_with" title="fetch_with">fetch_with</a></li><li><a href="#tymethod.gather_with" title="gather_with">gather_with</a></li><li><a href="#tymethod.sample_depth_reference_with" title="sample_depth_reference_with">sample_depth_reference_with</a></li><li><a href="#tymethod.sample_depth_reference_with_project_coordinate_with" title="sample_depth_reference_with_project_coordinate_with">sample_depth_reference_with_project_coordinate_with</a></li><li><a href="#tymethod.sample_with" title="sample_with">sample_with</a></li><li><a href="#tymethod.sample_with_project_coordinate_with" title="sample_with_project_coordinate_with">sample_with_project_coordinate_with</a></li></ul><h3><a href="#dyn-compatibility">Dyn Compatibility</a></h3><h3><a href="#implementors">Implementors</a></h3></section><div id="rustdoc-modnav"><h2><a href="index.html">In spirv_<wbr>std::<wbr>image</a></h2></div></div></nav><div class="sidebar-resizer" title="Drag to resize sidebar"></div><main><div class="width-limiter"><section id="main-content" class="content" tabindex="-1"><div class="main-heading"><div class="rustdoc-breadcrumbs"><a href="../index.html">spirv_std</a>::<wbr><a href="index.html">image</a></div><h1>Trait <span class="trait">Image<wbr>With<wbr>Methods</span>&nbsp;<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/spirv_std/image.rs.html#1328-1407">Source</a> </span></div><pre class="rust item-decl"><code>pub trait ImageWithMethods&lt;SampledType: <a class="trait" href="trait.SampleType.html" title="trait spirv_std::image::SampleType">SampleType</a>&lt;FORMAT, COMPONENTS&gt;, const DIM: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>, const DEPTH: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>, const ARRAYED: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>, const MULTISAMPLED: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>, const SAMPLED: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>, const FORMAT: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>, const COMPONENTS: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>, Params&gt; {
// Required methods
fn <a href="#tymethod.fetch_with" class="fn">fetch_with</a>&lt;I&gt;(
&amp;self,
coordinate: impl <a class="trait" href="trait.ImageCoordinate.html" title="trait spirv_std::image::ImageCoordinate">ImageCoordinate</a>&lt;I, DIM, ARRAYED&gt;,
params: Params,
) -&gt; SampledType::<a class="associatedtype" href="trait.SampleType.html#associatedtype.SampleResult" title="type spirv_std::image::SampleType::SampleResult">SampleResult</a>
<span class="where">where I: <a class="trait" href="../trait.Integer.html" title="trait spirv_std::Integer">Integer</a></span>;
<span class="item-spacer"></span> fn <a href="#tymethod.gather_with" class="fn">gather_with</a>&lt;F&gt;(
&amp;self,
sampler: <a class="struct" href="../struct.Sampler.html" title="struct spirv_std::Sampler">Sampler</a>,
coordinate: impl <a class="trait" href="trait.ImageCoordinate.html" title="trait spirv_std::image::ImageCoordinate">ImageCoordinate</a>&lt;F, DIM, ARRAYED&gt;,
component: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>,
params: Params,
) -&gt; SampledType::<a class="associatedtype" href="trait.SampleType.html#associatedtype.Vec4" title="type spirv_std::image::SampleType::Vec4">Vec4</a>
<span class="where">where Self: <a class="trait" href="trait.HasGather.html" title="trait spirv_std::image::HasGather">HasGather</a>,
F: <a class="trait" href="../trait.Float.html" title="trait spirv_std::Float">Float</a></span>;
<span class="item-spacer"></span> fn <a href="#tymethod.sample_with" class="fn">sample_with</a>&lt;F&gt;(
&amp;self,
sampler: <a class="struct" href="../struct.Sampler.html" title="struct spirv_std::Sampler">Sampler</a>,
coord: impl <a class="trait" href="trait.ImageCoordinate.html" title="trait spirv_std::image::ImageCoordinate">ImageCoordinate</a>&lt;F, DIM, ARRAYED&gt;,
params: Params,
) -&gt; SampledType::<a class="associatedtype" href="trait.SampleType.html#associatedtype.SampleResult" title="type spirv_std::image::SampleType::SampleResult">SampleResult</a>
<span class="where">where F: <a class="trait" href="../trait.Float.html" title="trait spirv_std::Float">Float</a></span>;
<span class="item-spacer"></span> fn <a href="#tymethod.sample_depth_reference_with" class="fn">sample_depth_reference_with</a>&lt;F&gt;(
&amp;self,
sampler: <a class="struct" href="../struct.Sampler.html" title="struct spirv_std::Sampler">Sampler</a>,
coordinate: impl <a class="trait" href="trait.ImageCoordinate.html" title="trait spirv_std::image::ImageCoordinate">ImageCoordinate</a>&lt;F, DIM, ARRAYED&gt;,
depth_reference: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a>,
params: Params,
) -&gt; SampledType
<span class="where">where F: <a class="trait" href="../trait.Float.html" title="trait spirv_std::Float">Float</a></span>;
<span class="item-spacer"></span> fn <a href="#tymethod.sample_with_project_coordinate_with" class="fn">sample_with_project_coordinate_with</a>&lt;F&gt;(
&amp;self,
sampler: <a class="struct" href="../struct.Sampler.html" title="struct spirv_std::Sampler">Sampler</a>,
project_coordinate: impl <a class="trait" href="trait.ImageCoordinate.html" title="trait spirv_std::image::ImageCoordinate">ImageCoordinate</a>&lt;F, DIM, { _ }&gt;,
params: Params,
) -&gt; SampledType::<a class="associatedtype" href="trait.SampleType.html#associatedtype.SampleResult" title="type spirv_std::image::SampleType::SampleResult">SampleResult</a>
<span class="where">where F: <a class="trait" href="../trait.Float.html" title="trait spirv_std::Float">Float</a></span>;
<span class="item-spacer"></span> fn <a href="#tymethod.sample_depth_reference_with_project_coordinate_with" class="fn">sample_depth_reference_with_project_coordinate_with</a>&lt;F&gt;(
&amp;self,
sampler: <a class="struct" href="../struct.Sampler.html" title="struct spirv_std::Sampler">Sampler</a>,
project_coordinate: impl <a class="trait" href="trait.ImageCoordinate.html" title="trait spirv_std::image::ImageCoordinate">ImageCoordinate</a>&lt;F, DIM, { _ }&gt;,
depth_reference: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a>,
params: Params,
) -&gt; SampledType
<span class="where">where F: <a class="trait" href="../trait.Float.html" title="trait spirv_std::Float">Float</a></span>;
}</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Helper trait that defines all <code>*_with</code> methods on an <code>Image</code> that use the extra image operands,
such as bias or lod, defined by the <code>SampleParams</code> struct.</p>
</div></details><h2 id="required-methods" class="section-header">Required Methods<a href="#required-methods" class="anchor">§</a></h2><div class="methods"><details class="toggle method-toggle" open><summary><section id="tymethod.fetch_with" class="method"><a class="src rightside" href="../../src/spirv_std/image.rs.html#1342-1348">Source</a><h4 class="code-header">fn <a href="#tymethod.fetch_with" class="fn">fetch_with</a>&lt;I&gt;(
&amp;self,
coordinate: impl <a class="trait" href="trait.ImageCoordinate.html" title="trait spirv_std::image::ImageCoordinate">ImageCoordinate</a>&lt;I, DIM, ARRAYED&gt;,
params: Params,
) -&gt; SampledType::<a class="associatedtype" href="trait.SampleType.html#associatedtype.SampleResult" title="type spirv_std::image::SampleType::SampleResult">SampleResult</a><div class="where">where
I: <a class="trait" href="../trait.Integer.html" title="trait spirv_std::Integer">Integer</a>,</div></h4></section></summary><div class="docblock"><p>Fetch a single texel with a sampler set at compile time</p>
</div></details><details class="toggle method-toggle" open><summary><section id="tymethod.gather_with" class="method"><a class="src rightside" href="../../src/spirv_std/image.rs.html#1352-1361">Source</a><h4 class="code-header">fn <a href="#tymethod.gather_with" class="fn">gather_with</a>&lt;F&gt;(
&amp;self,
sampler: <a class="struct" href="../struct.Sampler.html" title="struct spirv_std::Sampler">Sampler</a>,
coordinate: impl <a class="trait" href="trait.ImageCoordinate.html" title="trait spirv_std::image::ImageCoordinate">ImageCoordinate</a>&lt;F, DIM, ARRAYED&gt;,
component: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>,
params: Params,
) -&gt; SampledType::<a class="associatedtype" href="trait.SampleType.html#associatedtype.Vec4" title="type spirv_std::image::SampleType::Vec4">Vec4</a><div class="where">where
Self: <a class="trait" href="trait.HasGather.html" title="trait spirv_std::image::HasGather">HasGather</a>,
F: <a class="trait" href="../trait.Float.html" title="trait spirv_std::Float">Float</a>,</div></h4></section></summary><div class="docblock"><p>Gathers the requested component from four texels.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="tymethod.sample_with" class="method"><a class="src rightside" href="../../src/spirv_std/image.rs.html#1364-1371">Source</a><h4 class="code-header">fn <a href="#tymethod.sample_with" class="fn">sample_with</a>&lt;F&gt;(
&amp;self,
sampler: <a class="struct" href="../struct.Sampler.html" title="struct spirv_std::Sampler">Sampler</a>,
coord: impl <a class="trait" href="trait.ImageCoordinate.html" title="trait spirv_std::image::ImageCoordinate">ImageCoordinate</a>&lt;F, DIM, ARRAYED&gt;,
params: Params,
) -&gt; SampledType::<a class="associatedtype" href="trait.SampleType.html#associatedtype.SampleResult" title="type spirv_std::image::SampleType::SampleResult">SampleResult</a><div class="where">where
F: <a class="trait" href="../trait.Float.html" title="trait spirv_std::Float">Float</a>,</div></h4></section></summary><div class="docblock"><p>Sample texels at <code>coord</code> from the image using <code>sampler</code>.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="tymethod.sample_depth_reference_with" class="method"><a class="src rightside" href="../../src/spirv_std/image.rs.html#1375-1383">Source</a><h4 class="code-header">fn <a href="#tymethod.sample_depth_reference_with" class="fn">sample_depth_reference_with</a>&lt;F&gt;(
&amp;self,
sampler: <a class="struct" href="../struct.Sampler.html" title="struct spirv_std::Sampler">Sampler</a>,
coordinate: impl <a class="trait" href="trait.ImageCoordinate.html" title="trait spirv_std::image::ImageCoordinate">ImageCoordinate</a>&lt;F, DIM, ARRAYED&gt;,
depth_reference: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a>,
params: Params,
) -&gt; SampledType<div class="where">where
F: <a class="trait" href="../trait.Float.html" title="trait spirv_std::Float">Float</a>,</div></h4></section></summary><div class="docblock"><p>Sample the images depth reference</p>
</div></details><details class="toggle method-toggle" open><summary><section id="tymethod.sample_with_project_coordinate_with" class="method"><a class="src rightside" href="../../src/spirv_std/image.rs.html#1387-1394">Source</a><h4 class="code-header">fn <a href="#tymethod.sample_with_project_coordinate_with" class="fn">sample_with_project_coordinate_with</a>&lt;F&gt;(
&amp;self,
sampler: <a class="struct" href="../struct.Sampler.html" title="struct spirv_std::Sampler">Sampler</a>,
project_coordinate: impl <a class="trait" href="trait.ImageCoordinate.html" title="trait spirv_std::image::ImageCoordinate">ImageCoordinate</a>&lt;F, DIM, { _ }&gt;,
params: Params,
) -&gt; SampledType::<a class="associatedtype" href="trait.SampleType.html#associatedtype.SampleResult" title="type spirv_std::image::SampleType::SampleResult">SampleResult</a><div class="where">where
F: <a class="trait" href="../trait.Float.html" title="trait spirv_std::Float">Float</a>,</div></h4></section></summary><div class="docblock"><p>Sample the image with a project coordinate</p>
</div></details><details class="toggle method-toggle" open><summary><section id="tymethod.sample_depth_reference_with_project_coordinate_with" class="method"><a class="src rightside" href="../../src/spirv_std/image.rs.html#1398-1406">Source</a><h4 class="code-header">fn <a href="#tymethod.sample_depth_reference_with_project_coordinate_with" class="fn">sample_depth_reference_with_project_coordinate_with</a>&lt;F&gt;(
&amp;self,
sampler: <a class="struct" href="../struct.Sampler.html" title="struct spirv_std::Sampler">Sampler</a>,
project_coordinate: impl <a class="trait" href="trait.ImageCoordinate.html" title="trait spirv_std::image::ImageCoordinate">ImageCoordinate</a>&lt;F, DIM, { _ }&gt;,
depth_reference: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a>,
params: Params,
) -&gt; SampledType<div class="where">where
F: <a class="trait" href="../trait.Float.html" title="trait spirv_std::Float">Float</a>,</div></h4></section></summary><div class="docblock"><p>Sample the images depth reference with the project coordinate</p>
</div></details></div><h2 id="dyn-compatibility" class="section-header">Dyn Compatibility<a href="#dyn-compatibility" class="anchor">§</a></h2><div class="dyn-compatibility-info"><p>This trait is <b>not</b> <a href="https://doc.rust-lang.org/nightly/reference/items/traits.html#dyn-compatibility">dyn compatible</a>.</p><p><i>In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.</i></p></div><h2 id="implementors" class="section-header">Implementors<a href="#implementors" class="anchor">§</a></h2><div id="implementors-list"><div class="negative-marker"></div><section id="impl-ImageWithMethods%3CSampledType,+DIM,+DEPTH,+ARRAYED,+MULTISAMPLED,+SAMPLED,+FORMAT,+COMPONENTS,+SampleParams%3CSomeTy%3CB%3E,+NoneTy,+NoneTy,+NoneTy%3E%3E-for-Image%3CSampledType,+DIM,+DEPTH,+ARRAYED,+MULTISAMPLED,+SAMPLED,+FORMAT,+COMPONENTS%3E" class="impl"><a class="src rightside" href="../../src/spirv_std/image.rs.html#1410-1644">Source</a><a href="#impl-ImageWithMethods%3CSampledType,+DIM,+DEPTH,+ARRAYED,+MULTISAMPLED,+SAMPLED,+FORMAT,+COMPONENTS,+SampleParams%3CSomeTy%3CB%3E,+NoneTy,+NoneTy,+NoneTy%3E%3E-for-Image%3CSampledType,+DIM,+DEPTH,+ARRAYED,+MULTISAMPLED,+SAMPLED,+FORMAT,+COMPONENTS%3E" class="anchor">§</a><h3 class="code-header">impl&lt;SampledType: <a class="trait" href="trait.SampleType.html" title="trait spirv_std::image::SampleType">SampleType</a>&lt;FORMAT, COMPONENTS&gt;, const DIM: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>, const DEPTH: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>, const ARRAYED: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>, const MULTISAMPLED: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>, const SAMPLED: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>, const FORMAT: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>, const COMPONENTS: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>, B&gt; <a class="trait" href="trait.ImageWithMethods.html" title="trait spirv_std::image::ImageWithMethods">ImageWithMethods</a>&lt;SampledType, DIM, DEPTH, ARRAYED, MULTISAMPLED, SAMPLED, FORMAT, COMPONENTS, <a class="struct" href="sample_with/struct.SampleParams.html" title="struct spirv_std::image::sample_with::SampleParams">SampleParams</a>&lt;<a class="struct" href="sample_with/struct.SomeTy.html" title="struct spirv_std::image::sample_with::SomeTy">SomeTy</a>&lt;B&gt;, <a class="struct" href="sample_with/struct.NoneTy.html" title="struct spirv_std::image::sample_with::NoneTy">NoneTy</a>, <a class="struct" href="sample_with/struct.NoneTy.html" title="struct spirv_std::image::sample_with::NoneTy">NoneTy</a>, <a class="struct" href="sample_with/struct.NoneTy.html" title="struct spirv_std::image::sample_with::NoneTy">NoneTy</a>&gt;&gt; for <a class="struct" href="struct.Image.html" title="struct spirv_std::image::Image">Image</a>&lt;SampledType, DIM, DEPTH, ARRAYED, MULTISAMPLED, SAMPLED, FORMAT, COMPONENTS&gt;</h3></section><section id="impl-ImageWithMethods%3CSampledType,+DIM,+DEPTH,+ARRAYED,+MULTISAMPLED,+SAMPLED,+FORMAT,+COMPONENTS,+SampleParams%3CSomeTy%3CB%3E,+NoneTy,+SomeTy%3C(G,+G)%3E,+NoneTy%3E%3E-for-Image%3CSampledType,+DIM,+DEPTH,+ARRAYED,+MULTISAMPLED,+SAMPLED,+FORMAT,+COMPONENTS%3E" class="impl"><a class="src rightside" href="../../src/spirv_std/image.rs.html#1410-1644">Source</a><a href="#impl-ImageWithMethods%3CSampledType,+DIM,+DEPTH,+ARRAYED,+MULTISAMPLED,+SAMPLED,+FORMAT,+COMPONENTS,+SampleParams%3CSomeTy%3CB%3E,+NoneTy,+SomeTy%3C(G,+G)%3E,+NoneTy%3E%3E-for-Image%3CSampledType,+DIM,+DEPTH,+ARRAYED,+MULTISAMPLED,+SAMPLED,+FORMAT,+COMPONENTS%3E" class="anchor">§</a><h3 class="code-header">impl&lt;SampledType: <a class="trait" href="trait.SampleType.html" title="trait spirv_std::image::SampleType">SampleType</a>&lt;FORMAT, COMPONENTS&gt;, const DIM: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>, const DEPTH: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>, const ARRAYED: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>, const MULTISAMPLED: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>, const SAMPLED: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>, const FORMAT: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>, const COMPONENTS: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>, B, G&gt; <a class="trait" href="trait.ImageWithMethods.html" title="trait spirv_std::image::ImageWithMethods">ImageWithMethods</a>&lt;SampledType, DIM, DEPTH, ARRAYED, MULTISAMPLED, SAMPLED, FORMAT, COMPONENTS, <a class="struct" href="sample_with/struct.SampleParams.html" title="struct spirv_std::image::sample_with::SampleParams">SampleParams</a>&lt;<a class="struct" href="sample_with/struct.SomeTy.html" title="struct spirv_std::image::sample_with::SomeTy">SomeTy</a>&lt;B&gt;, <a class="struct" href="sample_with/struct.NoneTy.html" title="struct spirv_std::image::sample_with::NoneTy">NoneTy</a>, <a class="struct" href="sample_with/struct.SomeTy.html" title="struct spirv_std::image::sample_with::SomeTy">SomeTy</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">(G, G)</a>&gt;, <a class="struct" href="sample_with/struct.NoneTy.html" title="struct spirv_std::image::sample_with::NoneTy">NoneTy</a>&gt;&gt; for <a class="struct" href="struct.Image.html" title="struct spirv_std::image::Image">Image</a>&lt;SampledType, DIM, DEPTH, ARRAYED, MULTISAMPLED, SAMPLED, FORMAT, COMPONENTS&gt;</h3></section><section id="impl-ImageWithMethods%3CSampledType,+DIM,+DEPTH,+ARRAYED,+MULTISAMPLED,+SAMPLED,+FORMAT,+COMPONENTS,+SampleParams%3CSomeTy%3CB%3E,+NoneTy,+SomeTy%3C(G,+G)%3E,+SomeTy%3CS%3E%3E%3E-for-Image%3CSampledType,+DIM,+DEPTH,+ARRAYED,+MULTISAMPLED,+SAMPLED,+FORMAT,+COMPONENTS%3E" class="impl"><a class="src rightside" href="../../src/spirv_std/image.rs.html#1410-1644">Source</a><a href="#impl-ImageWithMethods%3CSampledType,+DIM,+DEPTH,+ARRAYED,+MULTISAMPLED,+SAMPLED,+FORMAT,+COMPONENTS,+SampleParams%3CSomeTy%3CB%3E,+NoneTy,+SomeTy%3C(G,+G)%3E,+SomeTy%3CS%3E%3E%3E-for-Image%3CSampledType,+DIM,+DEPTH,+ARRAYED,+MULTISAMPLED,+SAMPLED,+FORMAT,+COMPONENTS%3E" class="anchor">§</a><h3 class="code-header">impl&lt;SampledType: <a class="trait" href="trait.SampleType.html" title="trait spirv_std::image::SampleType">SampleType</a>&lt;FORMAT, COMPONENTS&gt;, const DIM: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>, const DEPTH: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>, const ARRAYED: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>, const MULTISAMPLED: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>, const SAMPLED: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>, const FORMAT: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>, const COMPONENTS: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>, B, G, S&gt; <a class="trait" href="trait.ImageWithMethods.html" title="trait spirv_std::image::ImageWithMethods">ImageWithMethods</a>&lt;SampledType, DIM, DEPTH, ARRAYED, MULTISAMPLED, SAMPLED, FORMAT, COMPONENTS, <a class="struct" href="sample_with/struct.SampleParams.html" title="struct spirv_std::image::sample_with::SampleParams">SampleParams</a>&lt;<a class="struct" href="sample_with/struct.SomeTy.html" title="struct spirv_std::image::sample_with::SomeTy">SomeTy</a>&lt;B&gt;, <a class="struct" href="sample_with/struct.NoneTy.html" title="struct spirv_std::image::sample_with::NoneTy">NoneTy</a>, <a class="struct" href="sample_with/struct.SomeTy.html" title="struct spirv_std::image::sample_with::SomeTy">SomeTy</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">(G, G)</a>&gt;, <a class="struct" href="sample_with/struct.SomeTy.html" title="struct spirv_std::image::sample_with::SomeTy">SomeTy</a>&lt;S&gt;&gt;&gt; for <a class="struct" href="struct.Image.html" title="struct spirv_std::image::Image">Image</a>&lt;SampledType, DIM, DEPTH, ARRAYED, MULTISAMPLED, SAMPLED, FORMAT, COMPONENTS&gt;</h3></section><section id="impl-ImageWithMethods%3CSampledType,+DIM,+DEPTH,+ARRAYED,+MULTISAMPLED,+SAMPLED,+FORMAT,+COMPONENTS,+SampleParams%3CSomeTy%3CB%3E,+SomeTy%3CL%3E,+NoneTy,+NoneTy%3E%3E-for-Image%3CSampledType,+DIM,+DEPTH,+ARRAYED,+MULTISAMPLED,+SAMPLED,+FORMAT,+COMPONENTS%3E" class="impl"><a class="src rightside" href="../../src/spirv_std/image.rs.html#1410-1644">Source</a><a href="#impl-ImageWithMethods%3CSampledType,+DIM,+DEPTH,+ARRAYED,+MULTISAMPLED,+SAMPLED,+FORMAT,+COMPONENTS,+SampleParams%3CSomeTy%3CB%3E,+SomeTy%3CL%3E,+NoneTy,+NoneTy%3E%3E-for-Image%3CSampledType,+DIM,+DEPTH,+ARRAYED,+MULTISAMPLED,+SAMPLED,+FORMAT,+COMPONENTS%3E" class="anchor">§</a><h3 class="code-header">impl&lt;SampledType: <a class="trait" href="trait.SampleType.html" title="trait spirv_std::image::SampleType">SampleType</a>&lt;FORMAT, COMPONENTS&gt;, const DIM: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>, const DEPTH: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>, const ARRAYED: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>, const MULTISAMPLED: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>, const SAMPLED: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>, const FORMAT: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>, const COMPONENTS: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>, B, L&gt; <a class="trait" href="trait.ImageWithMethods.html" title="trait spirv_std::image::ImageWithMethods">ImageWithMethods</a>&lt;SampledType, DIM, DEPTH, ARRAYED, MULTISAMPLED, SAMPLED, FORMAT, COMPONENTS, <a class="struct" href="sample_with/struct.SampleParams.html" title="struct spirv_std::image::sample_with::SampleParams">SampleParams</a>&lt;<a class="struct" href="sample_with/struct.SomeTy.html" title="struct spirv_std::image::sample_with::SomeTy">SomeTy</a>&lt;B&gt;, <a class="struct" href="sample_with/struct.SomeTy.html" title="struct spirv_std::image::sample_with::SomeTy">SomeTy</a>&lt;L&gt;, <a class="struct" href="sample_with/struct.NoneTy.html" title="struct spirv_std::image::sample_with::NoneTy">NoneTy</a>, <a class="struct" href="sample_with/struct.NoneTy.html" title="struct spirv_std::image::sample_with::NoneTy">NoneTy</a>&gt;&gt; for <a class="struct" href="struct.Image.html" title="struct spirv_std::image::Image">Image</a>&lt;SampledType, DIM, DEPTH, ARRAYED, MULTISAMPLED, SAMPLED, FORMAT, COMPONENTS&gt;</h3></section><section id="impl-ImageWithMethods%3CSampledType,+DIM,+DEPTH,+ARRAYED,+MULTISAMPLED,+SAMPLED,+FORMAT,+COMPONENTS,+SampleParams%3CSomeTy%3CB%3E,+SomeTy%3CL%3E,+SomeTy%3C(G,+G)%3E,+NoneTy%3E%3E-for-Image%3CSampledType,+DIM,+DEPTH,+ARRAYED,+MULTISAMPLED,+SAMPLED,+FORMAT,+COMPONENTS%3E" class="impl"><a class="src rightside" href="../../src/spirv_std/image.rs.html#1410-1644">Source</a><a href="#impl-ImageWithMethods%3CSampledType,+DIM,+DEPTH,+ARRAYED,+MULTISAMPLED,+SAMPLED,+FORMAT,+COMPONENTS,+SampleParams%3CSomeTy%3CB%3E,+SomeTy%3CL%3E,+SomeTy%3C(G,+G)%3E,+NoneTy%3E%3E-for-Image%3CSampledType,+DIM,+DEPTH,+ARRAYED,+MULTISAMPLED,+SAMPLED,+FORMAT,+COMPONENTS%3E" class="anchor">§</a><h3 class="code-header">impl&lt;SampledType: <a class="trait" href="trait.SampleType.html" title="trait spirv_std::image::SampleType">SampleType</a>&lt;FORMAT, COMPONENTS&gt;, const DIM: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>, const DEPTH: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>, const ARRAYED: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>, const MULTISAMPLED: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>, const SAMPLED: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>, const FORMAT: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>, const COMPONENTS: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>, B, L, G&gt; <a class="trait" href="trait.ImageWithMethods.html" title="trait spirv_std::image::ImageWithMethods">ImageWithMethods</a>&lt;SampledType, DIM, DEPTH, ARRAYED, MULTISAMPLED, SAMPLED, FORMAT, COMPONENTS, <a class="struct" href="sample_with/struct.SampleParams.html" title="struct spirv_std::image::sample_with::SampleParams">SampleParams</a>&lt;<a class="struct" href="sample_with/struct.SomeTy.html" title="struct spirv_std::image::sample_with::SomeTy">SomeTy</a>&lt;B&gt;, <a class="struct" href="sample_with/struct.SomeTy.html" title="struct spirv_std::image::sample_with::SomeTy">SomeTy</a>&lt;L&gt;, <a class="struct" href="sample_with/struct.SomeTy.html" title="struct spirv_std::image::sample_with::SomeTy">SomeTy</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">(G, G)</a>&gt;, <a class="struct" href="sample_with/struct.NoneTy.html" title="struct spirv_std::image::sample_with::NoneTy">NoneTy</a>&gt;&gt; for <a class="struct" href="struct.Image.html" title="struct spirv_std::image::Image">Image</a>&lt;SampledType, DIM, DEPTH, ARRAYED, MULTISAMPLED, SAMPLED, FORMAT, COMPONENTS&gt;</h3></section><section id="impl-ImageWithMethods%3CSampledType,+DIM,+DEPTH,+ARRAYED,+MULTISAMPLED,+SAMPLED,+FORMAT,+COMPONENTS,+SampleParams%3CSomeTy%3CB%3E,+SomeTy%3CL%3E,+SomeTy%3C(G,+G)%3E,+SomeTy%3CS%3E%3E%3E-for-Image%3CSampledType,+DIM,+DEPTH,+ARRAYED,+MULTISAMPLED,+SAMPLED,+FORMAT,+COMPONENTS%3E" class="impl"><a class="src rightside" href="../../src/spirv_std/image.rs.html#1410-1644">Source</a><a href="#impl-ImageWithMethods%3CSampledType,+DIM,+DEPTH,+ARRAYED,+MULTISAMPLED,+SAMPLED,+FORMAT,+COMPONENTS,+SampleParams%3CSomeTy%3CB%3E,+SomeTy%3CL%3E,+SomeTy%3C(G,+G)%3E,+SomeTy%3CS%3E%3E%3E-for-Image%3CSampledType,+DIM,+DEPTH,+ARRAYED,+MULTISAMPLED,+SAMPLED,+FORMAT,+COMPONENTS%3E" class="anchor">§</a><h3 class="code-header">impl&lt;SampledType: <a class="trait" href="trait.SampleType.html" title="trait spirv_std::image::SampleType">SampleType</a>&lt;FORMAT, COMPONENTS&gt;, const DIM: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>, const DEPTH: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>, const ARRAYED: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>, const MULTISAMPLED: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>, const SAMPLED: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>, const FORMAT: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>, const COMPONENTS: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>, B, L, G, S&gt; <a class="trait" href="trait.ImageWithMethods.html" title="trait spirv_std::image::ImageWithMethods">ImageWithMethods</a>&lt;SampledType, DIM, DEPTH, ARRAYED, MULTISAMPLED, SAMPLED, FORMAT, COMPONENTS, <a class="struct" href="sample_with/struct.SampleParams.html" title="struct spirv_std::image::sample_with::SampleParams">SampleParams</a>&lt;<a class="struct" href="sample_with/struct.SomeTy.html" title="struct spirv_std::image::sample_with::SomeTy">SomeTy</a>&lt;B&gt;, <a class="struct" href="sample_with/struct.SomeTy.html" title="struct spirv_std::image::sample_with::SomeTy">SomeTy</a>&lt;L&gt;, <a class="struct" href="sample_with/struct.SomeTy.html" title="struct spirv_std::image::sample_with::SomeTy">SomeTy</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">(G, G)</a>&gt;, <a class="struct" href="sample_with/struct.SomeTy.html" title="struct spirv_std::image::sample_with::SomeTy">SomeTy</a>&lt;S&gt;&gt;&gt; for <a class="struct" href="struct.Image.html" title="struct spirv_std::image::Image">Image</a>&lt;SampledType, DIM, DEPTH, ARRAYED, MULTISAMPLED, SAMPLED, FORMAT, COMPONENTS&gt;</h3></section><section id="impl-ImageWithMethods%3CSampledType,+DIM,+DEPTH,+ARRAYED,+MULTISAMPLED,+SAMPLED,+FORMAT,+COMPONENTS,+SampleParams%3CSomeTy%3CB%3E,+SomeTy%3CL%3E,+NoneTy,+SomeTy%3CS%3E%3E%3E-for-Image%3CSampledType,+DIM,+DEPTH,+ARRAYED,+MULTISAMPLED,+SAMPLED,+FORMAT,+COMPONENTS%3E" class="impl"><a class="src rightside" href="../../src/spirv_std/image.rs.html#1410-1644">Source</a><a href="#impl-ImageWithMethods%3CSampledType,+DIM,+DEPTH,+ARRAYED,+MULTISAMPLED,+SAMPLED,+FORMAT,+COMPONENTS,+SampleParams%3CSomeTy%3CB%3E,+SomeTy%3CL%3E,+NoneTy,+SomeTy%3CS%3E%3E%3E-for-Image%3CSampledType,+DIM,+DEPTH,+ARRAYED,+MULTISAMPLED,+SAMPLED,+FORMAT,+COMPONENTS%3E" class="anchor">§</a><h3 class="code-header">impl&lt;SampledType: <a class="trait" href="trait.SampleType.html" title="trait spirv_std::image::SampleType">SampleType</a>&lt;FORMAT, COMPONENTS&gt;, const DIM: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>, const DEPTH: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>, const ARRAYED: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>, const MULTISAMPLED: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>, const SAMPLED: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>, const FORMAT: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>, const COMPONENTS: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>, B, L, S&gt; <a class="trait" href="trait.ImageWithMethods.html" title="trait spirv_std::image::ImageWithMethods">ImageWithMethods</a>&lt;SampledType, DIM, DEPTH, ARRAYED, MULTISAMPLED, SAMPLED, FORMAT, COMPONENTS, <a class="struct" href="sample_with/struct.SampleParams.html" title="struct spirv_std::image::sample_with::SampleParams">SampleParams</a>&lt;<a class="struct" href="sample_with/struct.SomeTy.html" title="struct spirv_std::image::sample_with::SomeTy">SomeTy</a>&lt;B&gt;, <a class="struct" href="sample_with/struct.SomeTy.html" title="struct spirv_std::image::sample_with::SomeTy">SomeTy</a>&lt;L&gt;, <a class="struct" href="sample_with/struct.NoneTy.html" title="struct spirv_std::image::sample_with::NoneTy">NoneTy</a>, <a class="struct" href="sample_with/struct.SomeTy.html" title="struct spirv_std::image::sample_with::SomeTy">SomeTy</a>&lt;S&gt;&gt;&gt; for <a class="struct" href="struct.Image.html" title="struct spirv_std::image::Image">Image</a>&lt;SampledType, DIM, DEPTH, ARRAYED, MULTISAMPLED, SAMPLED, FORMAT, COMPONENTS&gt;</h3></section><section id="impl-ImageWithMethods%3CSampledType,+DIM,+DEPTH,+ARRAYED,+MULTISAMPLED,+SAMPLED,+FORMAT,+COMPONENTS,+SampleParams%3CSomeTy%3CB%3E,+NoneTy,+NoneTy,+SomeTy%3CS%3E%3E%3E-for-Image%3CSampledType,+DIM,+DEPTH,+ARRAYED,+MULTISAMPLED,+SAMPLED,+FORMAT,+COMPONENTS%3E" class="impl"><a class="src rightside" href="../../src/spirv_std/image.rs.html#1410-1644">Source</a><a href="#impl-ImageWithMethods%3CSampledType,+DIM,+DEPTH,+ARRAYED,+MULTISAMPLED,+SAMPLED,+FORMAT,+COMPONENTS,+SampleParams%3CSomeTy%3CB%3E,+NoneTy,+NoneTy,+SomeTy%3CS%3E%3E%3E-for-Image%3CSampledType,+DIM,+DEPTH,+ARRAYED,+MULTISAMPLED,+SAMPLED,+FORMAT,+COMPONENTS%3E" class="anchor">§</a><h3 class="code-header">impl&lt;SampledType: <a class="trait" href="trait.SampleType.html" title="trait spirv_std::image::SampleType">SampleType</a>&lt;FORMAT, COMPONENTS&gt;, const DIM: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>, const DEPTH: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>, const ARRAYED: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>, const MULTISAMPLED: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>, const SAMPLED: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>, const FORMAT: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>, const COMPONENTS: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>, B, S&gt; <a class="trait" href="trait.ImageWithMethods.html" title="trait spirv_std::image::ImageWithMethods">ImageWithMethods</a>&lt;SampledType, DIM, DEPTH, ARRAYED, MULTISAMPLED, SAMPLED, FORMAT, COMPONENTS, <a class="struct" href="sample_with/struct.SampleParams.html" title="struct spirv_std::image::sample_with::SampleParams">SampleParams</a>&lt;<a class="struct" href="sample_with/struct.SomeTy.html" title="struct spirv_std::image::sample_with::SomeTy">SomeTy</a>&lt;B&gt;, <a class="struct" href="sample_with/struct.NoneTy.html" title="struct spirv_std::image::sample_with::NoneTy">NoneTy</a>, <a class="struct" href="sample_with/struct.NoneTy.html" title="struct spirv_std::image::sample_with::NoneTy">NoneTy</a>, <a class="struct" href="sample_with/struct.SomeTy.html" title="struct spirv_std::image::sample_with::SomeTy">SomeTy</a>&lt;S&gt;&gt;&gt; for <a class="struct" href="struct.Image.html" title="struct spirv_std::image::Image">Image</a>&lt;SampledType, DIM, DEPTH, ARRAYED, MULTISAMPLED, SAMPLED, FORMAT, COMPONENTS&gt;</h3></section><section id="impl-ImageWithMethods%3CSampledType,+DIM,+DEPTH,+ARRAYED,+MULTISAMPLED,+SAMPLED,+FORMAT,+COMPONENTS,+SampleParams%3CNoneTy,+NoneTy,+SomeTy%3C(G,+G)%3E,+NoneTy%3E%3E-for-Image%3CSampledType,+DIM,+DEPTH,+ARRAYED,+MULTISAMPLED,+SAMPLED,+FORMAT,+COMPONENTS%3E" class="impl"><a class="src rightside" href="../../src/spirv_std/image.rs.html#1410-1644">Source</a><a href="#impl-ImageWithMethods%3CSampledType,+DIM,+DEPTH,+ARRAYED,+MULTISAMPLED,+SAMPLED,+FORMAT,+COMPONENTS,+SampleParams%3CNoneTy,+NoneTy,+SomeTy%3C(G,+G)%3E,+NoneTy%3E%3E-for-Image%3CSampledType,+DIM,+DEPTH,+ARRAYED,+MULTISAMPLED,+SAMPLED,+FORMAT,+COMPONENTS%3E" class="anchor">§</a><h3 class="code-header">impl&lt;SampledType: <a class="trait" href="trait.SampleType.html" title="trait spirv_std::image::SampleType">SampleType</a>&lt;FORMAT, COMPONENTS&gt;, const DIM: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>, const DEPTH: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>, const ARRAYED: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>, const MULTISAMPLED: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>, const SAMPLED: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>, const FORMAT: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>, const COMPONENTS: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>, G&gt; <a class="trait" href="trait.ImageWithMethods.html" title="trait spirv_std::image::ImageWithMethods">ImageWithMethods</a>&lt;SampledType, DIM, DEPTH, ARRAYED, MULTISAMPLED, SAMPLED, FORMAT, COMPONENTS, <a class="struct" href="sample_with/struct.SampleParams.html" title="struct spirv_std::image::sample_with::SampleParams">SampleParams</a>&lt;<a class="struct" href="sample_with/struct.NoneTy.html" title="struct spirv_std::image::sample_with::NoneTy">NoneTy</a>, <a class="struct" href="sample_with/struct.NoneTy.html" title="struct spirv_std::image::sample_with::NoneTy">NoneTy</a>, <a class="struct" href="sample_with/struct.SomeTy.html" title="struct spirv_std::image::sample_with::SomeTy">SomeTy</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">(G, G)</a>&gt;, <a class="struct" href="sample_with/struct.NoneTy.html" title="struct spirv_std::image::sample_with::NoneTy">NoneTy</a>&gt;&gt; for <a class="struct" href="struct.Image.html" title="struct spirv_std::image::Image">Image</a>&lt;SampledType, DIM, DEPTH, ARRAYED, MULTISAMPLED, SAMPLED, FORMAT, COMPONENTS&gt;</h3></section><section id="impl-ImageWithMethods%3CSampledType,+DIM,+DEPTH,+ARRAYED,+MULTISAMPLED,+SAMPLED,+FORMAT,+COMPONENTS,+SampleParams%3CNoneTy,+NoneTy,+SomeTy%3C(G,+G)%3E,+SomeTy%3CS%3E%3E%3E-for-Image%3CSampledType,+DIM,+DEPTH,+ARRAYED,+MULTISAMPLED,+SAMPLED,+FORMAT,+COMPONENTS%3E" class="impl"><a class="src rightside" href="../../src/spirv_std/image.rs.html#1410-1644">Source</a><a href="#impl-ImageWithMethods%3CSampledType,+DIM,+DEPTH,+ARRAYED,+MULTISAMPLED,+SAMPLED,+FORMAT,+COMPONENTS,+SampleParams%3CNoneTy,+NoneTy,+SomeTy%3C(G,+G)%3E,+SomeTy%3CS%3E%3E%3E-for-Image%3CSampledType,+DIM,+DEPTH,+ARRAYED,+MULTISAMPLED,+SAMPLED,+FORMAT,+COMPONENTS%3E" class="anchor">§</a><h3 class="code-header">impl&lt;SampledType: <a class="trait" href="trait.SampleType.html" title="trait spirv_std::image::SampleType">SampleType</a>&lt;FORMAT, COMPONENTS&gt;, const DIM: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>, const DEPTH: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>, const ARRAYED: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>, const MULTISAMPLED: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>, const SAMPLED: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>, const FORMAT: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>, const COMPONENTS: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>, G, S&gt; <a class="trait" href="trait.ImageWithMethods.html" title="trait spirv_std::image::ImageWithMethods">ImageWithMethods</a>&lt;SampledType, DIM, DEPTH, ARRAYED, MULTISAMPLED, SAMPLED, FORMAT, COMPONENTS, <a class="struct" href="sample_with/struct.SampleParams.html" title="struct spirv_std::image::sample_with::SampleParams">SampleParams</a>&lt;<a class="struct" href="sample_with/struct.NoneTy.html" title="struct spirv_std::image::sample_with::NoneTy">NoneTy</a>, <a class="struct" href="sample_with/struct.NoneTy.html" title="struct spirv_std::image::sample_with::NoneTy">NoneTy</a>, <a class="struct" href="sample_with/struct.SomeTy.html" title="struct spirv_std::image::sample_with::SomeTy">SomeTy</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">(G, G)</a>&gt;, <a class="struct" href="sample_with/struct.SomeTy.html" title="struct spirv_std::image::sample_with::SomeTy">SomeTy</a>&lt;S&gt;&gt;&gt; for <a class="struct" href="struct.Image.html" title="struct spirv_std::image::Image">Image</a>&lt;SampledType, DIM, DEPTH, ARRAYED, MULTISAMPLED, SAMPLED, FORMAT, COMPONENTS&gt;</h3></section><section id="impl-ImageWithMethods%3CSampledType,+DIM,+DEPTH,+ARRAYED,+MULTISAMPLED,+SAMPLED,+FORMAT,+COMPONENTS,+SampleParams%3CNoneTy,+SomeTy%3CL%3E,+NoneTy,+NoneTy%3E%3E-for-Image%3CSampledType,+DIM,+DEPTH,+ARRAYED,+MULTISAMPLED,+SAMPLED,+FORMAT,+COMPONENTS%3E" class="impl"><a class="src rightside" href="../../src/spirv_std/image.rs.html#1410-1644">Source</a><a href="#impl-ImageWithMethods%3CSampledType,+DIM,+DEPTH,+ARRAYED,+MULTISAMPLED,+SAMPLED,+FORMAT,+COMPONENTS,+SampleParams%3CNoneTy,+SomeTy%3CL%3E,+NoneTy,+NoneTy%3E%3E-for-Image%3CSampledType,+DIM,+DEPTH,+ARRAYED,+MULTISAMPLED,+SAMPLED,+FORMAT,+COMPONENTS%3E" class="anchor">§</a><h3 class="code-header">impl&lt;SampledType: <a class="trait" href="trait.SampleType.html" title="trait spirv_std::image::SampleType">SampleType</a>&lt;FORMAT, COMPONENTS&gt;, const DIM: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>, const DEPTH: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>, const ARRAYED: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>, const MULTISAMPLED: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>, const SAMPLED: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>, const FORMAT: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>, const COMPONENTS: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>, L&gt; <a class="trait" href="trait.ImageWithMethods.html" title="trait spirv_std::image::ImageWithMethods">ImageWithMethods</a>&lt;SampledType, DIM, DEPTH, ARRAYED, MULTISAMPLED, SAMPLED, FORMAT, COMPONENTS, <a class="struct" href="sample_with/struct.SampleParams.html" title="struct spirv_std::image::sample_with::SampleParams">SampleParams</a>&lt;<a class="struct" href="sample_with/struct.NoneTy.html" title="struct spirv_std::image::sample_with::NoneTy">NoneTy</a>, <a class="struct" href="sample_with/struct.SomeTy.html" title="struct spirv_std::image::sample_with::SomeTy">SomeTy</a>&lt;L&gt;, <a class="struct" href="sample_with/struct.NoneTy.html" title="struct spirv_std::image::sample_with::NoneTy">NoneTy</a>, <a class="struct" href="sample_with/struct.NoneTy.html" title="struct spirv_std::image::sample_with::NoneTy">NoneTy</a>&gt;&gt; for <a class="struct" href="struct.Image.html" title="struct spirv_std::image::Image">Image</a>&lt;SampledType, DIM, DEPTH, ARRAYED, MULTISAMPLED, SAMPLED, FORMAT, COMPONENTS&gt;</h3></section><section id="impl-ImageWithMethods%3CSampledType,+DIM,+DEPTH,+ARRAYED,+MULTISAMPLED,+SAMPLED,+FORMAT,+COMPONENTS,+SampleParams%3CNoneTy,+SomeTy%3CL%3E,+SomeTy%3C(G,+G)%3E,+NoneTy%3E%3E-for-Image%3CSampledType,+DIM,+DEPTH,+ARRAYED,+MULTISAMPLED,+SAMPLED,+FORMAT,+COMPONENTS%3E" class="impl"><a class="src rightside" href="../../src/spirv_std/image.rs.html#1410-1644">Source</a><a href="#impl-ImageWithMethods%3CSampledType,+DIM,+DEPTH,+ARRAYED,+MULTISAMPLED,+SAMPLED,+FORMAT,+COMPONENTS,+SampleParams%3CNoneTy,+SomeTy%3CL%3E,+SomeTy%3C(G,+G)%3E,+NoneTy%3E%3E-for-Image%3CSampledType,+DIM,+DEPTH,+ARRAYED,+MULTISAMPLED,+SAMPLED,+FORMAT,+COMPONENTS%3E" class="anchor">§</a><h3 class="code-header">impl&lt;SampledType: <a class="trait" href="trait.SampleType.html" title="trait spirv_std::image::SampleType">SampleType</a>&lt;FORMAT, COMPONENTS&gt;, const DIM: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>, const DEPTH: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>, const ARRAYED: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>, const MULTISAMPLED: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>, const SAMPLED: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>, const FORMAT: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>, const COMPONENTS: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>, L, G&gt; <a class="trait" href="trait.ImageWithMethods.html" title="trait spirv_std::image::ImageWithMethods">ImageWithMethods</a>&lt;SampledType, DIM, DEPTH, ARRAYED, MULTISAMPLED, SAMPLED, FORMAT, COMPONENTS, <a class="struct" href="sample_with/struct.SampleParams.html" title="struct spirv_std::image::sample_with::SampleParams">SampleParams</a>&lt;<a class="struct" href="sample_with/struct.NoneTy.html" title="struct spirv_std::image::sample_with::NoneTy">NoneTy</a>, <a class="struct" href="sample_with/struct.SomeTy.html" title="struct spirv_std::image::sample_with::SomeTy">SomeTy</a>&lt;L&gt;, <a class="struct" href="sample_with/struct.SomeTy.html" title="struct spirv_std::image::sample_with::SomeTy">SomeTy</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">(G, G)</a>&gt;, <a class="struct" href="sample_with/struct.NoneTy.html" title="struct spirv_std::image::sample_with::NoneTy">NoneTy</a>&gt;&gt; for <a class="struct" href="struct.Image.html" title="struct spirv_std::image::Image">Image</a>&lt;SampledType, DIM, DEPTH, ARRAYED, MULTISAMPLED, SAMPLED, FORMAT, COMPONENTS&gt;</h3></section><section id="impl-ImageWithMethods%3CSampledType,+DIM,+DEPTH,+ARRAYED,+MULTISAMPLED,+SAMPLED,+FORMAT,+COMPONENTS,+SampleParams%3CNoneTy,+SomeTy%3CL%3E,+SomeTy%3C(G,+G)%3E,+SomeTy%3CS%3E%3E%3E-for-Image%3CSampledType,+DIM,+DEPTH,+ARRAYED,+MULTISAMPLED,+SAMPLED,+FORMAT,+COMPONENTS%3E" class="impl"><a class="src rightside" href="../../src/spirv_std/image.rs.html#1410-1644">Source</a><a href="#impl-ImageWithMethods%3CSampledType,+DIM,+DEPTH,+ARRAYED,+MULTISAMPLED,+SAMPLED,+FORMAT,+COMPONENTS,+SampleParams%3CNoneTy,+SomeTy%3CL%3E,+SomeTy%3C(G,+G)%3E,+SomeTy%3CS%3E%3E%3E-for-Image%3CSampledType,+DIM,+DEPTH,+ARRAYED,+MULTISAMPLED,+SAMPLED,+FORMAT,+COMPONENTS%3E" class="anchor">§</a><h3 class="code-header">impl&lt;SampledType: <a class="trait" href="trait.SampleType.html" title="trait spirv_std::image::SampleType">SampleType</a>&lt;FORMAT, COMPONENTS&gt;, const DIM: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>, const DEPTH: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>, const ARRAYED: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>, const MULTISAMPLED: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>, const SAMPLED: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>, const FORMAT: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>, const COMPONENTS: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>, L, G, S&gt; <a class="trait" href="trait.ImageWithMethods.html" title="trait spirv_std::image::ImageWithMethods">ImageWithMethods</a>&lt;SampledType, DIM, DEPTH, ARRAYED, MULTISAMPLED, SAMPLED, FORMAT, COMPONENTS, <a class="struct" href="sample_with/struct.SampleParams.html" title="struct spirv_std::image::sample_with::SampleParams">SampleParams</a>&lt;<a class="struct" href="sample_with/struct.NoneTy.html" title="struct spirv_std::image::sample_with::NoneTy">NoneTy</a>, <a class="struct" href="sample_with/struct.SomeTy.html" title="struct spirv_std::image::sample_with::SomeTy">SomeTy</a>&lt;L&gt;, <a class="struct" href="sample_with/struct.SomeTy.html" title="struct spirv_std::image::sample_with::SomeTy">SomeTy</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">(G, G)</a>&gt;, <a class="struct" href="sample_with/struct.SomeTy.html" title="struct spirv_std::image::sample_with::SomeTy">SomeTy</a>&lt;S&gt;&gt;&gt; for <a class="struct" href="struct.Image.html" title="struct spirv_std::image::Image">Image</a>&lt;SampledType, DIM, DEPTH, ARRAYED, MULTISAMPLED, SAMPLED, FORMAT, COMPONENTS&gt;</h3></section><section id="impl-ImageWithMethods%3CSampledType,+DIM,+DEPTH,+ARRAYED,+MULTISAMPLED,+SAMPLED,+FORMAT,+COMPONENTS,+SampleParams%3CNoneTy,+SomeTy%3CL%3E,+NoneTy,+SomeTy%3CS%3E%3E%3E-for-Image%3CSampledType,+DIM,+DEPTH,+ARRAYED,+MULTISAMPLED,+SAMPLED,+FORMAT,+COMPONENTS%3E" class="impl"><a class="src rightside" href="../../src/spirv_std/image.rs.html#1410-1644">Source</a><a href="#impl-ImageWithMethods%3CSampledType,+DIM,+DEPTH,+ARRAYED,+MULTISAMPLED,+SAMPLED,+FORMAT,+COMPONENTS,+SampleParams%3CNoneTy,+SomeTy%3CL%3E,+NoneTy,+SomeTy%3CS%3E%3E%3E-for-Image%3CSampledType,+DIM,+DEPTH,+ARRAYED,+MULTISAMPLED,+SAMPLED,+FORMAT,+COMPONENTS%3E" class="anchor">§</a><h3 class="code-header">impl&lt;SampledType: <a class="trait" href="trait.SampleType.html" title="trait spirv_std::image::SampleType">SampleType</a>&lt;FORMAT, COMPONENTS&gt;, const DIM: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>, const DEPTH: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>, const ARRAYED: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>, const MULTISAMPLED: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>, const SAMPLED: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>, const FORMAT: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>, const COMPONENTS: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>, L, S&gt; <a class="trait" href="trait.ImageWithMethods.html" title="trait spirv_std::image::ImageWithMethods">ImageWithMethods</a>&lt;SampledType, DIM, DEPTH, ARRAYED, MULTISAMPLED, SAMPLED, FORMAT, COMPONENTS, <a class="struct" href="sample_with/struct.SampleParams.html" title="struct spirv_std::image::sample_with::SampleParams">SampleParams</a>&lt;<a class="struct" href="sample_with/struct.NoneTy.html" title="struct spirv_std::image::sample_with::NoneTy">NoneTy</a>, <a class="struct" href="sample_with/struct.SomeTy.html" title="struct spirv_std::image::sample_with::SomeTy">SomeTy</a>&lt;L&gt;, <a class="struct" href="sample_with/struct.NoneTy.html" title="struct spirv_std::image::sample_with::NoneTy">NoneTy</a>, <a class="struct" href="sample_with/struct.SomeTy.html" title="struct spirv_std::image::sample_with::SomeTy">SomeTy</a>&lt;S&gt;&gt;&gt; for <a class="struct" href="struct.Image.html" title="struct spirv_std::image::Image">Image</a>&lt;SampledType, DIM, DEPTH, ARRAYED, MULTISAMPLED, SAMPLED, FORMAT, COMPONENTS&gt;</h3></section><section id="impl-ImageWithMethods%3CSampledType,+DIM,+DEPTH,+ARRAYED,+MULTISAMPLED,+SAMPLED,+FORMAT,+COMPONENTS,+SampleParams%3CNoneTy,+NoneTy,+NoneTy,+SomeTy%3CS%3E%3E%3E-for-Image%3CSampledType,+DIM,+DEPTH,+ARRAYED,+MULTISAMPLED,+SAMPLED,+FORMAT,+COMPONENTS%3E" class="impl"><a class="src rightside" href="../../src/spirv_std/image.rs.html#1410-1644">Source</a><a href="#impl-ImageWithMethods%3CSampledType,+DIM,+DEPTH,+ARRAYED,+MULTISAMPLED,+SAMPLED,+FORMAT,+COMPONENTS,+SampleParams%3CNoneTy,+NoneTy,+NoneTy,+SomeTy%3CS%3E%3E%3E-for-Image%3CSampledType,+DIM,+DEPTH,+ARRAYED,+MULTISAMPLED,+SAMPLED,+FORMAT,+COMPONENTS%3E" class="anchor">§</a><h3 class="code-header">impl&lt;SampledType: <a class="trait" href="trait.SampleType.html" title="trait spirv_std::image::SampleType">SampleType</a>&lt;FORMAT, COMPONENTS&gt;, const DIM: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>, const DEPTH: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>, const ARRAYED: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>, const MULTISAMPLED: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>, const SAMPLED: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>, const FORMAT: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>, const COMPONENTS: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>, S&gt; <a class="trait" href="trait.ImageWithMethods.html" title="trait spirv_std::image::ImageWithMethods">ImageWithMethods</a>&lt;SampledType, DIM, DEPTH, ARRAYED, MULTISAMPLED, SAMPLED, FORMAT, COMPONENTS, <a class="struct" href="sample_with/struct.SampleParams.html" title="struct spirv_std::image::sample_with::SampleParams">SampleParams</a>&lt;<a class="struct" href="sample_with/struct.NoneTy.html" title="struct spirv_std::image::sample_with::NoneTy">NoneTy</a>, <a class="struct" href="sample_with/struct.NoneTy.html" title="struct spirv_std::image::sample_with::NoneTy">NoneTy</a>, <a class="struct" href="sample_with/struct.NoneTy.html" title="struct spirv_std::image::sample_with::NoneTy">NoneTy</a>, <a class="struct" href="sample_with/struct.SomeTy.html" title="struct spirv_std::image::sample_with::SomeTy">SomeTy</a>&lt;S&gt;&gt;&gt; for <a class="struct" href="struct.Image.html" title="struct spirv_std::image::Image">Image</a>&lt;SampledType, DIM, DEPTH, ARRAYED, MULTISAMPLED, SAMPLED, FORMAT, COMPONENTS&gt;</h3></section></div><script src="../../trait.impl/spirv_std/image/trait.ImageWithMethods.js" async></script></section></div></main></body></html>