You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Trac3r-rust/doc/vulkano/format/enum.Format.html

419 lines
324 KiB

5 years ago
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `Format` enum in crate `vulkano`."><meta name="keywords" content="rust, rustlang, rust-lang, Format"><title>vulkano::format::Format - Rust</title><link rel="stylesheet" type="text/css" href="../../normalize.css"><link rel="stylesheet" type="text/css" href="../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../../dark.css"><link rel="stylesheet" type="text/css" href="../../light.css" id="themeStyle"><script src="../../storage.js"></script><noscript><link rel="stylesheet" href="../../noscript.css"></noscript><link rel="shortcut icon" href="../../favicon.ico"><style type="text/css">#crate-search{background-image:url("../../down-arrow.svg");}</style></head><body class="rustdoc enum"><!--[if lte IE 8]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu">&#9776;</div><a href='../../vulkano/index.html'><div class='logo-container'><img src='https://raw.githubusercontent.com/vulkano-rs/vulkano/master/logo.png' alt='logo'></div></a><p class='location'>Enum Format</p><div class="sidebar-elems"><div class="block items"><a class="sidebar-title" href="#variants">Variants</a><div class="sidebar-links"><a href="#variant.R4G4UnormPack8">R4G4UnormPack8</a><a href="#variant.R4G4B4A4UnormPack16">R4G4B4A4UnormPack16</a><a href="#variant.B4G4R4A4UnormPack16">B4G4R4A4UnormPack16</a><a href="#variant.R5G6B5UnormPack16">R5G6B5UnormPack16</a><a href="#variant.B5G6R5UnormPack16">B5G6R5UnormPack16</a><a href="#variant.R5G5B5A1UnormPack16">R5G5B5A1UnormPack16</a><a href="#variant.B5G5R5A1UnormPack16">B5G5R5A1UnormPack16</a><a href="#variant.A1R5G5B5UnormPack16">A1R5G5B5UnormPack16</a><a href="#variant.R8Unorm">R8Unorm</a><a href="#variant.R8Snorm">R8Snorm</a><a href="#variant.R8Uscaled">R8Uscaled</a><a href="#variant.R8Sscaled">R8Sscaled</a><a href="#variant.R8Uint">R8Uint</a><a href="#variant.R8Sint">R8Sint</a><a href="#variant.R8Srgb">R8Srgb</a><a href="#variant.R8G8Unorm">R8G8Unorm</a><a href="#variant.R8G8Snorm">R8G8Snorm</a><a href="#variant.R8G8Uscaled">R8G8Uscaled</a><a href="#variant.R8G8Sscaled">R8G8Sscaled</a><a href="#variant.R8G8Uint">R8G8Uint</a><a href="#variant.R8G8Sint">R8G8Sint</a><a href="#variant.R8G8Srgb">R8G8Srgb</a><a href="#variant.R8G8B8Unorm">R8G8B8Unorm</a><a href="#variant.R8G8B8Snorm">R8G8B8Snorm</a><a href="#variant.R8G8B8Uscaled">R8G8B8Uscaled</a><a href="#variant.R8G8B8Sscaled">R8G8B8Sscaled</a><a href="#variant.R8G8B8Uint">R8G8B8Uint</a><a href="#variant.R8G8B8Sint">R8G8B8Sint</a><a href="#variant.R8G8B8Srgb">R8G8B8Srgb</a><a href="#variant.B8G8R8Unorm">B8G8R8Unorm</a><a href="#variant.B8G8R8Snorm">B8G8R8Snorm</a><a href="#variant.B8G8R8Uscaled">B8G8R8Uscaled</a><a href="#variant.B8G8R8Sscaled">B8G8R8Sscaled</a><a href="#variant.B8G8R8Uint">B8G8R8Uint</a><a href="#variant.B8G8R8Sint">B8G8R8Sint</a><a href="#variant.B8G8R8Srgb">B8G8R8Srgb</a><a href="#variant.R8G8B8A8Unorm">R8G8B8A8Unorm</a><a href="#variant.R8G8B8A8Snorm">R8G8B8A8Snorm</a><a href="#variant.R8G8B8A8Uscaled">R8G8B8A8Uscaled</a><a href="#variant.R8G8B8A8Sscaled">R8G8B8A8Sscaled</a><a href="#variant.R8G8B8A8Uint">R8G8B8A8Uint</a><a href="#variant.R8G8B8A8Sint">R8G8B8A8Sint</a><a href="#variant.R8G8B8A8Srgb">R8G8B8A8Srgb</a><a href="#variant.B8G8R8A8Unorm">B8G8R8A8Unorm</a><a href="#variant.B8G8R8A8Snorm">B8G8R8A8Snorm</a><a href="#variant.B8G8R8A8Uscaled">B8G8R8A8Uscaled</a><a href="#variant.B8G8R8A8Sscaled">B8G8R8A8Sscaled</a><a href="#variant.B8G8R8A8Uint">B8G8R8A8Uint</a><a href="#variant.B8G8R8A8Sint">B8G8R8A8Sint</a><a href="#variant.B8G8R8A8Srgb">B8G8R8A8Srgb</a><a href="#variant.A8B8G8R8UnormPack32">A8B8G8R8UnormPack32</a><a href="#variant.A8B8G8R8SnormPack32">A8B8G8R8SnormPack32</a><a href="#variant.A8B8G8R8UscaledPack32">A8B8G8R8UscaledPack32</a><a href="#variant.A8B8G8R8Sscale
</span>pub enum Format {
R4G4UnormPack8,
R4G4B4A4UnormPack16,
B4G4R4A4UnormPack16,
R5G6B5UnormPack16,
B5G6R5UnormPack16,
R5G5B5A1UnormPack16,
B5G5R5A1UnormPack16,
A1R5G5B5UnormPack16,
R8Unorm,
R8Snorm,
R8Uscaled,
R8Sscaled,
R8Uint,
R8Sint,
R8Srgb,
R8G8Unorm,
R8G8Snorm,
R8G8Uscaled,
R8G8Sscaled,
R8G8Uint,
R8G8Sint,
R8G8Srgb,
R8G8B8Unorm,
R8G8B8Snorm,
R8G8B8Uscaled,
R8G8B8Sscaled,
R8G8B8Uint,
R8G8B8Sint,
R8G8B8Srgb,
B8G8R8Unorm,
B8G8R8Snorm,
B8G8R8Uscaled,
B8G8R8Sscaled,
B8G8R8Uint,
B8G8R8Sint,
B8G8R8Srgb,
R8G8B8A8Unorm,
R8G8B8A8Snorm,
R8G8B8A8Uscaled,
R8G8B8A8Sscaled,
R8G8B8A8Uint,
R8G8B8A8Sint,
R8G8B8A8Srgb,
B8G8R8A8Unorm,
B8G8R8A8Snorm,
B8G8R8A8Uscaled,
B8G8R8A8Sscaled,
B8G8R8A8Uint,
B8G8R8A8Sint,
B8G8R8A8Srgb,
A8B8G8R8UnormPack32,
A8B8G8R8SnormPack32,
A8B8G8R8UscaledPack32,
A8B8G8R8SscaledPack32,
A8B8G8R8UintPack32,
A8B8G8R8SintPack32,
A8B8G8R8SrgbPack32,
A2R10G10B10UnormPack32,
A2R10G10B10SnormPack32,
A2R10G10B10UscaledPack32,
A2R10G10B10SscaledPack32,
A2R10G10B10UintPack32,
A2R10G10B10SintPack32,
A2B10G10R10UnormPack32,
A2B10G10R10SnormPack32,
A2B10G10R10UscaledPack32,
A2B10G10R10SscaledPack32,
A2B10G10R10UintPack32,
A2B10G10R10SintPack32,
R16Unorm,
R16Snorm,
R16Uscaled,
R16Sscaled,
R16Uint,
R16Sint,
R16Sfloat,
R16G16Unorm,
R16G16Snorm,
R16G16Uscaled,
R16G16Sscaled,
R16G16Uint,
R16G16Sint,
R16G16Sfloat,
R16G16B16Unorm,
R16G16B16Snorm,
R16G16B16Uscaled,
R16G16B16Sscaled,
R16G16B16Uint,
R16G16B16Sint,
R16G16B16Sfloat,
R16G16B16A16Unorm,
R16G16B16A16Snorm,
R16G16B16A16Uscaled,
R16G16B16A16Sscaled,
R16G16B16A16Uint,
R16G16B16A16Sint,
R16G16B16A16Sfloat,
R32Uint,
R32Sint,
R32Sfloat,
R32G32Uint,
R32G32Sint,
R32G32Sfloat,
R32G32B32Uint,
R32G32B32Sint,
R32G32B32Sfloat,
R32G32B32A32Uint,
R32G32B32A32Sint,
R32G32B32A32Sfloat,
R64Uint,
R64Sint,
R64Sfloat,
R64G64Uint,
R64G64Sint,
R64G64Sfloat,
R64G64B64Uint,
R64G64B64Sint,
R64G64B64Sfloat,
R64G64B64A64Uint,
R64G64B64A64Sint,
R64G64B64A64Sfloat,
B10G11R11UfloatPack32,
E5B9G9R9UfloatPack32,
D16Unorm,
X8_D24UnormPack32,
D32Sfloat,
S8Uint,
D16Unorm_S8Uint,
D24Unorm_S8Uint,
D32Sfloat_S8Uint,
BC1_RGBUnormBlock,
BC1_RGBSrgbBlock,
BC1_RGBAUnormBlock,
BC1_RGBASrgbBlock,
BC2UnormBlock,
BC2SrgbBlock,
BC3UnormBlock,
BC3SrgbBlock,
BC4UnormBlock,
BC4SnormBlock,
BC5UnormBlock,
BC5SnormBlock,
BC6HUfloatBlock,
BC6HSfloatBlock,
BC7UnormBlock,
BC7SrgbBlock,
ETC2_R8G8B8UnormBlock,
ETC2_R8G8B8SrgbBlock,
ETC2_R8G8B8A1UnormBlock,
ETC2_R8G8B8A1SrgbBlock,
ETC2_R8G8B8A8UnormBlock,
ETC2_R8G8B8A8SrgbBlock,
EAC_R11UnormBlock,
EAC_R11SnormBlock,
EAC_R11G11UnormBlock,
EAC_R11G11SnormBlock,
ASTC_4x4UnormBlock,
ASTC_4x4SrgbBlock,
ASTC_5x4UnormBlock,
ASTC_5x4SrgbBlock,
ASTC_5x5UnormBlock,
ASTC_5x5SrgbBlock,
ASTC_6x5UnormBlock,
ASTC_6x5SrgbBlock,
ASTC_6x6UnormBlock,
ASTC_6x6SrgbBlock,
ASTC_8x5UnormBlock,
ASTC_8x5SrgbBlock,
ASTC_8x6UnormBlock,
ASTC_8x6SrgbBlock,
ASTC_8x8UnormBlock,
ASTC_8x8SrgbBlock,
ASTC_10x5UnormBlock,
ASTC_10x5SrgbBlock,
ASTC_10x6UnormBlock,
ASTC_10x6SrgbBlock,
ASTC_10x8UnormBlock,
ASTC_10x8SrgbBlock,
ASTC_10x10UnormBlock,
ASTC_10x10SrgbBlock,
ASTC_12x10UnormBlock,
ASTC_12x10SrgbBlock,
ASTC_12x12UnormBlock,
ASTC_12x12SrgbBlock,
}</pre></div><div class='docblock'><p>An enumeration of all the possible formats.</p>
</div><h2 id='variants' class='variants small-section-header'>
Variants<a href='#variants' class='anchor'></a></h2>
<div id="variant.R4G4UnormPack8" class="variant small-section-header"><a href="#variant.R4G4UnormPack8" class="anchor field"></a><code id='R4G4UnormPack8.v'>R4G4UnormPack8</code></div><div id="variant.R4G4B4A4UnormPack16" class="variant small-section-header"><a href="#variant.R4G4B4A4UnormPack16" class="anchor field"></a><code id='R4G4B4A4UnormPack16.v'>R4G4B4A4UnormPack16</code></div><div id="variant.B4G4R4A4UnormPack16" class="variant small-section-header"><a href="#variant.B4G4R4A4UnormPack16" class="anchor field"></a><code id='B4G4R4A4UnormPack16.v'>B4G4R4A4UnormPack16</code></div><div id="variant.R5G6B5UnormPack16" class="variant small-section-header"><a href="#variant.R5G6B5UnormPack16" class="anchor field"></a><code id='R5G6B5UnormPack16.v'>R5G6B5UnormPack16</code></div><div id="variant.B5G6R5UnormPack16" class="variant small-section-header"><a href="#variant.B5G6R5UnormPack16" class="anchor field"></a><code id='B5G6R5UnormPack16.v'>B5G6R5UnormPack16</code></div><div id="variant.R5G5B5A1UnormPack16" class="variant small-section-header"><a href="#variant.R5G5B5A1UnormPack16" class="anchor field"></a><code id='R5G5B5A1UnormPack16.v'>R5G5B5A1UnormPack16</code></div><div id="variant.B5G5R5A1UnormPack16" class="variant small-section-header"><a href="#variant.B5G5R5A1UnormPack16" class="anchor field"></a><code id='B5G5R5A1UnormPack16.v'>B5G5R5A1UnormPack16</code></div><div id="variant.A1R5G5B5UnormPack16" class="variant small-section-header"><a href="#variant.A1R5G5B5UnormPack16" class="anchor field"></a><code id='A1R5G5B5UnormPack16.v'>A1R5G5B5UnormPack16</code></div><div id="variant.R8Unorm" class="variant small-section-header"><a href="#variant.R8Unorm" class="anchor field"></a><code id='R8Unorm.v'>R8Unorm</code></div><div id="variant.R8Snorm" class="variant small-section-header"><a href="#variant.R8Snorm" class="anchor field"></a><code id='R8Snorm.v'>R8Snorm</code></div><div id="variant.R8Uscaled" class="variant small-section-header"><a href="#variant.R8Uscaled" class="anchor field"></a><code id='R8Uscaled.v'>R8Uscaled</code></div><div id="variant.R8Sscaled" class="variant small-section-header"><a href="#variant.R8Sscaled" class="anchor field"></a><code id='R8Sscaled.v'>R8Sscaled</code></div><div id="variant.R8Uint" class="variant small-section-header"><a href="#variant.R8Uint" class="anchor field"></a><code id='R8Uint.v'>R8Uint</code></div><div id="variant.R8Sint" class="variant small-section-header"><a href="#variant.R8Sint" class="anchor field"></a><code id='R8Sint.v'>R8Sint</code></div><div id="variant.R8Srgb" class="variant small-section-header"><a href="#variant.R8Srgb" class="anchor field"></a><code id='R8Srgb.v'>R8Srgb</code></div><div id="variant.R8G8Unorm" class="variant small-section-header"><a href="#variant.R8G8Unorm" class="anchor field"></a><code id='R8G8Unorm.v'>R8G8Unorm</code></div><div id="variant.R8G8Snorm" class="variant small-section-header"><a href="#variant.R8G8Snorm" class="anchor field"></a><code id='R8G8Snorm.v'>R8G8Snorm</code></div><div id="variant.R8G8Uscaled" class="variant small-section-header"><a href="#variant.R8G8Uscaled" class="anchor field"></a><code id='R8G8Uscaled.v'>R8G8Uscaled</code></div><div id="variant.R8G8Sscaled" class="variant small-section-header"><a href="#variant.R8G8Sscaled" class="anchor field"></a><code id='R8G8Sscaled.v'>R8G8Sscaled</code></div><div id="variant.R8G8Uint" class="variant small-section-header"><a href="#variant.R8G8Uint" class="anchor field"></a><code id='R8G8Uint.v'>R8G8Uint</code></div><div id="variant.R8G8Sint" class="variant small-section-header"><a href="#variant.R8G8Sint" class="anchor field"></a><code id='R8G8Sint.v'>R8G8Sint</code></div><div id="variant.R8G8Srgb" class="variant small-section-header"><a href="#variant.R8G8Srgb" class="anchor field"></a><code id='R8G8Srgb.v'>R8G8Srgb</code></div><div id="variant.R8G8B8Unorm" class="variant small-section-header"><a href="#variant.R8G8B8Unorm" class="anchor field"></a><code id='R8G8B8Unorm.v'>R8G8B8Unorm</code></div><div id="variant.R8G8B8Snorm" class="variant small-section-header"><a href="#va
this will be the size of a single block. Returns <code>None</code> if the
size is irrelevant.</p>
</div><h4 id='method.block_dimensions' class="method"><code id='block_dimensions.v'>pub fn <a href='#method.block_dimensions' class='fnname'>block_dimensions</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">(</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>, <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">)</a></code><a class='srclink' href='../../src/vulkano/format.rs.html#210-216' title='goto source code'>[src]</a></h4><div class='docblock'><p>Returns (width, heigh) of the dimensions for block based formats. For
non block formats will return (1,1)</p>
</div><h4 id='method.ty' class="method"><code id='ty.v'>pub fn <a href='#method.ty' class='fnname'>ty</a>(&amp;self) -&gt; <a class="enum" href="../../vulkano/format/enum.FormatTy.html" title="enum vulkano::format::FormatTy">FormatTy</a></code><a class='srclink' href='../../src/vulkano/format.rs.html#229-235' title='goto source code'>[src]</a></h4></div><h2 id='implementations' class='small-section-header'>Trait Implementations<a href='#implementations' class='anchor'></a></h2><div id='implementations-list'><h3 id='impl-AcceptsPixels%3Cu8%3E' class='impl'><code class='in-band'>impl <a class="trait" href="../../vulkano/format/trait.AcceptsPixels.html" title="trait vulkano::format::AcceptsPixels">AcceptsPixels</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>&gt; for <a class="enum" href="../../vulkano/format/enum.Format.html" title="enum vulkano::format::Format">Format</a></code><a href='#impl-AcceptsPixels%3Cu8%3E' class='anchor'></a><a class='srclink' href='../../src/vulkano/format.rs.html#756-768' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.ensure_accepts' class="method hidden"><code id='ensure_accepts.v'>fn <a href='../../vulkano/format/trait.AcceptsPixels.html#tymethod.ensure_accepts' class='fnname'>ensure_accepts</a>(&amp;self) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, <a class="struct" href="../../vulkano/format/struct.IncompatiblePixelsType.html" title="struct vulkano::format::IncompatiblePixelsType">IncompatiblePixelsType</a>&gt;</code><a class='srclink' href='../../src/vulkano/format.rs.html#757-764' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Returns an error if <code>T</code> cannot be used as a source of pixels for <code>Self</code>.</p>
</div><h4 id='method.rate' class="method hidden"><code id='rate.v'>fn <a href='../../vulkano/format/trait.AcceptsPixels.html#method.rate' class='fnname'>rate</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a></code><a class='srclink' href='../../src/vulkano/format.rs.html#765-767' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>The number of <code>T</code>s which make up a single pixel. <a href="../../vulkano/format/trait.AcceptsPixels.html#method.rate">Read more</a></p>
</div></div><h3 id='impl-AcceptsPixels%3Ci8%3E' class='impl'><code class='in-band'>impl <a class="trait" href="../../vulkano/format/trait.AcceptsPixels.html" title="trait vulkano::format::AcceptsPixels">AcceptsPixels</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i8.html">i8</a>&gt; for <a class="enum" href="../../vulkano/format/enum.Format.html" title="enum vulkano::format::Format">Format</a></code><a href='#impl-AcceptsPixels%3Ci8%3E' class='anchor'></a><a class='srclink' href='../../src/vulkano/format.rs.html#756-768' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.ensure_accepts-1' class="method hidden"><code id='ensure_accepts.v-1'>fn <a href='../../vulkano/format/trait.AcceptsPixels.html#tymethod.ensure_accepts' class='fnname'>ensure_accepts</a>(&amp;self) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, <a class="struct" href="../../vulkano/format/struct.IncompatiblePixelsType.html" title="struct vulkano::format::IncompatiblePixelsType">IncompatiblePixelsType</a>&gt;</code><a class='srclink' href='../../src/vulkano/format.rs.html#757-764' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Returns an error if <code>T</code> cannot be used as a source of pixels for <code>Self</code>.</p>
</div><h4 id='method.rate-1' class="method hidden"><code id='rate.v-1'>fn <a href='../../vulkano/format/trait.AcceptsPixels.html#method.rate' class='fnname'>rate</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a></code><a class='srclink' href='../../src/vulkano/format.rs.html#765-767' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>The number of <code>T</code>s which make up a single pixel. <a href="../../vulkano/format/trait.AcceptsPixels.html#method.rate">Read more</a></p>
</div></div><h3 id='impl-AcceptsPixels%3Cu16%3E' class='impl'><code class='in-band'>impl <a class="trait" href="../../vulkano/format/trait.AcceptsPixels.html" title="trait vulkano::format::AcceptsPixels">AcceptsPixels</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u16.html">u16</a>&gt; for <a class="enum" href="../../vulkano/format/enum.Format.html" title="enum vulkano::format::Format">Format</a></code><a href='#impl-AcceptsPixels%3Cu16%3E' class='anchor'></a><a class='srclink' href='../../src/vulkano/format.rs.html#756-768' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.ensure_accepts-2' class="method hidden"><code id='ensure_accepts.v-2'>fn <a href='../../vulkano/format/trait.AcceptsPixels.html#tymethod.ensure_accepts' class='fnname'>ensure_accepts</a>(&amp;self) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, <a class="struct" href="../../vulkano/format/struct.IncompatiblePixelsType.html" title="struct vulkano::format::IncompatiblePixelsType">IncompatiblePixelsType</a>&gt;</code><a class='srclink' href='../../src/vulkano/format.rs.html#757-764' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Returns an error if <code>T</code> cannot be used as a source of pixels for <code>Self</code>.</p>
</div><h4 id='method.rate-2' class="method hidden"><code id='rate.v-2'>fn <a href='../../vulkano/format/trait.AcceptsPixels.html#method.rate' class='fnname'>rate</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a></code><a class='srclink' href='../../src/vulkano/format.rs.html#765-767' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>The number of <code>T</code>s which make up a single pixel. <a href="../../vulkano/format/trait.AcceptsPixels.html#method.rate">Read more</a></p>
</div></div><h3 id='impl-AcceptsPixels%3Ci16%3E' class='impl'><code class='in-band'>impl <a class="trait" href="../../vulkano/format/trait.AcceptsPixels.html" title="trait vulkano::format::AcceptsPixels">AcceptsPixels</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i16.html">i16</a>&gt; for <a class="enum" href="../../vulkano/format/enum.Format.html" title="enum vulkano::format::Format">Format</a></code><a href='#impl-AcceptsPixels%3Ci16%3E' class='anchor'></a><a class='srclink' href='../../src/vulkano/format.rs.html#756-768' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.ensure_accepts-3' class="method hidden"><code id='ensure_accepts.v-3'>fn <a href='../../vulkano/format/trait.AcceptsPixels.html#tymethod.ensure_accepts' class='fnname'>ensure_accepts</a>(&amp;self) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, <a class="struct" href="../../vulkano/format/struct.IncompatiblePixelsType.html" title="struct vulkano::format::IncompatiblePixelsType">IncompatiblePixelsType</a>&gt;</code><a class='srclink' href='../../src/vulkano/format.rs.html#757-764' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Returns an error if <code>T</code> cannot be used as a source of pixels for <code>Self</code>.</p>
</div><h4 id='method.rate-3' class="method hidden"><code id='rate.v-3'>fn <a href='../../vulkano/format/trait.AcceptsPixels.html#method.rate' class='fnname'>rate</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a></code><a class='srclink' href='../../src/vulkano/format.rs.html#765-767' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>The number of <code>T</code>s which make up a single pixel. <a href="../../vulkano/format/trait.AcceptsPixels.html#method.rate">Read more</a></p>
</div></div><h3 id='impl-AcceptsPixels%3Cu32%3E' class='impl'><code class='in-band'>impl <a class="trait" href="../../vulkano/format/trait.AcceptsPixels.html" title="trait vulkano::format::AcceptsPixels">AcceptsPixels</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>&gt; for <a class="enum" href="../../vulkano/format/enum.Format.html" title="enum vulkano::format::Format">Format</a></code><a href='#impl-AcceptsPixels%3Cu32%3E' class='anchor'></a><a class='srclink' href='../../src/vulkano/format.rs.html#756-768' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.ensure_accepts-4' class="method hidden"><code id='ensure_accepts.v-4'>fn <a href='../../vulkano/format/trait.AcceptsPixels.html#tymethod.ensure_accepts' class='fnname'>ensure_accepts</a>(&amp;self) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, <a class="struct" href="../../vulkano/format/struct.IncompatiblePixelsType.html" title="struct vulkano::format::IncompatiblePixelsType">IncompatiblePixelsType</a>&gt;</code><a class='srclink' href='../../src/vulkano/format.rs.html#757-764' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Returns an error if <code>T</code> cannot be used as a source of pixels for <code>Self</code>.</p>
</div><h4 id='method.rate-4' class="method hidden"><code id='rate.v-4'>fn <a href='../../vulkano/format/trait.AcceptsPixels.html#method.rate' class='fnname'>rate</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a></code><a class='srclink' href='../../src/vulkano/format.rs.html#765-767' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>The number of <code>T</code>s which make up a single pixel. <a href="../../vulkano/format/trait.AcceptsPixels.html#method.rate">Read more</a></p>
</div></div><h3 id='impl-AcceptsPixels%3Ci32%3E' class='impl'><code class='in-band'>impl <a class="trait" href="../../vulkano/format/trait.AcceptsPixels.html" title="trait vulkano::format::AcceptsPixels">AcceptsPixels</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>&gt; for <a class="enum" href="../../vulkano/format/enum.Format.html" title="enum vulkano::format::Format">Format</a></code><a href='#impl-AcceptsPixels%3Ci32%3E' class='anchor'></a><a class='srclink' href='../../src/vulkano/format.rs.html#756-768' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.ensure_accepts-5' class="method hidden"><code id='ensure_accepts.v-5'>fn <a href='../../vulkano/format/trait.AcceptsPixels.html#tymethod.ensure_accepts' class='fnname'>ensure_accepts</a>(&amp;self) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, <a class="struct" href="../../vulkano/format/struct.IncompatiblePixelsType.html" title="struct vulkano::format::IncompatiblePixelsType">IncompatiblePixelsType</a>&gt;</code><a class='srclink' href='../../src/vulkano/format.rs.html#757-764' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Returns an error if <code>T</code> cannot be used as a source of pixels for <code>Self</code>.</p>
</div><h4 id='method.rate-5' class="method hidden"><code id='rate.v-5'>fn <a href='../../vulkano/format/trait.AcceptsPixels.html#method.rate' class='fnname'>rate</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a></code><a class='srclink' href='../../src/vulkano/format.rs.html#765-767' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>The number of <code>T</code>s which make up a single pixel. <a href="../../vulkano/format/trait.AcceptsPixels.html#method.rate">Read more</a></p>
</div></div><h3 id='impl-AcceptsPixels%3Cu64%3E' class='impl'><code class='in-band'>impl <a class="trait" href="../../vulkano/format/trait.AcceptsPixels.html" title="trait vulkano::format::AcceptsPixels">AcceptsPixels</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>&gt; for <a class="enum" href="../../vulkano/format/enum.Format.html" title="enum vulkano::format::Format">Format</a></code><a href='#impl-AcceptsPixels%3Cu64%3E' class='anchor'></a><a class='srclink' href='../../src/vulkano/format.rs.html#756-768' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.ensure_accepts-6' class="method hidden"><code id='ensure_accepts.v-6'>fn <a href='../../vulkano/format/trait.AcceptsPixels.html#tymethod.ensure_accepts' class='fnname'>ensure_accepts</a>(&amp;self) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, <a class="struct" href="../../vulkano/format/struct.IncompatiblePixelsType.html" title="struct vulkano::format::IncompatiblePixelsType">IncompatiblePixelsType</a>&gt;</code><a class='srclink' href='../../src/vulkano/format.rs.html#757-764' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Returns an error if <code>T</code> cannot be used as a source of pixels for <code>Self</code>.</p>
</div><h4 id='method.rate-6' class="method hidden"><code id='rate.v-6'>fn <a href='../../vulkano/format/trait.AcceptsPixels.html#method.rate' class='fnname'>rate</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a></code><a class='srclink' href='../../src/vulkano/format.rs.html#765-767' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>The number of <code>T</code>s which make up a single pixel. <a href="../../vulkano/format/trait.AcceptsPixels.html#method.rate">Read more</a></p>
</div></div><h3 id='impl-AcceptsPixels%3Ci64%3E' class='impl'><code class='in-band'>impl <a class="trait" href="../../vulkano/format/trait.AcceptsPixels.html" title="trait vulkano::format::AcceptsPixels">AcceptsPixels</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i64.html">i64</a>&gt; for <a class="enum" href="../../vulkano/format/enum.Format.html" title="enum vulkano::format::Format">Format</a></code><a href='#impl-AcceptsPixels%3Ci64%3E' class='anchor'></a><a class='srclink' href='../../src/vulkano/format.rs.html#756-768' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.ensure_accepts-7' class="method hidden"><code id='ensure_accepts.v-7'>fn <a href='../../vulkano/format/trait.AcceptsPixels.html#tymethod.ensure_accepts' class='fnname'>ensure_accepts</a>(&amp;self) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, <a class="struct" href="../../vulkano/format/struct.IncompatiblePixelsType.html" title="struct vulkano::format::IncompatiblePixelsType">IncompatiblePixelsType</a>&gt;</code><a class='srclink' href='../../src/vulkano/format.rs.html#757-764' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Returns an error if <code>T</code> cannot be used as a source of pixels for <code>Self</code>.</p>
</div><h4 id='method.rate-7' class="method hidden"><code id='rate.v-7'>fn <a href='../../vulkano/format/trait.AcceptsPixels.html#method.rate' class='fnname'>rate</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a></code><a class='srclink' href='../../src/vulkano/format.rs.html#765-767' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>The number of <code>T</code>s which make up a single pixel. <a href="../../vulkano/format/trait.AcceptsPixels.html#method.rate">Read more</a></p>
</div></div><h3 id='impl-AcceptsPixels%3Cf16%3E' class='impl'><code class='in-band'>impl <a class="trait" href="../../vulkano/format/trait.AcceptsPixels.html" title="trait vulkano::format::AcceptsPixels">AcceptsPixels</a>&lt;<a class="struct" href="../../half/struct.f16.html" title="struct half::f16">f16</a>&gt; for <a class="enum" href="../../vulkano/format/enum.Format.html" title="enum vulkano::format::Format">Format</a></code><a href='#impl-AcceptsPixels%3Cf16%3E' class='anchor'></a><a class='srclink' href='../../src/vulkano/format.rs.html#756-768' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.ensure_accepts-8' class="method hidden"><code id='ensure_accepts.v-8'>fn <a href='../../vulkano/format/trait.AcceptsPixels.html#tymethod.ensure_accepts' class='fnname'>ensure_accepts</a>(&amp;self) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, <a class="struct" href="../../vulkano/format/struct.IncompatiblePixelsType.html" title="struct vulkano::format::IncompatiblePixelsType">IncompatiblePixelsType</a>&gt;</code><a class='srclink' href='../../src/vulkano/format.rs.html#757-764' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Returns an error if <code>T</code> cannot be used as a source of pixels for <code>Self</code>.</p>
</div><h4 id='method.rate-8' class="method hidden"><code id='rate.v-8'>fn <a href='../../vulkano/format/trait.AcceptsPixels.html#method.rate' class='fnname'>rate</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a></code><a class='srclink' href='../../src/vulkano/format.rs.html#765-767' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>The number of <code>T</code>s which make up a single pixel. <a href="../../vulkano/format/trait.AcceptsPixels.html#method.rate">Read more</a></p>
</div></div><h3 id='impl-AcceptsPixels%3Cf32%3E' class='impl'><code class='in-band'>impl <a class="trait" href="../../vulkano/format/trait.AcceptsPixels.html" title="trait vulkano::format::AcceptsPixels">AcceptsPixels</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a>&gt; for <a class="enum" href="../../vulkano/format/enum.Format.html" title="enum vulkano::format::Format">Format</a></code><a href='#impl-AcceptsPixels%3Cf32%3E' class='anchor'></a><a class='srclink' href='../../src/vulkano/format.rs.html#756-768' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.ensure_accepts-9' class="method hidden"><code id='ensure_accepts.v-9'>fn <a href='../../vulkano/format/trait.AcceptsPixels.html#tymethod.ensure_accepts' class='fnname'>ensure_accepts</a>(&amp;self) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, <a class="struct" href="../../vulkano/format/struct.IncompatiblePixelsType.html" title="struct vulkano::format::IncompatiblePixelsType">IncompatiblePixelsType</a>&gt;</code><a class='srclink' href='../../src/vulkano/format.rs.html#757-764' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Returns an error if <code>T</code> cannot be used as a source of pixels for <code>Self</code>.</p>
</div><h4 id='method.rate-9' class="method hidden"><code id='rate.v-9'>fn <a href='../../vulkano/format/trait.AcceptsPixels.html#method.rate' class='fnname'>rate</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a></code><a class='srclink' href='../../src/vulkano/format.rs.html#765-767' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>The number of <code>T</code>s which make up a single pixel. <a href="../../vulkano/format/trait.AcceptsPixels.html#method.rate">Read more</a></p>
</div></div><h3 id='impl-AcceptsPixels%3Cf64%3E' class='impl'><code class='in-band'>impl <a class="trait" href="../../vulkano/format/trait.AcceptsPixels.html" title="trait vulkano::format::AcceptsPixels">AcceptsPixels</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a>&gt; for <a class="enum" href="../../vulkano/format/enum.Format.html" title="enum vulkano::format::Format">Format</a></code><a href='#impl-AcceptsPixels%3Cf64%3E' class='anchor'></a><a class='srclink' href='../../src/vulkano/format.rs.html#756-768' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.ensure_accepts-10' class="method hidden"><code id='ensure_accepts.v-10'>fn <a href='../../vulkano/format/trait.AcceptsPixels.html#tymethod.ensure_accepts' class='fnname'>ensure_accepts</a>(&amp;self) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, <a class="struct" href="../../vulkano/format/struct.IncompatiblePixelsType.html" title="struct vulkano::format::IncompatiblePixelsType">IncompatiblePixelsType</a>&gt;</code><a class='srclink' href='../../src/vulkano/format.rs.html#757-764' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Returns an error if <code>T</code> cannot be used as a source of pixels for <code>Self</code>.</p>
</div><h4 id='method.rate-10' class="method hidden"><code id='rate.v-10'>fn <a href='../../vulkano/format/trait.AcceptsPixels.html#method.rate' class='fnname'>rate</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a></code><a class='srclink' href='../../src/vulkano/format.rs.html#765-767' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>The number of <code>T</code>s which make up a single pixel. <a href="../../vulkano/format/trait.AcceptsPixels.html#method.rate">Read more</a></p>
</div></div><h3 id='impl-AcceptsPixels%3C%5Bu8%3B%201%5D%3E' class='impl'><code class='in-band'>impl <a class="trait" href="../../vulkano/format/trait.AcceptsPixels.html" title="trait vulkano::format::AcceptsPixels">AcceptsPixels</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">[</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">; 1]</a>&gt; for <a class="enum" href="../../vulkano/format/enum.Format.html" title="enum vulkano::format::Format">Format</a></code><a href='#impl-AcceptsPixels%3C%5Bu8%3B%201%5D%3E' class='anchor'></a><a class='srclink' href='../../src/vulkano/format.rs.html#756-768' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.ensure_accepts-11' class="method hidden"><code id='ensure_accepts.v-11'>fn <a href='../../vulkano/format/trait.AcceptsPixels.html#tymethod.ensure_accepts' class='fnname'>ensure_accepts</a>(&amp;self) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, <a class="struct" href="../../vulkano/format/struct.IncompatiblePixelsType.html" title="struct vulkano::format::IncompatiblePixelsType">IncompatiblePixelsType</a>&gt;</code><a class='srclink' href='../../src/vulkano/format.rs.html#757-764' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Returns an error if <code>T</code> cannot be used as a source of pixels for <code>Self</code>.</p>
</div><h4 id='method.rate-11' class="method hidden"><code id='rate.v-11'>fn <a href='../../vulkano/format/trait.AcceptsPixels.html#method.rate' class='fnname'>rate</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a></code><a class='srclink' href='../../src/vulkano/format.rs.html#765-767' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>The number of <code>T</code>s which make up a single pixel. <a href="../../vulkano/format/trait.AcceptsPixels.html#method.rate">Read more</a></p>
</div></div><h3 id='impl-AcceptsPixels%3C%5Bi8%3B%201%5D%3E' class='impl'><code class='in-band'>impl <a class="trait" href="../../vulkano/format/trait.AcceptsPixels.html" title="trait vulkano::format::AcceptsPixels">AcceptsPixels</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">[</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i8.html">i8</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">; 1]</a>&gt; for <a class="enum" href="../../vulkano/format/enum.Format.html" title="enum vulkano::format::Format">Format</a></code><a href='#impl-AcceptsPixels%3C%5Bi8%3B%201%5D%3E' class='anchor'></a><a class='srclink' href='../../src/vulkano/format.rs.html#756-768' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.ensure_accepts-12' class="method hidden"><code id='ensure_accepts.v-12'>fn <a href='../../vulkano/format/trait.AcceptsPixels.html#tymethod.ensure_accepts' class='fnname'>ensure_accepts</a>(&amp;self) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, <a class="struct" href="../../vulkano/format/struct.IncompatiblePixelsType.html" title="struct vulkano::format::IncompatiblePixelsType">IncompatiblePixelsType</a>&gt;</code><a class='srclink' href='../../src/vulkano/format.rs.html#757-764' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Returns an error if <code>T</code> cannot be used as a source of pixels for <code>Self</code>.</p>
</div><h4 id='method.rate-12' class="method hidden"><code id='rate.v-12'>fn <a href='../../vulkano/format/trait.AcceptsPixels.html#method.rate' class='fnname'>rate</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a></code><a class='srclink' href='../../src/vulkano/format.rs.html#765-767' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>The number of <code>T</code>s which make up a single pixel. <a href="../../vulkano/format/trait.AcceptsPixels.html#method.rate">Read more</a></p>
</div></div><h3 id='impl-AcceptsPixels%3C%5Bu16%3B%201%5D%3E' class='impl'><code class='in-band'>impl <a class="trait" href="../../vulkano/format/trait.AcceptsPixels.html" title="trait vulkano::format::AcceptsPixels">AcceptsPixels</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">[</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u16.html">u16</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">; 1]</a>&gt; for <a class="enum" href="../../vulkano/format/enum.Format.html" title="enum vulkano::format::Format">Format</a></code><a href='#impl-AcceptsPixels%3C%5Bu16%3B%201%5D%3E' class='anchor'></a><a class='srclink' href='../../src/vulkano/format.rs.html#756-768' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.ensure_accepts-13' class="method hidden"><code id='ensure_accepts.v-13'>fn <a href='../../vulkano/format/trait.AcceptsPixels.html#tymethod.ensure_accepts' class='fnname'>ensure_accepts</a>(&amp;self) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, <a class="struct" href="../../vulkano/format/struct.IncompatiblePixelsType.html" title="struct vulkano::format::IncompatiblePixelsType">IncompatiblePixelsType</a>&gt;</code><a class='srclink' href='../../src/vulkano/format.rs.html#757-764' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Returns an error if <code>T</code> cannot be used as a source of pixels for <code>Self</code>.</p>
</div><h4 id='method.rate-13' class="method hidden"><code id='rate.v-13'>fn <a href='../../vulkano/format/trait.AcceptsPixels.html#method.rate' class='fnname'>rate</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a></code><a class='srclink' href='../../src/vulkano/format.rs.html#765-767' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>The number of <code>T</code>s which make up a single pixel. <a href="../../vulkano/format/trait.AcceptsPixels.html#method.rate">Read more</a></p>
</div></div><h3 id='impl-AcceptsPixels%3C%5Bi16%3B%201%5D%3E' class='impl'><code class='in-band'>impl <a class="trait" href="../../vulkano/format/trait.AcceptsPixels.html" title="trait vulkano::format::AcceptsPixels">AcceptsPixels</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">[</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i16.html">i16</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">; 1]</a>&gt; for <a class="enum" href="../../vulkano/format/enum.Format.html" title="enum vulkano::format::Format">Format</a></code><a href='#impl-AcceptsPixels%3C%5Bi16%3B%201%5D%3E' class='anchor'></a><a class='srclink' href='../../src/vulkano/format.rs.html#756-768' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.ensure_accepts-14' class="method hidden"><code id='ensure_accepts.v-14'>fn <a href='../../vulkano/format/trait.AcceptsPixels.html#tymethod.ensure_accepts' class='fnname'>ensure_accepts</a>(&amp;self) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, <a class="struct" href="../../vulkano/format/struct.IncompatiblePixelsType.html" title="struct vulkano::format::IncompatiblePixelsType">IncompatiblePixelsType</a>&gt;</code><a class='srclink' href='../../src/vulkano/format.rs.html#757-764' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Returns an error if <code>T</code> cannot be used as a source of pixels for <code>Self</code>.</p>
</div><h4 id='method.rate-14' class="method hidden"><code id='rate.v-14'>fn <a href='../../vulkano/format/trait.AcceptsPixels.html#method.rate' class='fnname'>rate</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a></code><a class='srclink' href='../../src/vulkano/format.rs.html#765-767' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>The number of <code>T</code>s which make up a single pixel. <a href="../../vulkano/format/trait.AcceptsPixels.html#method.rate">Read more</a></p>
</div></div><h3 id='impl-AcceptsPixels%3C%5Bu32%3B%201%5D%3E' class='impl'><code class='in-band'>impl <a class="trait" href="../../vulkano/format/trait.AcceptsPixels.html" title="trait vulkano::format::AcceptsPixels">AcceptsPixels</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">[</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">; 1]</a>&gt; for <a class="enum" href="../../vulkano/format/enum.Format.html" title="enum vulkano::format::Format">Format</a></code><a href='#impl-AcceptsPixels%3C%5Bu32%3B%201%5D%3E' class='anchor'></a><a class='srclink' href='../../src/vulkano/format.rs.html#756-768' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.ensure_accepts-15' class="method hidden"><code id='ensure_accepts.v-15'>fn <a href='../../vulkano/format/trait.AcceptsPixels.html#tymethod.ensure_accepts' class='fnname'>ensure_accepts</a>(&amp;self) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, <a class="struct" href="../../vulkano/format/struct.IncompatiblePixelsType.html" title="struct vulkano::format::IncompatiblePixelsType">IncompatiblePixelsType</a>&gt;</code><a class='srclink' href='../../src/vulkano/format.rs.html#757-764' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Returns an error if <code>T</code> cannot be used as a source of pixels for <code>Self</code>.</p>
</div><h4 id='method.rate-15' class="method hidden"><code id='rate.v-15'>fn <a href='../../vulkano/format/trait.AcceptsPixels.html#method.rate' class='fnname'>rate</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a></code><a class='srclink' href='../../src/vulkano/format.rs.html#765-767' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>The number of <code>T</code>s which make up a single pixel. <a href="../../vulkano/format/trait.AcceptsPixels.html#method.rate">Read more</a></p>
</div></div><h3 id='impl-AcceptsPixels%3C%5Bi32%3B%201%5D%3E' class='impl'><code class='in-band'>impl <a class="trait" href="../../vulkano/format/trait.AcceptsPixels.html" title="trait vulkano::format::AcceptsPixels">AcceptsPixels</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">[</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">; 1]</a>&gt; for <a class="enum" href="../../vulkano/format/enum.Format.html" title="enum vulkano::format::Format">Format</a></code><a href='#impl-AcceptsPixels%3C%5Bi32%3B%201%5D%3E' class='anchor'></a><a class='srclink' href='../../src/vulkano/format.rs.html#756-768' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.ensure_accepts-16' class="method hidden"><code id='ensure_accepts.v-16'>fn <a href='../../vulkano/format/trait.AcceptsPixels.html#tymethod.ensure_accepts' class='fnname'>ensure_accepts</a>(&amp;self) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, <a class="struct" href="../../vulkano/format/struct.IncompatiblePixelsType.html" title="struct vulkano::format::IncompatiblePixelsType">IncompatiblePixelsType</a>&gt;</code><a class='srclink' href='../../src/vulkano/format.rs.html#757-764' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Returns an error if <code>T</code> cannot be used as a source of pixels for <code>Self</code>.</p>
</div><h4 id='method.rate-16' class="method hidden"><code id='rate.v-16'>fn <a href='../../vulkano/format/trait.AcceptsPixels.html#method.rate' class='fnname'>rate</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a></code><a class='srclink' href='../../src/vulkano/format.rs.html#765-767' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>The number of <code>T</code>s which make up a single pixel. <a href="../../vulkano/format/trait.AcceptsPixels.html#method.rate">Read more</a></p>
</div></div><h3 id='impl-AcceptsPixels%3C%5Bu64%3B%201%5D%3E' class='impl'><code class='in-band'>impl <a class="trait" href="../../vulkano/format/trait.AcceptsPixels.html" title="trait vulkano::format::AcceptsPixels">AcceptsPixels</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">[</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">; 1]</a>&gt; for <a class="enum" href="../../vulkano/format/enum.Format.html" title="enum vulkano::format::Format">Format</a></code><a href='#impl-AcceptsPixels%3C%5Bu64%3B%201%5D%3E' class='anchor'></a><a class='srclink' href='../../src/vulkano/format.rs.html#756-768' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.ensure_accepts-17' class="method hidden"><code id='ensure_accepts.v-17'>fn <a href='../../vulkano/format/trait.AcceptsPixels.html#tymethod.ensure_accepts' class='fnname'>ensure_accepts</a>(&amp;self) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, <a class="struct" href="../../vulkano/format/struct.IncompatiblePixelsType.html" title="struct vulkano::format::IncompatiblePixelsType">IncompatiblePixelsType</a>&gt;</code><a class='srclink' href='../../src/vulkano/format.rs.html#757-764' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Returns an error if <code>T</code> cannot be used as a source of pixels for <code>Self</code>.</p>
</div><h4 id='method.rate-17' class="method hidden"><code id='rate.v-17'>fn <a href='../../vulkano/format/trait.AcceptsPixels.html#method.rate' class='fnname'>rate</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a></code><a class='srclink' href='../../src/vulkano/format.rs.html#765-767' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>The number of <code>T</code>s which make up a single pixel. <a href="../../vulkano/format/trait.AcceptsPixels.html#method.rate">Read more</a></p>
</div></div><h3 id='impl-AcceptsPixels%3C%5Bi64%3B%201%5D%3E' class='impl'><code class='in-band'>impl <a class="trait" href="../../vulkano/format/trait.AcceptsPixels.html" title="trait vulkano::format::AcceptsPixels">AcceptsPixels</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">[</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i64.html">i64</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">; 1]</a>&gt; for <a class="enum" href="../../vulkano/format/enum.Format.html" title="enum vulkano::format::Format">Format</a></code><a href='#impl-AcceptsPixels%3C%5Bi64%3B%201%5D%3E' class='anchor'></a><a class='srclink' href='../../src/vulkano/format.rs.html#756-768' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.ensure_accepts-18' class="method hidden"><code id='ensure_accepts.v-18'>fn <a href='../../vulkano/format/trait.AcceptsPixels.html#tymethod.ensure_accepts' class='fnname'>ensure_accepts</a>(&amp;self) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, <a class="struct" href="../../vulkano/format/struct.IncompatiblePixelsType.html" title="struct vulkano::format::IncompatiblePixelsType">IncompatiblePixelsType</a>&gt;</code><a class='srclink' href='../../src/vulkano/format.rs.html#757-764' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Returns an error if <code>T</code> cannot be used as a source of pixels for <code>Self</code>.</p>
</div><h4 id='method.rate-18' class="method hidden"><code id='rate.v-18'>fn <a href='../../vulkano/format/trait.AcceptsPixels.html#method.rate' class='fnname'>rate</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a></code><a class='srclink' href='../../src/vulkano/format.rs.html#765-767' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>The number of <code>T</code>s which make up a single pixel. <a href="../../vulkano/format/trait.AcceptsPixels.html#method.rate">Read more</a></p>
</div></div><h3 id='impl-AcceptsPixels%3C%5Bf16%3B%201%5D%3E' class='impl'><code class='in-band'>impl <a class="trait" href="../../vulkano/format/trait.AcceptsPixels.html" title="trait vulkano::format::AcceptsPixels">AcceptsPixels</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">[</a><a class="struct" href="../../half/struct.f16.html" title="struct half::f16">f16</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">; 1]</a>&gt; for <a class="enum" href="../../vulkano/format/enum.Format.html" title="enum vulkano::format::Format">Format</a></code><a href='#impl-AcceptsPixels%3C%5Bf16%3B%201%5D%3E' class='anchor'></a><a class='srclink' href='../../src/vulkano/format.rs.html#756-768' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.ensure_accepts-19' class="method hidden"><code id='ensure_accepts.v-19'>fn <a href='../../vulkano/format/trait.AcceptsPixels.html#tymethod.ensure_accepts' class='fnname'>ensure_accepts</a>(&amp;self) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, <a class="struct" href="../../vulkano/format/struct.IncompatiblePixelsType.html" title="struct vulkano::format::IncompatiblePixelsType">IncompatiblePixelsType</a>&gt;</code><a class='srclink' href='../../src/vulkano/format.rs.html#757-764' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Returns an error if <code>T</code> cannot be used as a source of pixels for <code>Self</code>.</p>
</div><h4 id='method.rate-19' class="method hidden"><code id='rate.v-19'>fn <a href='../../vulkano/format/trait.AcceptsPixels.html#method.rate' class='fnname'>rate</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a></code><a class='srclink' href='../../src/vulkano/format.rs.html#765-767' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>The number of <code>T</code>s which make up a single pixel. <a href="../../vulkano/format/trait.AcceptsPixels.html#method.rate">Read more</a></p>
</div></div><h3 id='impl-AcceptsPixels%3C%5Bf32%3B%201%5D%3E' class='impl'><code class='in-band'>impl <a class="trait" href="../../vulkano/format/trait.AcceptsPixels.html" title="trait vulkano::format::AcceptsPixels">AcceptsPixels</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">[</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">; 1]</a>&gt; for <a class="enum" href="../../vulkano/format/enum.Format.html" title="enum vulkano::format::Format">Format</a></code><a href='#impl-AcceptsPixels%3C%5Bf32%3B%201%5D%3E' class='anchor'></a><a class='srclink' href='../../src/vulkano/format.rs.html#756-768' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.ensure_accepts-20' class="method hidden"><code id='ensure_accepts.v-20'>fn <a href='../../vulkano/format/trait.AcceptsPixels.html#tymethod.ensure_accepts' class='fnname'>ensure_accepts</a>(&amp;self) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, <a class="struct" href="../../vulkano/format/struct.IncompatiblePixelsType.html" title="struct vulkano::format::IncompatiblePixelsType">IncompatiblePixelsType</a>&gt;</code><a class='srclink' href='../../src/vulkano/format.rs.html#757-764' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Returns an error if <code>T</code> cannot be used as a source of pixels for <code>Self</code>.</p>
</div><h4 id='method.rate-20' class="method hidden"><code id='rate.v-20'>fn <a href='../../vulkano/format/trait.AcceptsPixels.html#method.rate' class='fnname'>rate</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a></code><a class='srclink' href='../../src/vulkano/format.rs.html#765-767' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>The number of <code>T</code>s which make up a single pixel. <a href="../../vulkano/format/trait.AcceptsPixels.html#method.rate">Read more</a></p>
</div></div><h3 id='impl-AcceptsPixels%3C%5Bf64%3B%201%5D%3E' class='impl'><code class='in-band'>impl <a class="trait" href="../../vulkano/format/trait.AcceptsPixels.html" title="trait vulkano::format::AcceptsPixels">AcceptsPixels</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">[</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">; 1]</a>&gt; for <a class="enum" href="../../vulkano/format/enum.Format.html" title="enum vulkano::format::Format">Format</a></code><a href='#impl-AcceptsPixels%3C%5Bf64%3B%201%5D%3E' class='anchor'></a><a class='srclink' href='../../src/vulkano/format.rs.html#756-768' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.ensure_accepts-21' class="method hidden"><code id='ensure_accepts.v-21'>fn <a href='../../vulkano/format/trait.AcceptsPixels.html#tymethod.ensure_accepts' class='fnname'>ensure_accepts</a>(&amp;self) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, <a class="struct" href="../../vulkano/format/struct.IncompatiblePixelsType.html" title="struct vulkano::format::IncompatiblePixelsType">IncompatiblePixelsType</a>&gt;</code><a class='srclink' href='../../src/vulkano/format.rs.html#757-764' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Returns an error if <code>T</code> cannot be used as a source of pixels for <code>Self</code>.</p>
</div><h4 id='method.rate-21' class="method hidden"><code id='rate.v-21'>fn <a href='../../vulkano/format/trait.AcceptsPixels.html#method.rate' class='fnname'>rate</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a></code><a class='srclink' href='../../src/vulkano/format.rs.html#765-767' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>The number of <code>T</code>s which make up a single pixel. <a href="../../vulkano/format/trait.AcceptsPixels.html#method.rate">Read more</a></p>
</div></div><h3 id='impl-AcceptsPixels%3C%5Bu8%3B%202%5D%3E' class='impl'><code class='in-band'>impl <a class="trait" href="../../vulkano/format/trait.AcceptsPixels.html" title="trait vulkano::format::AcceptsPixels">AcceptsPixels</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">[</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">; 2]</a>&gt; for <a class="enum" href="../../vulkano/format/enum.Format.html" title="enum vulkano::format::Format">Format</a></code><a href='#impl-AcceptsPixels%3C%5Bu8%3B%202%5D%3E' class='anchor'></a><a class='srclink' href='../../src/vulkano/format.rs.html#756-768' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.ensure_accepts-22' class="method hidden"><code id='ensure_accepts.v-22'>fn <a href='../../vulkano/format/trait.AcceptsPixels.html#tymethod.ensure_accepts' class='fnname'>ensure_accepts</a>(&amp;self) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, <a class="struct" href="../../vulkano/format/struct.IncompatiblePixelsType.html" title="struct vulkano::format::IncompatiblePixelsType">IncompatiblePixelsType</a>&gt;</code><a class='srclink' href='../../src/vulkano/format.rs.html#757-764' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Returns an error if <code>T</code> cannot be used as a source of pixels for <code>Self</code>.</p>
</div><h4 id='method.rate-22' class="method hidden"><code id='rate.v-22'>fn <a href='../../vulkano/format/trait.AcceptsPixels.html#method.rate' class='fnname'>rate</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a></code><a class='srclink' href='../../src/vulkano/format.rs.html#765-767' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>The number of <code>T</code>s which make up a single pixel. <a href="../../vulkano/format/trait.AcceptsPixels.html#method.rate">Read more</a></p>
</div></div><h3 id='impl-AcceptsPixels%3C%5Bi8%3B%202%5D%3E' class='impl'><code class='in-band'>impl <a class="trait" href="../../vulkano/format/trait.AcceptsPixels.html" title="trait vulkano::format::AcceptsPixels">AcceptsPixels</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">[</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i8.html">i8</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">; 2]</a>&gt; for <a class="enum" href="../../vulkano/format/enum.Format.html" title="enum vulkano::format::Format">Format</a></code><a href='#impl-AcceptsPixels%3C%5Bi8%3B%202%5D%3E' class='anchor'></a><a class='srclink' href='../../src/vulkano/format.rs.html#756-768' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.ensure_accepts-23' class="method hidden"><code id='ensure_accepts.v-23'>fn <a href='../../vulkano/format/trait.AcceptsPixels.html#tymethod.ensure_accepts' class='fnname'>ensure_accepts</a>(&amp;self) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, <a class="struct" href="../../vulkano/format/struct.IncompatiblePixelsType.html" title="struct vulkano::format::IncompatiblePixelsType">IncompatiblePixelsType</a>&gt;</code><a class='srclink' href='../../src/vulkano/format.rs.html#757-764' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Returns an error if <code>T</code> cannot be used as a source of pixels for <code>Self</code>.</p>
</div><h4 id='method.rate-23' class="method hidden"><code id='rate.v-23'>fn <a href='../../vulkano/format/trait.AcceptsPixels.html#method.rate' class='fnname'>rate</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a></code><a class='srclink' href='../../src/vulkano/format.rs.html#765-767' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>The number of <code>T</code>s which make up a single pixel. <a href="../../vulkano/format/trait.AcceptsPixels.html#method.rate">Read more</a></p>
</div></div><h3 id='impl-AcceptsPixels%3C%5Bu16%3B%202%5D%3E' class='impl'><code class='in-band'>impl <a class="trait" href="../../vulkano/format/trait.AcceptsPixels.html" title="trait vulkano::format::AcceptsPixels">AcceptsPixels</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">[</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u16.html">u16</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">; 2]</a>&gt; for <a class="enum" href="../../vulkano/format/enum.Format.html" title="enum vulkano::format::Format">Format</a></code><a href='#impl-AcceptsPixels%3C%5Bu16%3B%202%5D%3E' class='anchor'></a><a class='srclink' href='../../src/vulkano/format.rs.html#756-768' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.ensure_accepts-24' class="method hidden"><code id='ensure_accepts.v-24'>fn <a href='../../vulkano/format/trait.AcceptsPixels.html#tymethod.ensure_accepts' class='fnname'>ensure_accepts</a>(&amp;self) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, <a class="struct" href="../../vulkano/format/struct.IncompatiblePixelsType.html" title="struct vulkano::format::IncompatiblePixelsType">IncompatiblePixelsType</a>&gt;</code><a class='srclink' href='../../src/vulkano/format.rs.html#757-764' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Returns an error if <code>T</code> cannot be used as a source of pixels for <code>Self</code>.</p>
</div><h4 id='method.rate-24' class="method hidden"><code id='rate.v-24'>fn <a href='../../vulkano/format/trait.AcceptsPixels.html#method.rate' class='fnname'>rate</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a></code><a class='srclink' href='../../src/vulkano/format.rs.html#765-767' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>The number of <code>T</code>s which make up a single pixel. <a href="../../vulkano/format/trait.AcceptsPixels.html#method.rate">Read more</a></p>
</div></div><h3 id='impl-AcceptsPixels%3C%5Bi16%3B%202%5D%3E' class='impl'><code class='in-band'>impl <a class="trait" href="../../vulkano/format/trait.AcceptsPixels.html" title="trait vulkano::format::AcceptsPixels">AcceptsPixels</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">[</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i16.html">i16</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">; 2]</a>&gt; for <a class="enum" href="../../vulkano/format/enum.Format.html" title="enum vulkano::format::Format">Format</a></code><a href='#impl-AcceptsPixels%3C%5Bi16%3B%202%5D%3E' class='anchor'></a><a class='srclink' href='../../src/vulkano/format.rs.html#756-768' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.ensure_accepts-25' class="method hidden"><code id='ensure_accepts.v-25'>fn <a href='../../vulkano/format/trait.AcceptsPixels.html#tymethod.ensure_accepts' class='fnname'>ensure_accepts</a>(&amp;self) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, <a class="struct" href="../../vulkano/format/struct.IncompatiblePixelsType.html" title="struct vulkano::format::IncompatiblePixelsType">IncompatiblePixelsType</a>&gt;</code><a class='srclink' href='../../src/vulkano/format.rs.html#757-764' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Returns an error if <code>T</code> cannot be used as a source of pixels for <code>Self</code>.</p>
</div><h4 id='method.rate-25' class="method hidden"><code id='rate.v-25'>fn <a href='../../vulkano/format/trait.AcceptsPixels.html#method.rate' class='fnname'>rate</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a></code><a class='srclink' href='../../src/vulkano/format.rs.html#765-767' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>The number of <code>T</code>s which make up a single pixel. <a href="../../vulkano/format/trait.AcceptsPixels.html#method.rate">Read more</a></p>
</div></div><h3 id='impl-AcceptsPixels%3C%5Bu32%3B%202%5D%3E' class='impl'><code class='in-band'>impl <a class="trait" href="../../vulkano/format/trait.AcceptsPixels.html" title="trait vulkano::format::AcceptsPixels">AcceptsPixels</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">[</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">; 2]</a>&gt; for <a class="enum" href="../../vulkano/format/enum.Format.html" title="enum vulkano::format::Format">Format</a></code><a href='#impl-AcceptsPixels%3C%5Bu32%3B%202%5D%3E' class='anchor'></a><a class='srclink' href='../../src/vulkano/format.rs.html#756-768' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.ensure_accepts-26' class="method hidden"><code id='ensure_accepts.v-26'>fn <a href='../../vulkano/format/trait.AcceptsPixels.html#tymethod.ensure_accepts' class='fnname'>ensure_accepts</a>(&amp;self) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, <a class="struct" href="../../vulkano/format/struct.IncompatiblePixelsType.html" title="struct vulkano::format::IncompatiblePixelsType">IncompatiblePixelsType</a>&gt;</code><a class='srclink' href='../../src/vulkano/format.rs.html#757-764' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Returns an error if <code>T</code> cannot be used as a source of pixels for <code>Self</code>.</p>
</div><h4 id='method.rate-26' class="method hidden"><code id='rate.v-26'>fn <a href='../../vulkano/format/trait.AcceptsPixels.html#method.rate' class='fnname'>rate</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a></code><a class='srclink' href='../../src/vulkano/format.rs.html#765-767' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>The number of <code>T</code>s which make up a single pixel. <a href="../../vulkano/format/trait.AcceptsPixels.html#method.rate">Read more</a></p>
</div></div><h3 id='impl-AcceptsPixels%3C%5Bi32%3B%202%5D%3E' class='impl'><code class='in-band'>impl <a class="trait" href="../../vulkano/format/trait.AcceptsPixels.html" title="trait vulkano::format::AcceptsPixels">AcceptsPixels</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">[</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">; 2]</a>&gt; for <a class="enum" href="../../vulkano/format/enum.Format.html" title="enum vulkano::format::Format">Format</a></code><a href='#impl-AcceptsPixels%3C%5Bi32%3B%202%5D%3E' class='anchor'></a><a class='srclink' href='../../src/vulkano/format.rs.html#756-768' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.ensure_accepts-27' class="method hidden"><code id='ensure_accepts.v-27'>fn <a href='../../vulkano/format/trait.AcceptsPixels.html#tymethod.ensure_accepts' class='fnname'>ensure_accepts</a>(&amp;self) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, <a class="struct" href="../../vulkano/format/struct.IncompatiblePixelsType.html" title="struct vulkano::format::IncompatiblePixelsType">IncompatiblePixelsType</a>&gt;</code><a class='srclink' href='../../src/vulkano/format.rs.html#757-764' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Returns an error if <code>T</code> cannot be used as a source of pixels for <code>Self</code>.</p>
</div><h4 id='method.rate-27' class="method hidden"><code id='rate.v-27'>fn <a href='../../vulkano/format/trait.AcceptsPixels.html#method.rate' class='fnname'>rate</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a></code><a class='srclink' href='../../src/vulkano/format.rs.html#765-767' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>The number of <code>T</code>s which make up a single pixel. <a href="../../vulkano/format/trait.AcceptsPixels.html#method.rate">Read more</a></p>
</div></div><h3 id='impl-AcceptsPixels%3C%5Bu64%3B%202%5D%3E' class='impl'><code class='in-band'>impl <a class="trait" href="../../vulkano/format/trait.AcceptsPixels.html" title="trait vulkano::format::AcceptsPixels">AcceptsPixels</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">[</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">; 2]</a>&gt; for <a class="enum" href="../../vulkano/format/enum.Format.html" title="enum vulkano::format::Format">Format</a></code><a href='#impl-AcceptsPixels%3C%5Bu64%3B%202%5D%3E' class='anchor'></a><a class='srclink' href='../../src/vulkano/format.rs.html#756-768' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.ensure_accepts-28' class="method hidden"><code id='ensure_accepts.v-28'>fn <a href='../../vulkano/format/trait.AcceptsPixels.html#tymethod.ensure_accepts' class='fnname'>ensure_accepts</a>(&amp;self) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, <a class="struct" href="../../vulkano/format/struct.IncompatiblePixelsType.html" title="struct vulkano::format::IncompatiblePixelsType">IncompatiblePixelsType</a>&gt;</code><a class='srclink' href='../../src/vulkano/format.rs.html#757-764' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Returns an error if <code>T</code> cannot be used as a source of pixels for <code>Self</code>.</p>
</div><h4 id='method.rate-28' class="method hidden"><code id='rate.v-28'>fn <a href='../../vulkano/format/trait.AcceptsPixels.html#method.rate' class='fnname'>rate</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a></code><a class='srclink' href='../../src/vulkano/format.rs.html#765-767' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>The number of <code>T</code>s which make up a single pixel. <a href="../../vulkano/format/trait.AcceptsPixels.html#method.rate">Read more</a></p>
</div></div><h3 id='impl-AcceptsPixels%3C%5Bi64%3B%202%5D%3E' class='impl'><code class='in-band'>impl <a class="trait" href="../../vulkano/format/trait.AcceptsPixels.html" title="trait vulkano::format::AcceptsPixels">AcceptsPixels</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">[</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i64.html">i64</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">; 2]</a>&gt; for <a class="enum" href="../../vulkano/format/enum.Format.html" title="enum vulkano::format::Format">Format</a></code><a href='#impl-AcceptsPixels%3C%5Bi64%3B%202%5D%3E' class='anchor'></a><a class='srclink' href='../../src/vulkano/format.rs.html#756-768' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.ensure_accepts-29' class="method hidden"><code id='ensure_accepts.v-29'>fn <a href='../../vulkano/format/trait.AcceptsPixels.html#tymethod.ensure_accepts' class='fnname'>ensure_accepts</a>(&amp;self) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, <a class="struct" href="../../vulkano/format/struct.IncompatiblePixelsType.html" title="struct vulkano::format::IncompatiblePixelsType">IncompatiblePixelsType</a>&gt;</code><a class='srclink' href='../../src/vulkano/format.rs.html#757-764' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Returns an error if <code>T</code> cannot be used as a source of pixels for <code>Self</code>.</p>
</div><h4 id='method.rate-29' class="method hidden"><code id='rate.v-29'>fn <a href='../../vulkano/format/trait.AcceptsPixels.html#method.rate' class='fnname'>rate</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a></code><a class='srclink' href='../../src/vulkano/format.rs.html#765-767' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>The number of <code>T</code>s which make up a single pixel. <a href="../../vulkano/format/trait.AcceptsPixels.html#method.rate">Read more</a></p>
</div></div><h3 id='impl-AcceptsPixels%3C%5Bf16%3B%202%5D%3E' class='impl'><code class='in-band'>impl <a class="trait" href="../../vulkano/format/trait.AcceptsPixels.html" title="trait vulkano::format::AcceptsPixels">AcceptsPixels</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">[</a><a class="struct" href="../../half/struct.f16.html" title="struct half::f16">f16</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">; 2]</a>&gt; for <a class="enum" href="../../vulkano/format/enum.Format.html" title="enum vulkano::format::Format">Format</a></code><a href='#impl-AcceptsPixels%3C%5Bf16%3B%202%5D%3E' class='anchor'></a><a class='srclink' href='../../src/vulkano/format.rs.html#756-768' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.ensure_accepts-30' class="method hidden"><code id='ensure_accepts.v-30'>fn <a href='../../vulkano/format/trait.AcceptsPixels.html#tymethod.ensure_accepts' class='fnname'>ensure_accepts</a>(&amp;self) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, <a class="struct" href="../../vulkano/format/struct.IncompatiblePixelsType.html" title="struct vulkano::format::IncompatiblePixelsType">IncompatiblePixelsType</a>&gt;</code><a class='srclink' href='../../src/vulkano/format.rs.html#757-764' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Returns an error if <code>T</code> cannot be used as a source of pixels for <code>Self</code>.</p>
</div><h4 id='method.rate-30' class="method hidden"><code id='rate.v-30'>fn <a href='../../vulkano/format/trait.AcceptsPixels.html#method.rate' class='fnname'>rate</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a></code><a class='srclink' href='../../src/vulkano/format.rs.html#765-767' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>The number of <code>T</code>s which make up a single pixel. <a href="../../vulkano/format/trait.AcceptsPixels.html#method.rate">Read more</a></p>
</div></div><h3 id='impl-AcceptsPixels%3C%5Bf32%3B%202%5D%3E' class='impl'><code class='in-band'>impl <a class="trait" href="../../vulkano/format/trait.AcceptsPixels.html" title="trait vulkano::format::AcceptsPixels">AcceptsPixels</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">[</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">; 2]</a>&gt; for <a class="enum" href="../../vulkano/format/enum.Format.html" title="enum vulkano::format::Format">Format</a></code><a href='#impl-AcceptsPixels%3C%5Bf32%3B%202%5D%3E' class='anchor'></a><a class='srclink' href='../../src/vulkano/format.rs.html#756-768' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.ensure_accepts-31' class="method hidden"><code id='ensure_accepts.v-31'>fn <a href='../../vulkano/format/trait.AcceptsPixels.html#tymethod.ensure_accepts' class='fnname'>ensure_accepts</a>(&amp;self) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, <a class="struct" href="../../vulkano/format/struct.IncompatiblePixelsType.html" title="struct vulkano::format::IncompatiblePixelsType">IncompatiblePixelsType</a>&gt;</code><a class='srclink' href='../../src/vulkano/format.rs.html#757-764' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Returns an error if <code>T</code> cannot be used as a source of pixels for <code>Self</code>.</p>
</div><h4 id='method.rate-31' class="method hidden"><code id='rate.v-31'>fn <a href='../../vulkano/format/trait.AcceptsPixels.html#method.rate' class='fnname'>rate</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a></code><a class='srclink' href='../../src/vulkano/format.rs.html#765-767' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>The number of <code>T</code>s which make up a single pixel. <a href="../../vulkano/format/trait.AcceptsPixels.html#method.rate">Read more</a></p>
</div></div><h3 id='impl-AcceptsPixels%3C%5Bf64%3B%202%5D%3E' class='impl'><code class='in-band'>impl <a class="trait" href="../../vulkano/format/trait.AcceptsPixels.html" title="trait vulkano::format::AcceptsPixels">AcceptsPixels</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">[</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">; 2]</a>&gt; for <a class="enum" href="../../vulkano/format/enum.Format.html" title="enum vulkano::format::Format">Format</a></code><a href='#impl-AcceptsPixels%3C%5Bf64%3B%202%5D%3E' class='anchor'></a><a class='srclink' href='../../src/vulkano/format.rs.html#756-768' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.ensure_accepts-32' class="method hidden"><code id='ensure_accepts.v-32'>fn <a href='../../vulkano/format/trait.AcceptsPixels.html#tymethod.ensure_accepts' class='fnname'>ensure_accepts</a>(&amp;self) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, <a class="struct" href="../../vulkano/format/struct.IncompatiblePixelsType.html" title="struct vulkano::format::IncompatiblePixelsType">IncompatiblePixelsType</a>&gt;</code><a class='srclink' href='../../src/vulkano/format.rs.html#757-764' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Returns an error if <code>T</code> cannot be used as a source of pixels for <code>Self</code>.</p>
</div><h4 id='method.rate-32' class="method hidden"><code id='rate.v-32'>fn <a href='../../vulkano/format/trait.AcceptsPixels.html#method.rate' class='fnname'>rate</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a></code><a class='srclink' href='../../src/vulkano/format.rs.html#765-767' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>The number of <code>T</code>s which make up a single pixel. <a href="../../vulkano/format/trait.AcceptsPixels.html#method.rate">Read more</a></p>
</div></div><h3 id='impl-AcceptsPixels%3C%5Bu8%3B%203%5D%3E' class='impl'><code class='in-band'>impl <a class="trait" href="../../vulkano/format/trait.AcceptsPixels.html" title="trait vulkano::format::AcceptsPixels">AcceptsPixels</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">[</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">; 3]</a>&gt; for <a class="enum" href="../../vulkano/format/enum.Format.html" title="enum vulkano::format::Format">Format</a></code><a href='#impl-AcceptsPixels%3C%5Bu8%3B%203%5D%3E' class='anchor'></a><a class='srclink' href='../../src/vulkano/format.rs.html#756-768' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.ensure_accepts-33' class="method hidden"><code id='ensure_accepts.v-33'>fn <a href='../../vulkano/format/trait.AcceptsPixels.html#tymethod.ensure_accepts' class='fnname'>ensure_accepts</a>(&amp;self) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, <a class="struct" href="../../vulkano/format/struct.IncompatiblePixelsType.html" title="struct vulkano::format::IncompatiblePixelsType">IncompatiblePixelsType</a>&gt;</code><a class='srclink' href='../../src/vulkano/format.rs.html#757-764' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Returns an error if <code>T</code> cannot be used as a source of pixels for <code>Self</code>.</p>
</div><h4 id='method.rate-33' class="method hidden"><code id='rate.v-33'>fn <a href='../../vulkano/format/trait.AcceptsPixels.html#method.rate' class='fnname'>rate</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a></code><a class='srclink' href='../../src/vulkano/format.rs.html#765-767' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>The number of <code>T</code>s which make up a single pixel. <a href="../../vulkano/format/trait.AcceptsPixels.html#method.rate">Read more</a></p>
</div></div><h3 id='impl-AcceptsPixels%3C%5Bi8%3B%203%5D%3E' class='impl'><code class='in-band'>impl <a class="trait" href="../../vulkano/format/trait.AcceptsPixels.html" title="trait vulkano::format::AcceptsPixels">AcceptsPixels</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">[</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i8.html">i8</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">; 3]</a>&gt; for <a class="enum" href="../../vulkano/format/enum.Format.html" title="enum vulkano::format::Format">Format</a></code><a href='#impl-AcceptsPixels%3C%5Bi8%3B%203%5D%3E' class='anchor'></a><a class='srclink' href='../../src/vulkano/format.rs.html#756-768' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.ensure_accepts-34' class="method hidden"><code id='ensure_accepts.v-34'>fn <a href='../../vulkano/format/trait.AcceptsPixels.html#tymethod.ensure_accepts' class='fnname'>ensure_accepts</a>(&amp;self) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, <a class="struct" href="../../vulkano/format/struct.IncompatiblePixelsType.html" title="struct vulkano::format::IncompatiblePixelsType">IncompatiblePixelsType</a>&gt;</code><a class='srclink' href='../../src/vulkano/format.rs.html#757-764' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Returns an error if <code>T</code> cannot be used as a source of pixels for <code>Self</code>.</p>
</div><h4 id='method.rate-34' class="method hidden"><code id='rate.v-34'>fn <a href='../../vulkano/format/trait.AcceptsPixels.html#method.rate' class='fnname'>rate</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a></code><a class='srclink' href='../../src/vulkano/format.rs.html#765-767' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>The number of <code>T</code>s which make up a single pixel. <a href="../../vulkano/format/trait.AcceptsPixels.html#method.rate">Read more</a></p>
</div></div><h3 id='impl-AcceptsPixels%3C%5Bu16%3B%203%5D%3E' class='impl'><code class='in-band'>impl <a class="trait" href="../../vulkano/format/trait.AcceptsPixels.html" title="trait vulkano::format::AcceptsPixels">AcceptsPixels</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">[</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u16.html">u16</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">; 3]</a>&gt; for <a class="enum" href="../../vulkano/format/enum.Format.html" title="enum vulkano::format::Format">Format</a></code><a href='#impl-AcceptsPixels%3C%5Bu16%3B%203%5D%3E' class='anchor'></a><a class='srclink' href='../../src/vulkano/format.rs.html#756-768' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.ensure_accepts-35' class="method hidden"><code id='ensure_accepts.v-35'>fn <a href='../../vulkano/format/trait.AcceptsPixels.html#tymethod.ensure_accepts' class='fnname'>ensure_accepts</a>(&amp;self) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, <a class="struct" href="../../vulkano/format/struct.IncompatiblePixelsType.html" title="struct vulkano::format::IncompatiblePixelsType">IncompatiblePixelsType</a>&gt;</code><a class='srclink' href='../../src/vulkano/format.rs.html#757-764' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Returns an error if <code>T</code> cannot be used as a source of pixels for <code>Self</code>.</p>
</div><h4 id='method.rate-35' class="method hidden"><code id='rate.v-35'>fn <a href='../../vulkano/format/trait.AcceptsPixels.html#method.rate' class='fnname'>rate</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a></code><a class='srclink' href='../../src/vulkano/format.rs.html#765-767' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>The number of <code>T</code>s which make up a single pixel. <a href="../../vulkano/format/trait.AcceptsPixels.html#method.rate">Read more</a></p>
</div></div><h3 id='impl-AcceptsPixels%3C%5Bi16%3B%203%5D%3E' class='impl'><code class='in-band'>impl <a class="trait" href="../../vulkano/format/trait.AcceptsPixels.html" title="trait vulkano::format::AcceptsPixels">AcceptsPixels</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">[</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i16.html">i16</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">; 3]</a>&gt; for <a class="enum" href="../../vulkano/format/enum.Format.html" title="enum vulkano::format::Format">Format</a></code><a href='#impl-AcceptsPixels%3C%5Bi16%3B%203%5D%3E' class='anchor'></a><a class='srclink' href='../../src/vulkano/format.rs.html#756-768' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.ensure_accepts-36' class="method hidden"><code id='ensure_accepts.v-36'>fn <a href='../../vulkano/format/trait.AcceptsPixels.html#tymethod.ensure_accepts' class='fnname'>ensure_accepts</a>(&amp;self) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, <a class="struct" href="../../vulkano/format/struct.IncompatiblePixelsType.html" title="struct vulkano::format::IncompatiblePixelsType">IncompatiblePixelsType</a>&gt;</code><a class='srclink' href='../../src/vulkano/format.rs.html#757-764' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Returns an error if <code>T</code> cannot be used as a source of pixels for <code>Self</code>.</p>
</div><h4 id='method.rate-36' class="method hidden"><code id='rate.v-36'>fn <a href='../../vulkano/format/trait.AcceptsPixels.html#method.rate' class='fnname'>rate</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a></code><a class='srclink' href='../../src/vulkano/format.rs.html#765-767' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>The number of <code>T</code>s which make up a single pixel. <a href="../../vulkano/format/trait.AcceptsPixels.html#method.rate">Read more</a></p>
</div></div><h3 id='impl-AcceptsPixels%3C%5Bu32%3B%203%5D%3E' class='impl'><code class='in-band'>impl <a class="trait" href="../../vulkano/format/trait.AcceptsPixels.html" title="trait vulkano::format::AcceptsPixels">AcceptsPixels</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">[</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">; 3]</a>&gt; for <a class="enum" href="../../vulkano/format/enum.Format.html" title="enum vulkano::format::Format">Format</a></code><a href='#impl-AcceptsPixels%3C%5Bu32%3B%203%5D%3E' class='anchor'></a><a class='srclink' href='../../src/vulkano/format.rs.html#756-768' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.ensure_accepts-37' class="method hidden"><code id='ensure_accepts.v-37'>fn <a href='../../vulkano/format/trait.AcceptsPixels.html#tymethod.ensure_accepts' class='fnname'>ensure_accepts</a>(&amp;self) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, <a class="struct" href="../../vulkano/format/struct.IncompatiblePixelsType.html" title="struct vulkano::format::IncompatiblePixelsType">IncompatiblePixelsType</a>&gt;</code><a class='srclink' href='../../src/vulkano/format.rs.html#757-764' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Returns an error if <code>T</code> cannot be used as a source of pixels for <code>Self</code>.</p>
</div><h4 id='method.rate-37' class="method hidden"><code id='rate.v-37'>fn <a href='../../vulkano/format/trait.AcceptsPixels.html#method.rate' class='fnname'>rate</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a></code><a class='srclink' href='../../src/vulkano/format.rs.html#765-767' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>The number of <code>T</code>s which make up a single pixel. <a href="../../vulkano/format/trait.AcceptsPixels.html#method.rate">Read more</a></p>
</div></div><h3 id='impl-AcceptsPixels%3C%5Bi32%3B%203%5D%3E' class='impl'><code class='in-band'>impl <a class="trait" href="../../vulkano/format/trait.AcceptsPixels.html" title="trait vulkano::format::AcceptsPixels">AcceptsPixels</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">[</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">; 3]</a>&gt; for <a class="enum" href="../../vulkano/format/enum.Format.html" title="enum vulkano::format::Format">Format</a></code><a href='#impl-AcceptsPixels%3C%5Bi32%3B%203%5D%3E' class='anchor'></a><a class='srclink' href='../../src/vulkano/format.rs.html#756-768' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.ensure_accepts-38' class="method hidden"><code id='ensure_accepts.v-38'>fn <a href='../../vulkano/format/trait.AcceptsPixels.html#tymethod.ensure_accepts' class='fnname'>ensure_accepts</a>(&amp;self) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, <a class="struct" href="../../vulkano/format/struct.IncompatiblePixelsType.html" title="struct vulkano::format::IncompatiblePixelsType">IncompatiblePixelsType</a>&gt;</code><a class='srclink' href='../../src/vulkano/format.rs.html#757-764' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Returns an error if <code>T</code> cannot be used as a source of pixels for <code>Self</code>.</p>
</div><h4 id='method.rate-38' class="method hidden"><code id='rate.v-38'>fn <a href='../../vulkano/format/trait.AcceptsPixels.html#method.rate' class='fnname'>rate</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a></code><a class='srclink' href='../../src/vulkano/format.rs.html#765-767' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>The number of <code>T</code>s which make up a single pixel. <a href="../../vulkano/format/trait.AcceptsPixels.html#method.rate">Read more</a></p>
</div></div><h3 id='impl-AcceptsPixels%3C%5Bu64%3B%203%5D%3E' class='impl'><code class='in-band'>impl <a class="trait" href="../../vulkano/format/trait.AcceptsPixels.html" title="trait vulkano::format::AcceptsPixels">AcceptsPixels</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">[</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">; 3]</a>&gt; for <a class="enum" href="../../vulkano/format/enum.Format.html" title="enum vulkano::format::Format">Format</a></code><a href='#impl-AcceptsPixels%3C%5Bu64%3B%203%5D%3E' class='anchor'></a><a class='srclink' href='../../src/vulkano/format.rs.html#756-768' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.ensure_accepts-39' class="method hidden"><code id='ensure_accepts.v-39'>fn <a href='../../vulkano/format/trait.AcceptsPixels.html#tymethod.ensure_accepts' class='fnname'>ensure_accepts</a>(&amp;self) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, <a class="struct" href="../../vulkano/format/struct.IncompatiblePixelsType.html" title="struct vulkano::format::IncompatiblePixelsType">IncompatiblePixelsType</a>&gt;</code><a class='srclink' href='../../src/vulkano/format.rs.html#757-764' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Returns an error if <code>T</code> cannot be used as a source of pixels for <code>Self</code>.</p>
</div><h4 id='method.rate-39' class="method hidden"><code id='rate.v-39'>fn <a href='../../vulkano/format/trait.AcceptsPixels.html#method.rate' class='fnname'>rate</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a></code><a class='srclink' href='../../src/vulkano/format.rs.html#765-767' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>The number of <code>T</code>s which make up a single pixel. <a href="../../vulkano/format/trait.AcceptsPixels.html#method.rate">Read more</a></p>
</div></div><h3 id='impl-AcceptsPixels%3C%5Bi64%3B%203%5D%3E' class='impl'><code class='in-band'>impl <a class="trait" href="../../vulkano/format/trait.AcceptsPixels.html" title="trait vulkano::format::AcceptsPixels">AcceptsPixels</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">[</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i64.html">i64</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">; 3]</a>&gt; for <a class="enum" href="../../vulkano/format/enum.Format.html" title="enum vulkano::format::Format">Format</a></code><a href='#impl-AcceptsPixels%3C%5Bi64%3B%203%5D%3E' class='anchor'></a><a class='srclink' href='../../src/vulkano/format.rs.html#756-768' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.ensure_accepts-40' class="method hidden"><code id='ensure_accepts.v-40'>fn <a href='../../vulkano/format/trait.AcceptsPixels.html#tymethod.ensure_accepts' class='fnname'>ensure_accepts</a>(&amp;self) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, <a class="struct" href="../../vulkano/format/struct.IncompatiblePixelsType.html" title="struct vulkano::format::IncompatiblePixelsType">IncompatiblePixelsType</a>&gt;</code><a class='srclink' href='../../src/vulkano/format.rs.html#757-764' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Returns an error if <code>T</code> cannot be used as a source of pixels for <code>Self</code>.</p>
</div><h4 id='method.rate-40' class="method hidden"><code id='rate.v-40'>fn <a href='../../vulkano/format/trait.AcceptsPixels.html#method.rate' class='fnname'>rate</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a></code><a class='srclink' href='../../src/vulkano/format.rs.html#765-767' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>The number of <code>T</code>s which make up a single pixel. <a href="../../vulkano/format/trait.AcceptsPixels.html#method.rate">Read more</a></p>
</div></div><h3 id='impl-AcceptsPixels%3C%5Bf16%3B%203%5D%3E' class='impl'><code class='in-band'>impl <a class="trait" href="../../vulkano/format/trait.AcceptsPixels.html" title="trait vulkano::format::AcceptsPixels">AcceptsPixels</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">[</a><a class="struct" href="../../half/struct.f16.html" title="struct half::f16">f16</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">; 3]</a>&gt; for <a class="enum" href="../../vulkano/format/enum.Format.html" title="enum vulkano::format::Format">Format</a></code><a href='#impl-AcceptsPixels%3C%5Bf16%3B%203%5D%3E' class='anchor'></a><a class='srclink' href='../../src/vulkano/format.rs.html#756-768' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.ensure_accepts-41' class="method hidden"><code id='ensure_accepts.v-41'>fn <a href='../../vulkano/format/trait.AcceptsPixels.html#tymethod.ensure_accepts' class='fnname'>ensure_accepts</a>(&amp;self) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, <a class="struct" href="../../vulkano/format/struct.IncompatiblePixelsType.html" title="struct vulkano::format::IncompatiblePixelsType">IncompatiblePixelsType</a>&gt;</code><a class='srclink' href='../../src/vulkano/format.rs.html#757-764' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Returns an error if <code>T</code> cannot be used as a source of pixels for <code>Self</code>.</p>
</div><h4 id='method.rate-41' class="method hidden"><code id='rate.v-41'>fn <a href='../../vulkano/format/trait.AcceptsPixels.html#method.rate' class='fnname'>rate</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a></code><a class='srclink' href='../../src/vulkano/format.rs.html#765-767' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>The number of <code>T</code>s which make up a single pixel. <a href="../../vulkano/format/trait.AcceptsPixels.html#method.rate">Read more</a></p>
</div></div><h3 id='impl-AcceptsPixels%3C%5Bf32%3B%203%5D%3E' class='impl'><code class='in-band'>impl <a class="trait" href="../../vulkano/format/trait.AcceptsPixels.html" title="trait vulkano::format::AcceptsPixels">AcceptsPixels</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">[</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">; 3]</a>&gt; for <a class="enum" href="../../vulkano/format/enum.Format.html" title="enum vulkano::format::Format">Format</a></code><a href='#impl-AcceptsPixels%3C%5Bf32%3B%203%5D%3E' class='anchor'></a><a class='srclink' href='../../src/vulkano/format.rs.html#756-768' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.ensure_accepts-42' class="method hidden"><code id='ensure_accepts.v-42'>fn <a href='../../vulkano/format/trait.AcceptsPixels.html#tymethod.ensure_accepts' class='fnname'>ensure_accepts</a>(&amp;self) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, <a class="struct" href="../../vulkano/format/struct.IncompatiblePixelsType.html" title="struct vulkano::format::IncompatiblePixelsType">IncompatiblePixelsType</a>&gt;</code><a class='srclink' href='../../src/vulkano/format.rs.html#757-764' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Returns an error if <code>T</code> cannot be used as a source of pixels for <code>Self</code>.</p>
</div><h4 id='method.rate-42' class="method hidden"><code id='rate.v-42'>fn <a href='../../vulkano/format/trait.AcceptsPixels.html#method.rate' class='fnname'>rate</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a></code><a class='srclink' href='../../src/vulkano/format.rs.html#765-767' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>The number of <code>T</code>s which make up a single pixel. <a href="../../vulkano/format/trait.AcceptsPixels.html#method.rate">Read more</a></p>
</div></div><h3 id='impl-AcceptsPixels%3C%5Bf64%3B%203%5D%3E' class='impl'><code class='in-band'>impl <a class="trait" href="../../vulkano/format/trait.AcceptsPixels.html" title="trait vulkano::format::AcceptsPixels">AcceptsPixels</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">[</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">; 3]</a>&gt; for <a class="enum" href="../../vulkano/format/enum.Format.html" title="enum vulkano::format::Format">Format</a></code><a href='#impl-AcceptsPixels%3C%5Bf64%3B%203%5D%3E' class='anchor'></a><a class='srclink' href='../../src/vulkano/format.rs.html#756-768' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.ensure_accepts-43' class="method hidden"><code id='ensure_accepts.v-43'>fn <a href='../../vulkano/format/trait.AcceptsPixels.html#tymethod.ensure_accepts' class='fnname'>ensure_accepts</a>(&amp;self) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, <a class="struct" href="../../vulkano/format/struct.IncompatiblePixelsType.html" title="struct vulkano::format::IncompatiblePixelsType">IncompatiblePixelsType</a>&gt;</code><a class='srclink' href='../../src/vulkano/format.rs.html#757-764' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Returns an error if <code>T</code> cannot be used as a source of pixels for <code>Self</code>.</p>
</div><h4 id='method.rate-43' class="method hidden"><code id='rate.v-43'>fn <a href='../../vulkano/format/trait.AcceptsPixels.html#method.rate' class='fnname'>rate</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a></code><a class='srclink' href='../../src/vulkano/format.rs.html#765-767' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>The number of <code>T</code>s which make up a single pixel. <a href="../../vulkano/format/trait.AcceptsPixels.html#method.rate">Read more</a></p>
</div></div><h3 id='impl-AcceptsPixels%3C%5Bu8%3B%204%5D%3E' class='impl'><code class='in-band'>impl <a class="trait" href="../../vulkano/format/trait.AcceptsPixels.html" title="trait vulkano::format::AcceptsPixels">AcceptsPixels</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">[</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">; 4]</a>&gt; for <a class="enum" href="../../vulkano/format/enum.Format.html" title="enum vulkano::format::Format">Format</a></code><a href='#impl-AcceptsPixels%3C%5Bu8%3B%204%5D%3E' class='anchor'></a><a class='srclink' href='../../src/vulkano/format.rs.html#756-768' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.ensure_accepts-44' class="method hidden"><code id='ensure_accepts.v-44'>fn <a href='../../vulkano/format/trait.AcceptsPixels.html#tymethod.ensure_accepts' class='fnname'>ensure_accepts</a>(&amp;self) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, <a class="struct" href="../../vulkano/format/struct.IncompatiblePixelsType.html" title="struct vulkano::format::IncompatiblePixelsType">IncompatiblePixelsType</a>&gt;</code><a class='srclink' href='../../src/vulkano/format.rs.html#757-764' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Returns an error if <code>T</code> cannot be used as a source of pixels for <code>Self</code>.</p>
</div><h4 id='method.rate-44' class="method hidden"><code id='rate.v-44'>fn <a href='../../vulkano/format/trait.AcceptsPixels.html#method.rate' class='fnname'>rate</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a></code><a class='srclink' href='../../src/vulkano/format.rs.html#765-767' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>The number of <code>T</code>s which make up a single pixel. <a href="../../vulkano/format/trait.AcceptsPixels.html#method.rate">Read more</a></p>
</div></div><h3 id='impl-AcceptsPixels%3C%5Bi8%3B%204%5D%3E' class='impl'><code class='in-band'>impl <a class="trait" href="../../vulkano/format/trait.AcceptsPixels.html" title="trait vulkano::format::AcceptsPixels">AcceptsPixels</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">[</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i8.html">i8</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">; 4]</a>&gt; for <a class="enum" href="../../vulkano/format/enum.Format.html" title="enum vulkano::format::Format">Format</a></code><a href='#impl-AcceptsPixels%3C%5Bi8%3B%204%5D%3E' class='anchor'></a><a class='srclink' href='../../src/vulkano/format.rs.html#756-768' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.ensure_accepts-45' class="method hidden"><code id='ensure_accepts.v-45'>fn <a href='../../vulkano/format/trait.AcceptsPixels.html#tymethod.ensure_accepts' class='fnname'>ensure_accepts</a>(&amp;self) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, <a class="struct" href="../../vulkano/format/struct.IncompatiblePixelsType.html" title="struct vulkano::format::IncompatiblePixelsType">IncompatiblePixelsType</a>&gt;</code><a class='srclink' href='../../src/vulkano/format.rs.html#757-764' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Returns an error if <code>T</code> cannot be used as a source of pixels for <code>Self</code>.</p>
</div><h4 id='method.rate-45' class="method hidden"><code id='rate.v-45'>fn <a href='../../vulkano/format/trait.AcceptsPixels.html#method.rate' class='fnname'>rate</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a></code><a class='srclink' href='../../src/vulkano/format.rs.html#765-767' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>The number of <code>T</code>s which make up a single pixel. <a href="../../vulkano/format/trait.AcceptsPixels.html#method.rate">Read more</a></p>
</div></div><h3 id='impl-AcceptsPixels%3C%5Bu16%3B%204%5D%3E' class='impl'><code class='in-band'>impl <a class="trait" href="../../vulkano/format/trait.AcceptsPixels.html" title="trait vulkano::format::AcceptsPixels">AcceptsPixels</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">[</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u16.html">u16</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">; 4]</a>&gt; for <a class="enum" href="../../vulkano/format/enum.Format.html" title="enum vulkano::format::Format">Format</a></code><a href='#impl-AcceptsPixels%3C%5Bu16%3B%204%5D%3E' class='anchor'></a><a class='srclink' href='../../src/vulkano/format.rs.html#756-768' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.ensure_accepts-46' class="method hidden"><code id='ensure_accepts.v-46'>fn <a href='../../vulkano/format/trait.AcceptsPixels.html#tymethod.ensure_accepts' class='fnname'>ensure_accepts</a>(&amp;self) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, <a class="struct" href="../../vulkano/format/struct.IncompatiblePixelsType.html" title="struct vulkano::format::IncompatiblePixelsType">IncompatiblePixelsType</a>&gt;</code><a class='srclink' href='../../src/vulkano/format.rs.html#757-764' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Returns an error if <code>T</code> cannot be used as a source of pixels for <code>Self</code>.</p>
</div><h4 id='method.rate-46' class="method hidden"><code id='rate.v-46'>fn <a href='../../vulkano/format/trait.AcceptsPixels.html#method.rate' class='fnname'>rate</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a></code><a class='srclink' href='../../src/vulkano/format.rs.html#765-767' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>The number of <code>T</code>s which make up a single pixel. <a href="../../vulkano/format/trait.AcceptsPixels.html#method.rate">Read more</a></p>
</div></div><h3 id='impl-AcceptsPixels%3C%5Bi16%3B%204%5D%3E' class='impl'><code class='in-band'>impl <a class="trait" href="../../vulkano/format/trait.AcceptsPixels.html" title="trait vulkano::format::AcceptsPixels">AcceptsPixels</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">[</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i16.html">i16</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">; 4]</a>&gt; for <a class="enum" href="../../vulkano/format/enum.Format.html" title="enum vulkano::format::Format">Format</a></code><a href='#impl-AcceptsPixels%3C%5Bi16%3B%204%5D%3E' class='anchor'></a><a class='srclink' href='../../src/vulkano/format.rs.html#756-768' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.ensure_accepts-47' class="method hidden"><code id='ensure_accepts.v-47'>fn <a href='../../vulkano/format/trait.AcceptsPixels.html#tymethod.ensure_accepts' class='fnname'>ensure_accepts</a>(&amp;self) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, <a class="struct" href="../../vulkano/format/struct.IncompatiblePixelsType.html" title="struct vulkano::format::IncompatiblePixelsType">IncompatiblePixelsType</a>&gt;</code><a class='srclink' href='../../src/vulkano/format.rs.html#757-764' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Returns an error if <code>T</code> cannot be used as a source of pixels for <code>Self</code>.</p>
</div><h4 id='method.rate-47' class="method hidden"><code id='rate.v-47'>fn <a href='../../vulkano/format/trait.AcceptsPixels.html#method.rate' class='fnname'>rate</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a></code><a class='srclink' href='../../src/vulkano/format.rs.html#765-767' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>The number of <code>T</code>s which make up a single pixel. <a href="../../vulkano/format/trait.AcceptsPixels.html#method.rate">Read more</a></p>
</div></div><h3 id='impl-AcceptsPixels%3C%5Bu32%3B%204%5D%3E' class='impl'><code class='in-band'>impl <a class="trait" href="../../vulkano/format/trait.AcceptsPixels.html" title="trait vulkano::format::AcceptsPixels">AcceptsPixels</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">[</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">; 4]</a>&gt; for <a class="enum" href="../../vulkano/format/enum.Format.html" title="enum vulkano::format::Format">Format</a></code><a href='#impl-AcceptsPixels%3C%5Bu32%3B%204%5D%3E' class='anchor'></a><a class='srclink' href='../../src/vulkano/format.rs.html#756-768' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.ensure_accepts-48' class="method hidden"><code id='ensure_accepts.v-48'>fn <a href='../../vulkano/format/trait.AcceptsPixels.html#tymethod.ensure_accepts' class='fnname'>ensure_accepts</a>(&amp;self) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, <a class="struct" href="../../vulkano/format/struct.IncompatiblePixelsType.html" title="struct vulkano::format::IncompatiblePixelsType">IncompatiblePixelsType</a>&gt;</code><a class='srclink' href='../../src/vulkano/format.rs.html#757-764' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Returns an error if <code>T</code> cannot be used as a source of pixels for <code>Self</code>.</p>
</div><h4 id='method.rate-48' class="method hidden"><code id='rate.v-48'>fn <a href='../../vulkano/format/trait.AcceptsPixels.html#method.rate' class='fnname'>rate</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a></code><a class='srclink' href='../../src/vulkano/format.rs.html#765-767' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>The number of <code>T</code>s which make up a single pixel. <a href="../../vulkano/format/trait.AcceptsPixels.html#method.rate">Read more</a></p>
</div></div><h3 id='impl-AcceptsPixels%3C%5Bi32%3B%204%5D%3E' class='impl'><code class='in-band'>impl <a class="trait" href="../../vulkano/format/trait.AcceptsPixels.html" title="trait vulkano::format::AcceptsPixels">AcceptsPixels</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">[</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">; 4]</a>&gt; for <a class="enum" href="../../vulkano/format/enum.Format.html" title="enum vulkano::format::Format">Format</a></code><a href='#impl-AcceptsPixels%3C%5Bi32%3B%204%5D%3E' class='anchor'></a><a class='srclink' href='../../src/vulkano/format.rs.html#756-768' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.ensure_accepts-49' class="method hidden"><code id='ensure_accepts.v-49'>fn <a href='../../vulkano/format/trait.AcceptsPixels.html#tymethod.ensure_accepts' class='fnname'>ensure_accepts</a>(&amp;self) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, <a class="struct" href="../../vulkano/format/struct.IncompatiblePixelsType.html" title="struct vulkano::format::IncompatiblePixelsType">IncompatiblePixelsType</a>&gt;</code><a class='srclink' href='../../src/vulkano/format.rs.html#757-764' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Returns an error if <code>T</code> cannot be used as a source of pixels for <code>Self</code>.</p>
</div><h4 id='method.rate-49' class="method hidden"><code id='rate.v-49'>fn <a href='../../vulkano/format/trait.AcceptsPixels.html#method.rate' class='fnname'>rate</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a></code><a class='srclink' href='../../src/vulkano/format.rs.html#765-767' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>The number of <code>T</code>s which make up a single pixel. <a href="../../vulkano/format/trait.AcceptsPixels.html#method.rate">Read more</a></p>
</div></div><h3 id='impl-AcceptsPixels%3C%5Bu64%3B%204%5D%3E' class='impl'><code class='in-band'>impl <a class="trait" href="../../vulkano/format/trait.AcceptsPixels.html" title="trait vulkano::format::AcceptsPixels">AcceptsPixels</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">[</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">; 4]</a>&gt; for <a class="enum" href="../../vulkano/format/enum.Format.html" title="enum vulkano::format::Format">Format</a></code><a href='#impl-AcceptsPixels%3C%5Bu64%3B%204%5D%3E' class='anchor'></a><a class='srclink' href='../../src/vulkano/format.rs.html#756-768' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.ensure_accepts-50' class="method hidden"><code id='ensure_accepts.v-50'>fn <a href='../../vulkano/format/trait.AcceptsPixels.html#tymethod.ensure_accepts' class='fnname'>ensure_accepts</a>(&amp;self) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, <a class="struct" href="../../vulkano/format/struct.IncompatiblePixelsType.html" title="struct vulkano::format::IncompatiblePixelsType">IncompatiblePixelsType</a>&gt;</code><a class='srclink' href='../../src/vulkano/format.rs.html#757-764' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Returns an error if <code>T</code> cannot be used as a source of pixels for <code>Self</code>.</p>
</div><h4 id='method.rate-50' class="method hidden"><code id='rate.v-50'>fn <a href='../../vulkano/format/trait.AcceptsPixels.html#method.rate' class='fnname'>rate</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a></code><a class='srclink' href='../../src/vulkano/format.rs.html#765-767' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>The number of <code>T</code>s which make up a single pixel. <a href="../../vulkano/format/trait.AcceptsPixels.html#method.rate">Read more</a></p>
</div></div><h3 id='impl-AcceptsPixels%3C%5Bi64%3B%204%5D%3E' class='impl'><code class='in-band'>impl <a class="trait" href="../../vulkano/format/trait.AcceptsPixels.html" title="trait vulkano::format::AcceptsPixels">AcceptsPixels</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">[</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i64.html">i64</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">; 4]</a>&gt; for <a class="enum" href="../../vulkano/format/enum.Format.html" title="enum vulkano::format::Format">Format</a></code><a href='#impl-AcceptsPixels%3C%5Bi64%3B%204%5D%3E' class='anchor'></a><a class='srclink' href='../../src/vulkano/format.rs.html#756-768' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.ensure_accepts-51' class="method hidden"><code id='ensure_accepts.v-51'>fn <a href='../../vulkano/format/trait.AcceptsPixels.html#tymethod.ensure_accepts' class='fnname'>ensure_accepts</a>(&amp;self) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, <a class="struct" href="../../vulkano/format/struct.IncompatiblePixelsType.html" title="struct vulkano::format::IncompatiblePixelsType">IncompatiblePixelsType</a>&gt;</code><a class='srclink' href='../../src/vulkano/format.rs.html#757-764' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Returns an error if <code>T</code> cannot be used as a source of pixels for <code>Self</code>.</p>
</div><h4 id='method.rate-51' class="method hidden"><code id='rate.v-51'>fn <a href='../../vulkano/format/trait.AcceptsPixels.html#method.rate' class='fnname'>rate</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a></code><a class='srclink' href='../../src/vulkano/format.rs.html#765-767' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>The number of <code>T</code>s which make up a single pixel. <a href="../../vulkano/format/trait.AcceptsPixels.html#method.rate">Read more</a></p>
</div></div><h3 id='impl-AcceptsPixels%3C%5Bf16%3B%204%5D%3E' class='impl'><code class='in-band'>impl <a class="trait" href="../../vulkano/format/trait.AcceptsPixels.html" title="trait vulkano::format::AcceptsPixels">AcceptsPixels</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">[</a><a class="struct" href="../../half/struct.f16.html" title="struct half::f16">f16</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">; 4]</a>&gt; for <a class="enum" href="../../vulkano/format/enum.Format.html" title="enum vulkano::format::Format">Format</a></code><a href='#impl-AcceptsPixels%3C%5Bf16%3B%204%5D%3E' class='anchor'></a><a class='srclink' href='../../src/vulkano/format.rs.html#756-768' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.ensure_accepts-52' class="method hidden"><code id='ensure_accepts.v-52'>fn <a href='../../vulkano/format/trait.AcceptsPixels.html#tymethod.ensure_accepts' class='fnname'>ensure_accepts</a>(&amp;self) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, <a class="struct" href="../../vulkano/format/struct.IncompatiblePixelsType.html" title="struct vulkano::format::IncompatiblePixelsType">IncompatiblePixelsType</a>&gt;</code><a class='srclink' href='../../src/vulkano/format.rs.html#757-764' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Returns an error if <code>T</code> cannot be used as a source of pixels for <code>Self</code>.</p>
</div><h4 id='method.rate-52' class="method hidden"><code id='rate.v-52'>fn <a href='../../vulkano/format/trait.AcceptsPixels.html#method.rate' class='fnname'>rate</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a></code><a class='srclink' href='../../src/vulkano/format.rs.html#765-767' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>The number of <code>T</code>s which make up a single pixel. <a href="../../vulkano/format/trait.AcceptsPixels.html#method.rate">Read more</a></p>
</div></div><h3 id='impl-AcceptsPixels%3C%5Bf32%3B%204%5D%3E' class='impl'><code class='in-band'>impl <a class="trait" href="../../vulkano/format/trait.AcceptsPixels.html" title="trait vulkano::format::AcceptsPixels">AcceptsPixels</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">[</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">; 4]</a>&gt; for <a class="enum" href="../../vulkano/format/enum.Format.html" title="enum vulkano::format::Format">Format</a></code><a href='#impl-AcceptsPixels%3C%5Bf32%3B%204%5D%3E' class='anchor'></a><a class='srclink' href='../../src/vulkano/format.rs.html#756-768' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.ensure_accepts-53' class="method hidden"><code id='ensure_accepts.v-53'>fn <a href='../../vulkano/format/trait.AcceptsPixels.html#tymethod.ensure_accepts' class='fnname'>ensure_accepts</a>(&amp;self) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, <a class="struct" href="../../vulkano/format/struct.IncompatiblePixelsType.html" title="struct vulkano::format::IncompatiblePixelsType">IncompatiblePixelsType</a>&gt;</code><a class='srclink' href='../../src/vulkano/format.rs.html#757-764' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Returns an error if <code>T</code> cannot be used as a source of pixels for <code>Self</code>.</p>
</div><h4 id='method.rate-53' class="method hidden"><code id='rate.v-53'>fn <a href='../../vulkano/format/trait.AcceptsPixels.html#method.rate' class='fnname'>rate</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a></code><a class='srclink' href='../../src/vulkano/format.rs.html#765-767' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>The number of <code>T</code>s which make up a single pixel. <a href="../../vulkano/format/trait.AcceptsPixels.html#method.rate">Read more</a></p>
</div></div><h3 id='impl-AcceptsPixels%3C%5Bf64%3B%204%5D%3E' class='impl'><code class='in-band'>impl <a class="trait" href="../../vulkano/format/trait.AcceptsPixels.html" title="trait vulkano::format::AcceptsPixels">AcceptsPixels</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">[</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">; 4]</a>&gt; for <a class="enum" href="../../vulkano/format/enum.Format.html" title="enum vulkano::format::Format">Format</a></code><a href='#impl-AcceptsPixels%3C%5Bf64%3B%204%5D%3E' class='anchor'></a><a class='srclink' href='../../src/vulkano/format.rs.html#756-768' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.ensure_accepts-54' class="method hidden"><code id='ensure_accepts.v-54'>fn <a href='../../vulkano/format/trait.AcceptsPixels.html#tymethod.ensure_accepts' class='fnname'>ensure_accepts</a>(&amp;self) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, <a class="struct" href="../../vulkano/format/struct.IncompatiblePixelsType.html" title="struct vulkano::format::IncompatiblePixelsType">IncompatiblePixelsType</a>&gt;</code><a class='srclink' href='../../src/vulkano/format.rs.html#757-764' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Returns an error if <code>T</code> cannot be used as a source of pixels for <code>Self</code>.</p>
</div><h4 id='method.rate-54' class="method hidden"><code id='rate.v-54'>fn <a href='../../vulkano/format/trait.AcceptsPixels.html#method.rate' class='fnname'>rate</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a></code><a class='srclink' href='../../src/vulkano/format.rs.html#765-767' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>The number of <code>T</code>s which make up a single pixel. <a href="../../vulkano/format/trait.AcceptsPixels.html#method.rate">Read more</a></p>
</div></div><h3 id='impl-AcceptsPixels%3C(u8%2C)%3E' class='impl'><code class='in-band'>impl <a class="trait" href="../../vulkano/format/trait.AcceptsPixels.html" title="trait vulkano::format::AcceptsPixels">AcceptsPixels</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">(</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">,)</a>&gt; for <a class="enum" href="../../vulkano/format/enum.Format.html" title="enum vulkano::format::Format">Format</a></code><a href='#impl-AcceptsPixels%3C(u8%2C)%3E' class='anchor'></a><a class='srclink' href='../../src/vulkano/format.rs.html#756-768' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.ensure_accepts-55' class="method hidden"><code id='ensure_accepts.v-55'>fn <a href='../../vulkano/format/trait.AcceptsPixels.html#tymethod.ensure_accepts' class='fnname'>ensure_accepts</a>(&amp;self) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, <a class="struct" href="../../vulkano/format/struct.IncompatiblePixelsType.html" title="struct vulkano::format::IncompatiblePixelsType">IncompatiblePixelsType</a>&gt;</code><a class='srclink' href='../../src/vulkano/format.rs.html#757-764' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Returns an error if <code>T</code> cannot be used as a source of pixels for <code>Self</code>.</p>
</div><h4 id='method.rate-55' class="method hidden"><code id='rate.v-55'>fn <a href='../../vulkano/format/trait.AcceptsPixels.html#method.rate' class='fnname'>rate</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a></code><a class='srclink' href='../../src/vulkano/format.rs.html#765-767' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>The number of <code>T</code>s which make up a single pixel. <a href="../../vulkano/format/trait.AcceptsPixels.html#method.rate">Read more</a></p>
</div></div><h3 id='impl-AcceptsPixels%3C(i8%2C)%3E' class='impl'><code class='in-band'>impl <a class="trait" href="../../vulkano/format/trait.AcceptsPixels.html" title="trait vulkano::format::AcceptsPixels">AcceptsPixels</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">(</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i8.html">i8</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">,)</a>&gt; for <a class="enum" href="../../vulkano/format/enum.Format.html" title="enum vulkano::format::Format">Format</a></code><a href='#impl-AcceptsPixels%3C(i8%2C)%3E' class='anchor'></a><a class='srclink' href='../../src/vulkano/format.rs.html#756-768' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.ensure_accepts-56' class="method hidden"><code id='ensure_accepts.v-56'>fn <a href='../../vulkano/format/trait.AcceptsPixels.html#tymethod.ensure_accepts' class='fnname'>ensure_accepts</a>(&amp;self) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, <a class="struct" href="../../vulkano/format/struct.IncompatiblePixelsType.html" title="struct vulkano::format::IncompatiblePixelsType">IncompatiblePixelsType</a>&gt;</code><a class='srclink' href='../../src/vulkano/format.rs.html#757-764' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Returns an error if <code>T</code> cannot be used as a source of pixels for <code>Self</code>.</p>
</div><h4 id='method.rate-56' class="method hidden"><code id='rate.v-56'>fn <a href='../../vulkano/format/trait.AcceptsPixels.html#method.rate' class='fnname'>rate</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a></code><a class='srclink' href='../../src/vulkano/format.rs.html#765-767' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>The number of <code>T</code>s which make up a single pixel. <a href="../../vulkano/format/trait.AcceptsPixels.html#method.rate">Read more</a></p>
</div></div><h3 id='impl-AcceptsPixels%3C(u16%2C)%3E' class='impl'><code class='in-band'>impl <a class="trait" href="../../vulkano/format/trait.AcceptsPixels.html" title="trait vulkano::format::AcceptsPixels">AcceptsPixels</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">(</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u16.html">u16</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">,)</a>&gt; for <a class="enum" href="../../vulkano/format/enum.Format.html" title="enum vulkano::format::Format">Format</a></code><a href='#impl-AcceptsPixels%3C(u16%2C)%3E' class='anchor'></a><a class='srclink' href='../../src/vulkano/format.rs.html#756-768' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.ensure_accepts-57' class="method hidden"><code id='ensure_accepts.v-57'>fn <a href='../../vulkano/format/trait.AcceptsPixels.html#tymethod.ensure_accepts' class='fnname'>ensure_accepts</a>(&amp;self) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, <a class="struct" href="../../vulkano/format/struct.IncompatiblePixelsType.html" title="struct vulkano::format::IncompatiblePixelsType">IncompatiblePixelsType</a>&gt;</code><a class='srclink' href='../../src/vulkano/format.rs.html#757-764' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Returns an error if <code>T</code> cannot be used as a source of pixels for <code>Self</code>.</p>
</div><h4 id='method.rate-57' class="method hidden"><code id='rate.v-57'>fn <a href='../../vulkano/format/trait.AcceptsPixels.html#method.rate' class='fnname'>rate</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a></code><a class='srclink' href='../../src/vulkano/format.rs.html#765-767' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>The number of <code>T</code>s which make up a single pixel. <a href="../../vulkano/format/trait.AcceptsPixels.html#method.rate">Read more</a></p>
</div></div><h3 id='impl-AcceptsPixels%3C(i16%2C)%3E' class='impl'><code class='in-band'>impl <a class="trait" href="../../vulkano/format/trait.AcceptsPixels.html" title="trait vulkano::format::AcceptsPixels">AcceptsPixels</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">(</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i16.html">i16</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">,)</a>&gt; for <a class="enum" href="../../vulkano/format/enum.Format.html" title="enum vulkano::format::Format">Format</a></code><a href='#impl-AcceptsPixels%3C(i16%2C)%3E' class='anchor'></a><a class='srclink' href='../../src/vulkano/format.rs.html#756-768' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.ensure_accepts-58' class="method hidden"><code id='ensure_accepts.v-58'>fn <a href='../../vulkano/format/trait.AcceptsPixels.html#tymethod.ensure_accepts' class='fnname'>ensure_accepts</a>(&amp;self) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, <a class="struct" href="../../vulkano/format/struct.IncompatiblePixelsType.html" title="struct vulkano::format::IncompatiblePixelsType">IncompatiblePixelsType</a>&gt;</code><a class='srclink' href='../../src/vulkano/format.rs.html#757-764' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Returns an error if <code>T</code> cannot be used as a source of pixels for <code>Self</code>.</p>
</div><h4 id='method.rate-58' class="method hidden"><code id='rate.v-58'>fn <a href='../../vulkano/format/trait.AcceptsPixels.html#method.rate' class='fnname'>rate</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a></code><a class='srclink' href='../../src/vulkano/format.rs.html#765-767' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>The number of <code>T</code>s which make up a single pixel. <a href="../../vulkano/format/trait.AcceptsPixels.html#method.rate">Read more</a></p>
</div></div><h3 id='impl-AcceptsPixels%3C(u32%2C)%3E' class='impl'><code class='in-band'>impl <a class="trait" href="../../vulkano/format/trait.AcceptsPixels.html" title="trait vulkano::format::AcceptsPixels">AcceptsPixels</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">(</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">,)</a>&gt; for <a class="enum" href="../../vulkano/format/enum.Format.html" title="enum vulkano::format::Format">Format</a></code><a href='#impl-AcceptsPixels%3C(u32%2C)%3E' class='anchor'></a><a class='srclink' href='../../src/vulkano/format.rs.html#756-768' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.ensure_accepts-59' class="method hidden"><code id='ensure_accepts.v-59'>fn <a href='../../vulkano/format/trait.AcceptsPixels.html#tymethod.ensure_accepts' class='fnname'>ensure_accepts</a>(&amp;self) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, <a class="struct" href="../../vulkano/format/struct.IncompatiblePixelsType.html" title="struct vulkano::format::IncompatiblePixelsType">IncompatiblePixelsType</a>&gt;</code><a class='srclink' href='../../src/vulkano/format.rs.html#757-764' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Returns an error if <code>T</code> cannot be used as a source of pixels for <code>Self</code>.</p>
</div><h4 id='method.rate-59' class="method hidden"><code id='rate.v-59'>fn <a href='../../vulkano/format/trait.AcceptsPixels.html#method.rate' class='fnname'>rate</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a></code><a class='srclink' href='../../src/vulkano/format.rs.html#765-767' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>The number of <code>T</code>s which make up a single pixel. <a href="../../vulkano/format/trait.AcceptsPixels.html#method.rate">Read more</a></p>
</div></div><h3 id='impl-AcceptsPixels%3C(i32%2C)%3E' class='impl'><code class='in-band'>impl <a class="trait" href="../../vulkano/format/trait.AcceptsPixels.html" title="trait vulkano::format::AcceptsPixels">AcceptsPixels</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">(</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">,)</a>&gt; for <a class="enum" href="../../vulkano/format/enum.Format.html" title="enum vulkano::format::Format">Format</a></code><a href='#impl-AcceptsPixels%3C(i32%2C)%3E' class='anchor'></a><a class='srclink' href='../../src/vulkano/format.rs.html#756-768' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.ensure_accepts-60' class="method hidden"><code id='ensure_accepts.v-60'>fn <a href='../../vulkano/format/trait.AcceptsPixels.html#tymethod.ensure_accepts' class='fnname'>ensure_accepts</a>(&amp;self) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, <a class="struct" href="../../vulkano/format/struct.IncompatiblePixelsType.html" title="struct vulkano::format::IncompatiblePixelsType">IncompatiblePixelsType</a>&gt;</code><a class='srclink' href='../../src/vulkano/format.rs.html#757-764' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Returns an error if <code>T</code> cannot be used as a source of pixels for <code>Self</code>.</p>
</div><h4 id='method.rate-60' class="method hidden"><code id='rate.v-60'>fn <a href='../../vulkano/format/trait.AcceptsPixels.html#method.rate' class='fnname'>rate</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a></code><a class='srclink' href='../../src/vulkano/format.rs.html#765-767' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>The number of <code>T</code>s which make up a single pixel. <a href="../../vulkano/format/trait.AcceptsPixels.html#method.rate">Read more</a></p>
</div></div><h3 id='impl-AcceptsPixels%3C(u64%2C)%3E' class='impl'><code class='in-band'>impl <a class="trait" href="../../vulkano/format/trait.AcceptsPixels.html" title="trait vulkano::format::AcceptsPixels">AcceptsPixels</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">(</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">,)</a>&gt; for <a class="enum" href="../../vulkano/format/enum.Format.html" title="enum vulkano::format::Format">Format</a></code><a href='#impl-AcceptsPixels%3C(u64%2C)%3E' class='anchor'></a><a class='srclink' href='../../src/vulkano/format.rs.html#756-768' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.ensure_accepts-61' class="method hidden"><code id='ensure_accepts.v-61'>fn <a href='../../vulkano/format/trait.AcceptsPixels.html#tymethod.ensure_accepts' class='fnname'>ensure_accepts</a>(&amp;self) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, <a class="struct" href="../../vulkano/format/struct.IncompatiblePixelsType.html" title="struct vulkano::format::IncompatiblePixelsType">IncompatiblePixelsType</a>&gt;</code><a class='srclink' href='../../src/vulkano/format.rs.html#757-764' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Returns an error if <code>T</code> cannot be used as a source of pixels for <code>Self</code>.</p>
</div><h4 id='method.rate-61' class="method hidden"><code id='rate.v-61'>fn <a href='../../vulkano/format/trait.AcceptsPixels.html#method.rate' class='fnname'>rate</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a></code><a class='srclink' href='../../src/vulkano/format.rs.html#765-767' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>The number of <code>T</code>s which make up a single pixel. <a href="../../vulkano/format/trait.AcceptsPixels.html#method.rate">Read more</a></p>
</div></div><h3 id='impl-AcceptsPixels%3C(i64%2C)%3E' class='impl'><code class='in-band'>impl <a class="trait" href="../../vulkano/format/trait.AcceptsPixels.html" title="trait vulkano::format::AcceptsPixels">AcceptsPixels</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">(</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i64.html">i64</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">,)</a>&gt; for <a class="enum" href="../../vulkano/format/enum.Format.html" title="enum vulkano::format::Format">Format</a></code><a href='#impl-AcceptsPixels%3C(i64%2C)%3E' class='anchor'></a><a class='srclink' href='../../src/vulkano/format.rs.html#756-768' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.ensure_accepts-62' class="method hidden"><code id='ensure_accepts.v-62'>fn <a href='../../vulkano/format/trait.AcceptsPixels.html#tymethod.ensure_accepts' class='fnname'>ensure_accepts</a>(&amp;self) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, <a class="struct" href="../../vulkano/format/struct.IncompatiblePixelsType.html" title="struct vulkano::format::IncompatiblePixelsType">IncompatiblePixelsType</a>&gt;</code><a class='srclink' href='../../src/vulkano/format.rs.html#757-764' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Returns an error if <code>T</code> cannot be used as a source of pixels for <code>Self</code>.</p>
</div><h4 id='method.rate-62' class="method hidden"><code id='rate.v-62'>fn <a href='../../vulkano/format/trait.AcceptsPixels.html#method.rate' class='fnname'>rate</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a></code><a class='srclink' href='../../src/vulkano/format.rs.html#765-767' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>The number of <code>T</code>s which make up a single pixel. <a href="../../vulkano/format/trait.AcceptsPixels.html#method.rate">Read more</a></p>
</div></div><h3 id='impl-AcceptsPixels%3C(f16%2C)%3E' class='impl'><code class='in-band'>impl <a class="trait" href="../../vulkano/format/trait.AcceptsPixels.html" title="trait vulkano::format::AcceptsPixels">AcceptsPixels</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">(</a><a class="struct" href="../../half/struct.f16.html" title="struct half::f16">f16</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">,)</a>&gt; for <a class="enum" href="../../vulkano/format/enum.Format.html" title="enum vulkano::format::Format">Format</a></code><a href='#impl-AcceptsPixels%3C(f16%2C)%3E' class='anchor'></a><a class='srclink' href='../../src/vulkano/format.rs.html#756-768' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.ensure_accepts-63' class="method hidden"><code id='ensure_accepts.v-63'>fn <a href='../../vulkano/format/trait.AcceptsPixels.html#tymethod.ensure_accepts' class='fnname'>ensure_accepts</a>(&amp;self) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, <a class="struct" href="../../vulkano/format/struct.IncompatiblePixelsType.html" title="struct vulkano::format::IncompatiblePixelsType">IncompatiblePixelsType</a>&gt;</code><a class='srclink' href='../../src/vulkano/format.rs.html#757-764' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Returns an error if <code>T</code> cannot be used as a source of pixels for <code>Self</code>.</p>
</div><h4 id='method.rate-63' class="method hidden"><code id='rate.v-63'>fn <a href='../../vulkano/format/trait.AcceptsPixels.html#method.rate' class='fnname'>rate</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a></code><a class='srclink' href='../../src/vulkano/format.rs.html#765-767' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>The number of <code>T</code>s which make up a single pixel. <a href="../../vulkano/format/trait.AcceptsPixels.html#method.rate">Read more</a></p>
</div></div><h3 id='impl-AcceptsPixels%3C(f32%2C)%3E' class='impl'><code class='in-band'>impl <a class="trait" href="../../vulkano/format/trait.AcceptsPixels.html" title="trait vulkano::format::AcceptsPixels">AcceptsPixels</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">(</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">,)</a>&gt; for <a class="enum" href="../../vulkano/format/enum.Format.html" title="enum vulkano::format::Format">Format</a></code><a href='#impl-AcceptsPixels%3C(f32%2C)%3E' class='anchor'></a><a class='srclink' href='../../src/vulkano/format.rs.html#756-768' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.ensure_accepts-64' class="method hidden"><code id='ensure_accepts.v-64'>fn <a href='../../vulkano/format/trait.AcceptsPixels.html#tymethod.ensure_accepts' class='fnname'>ensure_accepts</a>(&amp;self) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, <a class="struct" href="../../vulkano/format/struct.IncompatiblePixelsType.html" title="struct vulkano::format::IncompatiblePixelsType">IncompatiblePixelsType</a>&gt;</code><a class='srclink' href='../../src/vulkano/format.rs.html#757-764' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Returns an error if <code>T</code> cannot be used as a source of pixels for <code>Self</code>.</p>
</div><h4 id='method.rate-64' class="method hidden"><code id='rate.v-64'>fn <a href='../../vulkano/format/trait.AcceptsPixels.html#method.rate' class='fnname'>rate</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a></code><a class='srclink' href='../../src/vulkano/format.rs.html#765-767' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>The number of <code>T</code>s which make up a single pixel. <a href="../../vulkano/format/trait.AcceptsPixels.html#method.rate">Read more</a></p>
</div></div><h3 id='impl-AcceptsPixels%3C(f64%2C)%3E' class='impl'><code class='in-band'>impl <a class="trait" href="../../vulkano/format/trait.AcceptsPixels.html" title="trait vulkano::format::AcceptsPixels">AcceptsPixels</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">(</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">,)</a>&gt; for <a class="enum" href="../../vulkano/format/enum.Format.html" title="enum vulkano::format::Format">Format</a></code><a href='#impl-AcceptsPixels%3C(f64%2C)%3E' class='anchor'></a><a class='srclink' href='../../src/vulkano/format.rs.html#756-768' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.ensure_accepts-65' class="method hidden"><code id='ensure_accepts.v-65'>fn <a href='../../vulkano/format/trait.AcceptsPixels.html#tymethod.ensure_accepts' class='fnname'>ensure_accepts</a>(&amp;self) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, <a class="struct" href="../../vulkano/format/struct.IncompatiblePixelsType.html" title="struct vulkano::format::IncompatiblePixelsType">IncompatiblePixelsType</a>&gt;</code><a class='srclink' href='../../src/vulkano/format.rs.html#757-764' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Returns an error if <code>T</code> cannot be used as a source of pixels for <code>Self</code>.</p>
</div><h4 id='method.rate-65' class="method hidden"><code id='rate.v-65'>fn <a href='../../vulkano/format/trait.AcceptsPixels.html#method.rate' class='fnname'>rate</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a></code><a class='srclink' href='../../src/vulkano/format.rs.html#765-767' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>The number of <code>T</code>s which make up a single pixel. <a href="../../vulkano/format/trait.AcceptsPixels.html#method.rate">Read more</a></p>
</div></div><h3 id='impl-AcceptsPixels%3C(u8%2C%20u8)%3E' class='impl'><code class='in-band'>impl <a class="trait" href="../../vulkano/format/trait.AcceptsPixels.html" title="trait vulkano::format::AcceptsPixels">AcceptsPixels</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">(</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>, <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">)</a>&gt; for <a class="enum" href="../../vulkano/format/enum.Format.html" title="enum vulkano::format::Format">Format</a></code><a href='#impl-AcceptsPixels%3C(u8%2C%20u8)%3E' class='anchor'></a><a class='srclink' href='../../src/vulkano/format.rs.html#756-768' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.ensure_accepts-66' class="method hidden"><code id='ensure_accepts.v-66'>fn <a href='../../vulkano/format/trait.AcceptsPixels.html#tymethod.ensure_accepts' class='fnname'>ensure_accepts</a>(&amp;self) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, <a class="struct" href="../../vulkano/format/struct.IncompatiblePixelsType.html" title="struct vulkano::format::IncompatiblePixelsType">IncompatiblePixelsType</a>&gt;</code><a class='srclink' href='../../src/vulkano/format.rs.html#757-764' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Returns an error if <code>T</code> cannot be used as a source of pixels for <code>Self</code>.</p>
</div><h4 id='method.rate-66' class="method hidden"><code id='rate.v-66'>fn <a href='../../vulkano/format/trait.AcceptsPixels.html#method.rate' class='fnname'>rate</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a></code><a class='srclink' href='../../src/vulkano/format.rs.html#765-767' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>The number of <code>T</code>s which make up a single pixel. <a href="../../vulkano/format/trait.AcceptsPixels.html#method.rate">Read more</a></p>
</div></div><h3 id='impl-AcceptsPixels%3C(i8%2C%20i8)%3E' class='impl'><code class='in-band'>impl <a class="trait" href="../../vulkano/format/trait.AcceptsPixels.html" title="trait vulkano::format::AcceptsPixels">AcceptsPixels</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">(</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i8.html">i8</a>, <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i8.html">i8</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">)</a>&gt; for <a class="enum" href="../../vulkano/format/enum.Format.html" title="enum vulkano::format::Format">Format</a></code><a href='#impl-AcceptsPixels%3C(i8%2C%20i8)%3E' class='anchor'></a><a class='srclink' href='../../src/vulkano/format.rs.html#756-768' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.ensure_accepts-67' class="method hidden"><code id='ensure_accepts.v-67'>fn <a href='../../vulkano/format/trait.AcceptsPixels.html#tymethod.ensure_accepts' class='fnname'>ensure_accepts</a>(&amp;self) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, <a class="struct" href="../../vulkano/format/struct.IncompatiblePixelsType.html" title="struct vulkano::format::IncompatiblePixelsType">IncompatiblePixelsType</a>&gt;</code><a class='srclink' href='../../src/vulkano/format.rs.html#757-764' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Returns an error if <code>T</code> cannot be used as a source of pixels for <code>Self</code>.</p>
</div><h4 id='method.rate-67' class="method hidden"><code id='rate.v-67'>fn <a href='../../vulkano/format/trait.AcceptsPixels.html#method.rate' class='fnname'>rate</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a></code><a class='srclink' href='../../src/vulkano/format.rs.html#765-767' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>The number of <code>T</code>s which make up a single pixel. <a href="../../vulkano/format/trait.AcceptsPixels.html#method.rate">Read more</a></p>
</div></div><h3 id='impl-AcceptsPixels%3C(u16%2C%20u16)%3E' class='impl'><code class='in-band'>impl <a class="trait" href="../../vulkano/format/trait.AcceptsPixels.html" title="trait vulkano::format::AcceptsPixels">AcceptsPixels</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">(</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u16.html">u16</a>, <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u16.html">u16</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">)</a>&gt; for <a class="enum" href="../../vulkano/format/enum.Format.html" title="enum vulkano::format::Format">Format</a></code><a href='#impl-AcceptsPixels%3C(u16%2C%20u16)%3E' class='anchor'></a><a class='srclink' href='../../src/vulkano/format.rs.html#756-768' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.ensure_accepts-68' class="method hidden"><code id='ensure_accepts.v-68'>fn <a href='../../vulkano/format/trait.AcceptsPixels.html#tymethod.ensure_accepts' class='fnname'>ensure_accepts</a>(&amp;self) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, <a class="struct" href="../../vulkano/format/struct.IncompatiblePixelsType.html" title="struct vulkano::format::IncompatiblePixelsType">IncompatiblePixelsType</a>&gt;</code><a class='srclink' href='../../src/vulkano/format.rs.html#757-764' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Returns an error if <code>T</code> cannot be used as a source of pixels for <code>Self</code>.</p>
</div><h4 id='method.rate-68' class="method hidden"><code id='rate.v-68'>fn <a href='../../vulkano/format/trait.AcceptsPixels.html#method.rate' class='fnname'>rate</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a></code><a class='srclink' href='../../src/vulkano/format.rs.html#765-767' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>The number of <code>T</code>s which make up a single pixel. <a href="../../vulkano/format/trait.AcceptsPixels.html#method.rate">Read more</a></p>
</div></div><h3 id='impl-AcceptsPixels%3C(i16%2C%20i16)%3E' class='impl'><code class='in-band'>impl <a class="trait" href="../../vulkano/format/trait.AcceptsPixels.html" title="trait vulkano::format::AcceptsPixels">AcceptsPixels</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">(</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i16.html">i16</a>, <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i16.html">i16</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">)</a>&gt; for <a class="enum" href="../../vulkano/format/enum.Format.html" title="enum vulkano::format::Format">Format</a></code><a href='#impl-AcceptsPixels%3C(i16%2C%20i16)%3E' class='anchor'></a><a class='srclink' href='../../src/vulkano/format.rs.html#756-768' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.ensure_accepts-69' class="method hidden"><code id='ensure_accepts.v-69'>fn <a href='../../vulkano/format/trait.AcceptsPixels.html#tymethod.ensure_accepts' class='fnname'>ensure_accepts</a>(&amp;self) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, <a class="struct" href="../../vulkano/format/struct.IncompatiblePixelsType.html" title="struct vulkano::format::IncompatiblePixelsType">IncompatiblePixelsType</a>&gt;</code><a class='srclink' href='../../src/vulkano/format.rs.html#757-764' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Returns an error if <code>T</code> cannot be used as a source of pixels for <code>Self</code>.</p>
</div><h4 id='method.rate-69' class="method hidden"><code id='rate.v-69'>fn <a href='../../vulkano/format/trait.AcceptsPixels.html#method.rate' class='fnname'>rate</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a></code><a class='srclink' href='../../src/vulkano/format.rs.html#765-767' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>The number of <code>T</code>s which make up a single pixel. <a href="../../vulkano/format/trait.AcceptsPixels.html#method.rate">Read more</a></p>
</div></div><h3 id='impl-AcceptsPixels%3C(u32%2C%20u32)%3E' class='impl'><code class='in-band'>impl <a class="trait" href="../../vulkano/format/trait.AcceptsPixels.html" title="trait vulkano::format::AcceptsPixels">AcceptsPixels</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">(</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>, <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">)</a>&gt; for <a class="enum" href="../../vulkano/format/enum.Format.html" title="enum vulkano::format::Format">Format</a></code><a href='#impl-AcceptsPixels%3C(u32%2C%20u32)%3E' class='anchor'></a><a class='srclink' href='../../src/vulkano/format.rs.html#756-768' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.ensure_accepts-70' class="method hidden"><code id='ensure_accepts.v-70'>fn <a href='../../vulkano/format/trait.AcceptsPixels.html#tymethod.ensure_accepts' class='fnname'>ensure_accepts</a>(&amp;self) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, <a class="struct" href="../../vulkano/format/struct.IncompatiblePixelsType.html" title="struct vulkano::format::IncompatiblePixelsType">IncompatiblePixelsType</a>&gt;</code><a class='srclink' href='../../src/vulkano/format.rs.html#757-764' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Returns an error if <code>T</code> cannot be used as a source of pixels for <code>Self</code>.</p>
</div><h4 id='method.rate-70' class="method hidden"><code id='rate.v-70'>fn <a href='../../vulkano/format/trait.AcceptsPixels.html#method.rate' class='fnname'>rate</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a></code><a class='srclink' href='../../src/vulkano/format.rs.html#765-767' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>The number of <code>T</code>s which make up a single pixel. <a href="../../vulkano/format/trait.AcceptsPixels.html#method.rate">Read more</a></p>
</div></div><h3 id='impl-AcceptsPixels%3C(i32%2C%20i32)%3E' class='impl'><code class='in-band'>impl <a class="trait" href="../../vulkano/format/trait.AcceptsPixels.html" title="trait vulkano::format::AcceptsPixels">AcceptsPixels</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">(</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>, <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">)</a>&gt; for <a class="enum" href="../../vulkano/format/enum.Format.html" title="enum vulkano::format::Format">Format</a></code><a href='#impl-AcceptsPixels%3C(i32%2C%20i32)%3E' class='anchor'></a><a class='srclink' href='../../src/vulkano/format.rs.html#756-768' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.ensure_accepts-71' class="method hidden"><code id='ensure_accepts.v-71'>fn <a href='../../vulkano/format/trait.AcceptsPixels.html#tymethod.ensure_accepts' class='fnname'>ensure_accepts</a>(&amp;self) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, <a class="struct" href="../../vulkano/format/struct.IncompatiblePixelsType.html" title="struct vulkano::format::IncompatiblePixelsType">IncompatiblePixelsType</a>&gt;</code><a class='srclink' href='../../src/vulkano/format.rs.html#757-764' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Returns an error if <code>T</code> cannot be used as a source of pixels for <code>Self</code>.</p>
</div><h4 id='method.rate-71' class="method hidden"><code id='rate.v-71'>fn <a href='../../vulkano/format/trait.AcceptsPixels.html#method.rate' class='fnname'>rate</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a></code><a class='srclink' href='../../src/vulkano/format.rs.html#765-767' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>The number of <code>T</code>s which make up a single pixel. <a href="../../vulkano/format/trait.AcceptsPixels.html#method.rate">Read more</a></p>
</div></div><h3 id='impl-AcceptsPixels%3C(u64%2C%20u64)%3E' class='impl'><code class='in-band'>impl <a class="trait" href="../../vulkano/format/trait.AcceptsPixels.html" title="trait vulkano::format::AcceptsPixels">AcceptsPixels</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">(</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>, <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">)</a>&gt; for <a class="enum" href="../../vulkano/format/enum.Format.html" title="enum vulkano::format::Format">Format</a></code><a href='#impl-AcceptsPixels%3C(u64%2C%20u64)%3E' class='anchor'></a><a class='srclink' href='../../src/vulkano/format.rs.html#756-768' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.ensure_accepts-72' class="method hidden"><code id='ensure_accepts.v-72'>fn <a href='../../vulkano/format/trait.AcceptsPixels.html#tymethod.ensure_accepts' class='fnname'>ensure_accepts</a>(&amp;self) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, <a class="struct" href="../../vulkano/format/struct.IncompatiblePixelsType.html" title="struct vulkano::format::IncompatiblePixelsType">IncompatiblePixelsType</a>&gt;</code><a class='srclink' href='../../src/vulkano/format.rs.html#757-764' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Returns an error if <code>T</code> cannot be used as a source of pixels for <code>Self</code>.</p>
</div><h4 id='method.rate-72' class="method hidden"><code id='rate.v-72'>fn <a href='../../vulkano/format/trait.AcceptsPixels.html#method.rate' class='fnname'>rate</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a></code><a class='srclink' href='../../src/vulkano/format.rs.html#765-767' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>The number of <code>T</code>s which make up a single pixel. <a href="../../vulkano/format/trait.AcceptsPixels.html#method.rate">Read more</a></p>
</div></div><h3 id='impl-AcceptsPixels%3C(i64%2C%20i64)%3E' class='impl'><code class='in-band'>impl <a class="trait" href="../../vulkano/format/trait.AcceptsPixels.html" title="trait vulkano::format::AcceptsPixels">AcceptsPixels</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">(</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i64.html">i64</a>, <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i64.html">i64</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">)</a>&gt; for <a class="enum" href="../../vulkano/format/enum.Format.html" title="enum vulkano::format::Format">Format</a></code><a href='#impl-AcceptsPixels%3C(i64%2C%20i64)%3E' class='anchor'></a><a class='srclink' href='../../src/vulkano/format.rs.html#756-768' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.ensure_accepts-73' class="method hidden"><code id='ensure_accepts.v-73'>fn <a href='../../vulkano/format/trait.AcceptsPixels.html#tymethod.ensure_accepts' class='fnname'>ensure_accepts</a>(&amp;self) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, <a class="struct" href="../../vulkano/format/struct.IncompatiblePixelsType.html" title="struct vulkano::format::IncompatiblePixelsType">IncompatiblePixelsType</a>&gt;</code><a class='srclink' href='../../src/vulkano/format.rs.html#757-764' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Returns an error if <code>T</code> cannot be used as a source of pixels for <code>Self</code>.</p>
</div><h4 id='method.rate-73' class="method hidden"><code id='rate.v-73'>fn <a href='../../vulkano/format/trait.AcceptsPixels.html#method.rate' class='fnname'>rate</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a></code><a class='srclink' href='../../src/vulkano/format.rs.html#765-767' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>The number of <code>T</code>s which make up a single pixel. <a href="../../vulkano/format/trait.AcceptsPixels.html#method.rate">Read more</a></p>
</div></div><h3 id='impl-AcceptsPixels%3C(f16%2C%20f16)%3E' class='impl'><code class='in-band'>impl <a class="trait" href="../../vulkano/format/trait.AcceptsPixels.html" title="trait vulkano::format::AcceptsPixels">AcceptsPixels</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">(</a><a class="struct" href="../../half/struct.f16.html" title="struct half::f16">f16</a>, <a class="struct" href="../../half/struct.f16.html" title="struct half::f16">f16</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">)</a>&gt; for <a class="enum" href="../../vulkano/format/enum.Format.html" title="enum vulkano::format::Format">Format</a></code><a href='#impl-AcceptsPixels%3C(f16%2C%20f16)%3E' class='anchor'></a><a class='srclink' href='../../src/vulkano/format.rs.html#756-768' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.ensure_accepts-74' class="method hidden"><code id='ensure_accepts.v-74'>fn <a href='../../vulkano/format/trait.AcceptsPixels.html#tymethod.ensure_accepts' class='fnname'>ensure_accepts</a>(&amp;self) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, <a class="struct" href="../../vulkano/format/struct.IncompatiblePixelsType.html" title="struct vulkano::format::IncompatiblePixelsType">IncompatiblePixelsType</a>&gt;</code><a class='srclink' href='../../src/vulkano/format.rs.html#757-764' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Returns an error if <code>T</code> cannot be used as a source of pixels for <code>Self</code>.</p>
</div><h4 id='method.rate-74' class="method hidden"><code id='rate.v-74'>fn <a href='../../vulkano/format/trait.AcceptsPixels.html#method.rate' class='fnname'>rate</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a></code><a class='srclink' href='../../src/vulkano/format.rs.html#765-767' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>The number of <code>T</code>s which make up a single pixel. <a href="../../vulkano/format/trait.AcceptsPixels.html#method.rate">Read more</a></p>
</div></div><h3 id='impl-AcceptsPixels%3C(f32%2C%20f32)%3E' class='impl'><code class='in-band'>impl <a class="trait" href="../../vulkano/format/trait.AcceptsPixels.html" title="trait vulkano::format::AcceptsPixels">AcceptsPixels</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">(</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a>, <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">)</a>&gt; for <a class="enum" href="../../vulkano/format/enum.Format.html" title="enum vulkano::format::Format">Format</a></code><a href='#impl-AcceptsPixels%3C(f32%2C%20f32)%3E' class='anchor'></a><a class='srclink' href='../../src/vulkano/format.rs.html#756-768' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.ensure_accepts-75' class="method hidden"><code id='ensure_accepts.v-75'>fn <a href='../../vulkano/format/trait.AcceptsPixels.html#tymethod.ensure_accepts' class='fnname'>ensure_accepts</a>(&amp;self) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, <a class="struct" href="../../vulkano/format/struct.IncompatiblePixelsType.html" title="struct vulkano::format::IncompatiblePixelsType">IncompatiblePixelsType</a>&gt;</code><a class='srclink' href='../../src/vulkano/format.rs.html#757-764' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Returns an error if <code>T</code> cannot be used as a source of pixels for <code>Self</code>.</p>
</div><h4 id='method.rate-75' class="method hidden"><code id='rate.v-75'>fn <a href='../../vulkano/format/trait.AcceptsPixels.html#method.rate' class='fnname'>rate</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a></code><a class='srclink' href='../../src/vulkano/format.rs.html#765-767' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>The number of <code>T</code>s which make up a single pixel. <a href="../../vulkano/format/trait.AcceptsPixels.html#method.rate">Read more</a></p>
</div></div><h3 id='impl-AcceptsPixels%3C(f64%2C%20f64)%3E' class='impl'><code class='in-band'>impl <a class="trait" href="../../vulkano/format/trait.AcceptsPixels.html" title="trait vulkano::format::AcceptsPixels">AcceptsPixels</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">(</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a>, <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">)</a>&gt; for <a class="enum" href="../../vulkano/format/enum.Format.html" title="enum vulkano::format::Format">Format</a></code><a href='#impl-AcceptsPixels%3C(f64%2C%20f64)%3E' class='anchor'></a><a class='srclink' href='../../src/vulkano/format.rs.html#756-768' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.ensure_accepts-76' class="method hidden"><code id='ensure_accepts.v-76'>fn <a href='../../vulkano/format/trait.AcceptsPixels.html#tymethod.ensure_accepts' class='fnname'>ensure_accepts</a>(&amp;self) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, <a class="struct" href="../../vulkano/format/struct.IncompatiblePixelsType.html" title="struct vulkano::format::IncompatiblePixelsType">IncompatiblePixelsType</a>&gt;</code><a class='srclink' href='../../src/vulkano/format.rs.html#757-764' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Returns an error if <code>T</code> cannot be used as a source of pixels for <code>Self</code>.</p>
</div><h4 id='method.rate-76' class="method hidden"><code id='rate.v-76'>fn <a href='../../vulkano/format/trait.AcceptsPixels.html#method.rate' class='fnname'>rate</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a></code><a class='srclink' href='../../src/vulkano/format.rs.html#765-767' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>The number of <code>T</code>s which make up a single pixel. <a href="../../vulkano/format/trait.AcceptsPixels.html#method.rate">Read more</a></p>
</div></div><h3 id='impl-AcceptsPixels%3C(u8%2C%20u8%2C%20u8)%3E' class='impl'><code class='in-band'>impl <a class="trait" href="../../vulkano/format/trait.AcceptsPixels.html" title="trait vulkano::format::AcceptsPixels">AcceptsPixels</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">(</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>, <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>, <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">)</a>&gt; for <a class="enum" href="../../vulkano/format/enum.Format.html" title="enum vulkano::format::Format">Format</a></code><a href='#impl-AcceptsPixels%3C(u8%2C%20u8%2C%20u8)%3E' class='anchor'></a><a class='srclink' href='../../src/vulkano/format.rs.html#756-768' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.ensure_accepts-77' class="method hidden"><code id='ensure_accepts.v-77'>fn <a href='../../vulkano/format/trait.AcceptsPixels.html#tymethod.ensure_accepts' class='fnname'>ensure_accepts</a>(&amp;self) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, <a class="struct" href="../../vulkano/format/struct.IncompatiblePixelsType.html" title="struct vulkano::format::IncompatiblePixelsType">IncompatiblePixelsType</a>&gt;</code><a class='srclink' href='../../src/vulkano/format.rs.html#757-764' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Returns an error if <code>T</code> cannot be used as a source of pixels for <code>Self</code>.</p>
</div><h4 id='method.rate-77' class="method hidden"><code id='rate.v-77'>fn <a href='../../vulkano/format/trait.AcceptsPixels.html#method.rate' class='fnname'>rate</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a></code><a class='srclink' href='../../src/vulkano/format.rs.html#765-767' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>The number of <code>T</code>s which make up a single pixel. <a href="../../vulkano/format/trait.AcceptsPixels.html#method.rate">Read more</a></p>
</div></div><h3 id='impl-AcceptsPixels%3C(i8%2C%20i8%2C%20i8)%3E' class='impl'><code class='in-band'>impl <a class="trait" href="../../vulkano/format/trait.AcceptsPixels.html" title="trait vulkano::format::AcceptsPixels">AcceptsPixels</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">(</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i8.html">i8</a>, <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i8.html">i8</a>, <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i8.html">i8</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">)</a>&gt; for <a class="enum" href="../../vulkano/format/enum.Format.html" title="enum vulkano::format::Format">Format</a></code><a href='#impl-AcceptsPixels%3C(i8%2C%20i8%2C%20i8)%3E' class='anchor'></a><a class='srclink' href='../../src/vulkano/format.rs.html#756-768' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.ensure_accepts-78' class="method hidden"><code id='ensure_accepts.v-78'>fn <a href='../../vulkano/format/trait.AcceptsPixels.html#tymethod.ensure_accepts' class='fnname'>ensure_accepts</a>(&amp;self) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, <a class="struct" href="../../vulkano/format/struct.IncompatiblePixelsType.html" title="struct vulkano::format::IncompatiblePixelsType">IncompatiblePixelsType</a>&gt;</code><a class='srclink' href='../../src/vulkano/format.rs.html#757-764' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Returns an error if <code>T</code> cannot be used as a source of pixels for <code>Self</code>.</p>
</div><h4 id='method.rate-78' class="method hidden"><code id='rate.v-78'>fn <a href='../../vulkano/format/trait.AcceptsPixels.html#method.rate' class='fnname'>rate</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a></code><a class='srclink' href='../../src/vulkano/format.rs.html#765-767' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>The number of <code>T</code>s which make up a single pixel. <a href="../../vulkano/format/trait.AcceptsPixels.html#method.rate">Read more</a></p>
</div></div><h3 id='impl-AcceptsPixels%3C(u16%2C%20u16%2C%20u16)%3E' class='impl'><code class='in-band'>impl <a class="trait" href="../../vulkano/format/trait.AcceptsPixels.html" title="trait vulkano::format::AcceptsPixels">AcceptsPixels</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">(</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u16.html">u16</a>, <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u16.html">u16</a>, <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u16.html">u16</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">)</a>&gt; for <a class="enum" href="../../vulkano/format/enum.Format.html" title="enum vulkano::format::Format">Format</a></code><a href='#impl-AcceptsPixels%3C(u16%2C%20u16%2C%20u16)%3E' class='anchor'></a><a class='srclink' href='../../src/vulkano/format.rs.html#756-768' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.ensure_accepts-79' class="method hidden"><code id='ensure_accepts.v-79'>fn <a href='../../vulkano/format/trait.AcceptsPixels.html#tymethod.ensure_accepts' class='fnname'>ensure_accepts</a>(&amp;self) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, <a class="struct" href="../../vulkano/format/struct.IncompatiblePixelsType.html" title="struct vulkano::format::IncompatiblePixelsType">IncompatiblePixelsType</a>&gt;</code><a class='srclink' href='../../src/vulkano/format.rs.html#757-764' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Returns an error if <code>T</code> cannot be used as a source of pixels for <code>Self</code>.</p>
</div><h4 id='method.rate-79' class="method hidden"><code id='rate.v-79'>fn <a href='../../vulkano/format/trait.AcceptsPixels.html#method.rate' class='fnname'>rate</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a></code><a class='srclink' href='../../src/vulkano/format.rs.html#765-767' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>The number of <code>T</code>s which make up a single pixel. <a href="../../vulkano/format/trait.AcceptsPixels.html#method.rate">Read more</a></p>
</div></div><h3 id='impl-AcceptsPixels%3C(i16%2C%20i16%2C%20i16)%3E' class='impl'><code class='in-band'>impl <a class="trait" href="../../vulkano/format/trait.AcceptsPixels.html" title="trait vulkano::format::AcceptsPixels">AcceptsPixels</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">(</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i16.html">i16</a>, <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i16.html">i16</a>, <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i16.html">i16</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">)</a>&gt; for <a class="enum" href="../../vulkano/format/enum.Format.html" title="enum vulkano::format::Format">Format</a></code><a href='#impl-AcceptsPixels%3C(i16%2C%20i16%2C%20i16)%3E' class='anchor'></a><a class='srclink' href='../../src/vulkano/format.rs.html#756-768' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.ensure_accepts-80' class="method hidden"><code id='ensure_accepts.v-80'>fn <a href='../../vulkano/format/trait.AcceptsPixels.html#tymethod.ensure_accepts' class='fnname'>ensure_accepts</a>(&amp;self) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, <a class="struct" href="../../vulkano/format/struct.IncompatiblePixelsType.html" title="struct vulkano::format::IncompatiblePixelsType">IncompatiblePixelsType</a>&gt;</code><a class='srclink' href='../../src/vulkano/format.rs.html#757-764' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Returns an error if <code>T</code> cannot be used as a source of pixels for <code>Self</code>.</p>
</div><h4 id='method.rate-80' class="method hidden"><code id='rate.v-80'>fn <a href='../../vulkano/format/trait.AcceptsPixels.html#method.rate' class='fnname'>rate</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a></code><a class='srclink' href='../../src/vulkano/format.rs.html#765-767' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>The number of <code>T</code>s which make up a single pixel. <a href="../../vulkano/format/trait.AcceptsPixels.html#method.rate">Read more</a></p>
</div></div><h3 id='impl-AcceptsPixels%3C(u32%2C%20u32%2C%20u32)%3E' class='impl'><code class='in-band'>impl <a class="trait" href="../../vulkano/format/trait.AcceptsPixels.html" title="trait vulkano::format::AcceptsPixels">AcceptsPixels</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">(</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>, <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>, <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">)</a>&gt; for <a class="enum" href="../../vulkano/format/enum.Format.html" title="enum vulkano::format::Format">Format</a></code><a href='#impl-AcceptsPixels%3C(u32%2C%20u32%2C%20u32)%3E' class='anchor'></a><a class='srclink' href='../../src/vulkano/format.rs.html#756-768' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.ensure_accepts-81' class="method hidden"><code id='ensure_accepts.v-81'>fn <a href='../../vulkano/format/trait.AcceptsPixels.html#tymethod.ensure_accepts' class='fnname'>ensure_accepts</a>(&amp;self) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, <a class="struct" href="../../vulkano/format/struct.IncompatiblePixelsType.html" title="struct vulkano::format::IncompatiblePixelsType">IncompatiblePixelsType</a>&gt;</code><a class='srclink' href='../../src/vulkano/format.rs.html#757-764' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Returns an error if <code>T</code> cannot be used as a source of pixels for <code>Self</code>.</p>
</div><h4 id='method.rate-81' class="method hidden"><code id='rate.v-81'>fn <a href='../../vulkano/format/trait.AcceptsPixels.html#method.rate' class='fnname'>rate</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a></code><a class='srclink' href='../../src/vulkano/format.rs.html#765-767' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>The number of <code>T</code>s which make up a single pixel. <a href="../../vulkano/format/trait.AcceptsPixels.html#method.rate">Read more</a></p>
</div></div><h3 id='impl-AcceptsPixels%3C(i32%2C%20i32%2C%20i32)%3E' class='impl'><code class='in-band'>impl <a class="trait" href="../../vulkano/format/trait.AcceptsPixels.html" title="trait vulkano::format::AcceptsPixels">AcceptsPixels</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">(</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>, <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>, <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">)</a>&gt; for <a class="enum" href="../../vulkano/format/enum.Format.html" title="enum vulkano::format::Format">Format</a></code><a href='#impl-AcceptsPixels%3C(i32%2C%20i32%2C%20i32)%3E' class='anchor'></a><a class='srclink' href='../../src/vulkano/format.rs.html#756-768' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.ensure_accepts-82' class="method hidden"><code id='ensure_accepts.v-82'>fn <a href='../../vulkano/format/trait.AcceptsPixels.html#tymethod.ensure_accepts' class='fnname'>ensure_accepts</a>(&amp;self) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, <a class="struct" href="../../vulkano/format/struct.IncompatiblePixelsType.html" title="struct vulkano::format::IncompatiblePixelsType">IncompatiblePixelsType</a>&gt;</code><a class='srclink' href='../../src/vulkano/format.rs.html#757-764' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Returns an error if <code>T</code> cannot be used as a source of pixels for <code>Self</code>.</p>
</div><h4 id='method.rate-82' class="method hidden"><code id='rate.v-82'>fn <a href='../../vulkano/format/trait.AcceptsPixels.html#method.rate' class='fnname'>rate</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a></code><a class='srclink' href='../../src/vulkano/format.rs.html#765-767' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>The number of <code>T</code>s which make up a single pixel. <a href="../../vulkano/format/trait.AcceptsPixels.html#method.rate">Read more</a></p>
</div></div><h3 id='impl-AcceptsPixels%3C(u64%2C%20u64%2C%20u64)%3E' class='impl'><code class='in-band'>impl <a class="trait" href="../../vulkano/format/trait.AcceptsPixels.html" title="trait vulkano::format::AcceptsPixels">AcceptsPixels</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">(</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>, <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>, <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">)</a>&gt; for <a class="enum" href="../../vulkano/format/enum.Format.html" title="enum vulkano::format::Format">Format</a></code><a href='#impl-AcceptsPixels%3C(u64%2C%20u64%2C%20u64)%3E' class='anchor'></a><a class='srclink' href='../../src/vulkano/format.rs.html#756-768' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.ensure_accepts-83' class="method hidden"><code id='ensure_accepts.v-83'>fn <a href='../../vulkano/format/trait.AcceptsPixels.html#tymethod.ensure_accepts' class='fnname'>ensure_accepts</a>(&amp;self) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, <a class="struct" href="../../vulkano/format/struct.IncompatiblePixelsType.html" title="struct vulkano::format::IncompatiblePixelsType">IncompatiblePixelsType</a>&gt;</code><a class='srclink' href='../../src/vulkano/format.rs.html#757-764' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Returns an error if <code>T</code> cannot be used as a source of pixels for <code>Self</code>.</p>
</div><h4 id='method.rate-83' class="method hidden"><code id='rate.v-83'>fn <a href='../../vulkano/format/trait.AcceptsPixels.html#method.rate' class='fnname'>rate</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a></code><a class='srclink' href='../../src/vulkano/format.rs.html#765-767' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>The number of <code>T</code>s which make up a single pixel. <a href="../../vulkano/format/trait.AcceptsPixels.html#method.rate">Read more</a></p>
</div></div><h3 id='impl-AcceptsPixels%3C(i64%2C%20i64%2C%20i64)%3E' class='impl'><code class='in-band'>impl <a class="trait" href="../../vulkano/format/trait.AcceptsPixels.html" title="trait vulkano::format::AcceptsPixels">AcceptsPixels</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">(</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i64.html">i64</a>, <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i64.html">i64</a>, <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i64.html">i64</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">)</a>&gt; for <a class="enum" href="../../vulkano/format/enum.Format.html" title="enum vulkano::format::Format">Format</a></code><a href='#impl-AcceptsPixels%3C(i64%2C%20i64%2C%20i64)%3E' class='anchor'></a><a class='srclink' href='../../src/vulkano/format.rs.html#756-768' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.ensure_accepts-84' class="method hidden"><code id='ensure_accepts.v-84'>fn <a href='../../vulkano/format/trait.AcceptsPixels.html#tymethod.ensure_accepts' class='fnname'>ensure_accepts</a>(&amp;self) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, <a class="struct" href="../../vulkano/format/struct.IncompatiblePixelsType.html" title="struct vulkano::format::IncompatiblePixelsType">IncompatiblePixelsType</a>&gt;</code><a class='srclink' href='../../src/vulkano/format.rs.html#757-764' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Returns an error if <code>T</code> cannot be used as a source of pixels for <code>Self</code>.</p>
</div><h4 id='method.rate-84' class="method hidden"><code id='rate.v-84'>fn <a href='../../vulkano/format/trait.AcceptsPixels.html#method.rate' class='fnname'>rate</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a></code><a class='srclink' href='../../src/vulkano/format.rs.html#765-767' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>The number of <code>T</code>s which make up a single pixel. <a href="../../vulkano/format/trait.AcceptsPixels.html#method.rate">Read more</a></p>
</div></div><h3 id='impl-AcceptsPixels%3C(f16%2C%20f16%2C%20f16)%3E' class='impl'><code class='in-band'>impl <a class="trait" href="../../vulkano/format/trait.AcceptsPixels.html" title="trait vulkano::format::AcceptsPixels">AcceptsPixels</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">(</a><a class="struct" href="../../half/struct.f16.html" title="struct half::f16">f16</a>, <a class="struct" href="../../half/struct.f16.html" title="struct half::f16">f16</a>, <a class="struct" href="../../half/struct.f16.html" title="struct half::f16">f16</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">)</a>&gt; for <a class="enum" href="../../vulkano/format/enum.Format.html" title="enum vulkano::format::Format">Format</a></code><a href='#impl-AcceptsPixels%3C(f16%2C%20f16%2C%20f16)%3E' class='anchor'></a><a class='srclink' href='../../src/vulkano/format.rs.html#756-768' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.ensure_accepts-85' class="method hidden"><code id='ensure_accepts.v-85'>fn <a href='../../vulkano/format/trait.AcceptsPixels.html#tymethod.ensure_accepts' class='fnname'>ensure_accepts</a>(&amp;self) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, <a class="struct" href="../../vulkano/format/struct.IncompatiblePixelsType.html" title="struct vulkano::format::IncompatiblePixelsType">IncompatiblePixelsType</a>&gt;</code><a class='srclink' href='../../src/vulkano/format.rs.html#757-764' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Returns an error if <code>T</code> cannot be used as a source of pixels for <code>Self</code>.</p>
</div><h4 id='method.rate-85' class="method hidden"><code id='rate.v-85'>fn <a href='../../vulkano/format/trait.AcceptsPixels.html#method.rate' class='fnname'>rate</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a></code><a class='srclink' href='../../src/vulkano/format.rs.html#765-767' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>The number of <code>T</code>s which make up a single pixel. <a href="../../vulkano/format/trait.AcceptsPixels.html#method.rate">Read more</a></p>
</div></div><h3 id='impl-AcceptsPixels%3C(f32%2C%20f32%2C%20f32)%3E' class='impl'><code class='in-band'>impl <a class="trait" href="../../vulkano/format/trait.AcceptsPixels.html" title="trait vulkano::format::AcceptsPixels">AcceptsPixels</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">(</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a>, <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a>, <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">)</a>&gt; for <a class="enum" href="../../vulkano/format/enum.Format.html" title="enum vulkano::format::Format">Format</a></code><a href='#impl-AcceptsPixels%3C(f32%2C%20f32%2C%20f32)%3E' class='anchor'></a><a class='srclink' href='../../src/vulkano/format.rs.html#756-768' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.ensure_accepts-86' class="method hidden"><code id='ensure_accepts.v-86'>fn <a href='../../vulkano/format/trait.AcceptsPixels.html#tymethod.ensure_accepts' class='fnname'>ensure_accepts</a>(&amp;self) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, <a class="struct" href="../../vulkano/format/struct.IncompatiblePixelsType.html" title="struct vulkano::format::IncompatiblePixelsType">IncompatiblePixelsType</a>&gt;</code><a class='srclink' href='../../src/vulkano/format.rs.html#757-764' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Returns an error if <code>T</code> cannot be used as a source of pixels for <code>Self</code>.</p>
</div><h4 id='method.rate-86' class="method hidden"><code id='rate.v-86'>fn <a href='../../vulkano/format/trait.AcceptsPixels.html#method.rate' class='fnname'>rate</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a></code><a class='srclink' href='../../src/vulkano/format.rs.html#765-767' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>The number of <code>T</code>s which make up a single pixel. <a href="../../vulkano/format/trait.AcceptsPixels.html#method.rate">Read more</a></p>
</div></div><h3 id='impl-AcceptsPixels%3C(f64%2C%20f64%2C%20f64)%3E' class='impl'><code class='in-band'>impl <a class="trait" href="../../vulkano/format/trait.AcceptsPixels.html" title="trait vulkano::format::AcceptsPixels">AcceptsPixels</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">(</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a>, <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a>, <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">)</a>&gt; for <a class="enum" href="../../vulkano/format/enum.Format.html" title="enum vulkano::format::Format">Format</a></code><a href='#impl-AcceptsPixels%3C(f64%2C%20f64%2C%20f64)%3E' class='anchor'></a><a class='srclink' href='../../src/vulkano/format.rs.html#756-768' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.ensure_accepts-87' class="method hidden"><code id='ensure_accepts.v-87'>fn <a href='../../vulkano/format/trait.AcceptsPixels.html#tymethod.ensure_accepts' class='fnname'>ensure_accepts</a>(&amp;self) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, <a class="struct" href="../../vulkano/format/struct.IncompatiblePixelsType.html" title="struct vulkano::format::IncompatiblePixelsType">IncompatiblePixelsType</a>&gt;</code><a class='srclink' href='../../src/vulkano/format.rs.html#757-764' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Returns an error if <code>T</code> cannot be used as a source of pixels for <code>Self</code>.</p>
</div><h4 id='method.rate-87' class="method hidden"><code id='rate.v-87'>fn <a href='../../vulkano/format/trait.AcceptsPixels.html#method.rate' class='fnname'>rate</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a></code><a class='srclink' href='../../src/vulkano/format.rs.html#765-767' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>The number of <code>T</code>s which make up a single pixel. <a href="../../vulkano/format/trait.AcceptsPixels.html#method.rate">Read more</a></p>
</div></div><h3 id='impl-AcceptsPixels%3C(u8%2C%20u8%2C%20u8%2C%20u8)%3E' class='impl'><code class='in-band'>impl <a class="trait" href="../../vulkano/format/trait.AcceptsPixels.html" title="trait vulkano::format::AcceptsPixels">AcceptsPixels</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">(</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>, <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>, <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>, <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">)</a>&gt; for <a class="enum" href="../../vulkano/format/enum.Format.html" title="enum vulkano::format::Format">Format</a></code><a href='#impl-AcceptsPixels%3C(u8%2C%20u8%2C%20u8%2C%20u8)%3E' class='anchor'></a><a class='srclink' href='../../src/vulkano/format.rs.html#756-768' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.ensure_accepts-88' class="method hidden"><code id='ensure_accepts.v-88'>fn <a href='../../vulkano/format/trait.AcceptsPixels.html#tymethod.ensure_accepts' class='fnname'>ensure_accepts</a>(&amp;self) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, <a class="struct" href="../../vulkano/format/struct.IncompatiblePixelsType.html" title="struct vulkano::format::IncompatiblePixelsType">IncompatiblePixelsType</a>&gt;</code><a class='srclink' href='../../src/vulkano/format.rs.html#757-764' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Returns an error if <code>T</code> cannot be used as a source of pixels for <code>Self</code>.</p>
</div><h4 id='method.rate-88' class="method hidden"><code id='rate.v-88'>fn <a href='../../vulkano/format/trait.AcceptsPixels.html#method.rate' class='fnname'>rate</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a></code><a class='srclink' href='../../src/vulkano/format.rs.html#765-767' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>The number of <code>T</code>s which make up a single pixel. <a href="../../vulkano/format/trait.AcceptsPixels.html#method.rate">Read more</a></p>
</div></div><h3 id='impl-AcceptsPixels%3C(i8%2C%20i8%2C%20i8%2C%20i8)%3E' class='impl'><code class='in-band'>impl <a class="trait" href="../../vulkano/format/trait.AcceptsPixels.html" title="trait vulkano::format::AcceptsPixels">AcceptsPixels</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">(</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i8.html">i8</a>, <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i8.html">i8</a>, <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i8.html">i8</a>, <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i8.html">i8</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">)</a>&gt; for <a class="enum" href="../../vulkano/format/enum.Format.html" title="enum vulkano::format::Format">Format</a></code><a href='#impl-AcceptsPixels%3C(i8%2C%20i8%2C%20i8%2C%20i8)%3E' class='anchor'></a><a class='srclink' href='../../src/vulkano/format.rs.html#756-768' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.ensure_accepts-89' class="method hidden"><code id='ensure_accepts.v-89'>fn <a href='../../vulkano/format/trait.AcceptsPixels.html#tymethod.ensure_accepts' class='fnname'>ensure_accepts</a>(&amp;self) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, <a class="struct" href="../../vulkano/format/struct.IncompatiblePixelsType.html" title="struct vulkano::format::IncompatiblePixelsType">IncompatiblePixelsType</a>&gt;</code><a class='srclink' href='../../src/vulkano/format.rs.html#757-764' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Returns an error if <code>T</code> cannot be used as a source of pixels for <code>Self</code>.</p>
</div><h4 id='method.rate-89' class="method hidden"><code id='rate.v-89'>fn <a href='../../vulkano/format/trait.AcceptsPixels.html#method.rate' class='fnname'>rate</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a></code><a class='srclink' href='../../src/vulkano/format.rs.html#765-767' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>The number of <code>T</code>s which make up a single pixel. <a href="../../vulkano/format/trait.AcceptsPixels.html#method.rate">Read more</a></p>
</div></div><h3 id='impl-AcceptsPixels%3C(u16%2C%20u16%2C%20u16%2C%20u16)%3E' class='impl'><code class='in-band'>impl <a class="trait" href="../../vulkano/format/trait.AcceptsPixels.html" title="trait vulkano::format::AcceptsPixels">AcceptsPixels</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">(</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u16.html">u16</a>, <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u16.html">u16</a>, <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u16.html">u16</a>, <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u16.html">u16</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">)</a>&gt; for <a class="enum" href="../../vulkano/format/enum.Format.html" title="enum vulkano::format::Format">Format</a></code><a href='#impl-AcceptsPixels%3C(u16%2C%20u16%2C%20u16%2C%20u16)%3E' class='anchor'></a><a class='srclink' href='../../src/vulkano/format.rs.html#756-768' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.ensure_accepts-90' class="method hidden"><code id='ensure_accepts.v-90'>fn <a href='../../vulkano/format/trait.AcceptsPixels.html#tymethod.ensure_accepts' class='fnname'>ensure_accepts</a>(&amp;self) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, <a class="struct" href="../../vulkano/format/struct.IncompatiblePixelsType.html" title="struct vulkano::format::IncompatiblePixelsType">IncompatiblePixelsType</a>&gt;</code><a class='srclink' href='../../src/vulkano/format.rs.html#757-764' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Returns an error if <code>T</code> cannot be used as a source of pixels for <code>Self</code>.</p>
</div><h4 id='method.rate-90' class="method hidden"><code id='rate.v-90'>fn <a href='../../vulkano/format/trait.AcceptsPixels.html#method.rate' class='fnname'>rate</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a></code><a class='srclink' href='../../src/vulkano/format.rs.html#765-767' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>The number of <code>T</code>s which make up a single pixel. <a href="../../vulkano/format/trait.AcceptsPixels.html#method.rate">Read more</a></p>
</div></div><h3 id='impl-AcceptsPixels%3C(i16%2C%20i16%2C%20i16%2C%20i16)%3E' class='impl'><code class='in-band'>impl <a class="trait" href="../../vulkano/format/trait.AcceptsPixels.html" title="trait vulkano::format::AcceptsPixels">AcceptsPixels</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">(</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i16.html">i16</a>, <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i16.html">i16</a>, <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i16.html">i16</a>, <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i16.html">i16</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">)</a>&gt; for <a class="enum" href="../../vulkano/format/enum.Format.html" title="enum vulkano::format::Format">Format</a></code><a href='#impl-AcceptsPixels%3C(i16%2C%20i16%2C%20i16%2C%20i16)%3E' class='anchor'></a><a class='srclink' href='../../src/vulkano/format.rs.html#756-768' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.ensure_accepts-91' class="method hidden"><code id='ensure_accepts.v-91'>fn <a href='../../vulkano/format/trait.AcceptsPixels.html#tymethod.ensure_accepts' class='fnname'>ensure_accepts</a>(&amp;self) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, <a class="struct" href="../../vulkano/format/struct.IncompatiblePixelsType.html" title="struct vulkano::format::IncompatiblePixelsType">IncompatiblePixelsType</a>&gt;</code><a class='srclink' href='../../src/vulkano/format.rs.html#757-764' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Returns an error if <code>T</code> cannot be used as a source of pixels for <code>Self</code>.</p>
</div><h4 id='method.rate-91' class="method hidden"><code id='rate.v-91'>fn <a href='../../vulkano/format/trait.AcceptsPixels.html#method.rate' class='fnname'>rate</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a></code><a class='srclink' href='../../src/vulkano/format.rs.html#765-767' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>The number of <code>T</code>s which make up a single pixel. <a href="../../vulkano/format/trait.AcceptsPixels.html#method.rate">Read more</a></p>
</div></div><h3 id='impl-AcceptsPixels%3C(u32%2C%20u32%2C%20u32%2C%20u32)%3E' class='impl'><code class='in-band'>impl <a class="trait" href="../../vulkano/format/trait.AcceptsPixels.html" title="trait vulkano::format::AcceptsPixels">AcceptsPixels</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">(</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>, <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>, <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>, <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">)</a>&gt; for <a class="enum" href="../../vulkano/format/enum.Format.html" title="enum vulkano::format::Format">Format</a></code><a href='#impl-AcceptsPixels%3C(u32%2C%20u32%2C%20u32%2C%20u32)%3E' class='anchor'></a><a class='srclink' href='../../src/vulkano/format.rs.html#756-768' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.ensure_accepts-92' class="method hidden"><code id='ensure_accepts.v-92'>fn <a href='../../vulkano/format/trait.AcceptsPixels.html#tymethod.ensure_accepts' class='fnname'>ensure_accepts</a>(&amp;self) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, <a class="struct" href="../../vulkano/format/struct.IncompatiblePixelsType.html" title="struct vulkano::format::IncompatiblePixelsType">IncompatiblePixelsType</a>&gt;</code><a class='srclink' href='../../src/vulkano/format.rs.html#757-764' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Returns an error if <code>T</code> cannot be used as a source of pixels for <code>Self</code>.</p>
</div><h4 id='method.rate-92' class="method hidden"><code id='rate.v-92'>fn <a href='../../vulkano/format/trait.AcceptsPixels.html#method.rate' class='fnname'>rate</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a></code><a class='srclink' href='../../src/vulkano/format.rs.html#765-767' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>The number of <code>T</code>s which make up a single pixel. <a href="../../vulkano/format/trait.AcceptsPixels.html#method.rate">Read more</a></p>
</div></div><h3 id='impl-AcceptsPixels%3C(i32%2C%20i32%2C%20i32%2C%20i32)%3E' class='impl'><code class='in-band'>impl <a class="trait" href="../../vulkano/format/trait.AcceptsPixels.html" title="trait vulkano::format::AcceptsPixels">AcceptsPixels</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">(</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>, <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>, <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>, <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">)</a>&gt; for <a class="enum" href="../../vulkano/format/enum.Format.html" title="enum vulkano::format::Format">Format</a></code><a href='#impl-AcceptsPixels%3C(i32%2C%20i32%2C%20i32%2C%20i32)%3E' class='anchor'></a><a class='srclink' href='../../src/vulkano/format.rs.html#756-768' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.ensure_accepts-93' class="method hidden"><code id='ensure_accepts.v-93'>fn <a href='../../vulkano/format/trait.AcceptsPixels.html#tymethod.ensure_accepts' class='fnname'>ensure_accepts</a>(&amp;self) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, <a class="struct" href="../../vulkano/format/struct.IncompatiblePixelsType.html" title="struct vulkano::format::IncompatiblePixelsType">IncompatiblePixelsType</a>&gt;</code><a class='srclink' href='../../src/vulkano/format.rs.html#757-764' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Returns an error if <code>T</code> cannot be used as a source of pixels for <code>Self</code>.</p>
</div><h4 id='method.rate-93' class="method hidden"><code id='rate.v-93'>fn <a href='../../vulkano/format/trait.AcceptsPixels.html#method.rate' class='fnname'>rate</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a></code><a class='srclink' href='../../src/vulkano/format.rs.html#765-767' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>The number of <code>T</code>s which make up a single pixel. <a href="../../vulkano/format/trait.AcceptsPixels.html#method.rate">Read more</a></p>
</div></div><h3 id='impl-AcceptsPixels%3C(u64%2C%20u64%2C%20u64%2C%20u64)%3E' class='impl'><code class='in-band'>impl <a class="trait" href="../../vulkano/format/trait.AcceptsPixels.html" title="trait vulkano::format::AcceptsPixels">AcceptsPixels</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">(</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>, <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>, <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>, <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">)</a>&gt; for <a class="enum" href="../../vulkano/format/enum.Format.html" title="enum vulkano::format::Format">Format</a></code><a href='#impl-AcceptsPixels%3C(u64%2C%20u64%2C%20u64%2C%20u64)%3E' class='anchor'></a><a class='srclink' href='../../src/vulkano/format.rs.html#756-768' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.ensure_accepts-94' class="method hidden"><code id='ensure_accepts.v-94'>fn <a href='../../vulkano/format/trait.AcceptsPixels.html#tymethod.ensure_accepts' class='fnname'>ensure_accepts</a>(&amp;self) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, <a class="struct" href="../../vulkano/format/struct.IncompatiblePixelsType.html" title="struct vulkano::format::IncompatiblePixelsType">IncompatiblePixelsType</a>&gt;</code><a class='srclink' href='../../src/vulkano/format.rs.html#757-764' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Returns an error if <code>T</code> cannot be used as a source of pixels for <code>Self</code>.</p>
</div><h4 id='method.rate-94' class="method hidden"><code id='rate.v-94'>fn <a href='../../vulkano/format/trait.AcceptsPixels.html#method.rate' class='fnname'>rate</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a></code><a class='srclink' href='../../src/vulkano/format.rs.html#765-767' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>The number of <code>T</code>s which make up a single pixel. <a href="../../vulkano/format/trait.AcceptsPixels.html#method.rate">Read more</a></p>
</div></div><h3 id='impl-AcceptsPixels%3C(i64%2C%20i64%2C%20i64%2C%20i64)%3E' class='impl'><code class='in-band'>impl <a class="trait" href="../../vulkano/format/trait.AcceptsPixels.html" title="trait vulkano::format::AcceptsPixels">AcceptsPixels</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">(</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i64.html">i64</a>, <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i64.html">i64</a>, <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i64.html">i64</a>, <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i64.html">i64</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">)</a>&gt; for <a class="enum" href="../../vulkano/format/enum.Format.html" title="enum vulkano::format::Format">Format</a></code><a href='#impl-AcceptsPixels%3C(i64%2C%20i64%2C%20i64%2C%20i64)%3E' class='anchor'></a><a class='srclink' href='../../src/vulkano/format.rs.html#756-768' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.ensure_accepts-95' class="method hidden"><code id='ensure_accepts.v-95'>fn <a href='../../vulkano/format/trait.AcceptsPixels.html#tymethod.ensure_accepts' class='fnname'>ensure_accepts</a>(&amp;self) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, <a class="struct" href="../../vulkano/format/struct.IncompatiblePixelsType.html" title="struct vulkano::format::IncompatiblePixelsType">IncompatiblePixelsType</a>&gt;</code><a class='srclink' href='../../src/vulkano/format.rs.html#757-764' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Returns an error if <code>T</code> cannot be used as a source of pixels for <code>Self</code>.</p>
</div><h4 id='method.rate-95' class="method hidden"><code id='rate.v-95'>fn <a href='../../vulkano/format/trait.AcceptsPixels.html#method.rate' class='fnname'>rate</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a></code><a class='srclink' href='../../src/vulkano/format.rs.html#765-767' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>The number of <code>T</code>s which make up a single pixel. <a href="../../vulkano/format/trait.AcceptsPixels.html#method.rate">Read more</a></p>
</div></div><h3 id='impl-AcceptsPixels%3C(f16%2C%20f16%2C%20f16%2C%20f16)%3E' class='impl'><code class='in-band'>impl <a class="trait" href="../../vulkano/format/trait.AcceptsPixels.html" title="trait vulkano::format::AcceptsPixels">AcceptsPixels</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">(</a><a class="struct" href="../../half/struct.f16.html" title="struct half::f16">f16</a>, <a class="struct" href="../../half/struct.f16.html" title="struct half::f16">f16</a>, <a class="struct" href="../../half/struct.f16.html" title="struct half::f16">f16</a>, <a class="struct" href="../../half/struct.f16.html" title="struct half::f16">f16</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">)</a>&gt; for <a class="enum" href="../../vulkano/format/enum.Format.html" title="enum vulkano::format::Format">Format</a></code><a href='#impl-AcceptsPixels%3C(f16%2C%20f16%2C%20f16%2C%20f16)%3E' class='anchor'></a><a class='srclink' href='../../src/vulkano/format.rs.html#756-768' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.ensure_accepts-96' class="method hidden"><code id='ensure_accepts.v-96'>fn <a href='../../vulkano/format/trait.AcceptsPixels.html#tymethod.ensure_accepts' class='fnname'>ensure_accepts</a>(&amp;self) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, <a class="struct" href="../../vulkano/format/struct.IncompatiblePixelsType.html" title="struct vulkano::format::IncompatiblePixelsType">IncompatiblePixelsType</a>&gt;</code><a class='srclink' href='../../src/vulkano/format.rs.html#757-764' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Returns an error if <code>T</code> cannot be used as a source of pixels for <code>Self</code>.</p>
</div><h4 id='method.rate-96' class="method hidden"><code id='rate.v-96'>fn <a href='../../vulkano/format/trait.AcceptsPixels.html#method.rate' class='fnname'>rate</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a></code><a class='srclink' href='../../src/vulkano/format.rs.html#765-767' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>The number of <code>T</code>s which make up a single pixel. <a href="../../vulkano/format/trait.AcceptsPixels.html#method.rate">Read more</a></p>
</div></div><h3 id='impl-AcceptsPixels%3C(f32%2C%20f32%2C%20f32%2C%20f32)%3E' class='impl'><code class='in-band'>impl <a class="trait" href="../../vulkano/format/trait.AcceptsPixels.html" title="trait vulkano::format::AcceptsPixels">AcceptsPixels</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">(</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a>, <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a>, <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a>, <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">)</a>&gt; for <a class="enum" href="../../vulkano/format/enum.Format.html" title="enum vulkano::format::Format">Format</a></code><a href='#impl-AcceptsPixels%3C(f32%2C%20f32%2C%20f32%2C%20f32)%3E' class='anchor'></a><a class='srclink' href='../../src/vulkano/format.rs.html#756-768' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.ensure_accepts-97' class="method hidden"><code id='ensure_accepts.v-97'>fn <a href='../../vulkano/format/trait.AcceptsPixels.html#tymethod.ensure_accepts' class='fnname'>ensure_accepts</a>(&amp;self) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, <a class="struct" href="../../vulkano/format/struct.IncompatiblePixelsType.html" title="struct vulkano::format::IncompatiblePixelsType">IncompatiblePixelsType</a>&gt;</code><a class='srclink' href='../../src/vulkano/format.rs.html#757-764' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Returns an error if <code>T</code> cannot be used as a source of pixels for <code>Self</code>.</p>
</div><h4 id='method.rate-97' class="method hidden"><code id='rate.v-97'>fn <a href='../../vulkano/format/trait.AcceptsPixels.html#method.rate' class='fnname'>rate</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a></code><a class='srclink' href='../../src/vulkano/format.rs.html#765-767' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>The number of <code>T</code>s which make up a single pixel. <a href="../../vulkano/format/trait.AcceptsPixels.html#method.rate">Read more</a></p>
</div></div><h3 id='impl-AcceptsPixels%3C(f64%2C%20f64%2C%20f64%2C%20f64)%3E' class='impl'><code class='in-band'>impl <a class="trait" href="../../vulkano/format/trait.AcceptsPixels.html" title="trait vulkano::format::AcceptsPixels">AcceptsPixels</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">(</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a>, <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a>, <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a>, <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">)</a>&gt; for <a class="enum" href="../../vulkano/format/enum.Format.html" title="enum vulkano::format::Format">Format</a></code><a href='#impl-AcceptsPixels%3C(f64%2C%20f64%2C%20f64%2C%20f64)%3E' class='anchor'></a><a class='srclink' href='../../src/vulkano/format.rs.html#756-768' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.ensure_accepts-98' class="method hidden"><code id='ensure_accepts.v-98'>fn <a href='../../vulkano/format/trait.AcceptsPixels.html#tymethod.ensure_accepts' class='fnname'>ensure_accepts</a>(&amp;self) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, <a class="struct" href="../../vulkano/format/struct.IncompatiblePixelsType.html" title="struct vulkano::format::IncompatiblePixelsType">IncompatiblePixelsType</a>&gt;</code><a class='srclink' href='../../src/vulkano/format.rs.html#757-764' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Returns an error if <code>T</code> cannot be used as a source of pixels for <code>Self</code>.</p>
</div><h4 id='method.rate-98' class="method hidden"><code id='rate.v-98'>fn <a href='../../vulkano/format/trait.AcceptsPixels.html#method.rate' class='fnname'>rate</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a></code><a class='srclink' href='../../src/vulkano/format.rs.html#765-767' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>The number of <code>T</code>s which make up a single pixel. <a href="../../vulkano/format/trait.AcceptsPixels.html#method.rate">Read more</a></p>
</div></div><h3 id='impl-FormatDesc' class='impl'><code class='in-band'>impl <a class="trait" href="../../vulkano/format/trait.FormatDesc.html" title="trait vulkano::format::FormatDesc">FormatDesc</a> for <a class="enum" href="../../vulkano/format/enum.Format.html" title="enum vulkano::format::Format">Format</a></code><a href='#impl-FormatDesc' class='anchor'></a><a class='srclink' href='../../src/vulkano/format.rs.html#629-649' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.ClearValue' class="type"><code id='ClearValue.t'>type <a href='../../vulkano/format/trait.FormatDesc.html#associatedtype.ClearValue' class="type">ClearValue</a> = <a class="enum" href="../../vulkano/format/enum.ClearValue.html" title="enum vulkano::format::ClearValue">ClearValue</a></code></h4><h4 id='method.format' class="method hidden"><code id='format.v'>fn <a href='../../vulkano/format/trait.FormatDesc.html#tymethod.format' class='fnname'>format</a>(&amp;self) -&gt; <a class="enum" href="../../vulkano/format/enum.Format.html" title="enum vulkano::format::Format">Format</a></code><a class='srclink' href='../../src/vulkano/format.rs.html#633-635' title='goto source code'>[src]</a></h4><h4 id='method.decode_clear_value' class="method hidden"><code id='decode_clear_value.v'>fn <a href='../../vulkano/format/trait.FormatDesc.html#tymethod.decode_clear_value' class='fnname'>decode_clear_value</a>(&amp;self, value: Self::<a class="type" href="../../vulkano/format/trait.FormatDesc.html#associatedtype.ClearValue" title="type vulkano::format::FormatDesc::ClearValue">ClearValue</a>) -&gt; <a class="enum" href="../../vulkano/format/enum.ClearValue.html" title="enum vulkano::format::ClearValue">ClearValue</a></code><a class='srclink' href='../../src/vulkano/format.rs.html#637-648' title='goto source code'>[src]</a></h4></div><h3 id='impl-PossibleFloatFormatDesc' class='impl'><code class='in-band'>impl <a class="trait" href="../../vulkano/format/trait.PossibleFloatFormatDesc.html" title="trait vulkano::format::PossibleFloatFormatDesc">PossibleFloatFormatDesc</a> for <a class="enum" href="../../vulkano/format/enum.Format.html" title="enum vulkano::format::Format">Format</a></code><a href='#impl-PossibleFloatFormatDesc' class='anchor'></a><a class='srclink' href='../../src/vulkano/format.rs.html#657-662' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.is_float' class="method hidden"><code id='is_float.v'>fn <a href='../../vulkano/format/trait.PossibleFloatFormatDesc.html#tymethod.is_float' class='fnname'>is_float</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code><a class='srclink' href='../../src/vulkano/format.rs.html#659-661' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Returns true if the format is a float format.</p>
</div></div><h3 id='impl-PossibleUintFormatDesc' class='impl'><code class='in-band'>impl <a class="trait" href="../../vulkano/format/trait.PossibleUintFormatDesc.html" title="trait vulkano::format::PossibleUintFormatDesc">PossibleUintFormatDesc</a> for <a class="enum" href="../../vulkano/format/enum.Format.html" title="enum vulkano::format::Format">Format</a></code><a href='#impl-PossibleUintFormatDesc' class='anchor'></a><a class='srclink' href='../../src/vulkano/format.rs.html#668-673' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.is_uint' class="method hidden"><code id='is_uint.v'>fn <a href='../../vulkano/format/trait.PossibleUintFormatDesc.html#tymethod.is_uint' class='fnname'>is_uint</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code><a class='srclink' href='../../src/vulkano/format.rs.html#670-672' title='goto source code'>[src]</a></h4></div><h3 id='impl-PossibleSintFormatDesc' class='impl'><code class='in-band'>impl <a class="trait" href="../../vulkano/format/trait.PossibleSintFormatDesc.html" title="trait vulkano::format::PossibleSintFormatDesc">PossibleSintFormatDesc</a> for <a class="enum" href="../../vulkano/format/enum.Format.html" title="enum vulkano::format::Format">Format</a></code><a href='#impl-PossibleSintFormatDesc' class='anchor'></a><a class='srclink' href='../../src/vulkano/format.rs.html#679-684' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.is_sint' class="method hidden"><code id='is_sint.v'>fn <a href='../../vulkano/format/trait.PossibleSintFormatDesc.html#tymethod.is_sint' class='fnname'>is_sint</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code><a class='srclink' href='../../src/vulkano/format.rs.html#681-683' title='goto source code'>[src]</a></h4></div><h3 id='impl-PossibleDepthFormatDesc' class='impl'><code class='in-band'>impl <a class="trait" href="../../vulkano/format/trait.PossibleDepthFormatDesc.html" title="trait vulkano::format::PossibleDepthFormatDesc">PossibleDepthFormatDesc</a> for <a class="enum" href="../../vulkano/format/enum.Format.html" title="enum vulkano::format::Format">Format</a></code><a href='#impl-PossibleDepthFormatDesc' class='anchor'></a><a class='srclink' href='../../src/vulkano/format.rs.html#690-695' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.is_depth' class="method hidden"><code id='is_depth.v'>fn <a href='../../vulkano/format/trait.PossibleDepthFormatDesc.html#tymethod.is_depth' class='fnname'>is_depth</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code><a class='srclink' href='../../src/vulkano/format.rs.html#692-694' title='goto source code'>[src]</a></h4></div><h3 id='impl-PossibleStencilFormatDesc' class='impl'><code class='in-band'>impl <a class="trait" href="../../vulkano/format/trait.PossibleStencilFormatDesc.html" title="trait vulkano::format::PossibleStencilFormatDesc">PossibleStencilFormatDesc</a> for <a class="enum" href="../../vulkano/format/enum.Format.html" title="enum vulkano::format::Format">Format</a></code><a href='#impl-PossibleStencilFormatDesc' class='anchor'></a><a class='srclink' href='../../src/vulkano/format.rs.html#701-706' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.is_stencil' class="method hidden"><code id='is_stencil.v'>fn <a href='../../vulkano/format/trait.PossibleStencilFormatDesc.html#tymethod.is_stencil' class='fnname'>is_stencil</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code><a class='srclink' href='../../src/vulkano/format.rs.html#703-705' title='goto source code'>[src]</a></h4></div><h3 id='impl-PossibleDepthStencilFormatDesc' class='impl'><code class='in-band'>impl <a class="trait" href="../../vulkano/format/trait.PossibleDepthStencilFormatDesc.html" title="trait vulkano::format::PossibleDepthStencilFormatDes
</div></div><h3 id='impl-ImageClearValue%3C%3CFormat%20as%20FormatDesc%3E%3A%3AClearValue%3E' class='impl'><code class='in-band'>impl&lt;W&gt; <a class="trait" href="../../vulkano/image/traits/trait.ImageClearValue.html" title="trait vulkano::image::traits::ImageClearValue">ImageClearValue</a>&lt;&lt;<a class="enum" href="../../vulkano/format/enum.Format.html" title="enum vulkano::format::Format">Format</a> as <a class="trait" href="../../vulkano/format/trait.FormatDesc.html" title="trait vulkano::format::FormatDesc">FormatDesc</a>&gt;::<a class="type" href="../../vulkano/format/trait.FormatDesc.html#associatedtype.ClearValue" title="type vulkano::format::FormatDesc::ClearValue">ClearValue</a>&gt; for <a class="struct" href="../../vulkano/image/swapchain/struct.SwapchainImage.html" title="struct vulkano::image::swapchain::SwapchainImage">SwapchainImage</a>&lt;W&gt;</code><a href='#impl-ImageClearValue%3C%3CFormat%20as%20FormatDesc%3E%3A%3AClearValue%3E' class='anchor'></a><a class='srclink' href='../../src/vulkano/image/swapchain.rs.html#154-159' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.decode' class="method hidden"><code id='decode.v'>fn <a href='../../vulkano/image/traits/trait.ImageClearValue.html#tymethod.decode' class='fnname'>decode</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;self, <br>&nbsp;&nbsp;&nbsp;&nbsp;value: &lt;<a class="enum" href="../../vulkano/format/enum.Format.html" title="enum vulkano::format::Format">Format</a> as <a class="trait" href="../../vulkano/format/trait.FormatDesc.html" title="trait vulkano::format::FormatDesc">FormatDesc</a>&gt;::<a class="type" href="../../vulkano/format/trait.FormatDesc.html#associatedtype.ClearValue" title="type vulkano::format::FormatDesc::ClearValue">ClearValue</a><br>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="enum" href="../../vulkano/format/enum.ClearValue.html" title="enum vulkano::format::ClearValue">ClearValue</a>&gt;</code><a class='srclink' href='../../src/vulkano/image/swapchain.rs.html#156-158' title='goto source code'>[src]</a></h4></div><h3 id='impl-Eq' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.Eq.html" title="trait core::cmp::Eq">Eq</a> for <a class="enum" href="../../vulkano/format/enum.Format.html" title="enum vulkano::format::Format">Format</a></code><a href='#impl-Eq' class='anchor'></a><a class='srclink' href='../../src/vulkano/format.rs.html#179' title='goto source code'>[src]</a></h3><div class='impl-items'></div><h3 id='impl-Clone' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> for <a class="enum" href="../../vulkano/format/enum.Format.html" title="enum vulkano::format::Format">Format</a></code><a href='#impl-Clone' class='anchor'></a><a class='srclink' href='../../src/vulkano/format.rs.html#179' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.clone' class="method hidden"><code id='clone.v'>fn <a href='https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#tymethod.clone' class='fnname'>clone</a>(&amp;self) -&gt; <a class="enum" href="../../vulkano/format/enum.Format.html" title="enum vulkano::format::Format">Format</a></code><a class='srclink' href='../../src/vulkano/format.rs.html#179' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Returns a copy of the value. <a href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#tymethod.clone">Read more</a></p>
</div><h4 id='method.clone_from' class="method hidden"><code id='clone_from.v'>fn <a href='https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#method.clone_from' class='fnname'>clone_from</a>(&amp;mut self, source: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;</a>Self)</code><span class='since' title='Stable since Rust version 1.0.0'>1.0.0</span><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/clone.rs.html#131-133' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs copy-assignment from <code>source</code>. <a href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#method.clone_from">Read more</a></p>
</div></div><h3 id='impl-PartialEq%3CFormat%3E' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a>&lt;<a class="enum" href="../../vulkano/format/enum.Format.html" title="enum vulkano::format::Format">Format</a>&gt; for <a class="enum" href="../../vulkano/format/enum.Format.html" title="enum vulkano::format::Format">Format</a></code><a href='#impl-PartialEq%3CFormat%3E' class='anchor'></a><a class='srclink' href='../../src/vulkano/format.rs.html#179' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.eq' class="method hidden"><code id='eq.v'>fn <a href='https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq' class='fnname'>eq</a>(&amp;self, other: &amp;<a class="enum" href="../../vulkano/format/enum.Format.html" title="enum vulkano::format::Format">Format</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code><a class='srclink' href='../../src/vulkano/format.rs.html#179' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used by <code>==</code>. <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq">Read more</a></p>
</div><h4 id='method.ne' class="method hidden"><code id='ne.v'><span class="docblock attributes">#[must_use]
</span>fn <a href='https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#method.ne' class='fnname'>ne</a>(&amp;self, other: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;</a>Rhs) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code><span class='since' title='Stable since Rust version 1.0.0'>1.0.0</span><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/cmp.rs.html#208' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>This method tests for <code>!=</code>.</p>
</div></div><h3 id='impl-Copy' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Copy.html" title="trait core::marker::Copy">Copy</a> for <a class="enum" href="../../vulkano/format/enum.Format.html" title="enum vulkano::format::Format">Format</a></code><a href='#impl-Copy' class='anchor'></a><a class='srclink' href='../../src/vulkano/format.rs.html#179' title='goto source code'>[src]</a></h3><div class='impl-items'></div><h3 id='impl-Hash' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html" title="trait core::hash::Hash">Hash</a> for <a class="enum" href="../../vulkano/format/enum.Format.html" title="enum vulkano::format::Format">Format</a></code><a href='#impl-Hash' class='anchor'></a><a class='srclink' href='../../src/vulkano/format.rs.html#179' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.hash' class="method hidden"><code id='hash.v'>fn <a href='https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html#tymethod.hash' class='fnname'>hash</a>&lt;__H:&nbsp;<a class="trait" href="https://doc.rust-lang.org/nightly/core/hash/trait.Hasher.html" title="trait core::hash::Hasher">Hasher</a>&gt;(&amp;self, state: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;mut </a>__H)</code><a class='srclink' href='../../src/vulkano/format.rs.html#179' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Feeds this value into the given [<code>Hasher</code>]. <a href="https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html#tymethod.hash">Read more</a></p>
</div><h4 id='method.hash_slice' class="method hidden"><code id='hash_slice.v'>fn <a href='https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html#method.hash_slice' class='fnname'>hash_slice</a>&lt;H&gt;(data: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.slice.html">&amp;[Self]</a>, state: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;mut </a>H) <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;H: <a class="trait" href="https://doc.rust-lang.org/nightly/core/hash/trait.Hasher.html" title="trait core::hash::Hasher">Hasher</a>,&nbsp;</span></code><span class='since' title='Stable since Rust version 1.3.0'>1.3.0</span><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/hash/mod.rs.html#192-198' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Feeds a slice of this type into the given [<code>Hasher</code>]. <a href="https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html#method.hash_slice">Read more</a></p>
</div></div><h3 id='impl-Debug' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a> for <a class="enum" href="../../vulkano/format/enum.Format.html" title="enum vulkano::format::Format">Format</a></code><a href='#impl-Debug' class='anchor'></a><a class='srclink' href='../../src/vulkano/format.rs.html#179' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.fmt' class="method hidden"><code id='fmt.v'>fn <a href='https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html#tymethod.fmt' class='fnname'>fmt</a>(&amp;self, f: &amp;mut <a class="struct" href="https://doc.rust-lang.org/nightly/core/fmt/struct.Formatter.html" title="struct core::fmt::Formatter">Formatter</a>) -&gt; <a class="type" href="https://doc.rust-lang.org/nightly/core/fmt/type.Result.html" title="type core::fmt::Result">Result</a></code><a class='srclink' href='../../src/vulkano/format.rs.html#179' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Formats the value using the given formatter. <a href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html#tymethod.fmt">Read more</a></p>
</div></div></div><h2 id='synthetic-implementations' class='small-section-header'>Auto Trait Implementations<a href='#synthetic-implementations' class='anchor'></a></h2><div id='synthetic-implementations-list'><h3 id='impl-Send' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> for <a class="enum" href="../../vulkano/format/enum.Format.html" title="enum vulkano::format::Format">Format</a></code><a href='#impl-Send' class='anchor'></a></h3><div class='impl-items'></div><h3 id='impl-Unpin' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a> for <a class="enum" href="../../vulkano/format/enum.Format.html" title="enum vulkano::format::Format">Format</a></code><a href='#impl-Unpin' class='anchor'></a></h3><div class='impl-items'></div><h3 id='impl-Sync' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> for <a class="enum" href="../../vulkano/format/enum.Format.html" title="enum vulkano::format::Format">Format</a></code><a href='#impl-Sync' class='anchor'></a></h3><div class='impl-items'></div><h3 id='impl-UnwindSafe' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/std/panic/trait.UnwindSafe.html" title="trait std::panic::UnwindSafe">UnwindSafe</a> for <a class="enum" href="../../vulkano/format/enum.Format.html" title="enum vulkano::format::Format">Format</a></code><a href='#impl-UnwindSafe' class='anchor'></a></h3><div class='impl-items'></div><h3 id='impl-RefUnwindSafe' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/std/panic/trait.RefUnwindSafe.html" title="trait std::panic::RefUnwindSafe">RefUnwindSafe</a> for <a class="enum" href="../../vulkano/format/enum.Format.html" title="enum vulkano::format::Format">Format</a></code><a href='#impl-RefUnwindSafe' class='anchor'></a></h3><div class='impl-items'></div></div><h2 id='blanket-implementations' class='small-section-header'>Blanket Implementations<a href='#blanket-implementations' class='anchor'></a></h2><div id='blanket-implementations-list'><h3 id='impl-Content' class='impl'><code class='in-band'>impl&lt;T&gt; <a class="trait" href="../../vulkano/memory/trait.Content.html" title="trait vulkano::memory::Content">Content</a> for T</code><a href='#impl-Content' class='anchor'></a><a class='srclink' href='../../src/vulkano/memory/mod.rs.html#171-190' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.ref_from_ptr' class="method hidden"><code id='ref_from_ptr.v'>fn <a href='../../vulkano/memory/trait.Content.html#tymethod.ref_from_ptr' class='fnname'>ref_from_ptr</a>(<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.pointer.html">*mut </a><a class="enum" href="https://doc.rust-lang.org/nightly/core/ffi/enum.c_void.html" title="enum core::ffi::c_void">c_void</a>, <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.pointer.html">*mut T</a>&gt;</code><a class='srclink' href='../../src/vulkano/memory/mod.rs.html#173-179' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Builds a pointer to this type from a raw pointer.</p>
</div><h4 id='method.is_size_suitable' class="method hidden"><code id='is_size_suitable.v'>fn <a href='../../vulkano/memory/trait.Content.html#tymethod.is_size_suitable' class='fnname'>is_size_suitable</a>(<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code><a class='srclink' href='../../src/vulkano/memory/mod.rs.html#182-184' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Returns true if the size is suitable to store a type like this.</p>
</div><h4 id='method.indiv_size' class="method hidden"><code id='indiv_size.v'>fn <a href='../../vulkano/memory/trait.Content.html#tymethod.indiv_size' class='fnname'>indiv_size</a>() -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a></code><a class='srclink' href='../../src/vulkano/memory/mod.rs.html#187-189' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Returns the size of an individual element.</p>
</div></div><h3 id='impl-ToOwned' class='impl'><code class='in-band'>impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html" title="trait alloc::borrow::ToOwned">ToOwned</a> for T <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a>,&nbsp;</span></code><a href='#impl-ToOwned' class='anchor'></a><a class='srclink' href='https://doc.rust-lang.org/nightly/src/alloc/borrow.rs.html#81-92' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Owned' class="type"><code id='Owned.t'>type <a href='https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#associatedtype.Owned' class="type">Owned</a> = T</code></h4><div class='docblock'><p>The resulting type after obtaining ownership.</p>
</div><h4 id='method.to_owned' class="method hidden"><code id='to_owned.v'>fn <a href='https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#tymethod.to_owned' class='fnname'>to_owned</a>(&amp;self) -&gt; T</code><a class='srclink' href='https://doc.rust-lang.org/nightly/src/alloc/borrow.rs.html#85-87' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Creates owned data from borrowed data, usually by cloning. <a href="https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#tymethod.to_owned">Read more</a></p>
</div><h4 id='method.clone_into' class="method hidden"><code id='clone_into.v'>fn <a href='https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#method.clone_into' class='fnname'>clone_into</a>(&amp;self, target: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;mut </a>T)</code><a class='srclink' href='https://doc.rust-lang.org/nightly/src/alloc/borrow.rs.html#89-91' title='goto source code'>[src]</a></h4><div class='stability hidden'><div class='stab unstable'><details><summary><span class='emoji'>🔬</span> This is a nightly-only experimental API. (<code>toowned_clone_into</code>)</summary><p>recently added</p>
</details></div></div><div class='docblock hidden'><p>Uses borrowed data to replace owned data, usually by cloning. <a href="https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#method.clone_into">Read more</a></p>
</div></div><h3 id='impl-Into%3CU%3E' class='impl'><code class='in-band'>impl&lt;T, U&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;U&gt; for T <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;U: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;T&gt;,&nbsp;</span></code><a href='#impl-Into%3CU%3E' class='anchor'></a><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/convert.rs.html#544-549' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.into' class="method hidden"><code id='into.v'>fn <a href='https://doc.rust-lang.org/nightly/core/convert/trait.Into.html#tymethod.into' class='fnname'>into</a>(self) -&gt; U</code><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/convert.rs.html#546-548' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p>
</div></div><h3 id='impl-From%3CT%3E' class='impl'><code class='in-band'>impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;T&gt; for T</code><a href='#impl-From%3CT%3E' class='anchor'></a><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/convert.rs.html#553-555' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.from' class="method hidden"><code id='from.v'>fn <a href='https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from' class='fnname'>from</a>(t: T) -&gt; T</code><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/convert.rs.html#554' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p>
</div></div><h3 id='impl-TryFrom%3CU%3E' class='impl'><code class='in-band'>impl&lt;T, U&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a>&lt;U&gt; for T <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;U: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;T&gt;,&nbsp;</span></code><a href='#impl-TryFrom%3CU%3E' class='anchor'></a><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/convert.rs.html#572-578' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Error' class="type"><code id='Error.t'>type <a href='https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#associatedtype.Error' class="type">Error</a> = <a class="enum" href="https://doc.rust-lang.org/nightly/core/convert/enum.Infallible.html" title="enum core::convert::Infallible">Infallible</a></code></h4><div class='docblock'><p>The type returned in the event of a conversion error.</p>
</div><h4 id='method.try_from' class="method hidden"><code id='try_from.v'>fn <a href='https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#tymethod.try_from' class='fnname'>try_from</a>(value: U) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/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/nightly/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a>&lt;U&gt;&gt;::<a class="type" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#associatedtype.Error" title="type core::convert::TryFrom::Error">Error</a>&gt;</code><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/convert.rs.html#575-577' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p>
</div></div><h3 id='impl-TryInto%3CU%3E' class='impl'><code class='in-band'>impl&lt;T, U&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryInto.html" title="trait core::convert::TryInto">TryInto</a>&lt;U&gt; for T <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;U: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a>&lt;T&gt;,&nbsp;</span></code><a href='#impl-TryInto%3CU%3E' class='anchor'></a><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/convert.rs.html#560-567' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Error-1' class="type"><code id='Error.t-1'>type <a href='https://doc.rust-lang.org/nightly/core/convert/trait.TryInto.html#associatedtype.Error' class="type">Error</a> = &lt;U as <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a>&lt;T&gt;&gt;::<a class="type" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#associatedtype.Error" title="type core::convert::TryFrom::Error">Error</a></code></h4><div class='docblock'><p>The type returned in the event of a conversion error.</p>
</div><h4 id='method.try_into' class="method hidden"><code id='try_into.v'>fn <a href='https://doc.rust-lang.org/nightly/core/convert/trait.TryInto.html#tymethod.try_into' class='fnname'>try_into</a>(self) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/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/nightly/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a>&lt;T&gt;&gt;::<a class="type" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#associatedtype.Error" title="type core::convert::TryFrom::Error">Error</a>&gt;</code><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/convert.rs.html#564-566' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p>
</div></div><h3 id='impl-BorrowMut%3CT%3E' class='impl'><code class='in-band'>impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/borrow/trait.BorrowMut.html" title="trait core::borrow::BorrowMut">BorrowMut</a>&lt;T&gt; for T <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,&nbsp;</span></code><a href='#impl-BorrowMut%3CT%3E' class='anchor'></a><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/borrow.rs.html#218-220' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.borrow_mut' class="method hidden"><code id='borrow_mut.v'>fn <a href='https://doc.rust-lang.org/nightly/core/borrow/trait.BorrowMut.html#tymethod.borrow_mut' class='fnname'>borrow_mut</a>(&amp;mut self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;mut </a>T</code><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/borrow.rs.html#219' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Mutably borrows from an owned value. <a href="https://doc.rust-lang.org/nightly/core/borrow/trait.BorrowMut.html#tymethod.borrow_mut">Read more</a></p>
</div></div><h3 id='impl-Borrow%3CT%3E' class='impl'><code class='in-band'>impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/borrow/trait.Borrow.html" title="trait core::borrow::Borrow">Borrow</a>&lt;T&gt; for T <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,&nbsp;</span></code><a href='#impl-Borrow%3CT%3E' class='anchor'></a><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/borrow.rs.html#213-215' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.borrow' class="method hidden"><code id='borrow.v'>fn <a href='https://doc.rust-lang.org/nightly/core/borrow/trait.Borrow.html#tymethod.borrow' class='fnname'>borrow</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;</a>T</code><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/borrow.rs.html#214' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Immutably borrows from an owned value. <a href="https://doc.rust-lang.org/nightly/core/borrow/trait.Borrow.html#tymethod.borrow">Read more</a></p>
</div></div><h3 id='impl-Any' class='impl'><code class='in-band'>impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/any/trait.Any.html" title="trait core::any::Any">Any</a> for T <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: 'static + ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,&nbsp;</span></code><a href='#impl-Any' class='anchor'></a><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/any.rs.html#100-102' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.type_id' class="method hidden"><code id='type_id.v'>fn <a href='https://doc.rust-lang.org/nightly/core/any/trait.Any.html#tymethod.type_id' class='fnname'>type_id</a>(&amp;self) -&gt; <a class="struct" href="https://doc.rust-lang.org/nightly/core/any/struct.TypeId.html" title="struct core::any::TypeId">TypeId</a></code><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/any.rs.html#101' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Gets the <code>TypeId</code> of <code>self</code>. <a href="https://doc.rust-lang.org/nightly/core/any/trait.Any.html#tymethod.type_id">Read more</a></p>
</div></div></div></section><section id="search" class="content hidden"></section><section class="footer"></section><aside id="help" class="hidden"><div><h1 class="hidden">Help</h1><div class="shortcuts"><h2>Keyboard Shortcuts</h2><dl><dt><kbd>?</kbd></dt><dd>Show this help dialog</dd><dt><kbd>S</kbd></dt><dd>Focus the search field</dd><dt><kbd></kbd></dt><dd>Move up in search results</dd><dt><kbd></kbd></dt><dd>Move down in search results</dd><dt><kbd></kbd></dt><dd>Switch tab</dd><dt><kbd>&#9166;</kbd></dt><dd>Go to active search result</dd><dt><kbd>+</kbd></dt><dd>Expand all sections</dd><dt><kbd>-</kbd></dt><dd>Collapse all sections</dd></dl></div><div class="infos"><h2>Search Tricks</h2><p>Prefix searches with a type followed by a colon (e.g., <code>fn:</code>) to restrict the search to a given type.</p><p>Accepted types are: <code>fn</code>, <code>mod</code>, <code>struct</code>, <code>enum</code>, <code>trait</code>, <code>type</code>, <code>macro</code>, and <code>const</code>.</p><p>Search functions by type signature (e.g., <code>vec -> usize</code> or <code>* -> vec</code>)</p><p>Search multiple things at once by splitting your query with comma (e.g., <code>str,u8</code> or <code>String,struct:Vec,test</code>)</p></div></div></aside><script>window.rootPath = "../../";window.currentCrate = "vulkano";</script><script src="../../aliases.js"></script><script src="../../main.js"></script><script defer src="../../search-index.js"></script></body></html>