Enum voodoo::Format
[−]
[src]
#[repr(i32)]pub enum Format { Undefined, R4G4UnormPack8, R4G4B4B4UnormPack16, 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, X8D24UnormPack32, D32Sfloat, S8Uint, D16UnormS8Uint, D24UnormS8Uint, D32SfloatS8Uint, Bc1RgbUnormBlock, Bc1RgbSrgbBlock, Bc1RgbaUnormBlock, Bc1RgbaSrgbBlock, Bc2UnormBlock, Bc2SrgbBlock, Bc3UnormBlock, Bc3SrgbBlock, Bc4UnormBlock, Bc4SnormBlock, Bc5UnormBlock, Bc5SnormBlock, Bc6hUfloatBlock, Bc6hSfloatBlock, Bc7UnormBlock, Bc7SrgbBlock, Etc2R8G8B8UnormBlock, Etc2R8G8B8SrgbBlock, Etc2R8G8B8A1UnormBlock, Etc2R8G8B8A1SrgbBlock, Etc2R8G8B8A8UnormBlock, Etc2R8G8B8A8SrgbBlock, EacR11UnormBlock, EacR11SnormBlock, EacR11G11UnormBlock, EacR11G11SnormBlock, Astc4x4UnormBlock, Astc4x4SrgbBlock, Astc5x4UnormBlock, Astc5x4SrgbBlock, Astc5x5UnormBlock, Astc5x5SrgbBlock, Astc6x5UnormBlock, Astc6x5SrgbBlock, Astc6x6UnormBlock, Astc6x6SrgbBlock, Astc8x5UnormBlock, Astc8x5SrgbBlock, Astc8x6UnormBlock, Astc8x6SrgbBlock, Astc8x8UnormBlock, Astc8x8SrgbBlock, Astc10x5UnormBlock, Astc10x5SrgbBlock, Astc10x6UnormBlock, Astc10x6SrgbBlock, Astc10x8UnormBlock, Astc10x8SrgbBlock, Astc10x10UnormBlock, Astc10x10SrgbBlock, Astc12x10UnormBlock, Astc12x10SrgbBlock, Astc12x12UnormBlock, Astc12x12SrgbBlock, Pvrtc12bppUnormBlockImg, Pvrtc14bppUnormBlockImg, Pvrtc22bppUnormBlockImg, Pvrtc24bppUnormBlockImg, Pvrtc12bppSrgbBlockImg, Pvrtc14bppSrgbBlockImg, Pvrtc22bppSrgbBlockImg, Pvrtc24bppSrgbBlockImg, }
Variants
Undefined
R4G4UnormPack8
R4G4B4B4UnormPack16
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
X8D24UnormPack32
D32Sfloat
S8Uint
D16UnormS8Uint
D24UnormS8Uint
D32SfloatS8Uint
Bc1RgbUnormBlock
Bc1RgbSrgbBlock
Bc1RgbaUnormBlock
Bc1RgbaSrgbBlock
Bc2UnormBlock
Bc2SrgbBlock
Bc3UnormBlock
Bc3SrgbBlock
Bc4UnormBlock
Bc4SnormBlock
Bc5UnormBlock
Bc5SnormBlock
Bc6hUfloatBlock
Bc6hSfloatBlock
Bc7UnormBlock
Bc7SrgbBlock
Etc2R8G8B8UnormBlock
Etc2R8G8B8SrgbBlock
Etc2R8G8B8A1UnormBlock
Etc2R8G8B8A1SrgbBlock
Etc2R8G8B8A8UnormBlock
Etc2R8G8B8A8SrgbBlock
EacR11UnormBlock
EacR11SnormBlock
EacR11G11UnormBlock
EacR11G11SnormBlock
Astc4x4UnormBlock
Astc4x4SrgbBlock
Astc5x4UnormBlock
Astc5x4SrgbBlock
Astc5x5UnormBlock
Astc5x5SrgbBlock
Astc6x5UnormBlock
Astc6x5SrgbBlock
Astc6x6UnormBlock
Astc6x6SrgbBlock
Astc8x5UnormBlock
Astc8x5SrgbBlock
Astc8x6UnormBlock
Astc8x6SrgbBlock
Astc8x8UnormBlock
Astc8x8SrgbBlock
Astc10x5UnormBlock
Astc10x5SrgbBlock
Astc10x6UnormBlock
Astc10x6SrgbBlock
Astc10x8UnormBlock
Astc10x8SrgbBlock
Astc10x10UnormBlock
Astc10x10SrgbBlock
Astc12x10UnormBlock
Astc12x10SrgbBlock
Astc12x12UnormBlock
Astc12x12SrgbBlock
Pvrtc12bppUnormBlockImg
Pvrtc14bppUnormBlockImg
Pvrtc22bppUnormBlockImg
Pvrtc24bppUnormBlockImg
Pvrtc12bppSrgbBlockImg
Pvrtc14bppSrgbBlockImg
Pvrtc22bppSrgbBlockImg
Pvrtc24bppSrgbBlockImg
Trait Implementations
impl Clone for Format
[src]
fn clone(&self) -> Format
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Copy for Format
[src]
impl Debug for Format
[src]
impl Eq for Format
[src]
impl PartialEq for Format
[src]
fn eq(&self, __arg_0: &Format) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests for !=
.
impl FromPrimitive for Format
[src]
fn from_u64(val: u64) -> Option<Self>
[src]
Convert an u64
to return an optional value of this type. If the type cannot be represented by this value, the None
is returned. Read more
fn from_i64(val: i64) -> Option<Self>
[src]
Convert an i64
to return an optional value of this type. If the type cannot be represented by this value, the None
is returned. Read more
fn from_isize(n: isize) -> Option<Self>
[src]
Convert an isize
to return an optional value of this type. If the value cannot be represented by this value, the None
is returned. Read more
fn from_i8(n: i8) -> Option<Self>
[src]
Convert an i8
to return an optional value of this type. If the type cannot be represented by this value, the None
is returned. Read more
fn from_i16(n: i16) -> Option<Self>
[src]
Convert an i16
to return an optional value of this type. If the type cannot be represented by this value, the None
is returned. Read more
fn from_i32(n: i32) -> Option<Self>
[src]
Convert an i32
to return an optional value of this type. If the type cannot be represented by this value, the None
is returned. Read more
fn from_usize(n: usize) -> Option<Self>
[src]
Convert a usize
to return an optional value of this type. If the type cannot be represented by this value, the None
is returned. Read more
fn from_u8(n: u8) -> Option<Self>
[src]
Convert an u8
to return an optional value of this type. If the type cannot be represented by this value, the None
is returned. Read more
fn from_u16(n: u16) -> Option<Self>
[src]
Convert an u16
to return an optional value of this type. If the type cannot be represented by this value, the None
is returned. Read more
fn from_u32(n: u32) -> Option<Self>
[src]
Convert an u32
to return an optional value of this type. If the type cannot be represented by this value, the None
is returned. Read more
fn from_f32(n: f32) -> Option<Self>
[src]
Convert a f32
to return an optional value of this type. If the type cannot be represented by this value, the None
is returned. Read more
fn from_f64(n: f64) -> Option<Self>
[src]
Convert a f64
to return an optional value of this type. If the type cannot be represented by this value, the None
is returned. Read more
impl ToPrimitive for Format
[src]
fn to_u64(&self) -> Option<u64>
[src]
Converts the value of self
to an u64
.
fn to_i64(&self) -> Option<i64>
[src]
Converts the value of self
to an i64
.
fn to_isize(&self) -> Option<isize>
[src]
Converts the value of self
to an isize
.
fn to_i8(&self) -> Option<i8>
[src]
Converts the value of self
to an i8
.
fn to_i16(&self) -> Option<i16>
[src]
Converts the value of self
to an i16
.
fn to_i32(&self) -> Option<i32>
[src]
Converts the value of self
to an i32
.
fn to_usize(&self) -> Option<usize>
[src]
Converts the value of self
to a usize
.
fn to_u8(&self) -> Option<u8>
[src]
Converts the value of self
to an u8
.
fn to_u16(&self) -> Option<u16>
[src]
Converts the value of self
to an u16
.
fn to_u32(&self) -> Option<u32>
[src]
Converts the value of self
to an u32
.
fn to_f32(&self) -> Option<f32>
[src]
Converts the value of self
to an f32
.
fn to_f64(&self) -> Option<f64>
[src]
Converts the value of self
to an f64
.
impl Hash for Format
[src]
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)
[src]
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more