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

Trait Implementations

impl Clone for Format
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for Format
[src]

impl Debug for Format
[src]

[src]

Formats the value using the given formatter. Read more

impl Eq for Format
[src]

impl PartialEq for Format
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

1.0.0
[src]

This method tests for !=.

impl FromPrimitive for Format
[src]

[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

[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

[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

[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

[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

[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

[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

[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

[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

[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

[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

[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]

[src]

Converts the value of self to an u64.

[src]

Converts the value of self to an i64.

[src]

Converts the value of self to an isize.

[src]

Converts the value of self to an i8.

[src]

Converts the value of self to an i16.

[src]

Converts the value of self to an i32.

[src]

Converts the value of self to a usize.

[src]

Converts the value of self to an u8.

[src]

Converts the value of self to an u16.

[src]

Converts the value of self to an u32.

[src]

Converts the value of self to an f32.

[src]

Converts the value of self to an f64.

impl Hash for Format
[src]

[src]

Feeds this value into the given [Hasher]. Read more

1.3.0
[src]

Feeds a slice of this type into the given [Hasher]. Read more

impl From<Format> for i32
[src]

[src]

Performs the conversion.

impl From<Format> for u32
[src]

[src]

Performs the conversion.

impl From<u32> for Format
[src]

[src]

Performs the conversion.

Auto Trait Implementations

impl Send for Format

impl Sync for Format