#[repr(u32)]pub enum TranscodeTargetFormat {
Show 40 variants
Etc1Rgb = 0,
Etc2Rgba = 1,
Bc1Rgb = 2,
Bc3Rgba = 3,
Bc4R = 4,
Bc5Rg = 5,
Bc7Rgba = 6,
Pvrtc1_4Rgb = 8,
Pvrtc1_4Rgba = 9,
AstcLdr4x4Rgba = 10,
AtcRgb = 11,
AtcRgba = 12,
Fxt1Rgb = 17,
Pvrtc2_4Rgb = 18,
Pvrtc2_4Rgba = 19,
Etc2EacR11 = 20,
Etc2EacRg11 = 21,
Bc6H = 22,
AstcHdr4x4Rgba = 23,
RGBA32 = 13,
RGB565 = 14,
BGR565 = 15,
RGBA4444 = 16,
RgbHalf = 24,
RgbaHalf = 25,
Rgb9e5 = 26,
AstcHdr6x6Rgba = 27,
AstcLdr5x4Rgba = 28,
AstcLdr5x5Rgba = 29,
AstcLdr6x5Rgba = 30,
AstcLdr6x6Rgba = 31,
AstcLdr8x5Rgba = 32,
AstcLdr8x6Rgba = 33,
AstcLdr10x5Rgba = 34,
AstcLdr10x6Rgba = 35,
AstcLdr8x8Rgba = 36,
AstcLdr10x8Rgba = 37,
AstcLdr10x10Rgba = 38,
AstcLdr12x10Rgba = 39,
AstcLdr12x12Rgba = 40,
}Expand description
A enum that wraps common::TF_*.
Variants§
Etc1Rgb = 0
Etc2Rgba = 1
Bc1Rgb = 2
Bc3Rgba = 3
Bc4R = 4
Bc5Rg = 5
Bc7Rgba = 6
Pvrtc1_4Rgb = 8
Pvrtc1_4Rgba = 9
AstcLdr4x4Rgba = 10
AtcRgb = 11
AtcRgba = 12
Fxt1Rgb = 17
Pvrtc2_4Rgb = 18
Pvrtc2_4Rgba = 19
Etc2EacR11 = 20
Etc2EacRg11 = 21
Bc6H = 22
AstcHdr4x4Rgba = 23
RGBA32 = 13
RGB565 = 14
BGR565 = 15
RGBA4444 = 16
RgbHalf = 24
RgbaHalf = 25
Rgb9e5 = 26
AstcHdr6x6Rgba = 27
AstcLdr5x4Rgba = 28
AstcLdr5x5Rgba = 29
AstcLdr6x5Rgba = 30
AstcLdr6x6Rgba = 31
AstcLdr8x5Rgba = 32
AstcLdr8x6Rgba = 33
AstcLdr10x5Rgba = 34
AstcLdr10x6Rgba = 35
AstcLdr8x8Rgba = 36
AstcLdr10x8Rgba = 37
AstcLdr10x10Rgba = 38
AstcLdr12x10Rgba = 39
AstcLdr12x12Rgba = 40
Trait Implementations§
Source§impl Clone for TranscodeTargetFormat
impl Clone for TranscodeTargetFormat
Source§fn clone(&self) -> TranscodeTargetFormat
fn clone(&self) -> TranscodeTargetFormat
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for TranscodeTargetFormat
Source§impl Debug for TranscodeTargetFormat
impl Debug for TranscodeTargetFormat
Source§impl<'de> Deserialize<'de> for TranscodeTargetFormat
impl<'de> Deserialize<'de> for TranscodeTargetFormat
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for TranscodeTargetFormat
Source§impl PartialEq for TranscodeTargetFormat
impl PartialEq for TranscodeTargetFormat
Source§fn eq(&self, other: &TranscodeTargetFormat) -> bool
fn eq(&self, other: &TranscodeTargetFormat) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for TranscodeTargetFormat
impl Serialize for TranscodeTargetFormat
impl StructuralPartialEq for TranscodeTargetFormat
Auto Trait Implementations§
impl Freeze for TranscodeTargetFormat
impl RefUnwindSafe for TranscodeTargetFormat
impl Send for TranscodeTargetFormat
impl Sync for TranscodeTargetFormat
impl Unpin for TranscodeTargetFormat
impl UnsafeUnpin for TranscodeTargetFormat
impl UnwindSafe for TranscodeTargetFormat
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more