|
|
<!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">☰</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.A8B8G8R8SscaledPack32">A8B8G8R8SscaledPack32</a><a href="#variant.A8B8G8R8UintPack32">A8B8G8R8UintPack32</a><a href="#variant.A8B8G8R8SintPack32">A8B8G8R8SintPack32</a><a href="#variant.A8B8G8R8SrgbPack32">A8B8G8R8SrgbPack32</a><a href="#variant.A2R10G10B10UnormPack32">A2R10G10B10UnormPack32</a><a href="#variant.A2R10G10B10SnormPack32">A2R10G10B10SnormPack32</a><a href="#variant.A2R10G10B10UscaledPack32">A2R10G10B10UscaledPack32</a><a href="#variant.A2R10G10B10SscaledPack32">A2R10G10B10SscaledPack32</a><a href="#variant.A2R10G10B10UintPack32">A2R10G10B10UintPack32</a><a href="#variant.A2R10G10B10SintPack32">A2R10G10B10SintPack32</a><a href="#variant.A2B10G10R10UnormPack32">A2B10G10R10UnormPack32</a><a href="#variant.A2B10G10R10SnormPack32">A2B10G10R10SnormPack32</a><a href="#variant.A2B10G10R10UscaledPack32">A2B10G10R10UscaledPack32</a><a href="#variant.A2B10G10R10SscaledPack32">A2B10G10R10SscaledPack32</a><a href="#variant.A2B10G10R10UintPack32">A2B10G10R10UintPack32</a><a href="#variant.A2B10G10R10SintPack32">A2B10G10R10SintPack32</a><a href="#variant.R16Unorm">R16Unorm</a><a href="#variant.R16Snorm">R16Snorm</a><a href="#variant.R16Uscaled">R16Uscaled</a><a href="#variant.R16Sscaled">R16Sscaled</a><a href="#variant.R16Uint">R16Uint</a><a href="#variant.R16Sint">R16Sint</a><a href="#variant.R16Sfloat">R16Sfloat</a><a href="#variant.R16G16Unorm">R16G16Unorm</a><a href="#variant.R16G16Snorm">R16G16Snorm</a><a href="#variant.R16G16Uscaled">R16G16Uscaled</a><a href="#variant.R16G16Sscaled">R16G16Sscaled</a><a href="#variant.R16G16Uint">R16G16Uint</a><a href="#variant.R16G16Sint">R16G16Sint</a><a href="#variant.R16G16Sfloat">R16G16Sfloat</a><a href="#variant.R16G16B16Unorm">R16G16B16Unorm</a><a href="#variant.R16G16B16Snorm">R16G16B16Snorm</a><a href="#variant.R16G16B16Uscaled">R16G16B16Uscaled</a><a href="#variant.R16G16B16Sscaled">R16G16B16Sscaled</a><a href="#variant.R16G16B16Uint">R16G16B16Uint</a><a href="#variant.R16G16B16Sint">R16G16B16Sint</a><a href="#variant.R16G16B16Sfloat">R16G16B16Sfloat</a><a href="#variant.R16G16B16A16Unorm">R16G16B16A16Unorm</a><a href="#variant.R16G16B16A16Snorm">R16G16B16A16Snorm</a><a href="#variant.R16G16B16A16Uscaled">R16G16B16A16Uscaled</a><a href="#variant.R16G16B16A16Sscaled">R16G16B16A16Sscaled</a><a href="#variant.R16G16B16A16Uint">R16G16B16A16Uint</a><a href="#variant.R16G16B16A16Sint">R16G16B16A16Sint</a><a href="#variant.R16G16B16A16Sfloat">R16G16B16A16Sfloat</a><a href="#variant.R32Uint">R32Uint</a><a href="#variant.R32Sint">R32Sint</a><a href="#variant.R32Sfloat">R32Sfloat</a><a href="#variant.R32G32Uint">R32G32Uint</a><a href="#variant.R32G32Sint">R32G32Sint</a><a href="#variant.R32G32Sfloat">R32G32Sfloat</a><a href="#variant.R32G32B32Uint">R32G32B32Uint</a><a href="#variant.R32G32B32Sint">R32G32B32Sint</a><a href="#variant.R32G32B32Sfloat">R32G32B32Sfloat</a><a href="#variant.R32G32B32A32Uint">R32G32B32A32Uint</a><a href="#variant.R32G32B32A32Sint">R32G32B32A32Sint</a><a href="#variant.R32G32B32A32Sfloat">R32G32B32A32Sfloat</a><a href="#variant.R64Uint">R64Uint</a><a href="#variant.R64Sint">R64Sint</a><a href="#variant.R64Sfloat">R64Sfloat</a><a href="#variant.R64G64Uint">R64G64Uint</a><a href="#variant.R64G64Sint">R64G64Sint</a><a href="#variant.R64G64Sfloat">R64G64Sfloat</a><a href="#variant.R64G64B64Uint">R64G64B64Uint</a><a href="#variant.R64G64B64Sint">R64G64B64Sint</a><a href="#variant.R64G64B64Sfloat">R64G64B64Sfloat</a><a href="#variant.R64G64B64A64Uint">R64G64B64A64Uint</a><a href="#variant.R64G64B64A64Sint">R64G64B64A64Sint</a><a href="#variant.R64G64B64A64Sfloat">R64G64B64A64Sfloat</a><a href="#variant.B10G11R11UfloatPack32">B10G11R11UfloatPack32</a><a href="#variant.E5B9G9R9UfloatPack32">E5B9G9R9UfloatPack32</a><a href="#variant.D16Unorm">D16Unorm</a><a href="#variant.X8_D24UnormPack32">X8_D24UnormPack32</a><a href="#variant.D32Sfloat">D32Sfloat</a><a href="#variant.S8Uint">S8Uint</a><a href="#variant.D16Unorm_S8Uint">D16Unorm_S8Uint</a><a href="#variant.D24Unorm_S8Uint">D24Unorm_S8Uint</a><a href="#variant.D32Sfloat_S8Uint">D32Sfloat_S8Uint</a><a href="#variant.BC1_RGBUnormBlock">BC1_RGBUnormBlock</a><a href="#variant.BC1_RGBSrgbBlock">BC1_RGBSrgbBlock</a><a href="#variant.BC1_RGBAUnormBlock">BC1_RGBAUnormBlock</a><a href="#variant.BC1_RGBASrgbBlock">BC1_RGBASrgbBlock</a><a href="#variant.BC2UnormBlock">BC2UnormBlock</a><a href="#variant.BC2SrgbBlock">BC2SrgbBlock</a><a href="#variant.BC3UnormBlock">BC3UnormBlock</a><a href="#variant.BC3SrgbBlock">BC3SrgbBlock</a><a href="#variant.BC4UnormBlock">BC4UnormBlock</a><a href="#variant.BC4SnormBlock">BC4SnormBlock</a><a href="#variant.BC5UnormBlock">BC5UnormBlock</a><a href="#variant.BC5SnormBlock">BC5SnormBlock</a><a href="#variant.BC6HUfloatBlock">BC6HUfloatBlock</a><a href="#variant.BC6HSfloatBlock">BC6HSfloatBlock</a><a href="#variant.BC7UnormBlock">BC7UnormBlock</a><a href="#variant.BC7SrgbBlock">BC7SrgbBlock</a><a href="#variant.ETC2_R8G8B8UnormBlock">ETC2_R8G8B8UnormBlock</a><a href="#variant.ETC2_R8G8B8SrgbBlock">ETC2_R8G8B8SrgbBlock</a><a href="#variant.ETC2_R8G8B8A1UnormBlock">ETC2_R8G8B8A1UnormBlock</a><a href="#variant.ETC2_R8G8B8A1SrgbBlock">ETC2_R8G8B8A1SrgbBlock</a><a href="#variant.ETC2_R8G8B8A8UnormBlock">ETC2_R8G8B8A8UnormBlock</a><a href="#variant.ETC2_R8G8B8A8SrgbBlock">ETC2_R8G8B8A8SrgbBlock</a><a href="#variant.EAC_R11UnormBlock">EAC_R11UnormBlock</a><a href="#variant.EAC_R11SnormBlock">EAC_R11SnormBlock</a><a href="#variant.EAC_R11G11UnormBlock">EAC_R11G11UnormBlock</a><a href="#variant.EAC_R11G11SnormBlock">EAC_R11G11SnormBlock</a><a href="#variant.ASTC_4x4UnormBlock">ASTC_4x4UnormBlock</a><a href="#variant.ASTC_4x4SrgbBlock">ASTC_4x4SrgbBlock</a><a href="#variant.ASTC_5x4UnormBlock">ASTC_5x4UnormBlock</a><a href="#variant.ASTC_5x4SrgbBlock">ASTC_5x4SrgbBlock</a><a href="#variant.ASTC_5x5UnormBlock">ASTC_5x5UnormBlock</a><a href="#variant.ASTC_5x5SrgbBlock">ASTC_5x5SrgbBlock</a><a href="#variant.ASTC_6x5UnormBlock">ASTC_6x5UnormBlock</a><a href="#variant.ASTC_6x5SrgbBlock">ASTC_6x5SrgbBlock</a><a href="#variant.ASTC_6x6UnormBlock">ASTC_6x6UnormBlock</a><a href="#variant.ASTC_6x6SrgbBlock">ASTC_6x6SrgbBlock</a><a href="#variant.ASTC_8x5UnormBlock">ASTC_8x5UnormBlock</a><a href="#variant.ASTC_8x5SrgbBlock">ASTC_8x5SrgbBlock</a><a href="#variant.ASTC_8x6UnormBlock">ASTC_8x6UnormBlock</a><a href="#variant.ASTC_8x6SrgbBlock">ASTC_8x6SrgbBlock</a><a href="#variant.ASTC_8x8UnormBlock">ASTC_8x8UnormBlock</a><a href="#variant.ASTC_8x8SrgbBlock">ASTC_8x8SrgbBlock</a><a href="#variant.ASTC_10x5UnormBlock">ASTC_10x5UnormBlock</a><a href="#variant.ASTC_10x5SrgbBlock">ASTC_10x5SrgbBlock</a><a href="#variant.ASTC_10x6UnormBlock">ASTC_10x6UnormBlock</a><a href="#variant.ASTC_10x6SrgbBlock">ASTC_10x6SrgbBlock</a><a href="#variant.ASTC_10x8UnormBlock">ASTC_10x8UnormBlock</a><a href="#variant.ASTC_10x8SrgbBlock">ASTC_10x8SrgbBlock</a><a href="#variant.ASTC_10x10UnormBlock">ASTC_10x10UnormBlock</a><a href="#variant.ASTC_10x10SrgbBlock">ASTC_10x10SrgbBlock</a><a href="#variant.ASTC_12x10UnormBlock">ASTC_12x10UnormBlock</a><a href="#variant.ASTC_12x10SrgbBlock">ASTC_12x10SrgbBlock</a><a href="#variant.ASTC_12x12UnormBlock">ASTC_12x12UnormBlock</a><a href="#variant.ASTC_12x12SrgbBlock">ASTC_12x12SrgbBlock</a></div><a class="sidebar-title" href="#methods">Methods</a><div class="sidebar-links"><a href="#method.block_dimensions">block_dimensions</a><a href="#method.size">size</a><a href="#method.ty">ty</a></div><a class="sidebar-title" href="#implementations">Trait Implementations</a><div class="sidebar-links"><a href="#impl-AcceptsPixels%3C%5Bf16%3B%201%5D%3E">AcceptsPixels<[f16; 1]></a><a href="#impl-AcceptsPixels%3C%5Bf16%3B%202%5D%3E">AcceptsPixels<[f16; 2]></a><a href="#impl-AcceptsPixels%3C%5Bf16%3B%203%5D%3E">AcceptsPixels<[f16; 3]></a><a href="#impl-AcceptsPixels%3C%5Bf16%3B%204%5D%3E">AcceptsPixels<[f16; 4]></a><a href="#impl-AcceptsPixels%3C%5Bf32%3B%201%5D%3E">AcceptsPixels<[f32; 1]></a><a href="#impl-AcceptsPixels%3C%5Bf32%3B%202%5D%3E">AcceptsPixels<[f32; 2]></a><a href="#impl-AcceptsPixels%3C%5Bf32%3B%203%5D%3E">AcceptsPixels<[f32; 3]></a><a href="#impl-AcceptsPixels%3C%5Bf32%3B%204%5D%3E">AcceptsPixels<[f32; 4]></a><a href="#impl-AcceptsPixels%3C%5Bf64%3B%201%5D%3E">AcceptsPixels<[f64; 1]></a><a href="#impl-AcceptsPixels%3C%5Bf64%3B%202%5D%3E">AcceptsPixels<[f64; 2]></a><a href="#impl-AcceptsPixels%3C%5Bf64%3B%203%5D%3E">AcceptsPixels<[f64; 3]></a><a href="#impl-AcceptsPixels%3C%5Bf64%3B%204%5D%3E">AcceptsPixels<[f64; 4]></a><a href="#impl-AcceptsPixels%3C%5Bi16%3B%201%5D%3E">AcceptsPixels<[i16; 1]></a><a href="#impl-AcceptsPixels%3C%5Bi16%3B%202%5D%3E">AcceptsPixels<[i16; 2]></a><a href="#impl-AcceptsPixels%3C%5Bi16%3B%203%5D%3E">AcceptsPixels<[i16; 3]></a><a href="#impl-AcceptsPixels%3C%5Bi16%3B%204%5D%3E">AcceptsPixels<[i16; 4]></a><a href="#impl-AcceptsPixels%3C%5Bi32%3B%201%5D%3E">AcceptsPixels<[i32; 1]></a><a href="#impl-AcceptsPixels%3C%5Bi32%3B%202%5D%3E">AcceptsPixels<[i32; 2]></a><a href="#impl-AcceptsPixels%3C%5Bi32%3B%203%5D%3E">AcceptsPixels<[i32; 3]></a><a href="#impl-AcceptsPixels%3C%5Bi32%3B%204%5D%3E">AcceptsPixels<[i32; 4]></a><a href="#impl-AcceptsPixels%3C%5Bi64%3B%201%5D%3E">AcceptsPixels<[i64; 1]></a><a href="#impl-AcceptsPixels%3C%5Bi64%3B%202%5D%3E">AcceptsPixels<[i64; 2]></a><a href="#impl-AcceptsPixels%3C%5Bi64%3B%203%5D%3E">AcceptsPixels<[i64; 3]></a><a href="#impl-AcceptsPixels%3C%5Bi64%3B%204%5D%3E">AcceptsPixels<[i64; 4]></a><a href="#impl-AcceptsPixels%3C%5Bi8%3B%201%5D%3E">AcceptsPixels<[i8; 1]></a><a href="#impl-AcceptsPixels%3C%5Bi8%3B%202%5D%3E">AcceptsPixels<[i8; 2]></a><a href="#impl-AcceptsPixels%3C%5Bi8%3B%203%5D%3E">AcceptsPixels<[i8; 3]></a><a href="#impl-AcceptsPixels%3C%5Bi8%3B%204%5D%3E">AcceptsPixels<[i8; 4]></a><a href="#impl-AcceptsPixels%3C%5Bu16%3B%201%5D%3E">AcceptsPixels<[u16; 1]></a><a href="#impl-AcceptsPixels%3C%5Bu16%3B%202%5D%3E">AcceptsPixels<[u16; 2]></a><a href="#impl-AcceptsPixels%3C%5Bu16%3B%203%5D%3E">AcceptsPixels<[u16; 3]></a><a href="#impl-AcceptsPixels%3C%5Bu16%3B%204%5D%3E">AcceptsPixels<[u16; 4]></a><a href="#impl-AcceptsPixels%3C%5Bu32%3B%201%5D%3E">AcceptsPixels<[u32; 1]></a><a href="#impl-AcceptsPixels%3C%5Bu32%3B%202%5D%3E">AcceptsPixels<[u32; 2]></a><a href="#impl-AcceptsPixels%3C%5Bu32%3B%203%5D%3E">AcceptsPixels<[u32; 3]></a><a href="#impl-AcceptsPixels%3C%5Bu32%3B%204%5D%3E">AcceptsPixels<[u32; 4]></a><a href="#impl-AcceptsPixels%3C%5Bu64%3B%201%5D%3E">AcceptsPixels<[u64; 1]></a><a href="#impl-AcceptsPixels%3C%5Bu64%3B%202%5D%3E">AcceptsPixels<[u64; 2]></a><a href="#impl-AcceptsPixels%3C%5Bu64%3B%203%5D%3E">AcceptsPixels<[u64; 3]></a><a href="#impl-AcceptsPixels%3C%5Bu64%3B%204%5D%3E">AcceptsPixels<[u64; 4]></a><a href="#impl-AcceptsPixels%3C%5Bu8%3B%201%5D%3E">AcceptsPixels<[u8; 1]></a><a href="#impl-AcceptsPixels%3C%5Bu8%3B%202%5D%3E">AcceptsPixels<[u8; 2]></a><a href="#impl-AcceptsPixels%3C%5Bu8%3B%203%5D%3E">AcceptsPixels<[u8; 3]></a><a href="#impl-AcceptsPixels%3C%5Bu8%3B%204%5D%3E">AcceptsPixels<[u8; 4]></a><a href="#impl-AcceptsPixels%3C(f16%2C%20f16%2C%20f16%2C%20f16)%3E">AcceptsPixels<(f16, f16, f16, f16)></a><a href="#impl-AcceptsPixels%3C(f16%2C%20f16%2C%20f16)%3E">AcceptsPixels<(f16, f16, f16)></a><a href="#impl-AcceptsPixels%3C(f16%2C%20f16)%3E">AcceptsPixels<(f16, f16)></a><a href="#impl-AcceptsPixels%3C(f16%2C)%3E">AcceptsPixels<(f16,)></a><a href="#impl-AcceptsPixels%3C(f32%2C%20f32%2C%20f32%2C%20f32)%3E">AcceptsPixels<(f32, f32, f32, f32)></a><a href="#impl-AcceptsPixels%3C(f32%2C%20f32%2C%20f32)%3E">AcceptsPixels<(f32, f32, f32)></a><a href="#impl-AcceptsPixels%3C(f32%2C%20f32)%3E">AcceptsPixels<(f32, f32)></a><a href="#impl-AcceptsPixels%3C(f32%2C)%3E">AcceptsPixels<(f32,)></a><a href="#impl-AcceptsPixels%3C(f64%2C%20f64%2C%20f64%2C%20f64)%3E">AcceptsPixels<(f64, f64, f64, f64)></a><a href="#impl-AcceptsPixels%3C(f64%2C%20f64%2C%20f64)%3E">AcceptsPixels<(f64, f64, f64)></a><a href="#impl-AcceptsPixels%3C(f64%2C%20f64)%3E">AcceptsPixels<(f64, f64)></a><a href="#impl-AcceptsPixels%3C(f64%2C)%3E">AcceptsPixels<(f64,)></a><a href="#impl-AcceptsPixels%3C(i16%2C%20i16%2C%20i16%2C%20i16)%3E">AcceptsPixels<(i16, i16, i16, i16)></a><a href="#impl-AcceptsPixels%3C(i16%2C%20i16%2C%20i16)%3E">AcceptsPixels<(i16, i16, i16)></a><a href="#impl-AcceptsPixels%3C(i16%2C%20i16)%3E">AcceptsPixels<(i16, i16)></a><a href="#impl-AcceptsPixels%3C(i16%2C)%3E">AcceptsPixels<(i16,)></a><a href="#impl-AcceptsPixels%3C(i32%2C%20i32%2C%20i32%2C%20i32)%3E">AcceptsPixels<(i32, i32, i32, i32)></a><a href="#impl-AcceptsPixels%3C(i32%2C%20i32%2C%20i32)%3E">AcceptsPixels<(i32, i32, i32)></a><a href="#impl-AcceptsPixels%3C(i32%2C%20i32)%3E">AcceptsPixels<(i32, i32)></a><a href="#impl-AcceptsPixels%3C(i32%2C)%3E">AcceptsPixels<(i32,)></a><a href="#impl-AcceptsPixels%3C(i64%2C%20i64%2C%20i64%2C%20i64)%3E">AcceptsPixels<(i64, i64, i64, i64)></a><a href="#impl-AcceptsPixels%3C(i64%2C%20i64%2C%20i64)%3E">AcceptsPixels<(i64, i64, i64)></a><a href="#impl-AcceptsPixels%3C(i64%2C%20i64)%3E">AcceptsPixels<(i64, i64)></a><a href="#impl-AcceptsPixels%3C(i64%2C)%3E">AcceptsPixels<(i64,)></a><a href="#impl-AcceptsPixels%3C(i8%2C%20i8%2C%20i8%2C%20i8)%3E">AcceptsPixels<(i8, i8, i8, i8)></a><a href="#impl-AcceptsPixels%3C(i8%2C%20i8%2C%20i8)%3E">AcceptsPixels<(i8, i8, i8)></a><a href="#impl-AcceptsPixels%3C(i8%2C%20i8)%3E">AcceptsPixels<(i8, i8)></a><a href="#impl-AcceptsPixels%3C(i8%2C)%3E">AcceptsPixels<(i8,)></a><a href="#impl-AcceptsPixels%3C(u16%2C%20u16%2C%20u16%2C%20u16)%3E">AcceptsPixels<(u16, u16, u16, u16)></a><a href="#impl-AcceptsPixels%3C(u16%2C%20u16%2C%20u16)%3E">AcceptsPixels<(u16, u16, u16)></a><a href="#impl-AcceptsPixels%3C(u16%2C%20u16)%3E">AcceptsPixels<(u16, u16)></a><a href="#impl-AcceptsPixels%3C(u16%2C)%3E">AcceptsPixels<(u16,)></a><a href="#impl-AcceptsPixels%3C(u32%2C%20u32%2C%20u32%2C%20u32)%3E">AcceptsPixels<(u32, u32, u32, u32)></a><a href="#impl-AcceptsPixels%3C(u32%2C%20u32%2C%20u32)%3E">AcceptsPixels<(u32, u32, u32)></a><a href="#impl-AcceptsPixels%3C(u32%2C%20u32)%3E">AcceptsPixels<(u32, u32)></a><a href="#impl-AcceptsPixels%3C(u32%2C)%3E">AcceptsPixels<(u32,)></a><a href="#impl-AcceptsPixels%3C(u64%2C%20u64%2C%20u64%2C%20u64)%3E">AcceptsPixels<(u64, u64, u64, u64)></a><a href="#impl-AcceptsPixels%3C(u64%2C%20u64%2C%20u64)%3E">AcceptsPixels<(u64, u64, u64)></a><a href="#impl-AcceptsPixels%3C(u64%2C%20u64)%3E">AcceptsPixels<(u64, u64)></a><a href="#impl-AcceptsPixels%3C(u64%2C)%3E">AcceptsPixels<(u64,)></a><a href="#impl-AcceptsPixels%3C(u8%2C%20u8%2C%20u8%2C%20u8)%3E">AcceptsPixels<(u8, u8, u8, u8)></a><a href="#impl-AcceptsPixels%3C(u8%2C%20u8%2C%20u8)%3E">AcceptsPixels<(u8, u8, u8)></a><a href="#impl-AcceptsPixels%3C(u8%2C%20u8)%3E">AcceptsPixels<(u8, u8)></a><a href="#impl-AcceptsPixels%3C(u8%2C)%3E">AcceptsPixels<(u8,)></a><a href="#impl-AcceptsPixels%3Cf16%3E">AcceptsPixels<f16></a><a href="#impl-AcceptsPixels%3Cf32%3E">AcceptsPixels<f32></a><a href="#impl-AcceptsPixels%3Cf64%3E">AcceptsPixels<f64></a><a href="#impl-AcceptsPixels%3Ci16%3E">AcceptsPixels<i16></a><a href="#impl-AcceptsPixels%3Ci32%3E">AcceptsPixels<i32></a><a href="#impl-AcceptsPixels%3Ci64%3E">AcceptsPixels<i64></a><a href="#impl-AcceptsPixels%3Ci8%3E">AcceptsPixels<i8></a><a href="#impl-AcceptsPixels%3Cu16%3E">AcceptsPixels<u16></a><a href="#impl-AcceptsPixels%3Cu32%3E">AcceptsPixels<u32></a><a href="#impl-AcceptsPixels%3Cu64%3E">AcceptsPixels<u64></a><a href="#impl-AcceptsPixels%3Cu8%3E">AcceptsPixels<u8></a><a href="#impl-Clone">Clone</a><a href="#impl-Copy">Copy</a><a href="#impl-Debug">Debug</a><a href="#impl-Eq">Eq</a><a href="#impl-FormatDesc">FormatDesc</a><a href="#impl-Hash">Hash</a><a href="#impl-ImageClearValue%3C%3CFormat%20as%20FormatDesc%3E%3A%3AClearValue%3E">ImageClearValue<<Format as FormatDesc>::ClearValue></a><a href="#impl-PartialEq%3CFormat%3E">PartialEq<Format></a><a href="#impl-PossibleCompressedFormatDesc">PossibleCompressedFormatDesc</a><a href="#impl-PossibleDepthFormatDesc">PossibleDepthFormatDesc</a><a href="#impl-PossibleDepthStencilFormatDesc">PossibleDepthStencilFormatDesc</a><a href="#impl-PossibleFloatFormatDesc">PossibleFloatFormatDesc</a><a href="#impl-PossibleFloatOrCompressedFormatDesc">PossibleFloatOrCompressedFormatDesc</a><a href="#impl-PossibleSintFormatDesc">PossibleSintFormatDesc</a><a href="#impl-PossibleStencilFormatDesc">PossibleStencilFormatDesc</a><a href="#impl-PossibleUintFormatDesc">PossibleUintFormatDesc</a></div><a class="sidebar-title" href="#synthetic-implementations">Auto Trait Implementations</a><div class="sidebar-links"><a href="#impl-RefUnwindSafe">RefUnwindSafe</a><a href="#impl-Send">Send</a><a href="#impl-Sync">Sync</a><a href="#impl-Unpin">Unpin</a><a href="#impl-UnwindSafe">UnwindSafe</a></div><a class="sidebar-title" href="#blanket-implementations">Blanket Implementations</a><div class="sidebar-links"><a href="#impl-Any">Any</a><a href="#impl-Borrow%3CT%3E">Borrow<T></a><a href="#impl-BorrowMut%3CT%3E">BorrowMut<T></a><a href="#impl-Content">Content</a><a href="#impl-From%3CT%3E">From<T></a><a href="#impl-Into%3CU%3E">Into<U></a><a href="#impl-ToOwned">ToOwned</a><a href="#impl-TryFrom%3CU%3E">TryFrom<U></a><a href="#impl-TryInto%3CU%3E">TryInto<U></a></div></div><p class='location'><a href='../index.html'>vulkano</a>::<wbr><a href='index.html'>format</a></p><script>window.sidebarCurrent = {name: 'Format', ty: 'enum', relpath: ''};</script><script defer src="sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!"><img src="../../brush.svg" width="18" alt="Pick another theme!"></button><div id="theme-choices"></div></div><script src="../../theme.js"></script><nav class="sub"><form class="search-form js-only"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input" name="search" autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"></div><a id="settings-menu" href="../../settings.html"><img src="../../wheel.svg" width="18" alt="Change settings"></a></div></form></nav><section id="main" class="content"><h1 class='fqn'><span class='out-of-band'><span id='render-detail'><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class='inner'>−</span>]</a></span><a class='srclink' href='../../src/vulkano/format.rs.html#183-185' title='goto source code'>[src]</a></span><span class='in-band'>Enum <a href='../index.html'>vulkano</a>::<wbr><a href='index.html'>format</a>::<wbr><a class="enum" href=''>Format</a></span></h1><div class="docblock type-decl hidden-by-usual-hider"><pre class='rust enum'><span class="docblock attributes top-attr">#[repr(u32)]
|
|
|
</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="#variant.R8G8B8Snorm" class="anchor field"></a><code id='R8G8B8Snorm.v'>R8G8B8Snorm</code></div><div id="variant.R8G8B8Uscaled" class="variant small-section-header"><a href="#variant.R8G8B8Uscaled" class="anchor field"></a><code id='R8G8B8Uscaled.v'>R8G8B8Uscaled</code></div><div id="variant.R8G8B8Sscaled" class="variant small-section-header"><a href="#variant.R8G8B8Sscaled" class="anchor field"></a><code id='R8G8B8Sscaled.v'>R8G8B8Sscaled</code></div><div id="variant.R8G8B8Uint" class="variant small-section-header"><a href="#variant.R8G8B8Uint" class="anchor field"></a><code id='R8G8B8Uint.v'>R8G8B8Uint</code></div><div id="variant.R8G8B8Sint" class="variant small-section-header"><a href="#variant.R8G8B8Sint" class="anchor field"></a><code id='R8G8B8Sint.v'>R8G8B8Sint</code></div><div id="variant.R8G8B8Srgb" class="variant small-section-header"><a href="#variant.R8G8B8Srgb" class="anchor field"></a><code id='R8G8B8Srgb.v'>R8G8B8Srgb</code></div><div id="variant.B8G8R8Unorm" class="variant small-section-header"><a href="#variant.B8G8R8Unorm" class="anchor field"></a><code id='B8G8R8Unorm.v'>B8G8R8Unorm</code></div><div id="variant.B8G8R8Snorm" class="variant small-section-header"><a href="#variant.B8G8R8Snorm" class="anchor field"></a><code id='B8G8R8Snorm.v'>B8G8R8Snorm</code></div><div id="variant.B8G8R8Uscaled" class="variant small-section-header"><a href="#variant.B8G8R8Uscaled" class="anchor field"></a><code id='B8G8R8Uscaled.v'>B8G8R8Uscaled</code></div><div id="variant.B8G8R8Sscaled" class="variant small-section-header"><a href="#variant.B8G8R8Sscaled" class="anchor field"></a><code id='B8G8R8Sscaled.v'>B8G8R8Sscaled</code></div><div id="variant.B8G8R8Uint" class="variant small-section-header"><a href="#variant.B8G8R8Uint" class="anchor field"></a><code id='B8G8R8Uint.v'>B8G8R8Uint</code></div><div id="variant.B8G8R8Sint" class="variant small-section-header"><a href="#variant.B8G8R8Sint" class="anchor field"></a><code id='B8G8R8Sint.v'>B8G8R8Sint</code></div><div id="variant.B8G8R8Srgb" class="variant small-section-header"><a href="#variant.B8G8R8Srgb" class="anchor field"></a><code id='B8G8R8Srgb.v'>B8G8R8Srgb</code></div><div id="variant.R8G8B8A8Unorm" class="variant small-section-header"><a href="#variant.R8G8B8A8Unorm" class="anchor field"></a><code id='R8G8B8A8Unorm.v'>R8G8B8A8Unorm</code></div><div id="variant.R8G8B8A8Snorm" class="variant small-section-header"><a href="#variant.R8G8B8A8Snorm" class="anchor field"></a><code id='R8G8B8A8Snorm.v'>R8G8B8A8Snorm</code></div><div id="variant.R8G8B8A8Uscaled" class="variant small-section-header"><a href="#variant.R8G8B8A8Uscaled" class="anchor field"></a><code id='R8G8B8A8Uscaled.v'>R8G8B8A8Uscaled</code></div><div id="variant.R8G8B8A8Sscaled" class="variant small-section-header"><a href="#variant.R8G8B8A8Sscaled" class="anchor field"></a><code id='R8G8B8A8Sscaled.v'>R8G8B8A8Sscaled</code></div><div id="variant.R8G8B8A8Uint" class="variant small-section-header"><a href="#variant.R8G8B8A8Uint" class="anchor field"></a><code id='R8G8B8A8Uint.v'>R8G8B8A8Uint</code></div><div id="variant.R8G8B8A8Sint" class="variant small-section-header"><a href="#variant.R8G8B8A8Sint" class="anchor field"></a><code id='R8G8B8A8Sint.v'>R8G8B8A8Sint</code></div><div id="variant.R8G8B8A8Srgb" class="variant small-section-header"><a href="#variant.R8G8B8A8Srgb" class="anchor field"></a><code id='R8G8B8A8Srgb.v'>R8G8B8A8Srgb</code></div><div id="variant.B8G8R8A8Unorm" class="variant small-section-header"><a href="#variant.B8G8R8A8Unorm" class="anchor field"></a><code id='B8G8R8A8Unorm.v'>B8G8R8A8Unorm</code></div><div id="variant.B8G8R8A8Snorm" class="variant small-section-header"><a href="#variant.B8G8R8A8Snorm" class="anchor field"></a><code id='B8G8R8A8Snorm.v'>B8G8R8A8Snorm</code></div><div id="variant.B8G8R8A8Uscaled" class="variant small-section-header"><a href="#variant.B8G8R8A8Uscaled" class="anchor field"></a><code id='B8G8R8A8Uscaled.v'>B8G8R8A8Uscaled</code></div><div id="variant.B8G8R8A8Sscaled" class="variant small-section-header"><a href="#variant.B8G8R8A8Sscaled" class="anchor field"></a><code id='B8G8R8A8Sscaled.v'>B8G8R8A8Sscaled</code></div><div id="variant.B8G8R8A8Uint" class="variant small-section-header"><a href="#variant.B8G8R8A8Uint" class="anchor field"></a><code id='B8G8R8A8Uint.v'>B8G8R8A8Uint</code></div><div id="variant.B8G8R8A8Sint" class="variant small-section-header"><a href="#variant.B8G8R8A8Sint" class="anchor field"></a><code id='B8G8R8A8Sint.v'>B8G8R8A8Sint</code></div><div id="variant.B8G8R8A8Srgb" class="variant small-section-header"><a href="#variant.B8G8R8A8Srgb" class="anchor field"></a><code id='B8G8R8A8Srgb.v'>B8G8R8A8Srgb</code></div><div id="variant.A8B8G8R8UnormPack32" class="variant small-section-header"><a href="#variant.A8B8G8R8UnormPack32" class="anchor field"></a><code id='A8B8G8R8UnormPack32.v'>A8B8G8R8UnormPack32</code></div><div id="variant.A8B8G8R8SnormPack32" class="variant small-section-header"><a href="#variant.A8B8G8R8SnormPack32" class="anchor field"></a><code id='A8B8G8R8SnormPack32.v'>A8B8G8R8SnormPack32</code></div><div id="variant.A8B8G8R8UscaledPack32" class="variant small-section-header"><a href="#variant.A8B8G8R8UscaledPack32" class="anchor field"></a><code id='A8B8G8R8UscaledPack32.v'>A8B8G8R8UscaledPack32</code></div><div id="variant.A8B8G8R8SscaledPack32" class="variant small-section-header"><a href="#variant.A8B8G8R8SscaledPack32" class="anchor field"></a><code id='A8B8G8R8SscaledPack32.v'>A8B8G8R8SscaledPack32</code></div><div id="variant.A8B8G8R8UintPack32" class="variant small-section-header"><a href="#variant.A8B8G8R8UintPack32" class="anchor field"></a><code id='A8B8G8R8UintPack32.v'>A8B8G8R8UintPack32</code></div><div id="variant.A8B8G8R8SintPack32" class="variant small-section-header"><a href="#variant.A8B8G8R8SintPack32" class="anchor field"></a><code id='A8B8G8R8SintPack32.v'>A8B8G8R8SintPack32</code></div><div id="variant.A8B8G8R8SrgbPack32" class="variant small-section-header"><a href="#variant.A8B8G8R8SrgbPack32" class="anchor field"></a><code id='A8B8G8R8SrgbPack32.v'>A8B8G8R8SrgbPack32</code></div><div id="variant.A2R10G10B10UnormPack32" class="variant small-section-header"><a href="#variant.A2R10G10B10UnormPack32" class="anchor field"></a><code id='A2R10G10B10UnormPack32.v'>A2R10G10B10UnormPack32</code></div><div id="variant.A2R10G10B10SnormPack32" class="variant small-section-header"><a href="#variant.A2R10G10B10SnormPack32" class="anchor field"></a><code id='A2R10G10B10SnormPack32.v'>A2R10G10B10SnormPack32</code></div><div id="variant.A2R10G10B10UscaledPack32" class="variant small-section-header"><a href="#variant.A2R10G10B10UscaledPack32" class="anchor field"></a><code id='A2R10G10B10UscaledPack32.v'>A2R10G10B10UscaledPack32</code></div><div id="variant.A2R10G10B10SscaledPack32" class="variant small-section-header"><a href="#variant.A2R10G10B10SscaledPack32" class="anchor field"></a><code id='A2R10G10B10SscaledPack32.v'>A2R10G10B10SscaledPack32</code></div><div id="variant.A2R10G10B10UintPack32" class="variant small-section-header"><a href="#variant.A2R10G10B10UintPack32" class="anchor field"></a><code id='A2R10G10B10UintPack32.v'>A2R10G10B10UintPack32</code></div><div id="variant.A2R10G10B10SintPack32" class="variant small-section-header"><a href="#variant.A2R10G10B10SintPack32" class="anchor field"></a><code id='A2R10G10B10SintPack32.v'>A2R10G10B10SintPack32</code></div><div id="variant.A2B10G10R10UnormPack32" class="variant small-section-header"><a href="#variant.A2B10G10R10UnormPack32" class="anchor field"></a><code id='A2B10G10R10UnormPack32.v'>A2B10G10R10UnormPack32</code></div><div id="variant.A2B10G10R10SnormPack32" class="variant small-section-header"><a href="#variant.A2B10G10R10SnormPack32" class="anchor field"></a><code id='A2B10G10R10SnormPack32.v'>A2B10G10R10SnormPack32</code></div><div id="variant.A2B10G10R10UscaledPack32" class="variant small-section-header"><a href="#variant.A2B10G10R10UscaledPack32" class="anchor field"></a><code id='A2B10G10R10UscaledPack32.v'>A2B10G10R10UscaledPack32</code></div><div id="variant.A2B10G10R10SscaledPack32" class="variant small-section-header"><a href="#variant.A2B10G10R10SscaledPack32" class="anchor field"></a><code id='A2B10G10R10SscaledPack32.v'>A2B10G10R10SscaledPack32</code></div><div id="variant.A2B10G10R10UintPack32" class="variant small-section-header"><a href="#variant.A2B10G10R10UintPack32" class="anchor field"></a><code id='A2B10G10R10UintPack32.v'>A2B10G10R10UintPack32</code></div><div id="variant.A2B10G10R10SintPack32" class="variant small-section-header"><a href="#variant.A2B10G10R10SintPack32" class="anchor field"></a><code id='A2B10G10R10SintPack32.v'>A2B10G10R10SintPack32</code></div><div id="variant.R16Unorm" class="variant small-section-header"><a href="#variant.R16Unorm" class="anchor field"></a><code id='R16Unorm.v'>R16Unorm</code></div><div id="variant.R16Snorm" class="variant small-section-header"><a href="#variant.R16Snorm" class="anchor field"></a><code id='R16Snorm.v'>R16Snorm</code></div><div id="variant.R16Uscaled" class="variant small-section-header"><a href="#variant.R16Uscaled" class="anchor field"></a><code id='R16Uscaled.v'>R16Uscaled</code></div><div id="variant.R16Sscaled" class="variant small-section-header"><a href="#variant.R16Sscaled" class="anchor field"></a><code id='R16Sscaled.v'>R16Sscaled</code></div><div id="variant.R16Uint" class="variant small-section-header"><a href="#variant.R16Uint" class="anchor field"></a><code id='R16Uint.v'>R16Uint</code></div><div id="variant.R16Sint" class="variant small-section-header"><a href="#variant.R16Sint" class="anchor field"></a><code id='R16Sint.v'>R16Sint</code></div><div id="variant.R16Sfloat" class="variant small-section-header"><a href="#variant.R16Sfloat" class="anchor field"></a><code id='R16Sfloat.v'>R16Sfloat</code></div><div id="variant.R16G16Unorm" class="variant small-section-header"><a href="#variant.R16G16Unorm" class="anchor field"></a><code id='R16G16Unorm.v'>R16G16Unorm</code></div><div id="variant.R16G16Snorm" class="variant small-section-header"><a href="#variant.R16G16Snorm" class="anchor field"></a><code id='R16G16Snorm.v'>R16G16Snorm</code></div><div id="variant.R16G16Uscaled" class="variant small-section-header"><a href="#variant.R16G16Uscaled" class="anchor field"></a><code id='R16G16Uscaled.v'>R16G16Uscaled</code></div><div id="variant.R16G16Sscaled" class="variant small-section-header"><a href="#variant.R16G16Sscaled" class="anchor field"></a><code id='R16G16Sscaled.v'>R16G16Sscaled</code></div><div id="variant.R16G16Uint" class="variant small-section-header"><a href="#variant.R16G16Uint" class="anchor field"></a><code id='R16G16Uint.v'>R16G16Uint</code></div><div id="variant.R16G16Sint" class="variant small-section-header"><a href="#variant.R16G16Sint" class="anchor field"></a><code id='R16G16Sint.v'>R16G16Sint</code></div><div id="variant.R16G16Sfloat" class="variant small-section-header"><a href="#variant.R16G16Sfloat" class="anchor field"></a><code id='R16G16Sfloat.v'>R16G16Sfloat</code></div><div id="variant.R16G16B16Unorm" class="variant small-section-header"><a href="#variant.R16G16B16Unorm" class="anchor field"></a><code id='R16G16B16Unorm.v'>R16G16B16Unorm</code></div><div id="variant.R16G16B16Snorm" class="variant small-section-header"><a href="#variant.R16G16B16Snorm" class="anchor field"></a><code id='R16G16B16Snorm.v'>R16G16B16Snorm</code></div><div id="variant.R16G16B16Uscaled" class="variant small-section-header"><a href="#variant.R16G16B16Uscaled" class="anchor field"></a><code id='R16G16B16Uscaled.v'>R16G16B16Uscaled</code></div><div id="variant.R16G16B16Sscaled" class="variant small-section-header"><a href="#variant.R16G16B16Sscaled" class="anchor field"></a><code id='R16G16B16Sscaled.v'>R16G16B16Sscaled</code></div><div id="variant.R16G16B16Uint" class="variant small-section-header"><a href="#variant.R16G16B16Uint" class="anchor field"></a><code id='R16G16B16Uint.v'>R16G16B16Uint</code></div><div id="variant.R16G16B16Sint" class="variant small-section-header"><a href="#variant.R16G16B16Sint" class="anchor field"></a><code id='R16G16B16Sint.v'>R16G16B16Sint</code></div><div id="variant.R16G16B16Sfloat" class="variant small-section-header"><a href="#variant.R16G16B16Sfloat" class="anchor field"></a><code id='R16G16B16Sfloat.v'>R16G16B16Sfloat</code></div><div id="variant.R16G16B16A16Unorm" class="variant small-section-header"><a href="#variant.R16G16B16A16Unorm" class="anchor field"></a><code id='R16G16B16A16Unorm.v'>R16G16B16A16Unorm</code></div><div id="variant.R16G16B16A16Snorm" class="variant small-section-header"><a href="#variant.R16G16B16A16Snorm" class="anchor field"></a><code id='R16G16B16A16Snorm.v'>R16G16B16A16Snorm</code></div><div id="variant.R16G16B16A16Uscaled" class="variant small-section-header"><a href="#variant.R16G16B16A16Uscaled" class="anchor field"></a><code id='R16G16B16A16Uscaled.v'>R16G16B16A16Uscaled</code></div><div id="variant.R16G16B16A16Sscaled" class="variant small-section-header"><a href="#variant.R16G16B16A16Sscaled" class="anchor field"></a><code id='R16G16B16A16Sscaled.v'>R16G16B16A16Sscaled</code></div><div id="variant.R16G16B16A16Uint" class="variant small-section-header"><a href="#variant.R16G16B16A16Uint" class="anchor field"></a><code id='R16G16B16A16Uint.v'>R16G16B16A16Uint</code></div><div id="variant.R16G16B16A16Sint" class="variant small-section-header"><a href="#variant.R16G16B16A16Sint" class="anchor field"></a><code id='R16G16B16A16Sint.v'>R16G16B16A16Sint</code></div><div id="variant.R16G16B16A16Sfloat" class="variant small-section-header"><a href="#variant.R16G16B16A16Sfloat" class="anchor field"></a><code id='R16G16B16A16Sfloat.v'>R16G16B16A16Sfloat</code></div><div id="variant.R32Uint" class="variant small-section-header"><a href="#variant.R32Uint" class="anchor field"></a><code id='R32Uint.v'>R32Uint</code></div><div id="variant.R32Sint" class="variant small-section-header"><a href="#variant.R32Sint" class="anchor field"></a><code id='R32Sint.v'>R32Sint</code></div><div id="variant.R32Sfloat" class="variant small-section-header"><a href="#variant.R32Sfloat" class="anchor field"></a><code id='R32Sfloat.v'>R32Sfloat</code></div><div id="variant.R32G32Uint" class="variant small-section-header"><a href="#variant.R32G32Uint" class="anchor field"></a><code id='R32G32Uint.v'>R32G32Uint</code></div><div id="variant.R32G32Sint" class="variant small-section-header"><a href="#variant.R32G32Sint" class="anchor field"></a><code id='R32G32Sint.v'>R32G32Sint</code></div><div id="variant.R32G32Sfloat" class="variant small-section-header"><a href="#variant.R32G32Sfloat" class="anchor field"></a><code id='R32G32Sfloat.v'>R32G32Sfloat</code></div><div id="variant.R32G32B32Uint" class="variant small-section-header"><a href="#variant.R32G32B32Uint" class="anchor field"></a><code id='R32G32B32Uint.v'>R32G32B32Uint</code></div><div id="variant.R32G32B32Sint" class="variant small-section-header"><a href="#variant.R32G32B32Sint" class="anchor field"></a><code id='R32G32B32Sint.v'>R32G32B32Sint</code></div><div id="variant.R32G32B32Sfloat" class="variant small-section-header"><a href="#variant.R32G32B32Sfloat" class="anchor field"></a><code id='R32G32B32Sfloat.v'>R32G32B32Sfloat</code></div><div id="variant.R32G32B32A32Uint" class="variant small-section-header"><a href="#variant.R32G32B32A32Uint" class="anchor field"></a><code id='R32G32B32A32Uint.v'>R32G32B32A32Uint</code></div><div id="variant.R32G32B32A32Sint" class="variant small-section-header"><a href="#variant.R32G32B32A32Sint" class="anchor field"></a><code id='R32G32B32A32Sint.v'>R32G32B32A32Sint</code></div><div id="variant.R32G32B32A32Sfloat" class="variant small-section-header"><a href="#variant.R32G32B32A32Sfloat" class="anchor field"></a><code id='R32G32B32A32Sfloat.v'>R32G32B32A32Sfloat</code></div><div id="variant.R64Uint" class="variant small-section-header"><a href="#variant.R64Uint" class="anchor field"></a><code id='R64Uint.v'>R64Uint</code></div><div id="variant.R64Sint" class="variant small-section-header"><a href="#variant.R64Sint" class="anchor field"></a><code id='R64Sint.v'>R64Sint</code></div><div id="variant.R64Sfloat" class="variant small-section-header"><a href="#variant.R64Sfloat" class="anchor field"></a><code id='R64Sfloat.v'>R64Sfloat</code></div><div id="variant.R64G64Uint" class="variant small-section-header"><a href="#variant.R64G64Uint" class="anchor field"></a><code id='R64G64Uint.v'>R64G64Uint</code></div><div id="variant.R64G64Sint" class="variant small-section-header"><a href="#variant.R64G64Sint" class="anchor field"></a><code id='R64G64Sint.v'>R64G64Sint</code></div><div id="variant.R64G64Sfloat" class="variant small-section-header"><a href="#variant.R64G64Sfloat" class="anchor field"></a><code id='R64G64Sfloat.v'>R64G64Sfloat</code></div><div id="variant.R64G64B64Uint" class="variant small-section-header"><a href="#variant.R64G64B64Uint" class="anchor field"></a><code id='R64G64B64Uint.v'>R64G64B64Uint</code></div><div id="variant.R64G64B64Sint" class="variant small-section-header"><a href="#variant.R64G64B64Sint" class="anchor field"></a><code id='R64G64B64Sint.v'>R64G64B64Sint</code></div><div id="variant.R64G64B64Sfloat" class="variant small-section-header"><a href="#variant.R64G64B64Sfloat" class="anchor field"></a><code id='R64G64B64Sfloat.v'>R64G64B64Sfloat</code></div><div id="variant.R64G64B64A64Uint" class="variant small-section-header"><a href="#variant.R64G64B64A64Uint" class="anchor field"></a><code id='R64G64B64A64Uint.v'>R64G64B64A64Uint</code></div><div id="variant.R64G64B64A64Sint" class="variant small-section-header"><a href="#variant.R64G64B64A64Sint" class="anchor field"></a><code id='R64G64B64A64Sint.v'>R64G64B64A64Sint</code></div><div id="variant.R64G64B64A64Sfloat" class="variant small-section-header"><a href="#variant.R64G64B64A64Sfloat" class="anchor field"></a><code id='R64G64B64A64Sfloat.v'>R64G64B64A64Sfloat</code></div><div id="variant.B10G11R11UfloatPack32" class="variant small-section-header"><a href="#variant.B10G11R11UfloatPack32" class="anchor field"></a><code id='B10G11R11UfloatPack32.v'>B10G11R11UfloatPack32</code></div><div id="variant.E5B9G9R9UfloatPack32" class="variant small-section-header"><a href="#variant.E5B9G9R9UfloatPack32" class="anchor field"></a><code id='E5B9G9R9UfloatPack32.v'>E5B9G9R9UfloatPack32</code></div><div id="variant.D16Unorm" class="variant small-section-header"><a href="#variant.D16Unorm" class="anchor field"></a><code id='D16Unorm.v'>D16Unorm</code></div><div id="variant.X8_D24UnormPack32" class="variant small-section-header"><a href="#variant.X8_D24UnormPack32" class="anchor field"></a><code id='X8_D24UnormPack32.v'>X8_D24UnormPack32</code></div><div id="variant.D32Sfloat" class="variant small-section-header"><a href="#variant.D32Sfloat" class="anchor field"></a><code id='D32Sfloat.v'>D32Sfloat</code></div><div id="variant.S8Uint" class="variant small-section-header"><a href="#variant.S8Uint" class="anchor field"></a><code id='S8Uint.v'>S8Uint</code></div><div id="variant.D16Unorm_S8Uint" class="variant small-section-header"><a href="#variant.D16Unorm_S8Uint" class="anchor field"></a><code id='D16Unorm_S8Uint.v'>D16Unorm_S8Uint</code></div><div id="variant.D24Unorm_S8Uint" class="variant small-section-header"><a href="#variant.D24Unorm_S8Uint" class="anchor field"></a><code id='D24Unorm_S8Uint.v'>D24Unorm_S8Uint</code></div><div id="variant.D32Sfloat_S8Uint" class="variant small-section-header"><a href="#variant.D32Sfloat_S8Uint" class="anchor field"></a><code id='D32Sfloat_S8Uint.v'>D32Sfloat_S8Uint</code></div><div id="variant.BC1_RGBUnormBlock" class="variant small-section-header"><a href="#variant.BC1_RGBUnormBlock" class="anchor field"></a><code id='BC1_RGBUnormBlock.v'>BC1_RGBUnormBlock</code></div><div id="variant.BC1_RGBSrgbBlock" class="variant small-section-header"><a href="#variant.BC1_RGBSrgbBlock" class="anchor field"></a><code id='BC1_RGBSrgbBlock.v'>BC1_RGBSrgbBlock</code></div><div id="variant.BC1_RGBAUnormBlock" class="variant small-section-header"><a href="#variant.BC1_RGBAUnormBlock" class="anchor field"></a><code id='BC1_RGBAUnormBlock.v'>BC1_RGBAUnormBlock</code></div><div id="variant.BC1_RGBASrgbBlock" class="variant small-section-header"><a href="#variant.BC1_RGBASrgbBlock" class="anchor field"></a><code id='BC1_RGBASrgbBlock.v'>BC1_RGBASrgbBlock</code></div><div id="variant.BC2UnormBlock" class="variant small-section-header"><a href="#variant.BC2UnormBlock" class="anchor field"></a><code id='BC2UnormBlock.v'>BC2UnormBlock</code></div><div id="variant.BC2SrgbBlock" class="variant small-section-header"><a href="#variant.BC2SrgbBlock" class="anchor field"></a><code id='BC2SrgbBlock.v'>BC2SrgbBlock</code></div><div id="variant.BC3UnormBlock" class="variant small-section-header"><a href="#variant.BC3UnormBlock" class="anchor field"></a><code id='BC3UnormBlock.v'>BC3UnormBlock</code></div><div id="variant.BC3SrgbBlock" class="variant small-section-header"><a href="#variant.BC3SrgbBlock" class="anchor field"></a><code id='BC3SrgbBlock.v'>BC3SrgbBlock</code></div><div id="variant.BC4UnormBlock" class="variant small-section-header"><a href="#variant.BC4UnormBlock" class="anchor field"></a><code id='BC4UnormBlock.v'>BC4UnormBlock</code></div><div id="variant.BC4SnormBlock" class="variant small-section-header"><a href="#variant.BC4SnormBlock" class="anchor field"></a><code id='BC4SnormBlock.v'>BC4SnormBlock</code></div><div id="variant.BC5UnormBlock" class="variant small-section-header"><a href="#variant.BC5UnormBlock" class="anchor field"></a><code id='BC5UnormBlock.v'>BC5UnormBlock</code></div><div id="variant.BC5SnormBlock" class="variant small-section-header"><a href="#variant.BC5SnormBlock" class="anchor field"></a><code id='BC5SnormBlock.v'>BC5SnormBlock</code></div><div id="variant.BC6HUfloatBlock" class="variant small-section-header"><a href="#variant.BC6HUfloatBlock" class="anchor field"></a><code id='BC6HUfloatBlock.v'>BC6HUfloatBlock</code></div><div id="variant.BC6HSfloatBlock" class="variant small-section-header"><a href="#variant.BC6HSfloatBlock" class="anchor field"></a><code id='BC6HSfloatBlock.v'>BC6HSfloatBlock</code></div><div id="variant.BC7UnormBlock" class="variant small-section-header"><a href="#variant.BC7UnormBlock" class="anchor field"></a><code id='BC7UnormBlock.v'>BC7UnormBlock</code></div><div id="variant.BC7SrgbBlock" class="variant small-section-header"><a href="#variant.BC7SrgbBlock" class="anchor field"></a><code id='BC7SrgbBlock.v'>BC7SrgbBlock</code></div><div id="variant.ETC2_R8G8B8UnormBlock" class="variant small-section-header"><a href="#variant.ETC2_R8G8B8UnormBlock" class="anchor field"></a><code id='ETC2_R8G8B8UnormBlock.v'>ETC2_R8G8B8UnormBlock</code></div><div id="variant.ETC2_R8G8B8SrgbBlock" class="variant small-section-header"><a href="#variant.ETC2_R8G8B8SrgbBlock" class="anchor field"></a><code id='ETC2_R8G8B8SrgbBlock.v'>ETC2_R8G8B8SrgbBlock</code></div><div id="variant.ETC2_R8G8B8A1UnormBlock" class="variant small-section-header"><a href="#variant.ETC2_R8G8B8A1UnormBlock" class="anchor field"></a><code id='ETC2_R8G8B8A1UnormBlock.v'>ETC2_R8G8B8A1UnormBlock</code></div><div id="variant.ETC2_R8G8B8A1SrgbBlock" class="variant small-section-header"><a href="#variant.ETC2_R8G8B8A1SrgbBlock" class="anchor field"></a><code id='ETC2_R8G8B8A1SrgbBlock.v'>ETC2_R8G8B8A1SrgbBlock</code></div><div id="variant.ETC2_R8G8B8A8UnormBlock" class="variant small-section-header"><a href="#variant.ETC2_R8G8B8A8UnormBlock" class="anchor field"></a><code id='ETC2_R8G8B8A8UnormBlock.v'>ETC2_R8G8B8A8UnormBlock</code></div><div id="variant.ETC2_R8G8B8A8SrgbBlock" class="variant small-section-header"><a href="#variant.ETC2_R8G8B8A8SrgbBlock" class="anchor field"></a><code id='ETC2_R8G8B8A8SrgbBlock.v'>ETC2_R8G8B8A8SrgbBlock</code></div><div id="variant.EAC_R11UnormBlock" class="variant small-section-header"><a href="#variant.EAC_R11UnormBlock" class="anchor field"></a><code id='EAC_R11UnormBlock.v'>EAC_R11UnormBlock</code></div><div id="variant.EAC_R11SnormBlock" class="variant small-section-header"><a href="#variant.EAC_R11SnormBlock" class="anchor field"></a><code id='EAC_R11SnormBlock.v'>EAC_R11SnormBlock</code></div><div id="variant.EAC_R11G11UnormBlock" class="variant small-section-header"><a href="#variant.EAC_R11G11UnormBlock" class="anchor field"></a><code id='EAC_R11G11UnormBlock.v'>EAC_R11G11UnormBlock</code></div><div id="variant.EAC_R11G11SnormBlock" class="variant small-section-header"><a href="#variant.EAC_R11G11SnormBlock" class="anchor field"></a><code id='EAC_R11G11SnormBlock.v'>EAC_R11G11SnormBlock</code></div><div id="variant.ASTC_4x4UnormBlock" class="variant small-section-header"><a href="#variant.ASTC_4x4UnormBlock" class="anchor field"></a><code id='ASTC_4x4UnormBlock.v'>ASTC_4x4UnormBlock</code></div><div id="variant.ASTC_4x4SrgbBlock" class="variant small-section-header"><a href="#variant.ASTC_4x4SrgbBlock" class="anchor field"></a><code id='ASTC_4x4SrgbBlock.v'>ASTC_4x4SrgbBlock</code></div><div id="variant.ASTC_5x4UnormBlock" class="variant small-section-header"><a href="#variant.ASTC_5x4UnormBlock" class="anchor field"></a><code id='ASTC_5x4UnormBlock.v'>ASTC_5x4UnormBlock</code></div><div id="variant.ASTC_5x4SrgbBlock" class="variant small-section-header"><a href="#variant.ASTC_5x4SrgbBlock" class="anchor field"></a><code id='ASTC_5x4SrgbBlock.v'>ASTC_5x4SrgbBlock</code></div><div id="variant.ASTC_5x5UnormBlock" class="variant small-section-header"><a href="#variant.ASTC_5x5UnormBlock" class="anchor field"></a><code id='ASTC_5x5UnormBlock.v'>ASTC_5x5UnormBlock</code></div><div id="variant.ASTC_5x5SrgbBlock" class="variant small-section-header"><a href="#variant.ASTC_5x5SrgbBlock" class="anchor field"></a><code id='ASTC_5x5SrgbBlock.v'>ASTC_5x5SrgbBlock</code></div><div id="variant.ASTC_6x5UnormBlock" class="variant small-section-header"><a href="#variant.ASTC_6x5UnormBlock" class="anchor field"></a><code id='ASTC_6x5UnormBlock.v'>ASTC_6x5UnormBlock</code></div><div id="variant.ASTC_6x5SrgbBlock" class="variant small-section-header"><a href="#variant.ASTC_6x5SrgbBlock" class="anchor field"></a><code id='ASTC_6x5SrgbBlock.v'>ASTC_6x5SrgbBlock</code></div><div id="variant.ASTC_6x6UnormBlock" class="variant small-section-header"><a href="#variant.ASTC_6x6UnormBlock" class="anchor field"></a><code id='ASTC_6x6UnormBlock.v'>ASTC_6x6UnormBlock</code></div><div id="variant.ASTC_6x6SrgbBlock" class="variant small-section-header"><a href="#variant.ASTC_6x6SrgbBlock" class="anchor field"></a><code id='ASTC_6x6SrgbBlock.v'>ASTC_6x6SrgbBlock</code></div><div id="variant.ASTC_8x5UnormBlock" class="variant small-section-header"><a href="#variant.ASTC_8x5UnormBlock" class="anchor field"></a><code id='ASTC_8x5UnormBlock.v'>ASTC_8x5UnormBlock</code></div><div id="variant.ASTC_8x5SrgbBlock" class="variant small-section-header"><a href="#variant.ASTC_8x5SrgbBlock" class="anchor field"></a><code id='ASTC_8x5SrgbBlock.v'>ASTC_8x5SrgbBlock</code></div><div id="variant.ASTC_8x6UnormBlock" class="variant small-section-header"><a href="#variant.ASTC_8x6UnormBlock" class="anchor field"></a><code id='ASTC_8x6UnormBlock.v'>ASTC_8x6UnormBlock</code></div><div id="variant.ASTC_8x6SrgbBlock" class="variant small-section-header"><a href="#variant.ASTC_8x6SrgbBlock" class="anchor field"></a><code id='ASTC_8x6SrgbBlock.v'>ASTC_8x6SrgbBlock</code></div><div id="variant.ASTC_8x8UnormBlock" class="variant small-section-header"><a href="#variant.ASTC_8x8UnormBlock" class="anchor field"></a><code id='ASTC_8x8UnormBlock.v'>ASTC_8x8UnormBlock</code></div><div id="variant.ASTC_8x8SrgbBlock" class="variant small-section-header"><a href="#variant.ASTC_8x8SrgbBlock" class="anchor field"></a><code id='ASTC_8x8SrgbBlock.v'>ASTC_8x8SrgbBlock</code></div><div id="variant.ASTC_10x5UnormBlock" class="variant small-section-header"><a href="#variant.ASTC_10x5UnormBlock" class="anchor field"></a><code id='ASTC_10x5UnormBlock.v'>ASTC_10x5UnormBlock</code></div><div id="variant.ASTC_10x5SrgbBlock" class="variant small-section-header"><a href="#variant.ASTC_10x5SrgbBlock" class="anchor field"></a><code id='ASTC_10x5SrgbBlock.v'>ASTC_10x5SrgbBlock</code></div><div id="variant.ASTC_10x6UnormBlock" class="variant small-section-header"><a href="#variant.ASTC_10x6UnormBlock" class="anchor field"></a><code id='ASTC_10x6UnormBlock.v'>ASTC_10x6UnormBlock</code></div><div id="variant.ASTC_10x6SrgbBlock" class="variant small-section-header"><a href="#variant.ASTC_10x6SrgbBlock" class="anchor field"></a><code id='ASTC_10x6SrgbBlock.v'>ASTC_10x6SrgbBlock</code></div><div id="variant.ASTC_10x8UnormBlock" class="variant small-section-header"><a href="#variant.ASTC_10x8UnormBlock" class="anchor field"></a><code id='ASTC_10x8UnormBlock.v'>ASTC_10x8UnormBlock</code></div><div id="variant.ASTC_10x8SrgbBlock" class="variant small-section-header"><a href="#variant.ASTC_10x8SrgbBlock" class="anchor field"></a><code id='ASTC_10x8SrgbBlock.v'>ASTC_10x8SrgbBlock</code></div><div id="variant.ASTC_10x10UnormBlock" class="variant small-section-header"><a href="#variant.ASTC_10x10UnormBlock" class="anchor field"></a><code id='ASTC_10x10UnormBlock.v'>ASTC_10x10UnormBlock</code></div><div id="variant.ASTC_10x10SrgbBlock" class="variant small-section-header"><a href="#variant.ASTC_10x10SrgbBlock" class="anchor field"></a><code id='ASTC_10x10SrgbBlock.v'>ASTC_10x10SrgbBlock</code></div><div id="variant.ASTC_12x10UnormBlock" class="variant small-section-header"><a href="#variant.ASTC_12x10UnormBlock" class="anchor field"></a><code id='ASTC_12x10UnormBlock.v'>ASTC_12x10UnormBlock</code></div><div id="variant.ASTC_12x10SrgbBlock" class="variant small-section-header"><a href="#variant.ASTC_12x10SrgbBlock" class="anchor field"></a><code id='ASTC_12x10SrgbBlock.v'>ASTC_12x10SrgbBlock</code></div><div id="variant.ASTC_12x12UnormBlock" class="variant small-section-header"><a href="#variant.ASTC_12x12UnormBlock" class="anchor field"></a><code id='ASTC_12x12UnormBlock.v'>ASTC_12x12UnormBlock</code></div><div id="variant.ASTC_12x12SrgbBlock" class="variant small-section-header"><a href="#variant.ASTC_12x12SrgbBlock" class="anchor field"></a><code id='ASTC_12x12SrgbBlock.v'>ASTC_12x12SrgbBlock</code></div><h2 id='methods' class='small-section-header'>Methods<a href='#methods' class='anchor'></a></h2><h3 id='impl' class='impl'><code class='in-band'>impl <a class="enum" href="../../vulkano/format/enum.Format.html" title="enum vulkano::format::Format">Format</a></code><a href='#impl' class='anchor'></a><a class='srclink' href='../../src/vulkano/format.rs.html#187-236' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.size' class="method"><code id='size.v'>pub fn <a href='#method.size' class='fnname'>size</a>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>></code><a class='srclink' href='../../src/vulkano/format.rs.html#199-205' title='goto source code'>[src]</a></h4><div class='docblock'><p>Returns the size in bytes of an element of this format. For block based formats
|
|
|
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>(&self) -> <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>(&self) -> <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><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>> 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>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<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>></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>(&self) -> <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><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i8.html">i8</a>> 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>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<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>></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>(&self) -> <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><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u16.html">u16</a>> 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>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<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>></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>(&self) -> <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><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i16.html">i16</a>> 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>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<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>></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>(&self) -> <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><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>> 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>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<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>></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>(&self) -> <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><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>> 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>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<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>></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>(&self) -> <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><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>> 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>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<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>></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>(&self) -> <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><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i64.html">i64</a>> 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>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<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>></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>(&self) -> <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><<a class="struct" href="../../half/struct.f16.html" title="struct half::f16">f16</a>> 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>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<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>></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>(&self) -> <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><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a>> 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>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<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>></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>(&self) -> <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><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a>> 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>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<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>></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>(&self) -> <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><<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>> 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>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<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>></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>(&self) -> <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><<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>> 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>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<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>></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>(&self) -> <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><<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>> 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>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<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>></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>(&self) -> <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><<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>> 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>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<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>></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>(&self) -> <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><<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>> 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>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<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>></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>(&self) -> <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><<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>> 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>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<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>></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>(&self) -> <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><<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>> 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>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<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>></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>(&self) -> <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><<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>> 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>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<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>></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>(&self) -> <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><<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>> 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>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<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>></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>(&self) -> <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><<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>> 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>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<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>></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>(&self) -> <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><<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>> 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>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<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>></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>(&self) -> <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><<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>> 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>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<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>></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>(&self) -> <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><<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>> 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>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<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>></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>(&self) -> <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><<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>> 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>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<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>></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>(&self) -> <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><<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>> 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>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<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>></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>(&self) -> <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><<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>> 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>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<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>></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>(&self) -> <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><<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>> 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>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<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>></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>(&self) -> <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><<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>> 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>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<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>></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>(&self) -> <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><<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>> 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>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<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>></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>(&self) -> <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><<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>> 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>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<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>></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>(&self) -> <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><<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>> 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>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<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>></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>(&self) -> <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><<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>> 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>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<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>></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>(&self) -> <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><<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>> 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>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<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>></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>(&self) -> <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><<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>> 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>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<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>></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>(&self) -> <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><<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>> 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>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<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>></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>(&self) -> <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><<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>> 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>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<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>></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>(&self) -> <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><<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>> 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>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<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>></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>(&self) -> <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><<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>> 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>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<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>></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>(&self) -> <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><<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>> 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>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<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>></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>(&self) -> <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><<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>> 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>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<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>></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>(&self) -> <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><<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>> 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>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<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>></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>(&self) -> <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><<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>> 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>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<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>></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>(&self) -> <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><<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>> 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>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<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>></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>(&self) -> <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><<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>> 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>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<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>></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>(&self) -> <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><<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>> 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>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<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>></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>(&self) -> <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><<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>> 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>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<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>></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>(&self) -> <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><<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>> 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>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<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>></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>(&self) -> <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><<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>> 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>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<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>></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>(&self) -> <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><<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>> 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>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<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>></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>(&self) -> <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><<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>> 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>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<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>></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>(&self) -> <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><<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>> 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>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<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>></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>(&self) -> <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><<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>> 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>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<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>></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>(&self) -> <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><<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>> 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>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<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>></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>(&self) -> <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><<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>> 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>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<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>></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>(&self) -> <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><<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>> 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>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<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>></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>(&self) -> <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><<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>> 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>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<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>></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>(&self) -> <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><<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>> 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>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<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>></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>(&self) -> <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><<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>> 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>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<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>></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>(&self) -> <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><<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>> 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>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<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>></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>(&self) -> <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><<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>> 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>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<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>></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>(&self) -> <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><<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>> 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>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<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>></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>(&self) -> <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><<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>> 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>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<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>></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>(&self) -> <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><<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>> 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>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<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>></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>(&self) -> <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><<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>> 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>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<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>></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>(&self) -> <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><<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>> 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>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<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>></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>(&self) -> <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><<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>> 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>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<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>></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>(&self) -> <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><<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>> 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>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<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>></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>(&self) -> <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><<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>> 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>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<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>></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>(&self) -> <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><<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>> 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>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<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>></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>(&self) -> <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><<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>> 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>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<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>></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>(&self) -> <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><<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>> 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>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<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>></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>(&self) -> <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><<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>> 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>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<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>></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>(&self) -> <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><<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>> 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>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<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>></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>(&self) -> <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><<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>> 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>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<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>></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>(&self) -> <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><<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>> 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>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<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>></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>(&self) -> <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><<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>> 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>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<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>></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>(&self) -> <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><<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>> 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>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<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>></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>(&self) -> <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><<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>> 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>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<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>></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>(&self) -> <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><<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>> 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>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<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>></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>(&self) -> <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><<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>> 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>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<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>></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>(&self) -> <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><<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>> 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>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<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>></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>(&self) -> <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><<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>> 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>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<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>></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>(&self) -> <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><<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>> 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>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<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>></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>(&self) -> <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><<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>> 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>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<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>></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>(&self) -> <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><<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>> 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>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<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>></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>(&self) -> <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><<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>> 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>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<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>></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>(&self) -> <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><<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>> 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>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<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>></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>(&self) -> <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><<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>> 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>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<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>></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>(&self) -> <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><<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>> 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>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<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>></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>(&self) -> <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><<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>> 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>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<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>></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>(&self) -> <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><<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>> 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>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<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>></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>(&self) -> <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><<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>> 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>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<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>></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>(&self) -> <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><<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>> 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>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<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>></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>(&self) -> <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><<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>> 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>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<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>></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>(&self) -> <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><<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>> 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>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<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>></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>(&self) -> <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><<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>> 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>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<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>></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>(&self) -> <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><<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>> 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>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<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>></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>(&self) -> <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><<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>> 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>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<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>></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>(&self) -> <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>(&self) -> <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>(&self, value: Self::<a class="type" href="../../vulkano/format/trait.FormatDesc.html#associatedtype.ClearValue" title="type vulkano::format::FormatDesc::ClearValue">ClearValue</a>) -> <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>(&self) -> <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>(&self) -> <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>(&self) -> <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>(&self) -> <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>(&self) -> <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::PossibleDepthStencilFormatDesc">PossibleDepthStencilFormatDesc</a> for <a class="enum" href="../../vulkano/format/enum.Format.html" title="enum vulkano::format::Format">Format</a></code><a href='#impl-PossibleDepthStencilFormatDesc' class='anchor'></a><a class='srclink' href='../../src/vulkano/format.rs.html#712-717' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.is_depth_stencil' class="method hidden"><code id='is_depth_stencil.v'>fn <a href='../../vulkano/format/trait.PossibleDepthStencilFormatDesc.html#tymethod.is_depth_stencil' class='fnname'>is_depth_stencil</a>(&self) -> <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#714-716' title='goto source code'>[src]</a></h4></div><h3 id='impl-PossibleCompressedFormatDesc' class='impl'><code class='in-band'>impl <a class="trait" href="../../vulkano/format/trait.PossibleCompressedFormatDesc.html" title="trait vulkano::format::PossibleCompressedFormatDesc">PossibleCompressedFormatDesc</a> for <a class="enum" href="../../vulkano/format/enum.Format.html" title="enum vulkano::format::Format">Format</a></code><a href='#impl-PossibleCompressedFormatDesc' class='anchor'></a><a class='srclink' href='../../src/vulkano/format.rs.html#723-728' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.is_compressed' class="method hidden"><code id='is_compressed.v'>fn <a href='../../vulkano/format/trait.PossibleCompressedFormatDesc.html#tymethod.is_compressed' class='fnname'>is_compressed</a>(&self) -> <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#725-727' title='goto source code'>[src]</a></h4></div><h3 id='impl-PossibleFloatOrCompressedFormatDesc' class='impl'><code class='in-band'>impl <a class="trait" href="../../vulkano/format/trait.PossibleFloatOrCompressedFormatDesc.html" title="trait vulkano::format::PossibleFloatOrCompressedFormatDesc">PossibleFloatOrCompressedFormatDesc</a> for <a class="enum" href="../../vulkano/format/enum.Format.html" title="enum vulkano::format::Format">Format</a></code><a href='#impl-PossibleFloatOrCompressedFormatDesc' class='anchor'></a><a class='srclink' href='../../src/vulkano/format.rs.html#736-741' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.is_float_or_compressed' class="method hidden"><code id='is_float_or_compressed.v'>fn <a href='../../vulkano/format/trait.PossibleFloatOrCompressedFormatDesc.html#tymethod.is_float_or_compressed' class='fnname'>is_float_or_compressed</a>(&self) -> <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#738-740' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Returns true if the format is a float or compressed format.</p>
|
|
|
</div></div><h3 id='impl-ImageClearValue%3C%3CFormat%20as%20FormatDesc%3E%3A%3AClearValue%3E' class='impl'><code class='in-band'>impl<W> <a class="trait" href="../../vulkano/image/traits/trait.ImageClearValue.html" title="trait vulkano::image::traits::ImageClearValue">ImageClearValue</a><<<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>>::<a class="type" href="../../vulkano/format/trait.FormatDesc.html#associatedtype.ClearValue" title="type vulkano::format::FormatDesc::ClearValue">ClearValue</a>> for <a class="struct" href="../../vulkano/image/swapchain/struct.SwapchainImage.html" title="struct vulkano::image::swapchain::SwapchainImage">SwapchainImage</a><W></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> &self, <br> value: <<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>>::<a class="type" href="../../vulkano/format/trait.FormatDesc.html#associatedtype.ClearValue" title="type vulkano::format::FormatDesc::ClearValue">ClearValue</a><br>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="enum" href="../../vulkano/format/enum.ClearValue.html" title="enum vulkano::format::ClearValue">ClearValue</a>></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>(&self) -> <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>(&mut self, source: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&</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><<a class="enum" href="../../vulkano/format/enum.Format.html" title="enum vulkano::format::Format">Format</a>> 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>(&self, other: &<a class="enum" href="../../vulkano/format/enum.Format.html" title="enum vulkano::format::Format">Format</a>) -> <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>(&self, other: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&</a>Rhs) -> <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><__H: <a class="trait" href="https://doc.rust-lang.org/nightly/core/hash/trait.Hasher.html" title="trait core::hash::Hasher">Hasher</a>>(&self, state: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&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><H>(data: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.slice.html">&[Self]</a>, state: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>H) <span class="where fmt-newline">where<br> H: <a class="trait" href="https://doc.rust-lang.org/nightly/core/hash/trait.Hasher.html" title="trait core::hash::Hasher">Hasher</a>, </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>(&self, f: &mut <a class="struct" href="https://doc.rust-lang.org/nightly/core/fmt/struct.Formatter.html" title="struct core::fmt::Formatter">Formatter</a>) -> <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<T> <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>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.pointer.html">*mut T</a>></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>) -> <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>() -> <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<T> <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> T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a>, </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>(&self) -> 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>(&self, target: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&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<T, U> <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a><U> for T <span class="where fmt-newline">where<br> U: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><T>, </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) -> 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<T> <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><T> 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) -> 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<T, U> <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a><U> for T <span class="where fmt-newline">where<br> U: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a><T>, </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) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><T, <T as <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a><U>>::<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><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<T, U> <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryInto.html" title="trait core::convert::TryInto">TryInto</a><U> for T <span class="where fmt-newline">where<br> U: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a><T>, </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> = <U as <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a><T>>::<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) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><U, <U as <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a><T>>::<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><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<T> <a class="trait" href="https://doc.rust-lang.org/nightly/core/borrow/trait.BorrowMut.html" title="trait core::borrow::BorrowMut">BorrowMut</a><T> for T <span class="where fmt-newline">where<br> T: ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, </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>(&mut self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&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<T> <a class="trait" href="https://doc.rust-lang.org/nightly/core/borrow/trait.Borrow.html" title="trait core::borrow::Borrow">Borrow</a><T> for T <span class="where fmt-newline">where<br> T: ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, </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>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&</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<T> <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> T: 'static + ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, </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>(&self) -> <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>⏎</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> |