pub enum ImageFormat {
Show 42 variants
Unknown = 0,
Rgba32f = 1,
Rgba16f = 2,
R32f = 3,
Rgba8 = 4,
Rgba8Snorm = 5,
Rg32f = 6,
Rg16f = 7,
R11fG11fB10f = 8,
R16f = 9,
Rgba16 = 10,
Rgb10A2 = 11,
Rg16 = 12,
Rg8 = 13,
R16 = 14,
R8 = 15,
Rgba16Snorm = 16,
Rg16Snorm = 17,
Rg8Snorm = 18,
R16Snorm = 19,
R8Snorm = 20,
Rgba32i = 21,
Rgba16i = 22,
Rgba8i = 23,
R32i = 24,
Rg32i = 25,
Rg16i = 26,
Rg8i = 27,
R16i = 28,
R8i = 29,
Rgba32ui = 30,
Rgba16ui = 31,
Rgba8ui = 32,
R32ui = 33,
Rgb10a2ui = 34,
Rg32ui = 35,
Rg16ui = 36,
Rg8ui = 37,
R16ui = 38,
R8ui = 39,
R64ui = 40,
R64i = 41,
}Variants§
Unknown = 0
Rgba32f = 1
Rgba16f = 2
R32f = 3
Rgba8 = 4
Rgba8Snorm = 5
Rg32f = 6
Rg16f = 7
R11fG11fB10f = 8
R16f = 9
Rgba16 = 10
Rgb10A2 = 11
Rg16 = 12
Rg8 = 13
R16 = 14
R8 = 15
Rgba16Snorm = 16
Rg16Snorm = 17
Rg8Snorm = 18
R16Snorm = 19
R8Snorm = 20
Rgba32i = 21
Rgba16i = 22
Rgba8i = 23
R32i = 24
Rg32i = 25
Rg16i = 26
Rg8i = 27
R16i = 28
R8i = 29
Rgba32ui = 30
Rgba16ui = 31
Rgba8ui = 32
R32ui = 33
Rgb10a2ui = 34
Rg32ui = 35
Rg16ui = 36
Rg8ui = 37
R16ui = 38
R8ui = 39
R64ui = 40
R64i = 41
Trait Implementations§
Source§impl Clone for ImageFormat
impl Clone for ImageFormat
Source§fn clone(&self) -> ImageFormat
fn clone(&self) -> ImageFormat
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ImageFormat
impl RefUnwindSafe for ImageFormat
impl Send for ImageFormat
impl Sync for ImageFormat
impl Unpin for ImageFormat
impl UnwindSafe for ImageFormat
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