#[repr(i32)]pub enum ImageFormat {
Show 39 variants
Rgba8888 = 0,
Abgr8888 = 1,
Rgb888 = 2,
Bgr888 = 3,
Rgb565 = 4,
I8 = 5,
Ia88 = 6,
P8 = 7,
A8 = 8,
Rgb888Bluescreen = 9,
Bgr888Bluescreen = 10,
Argb8888 = 11,
Bgra8888 = 12,
Dxt1 = 13,
Dxt3 = 14,
Dxt5 = 15,
Bgrx8888 = 16,
Bgr565 = 17,
Bgrx5551 = 18,
Bgra4444 = 19,
Dxt1OneBitAlpha = 20,
Bgra5551 = 21,
Uv88 = 22,
Uvwq8888 = 23,
Rgba16161616F = 24,
Rgba16161616 = 25,
Uvlx8888 = 26,
R32F = 27,
Rgb323232F = 28,
Rgba32323232F = 29,
Rg1616F = 30,
Rg3232F = 31,
Rgbx8888 = 32,
Empty = 33,
Ati2n = 34,
Ati1n = 35,
Rgba1010102 = 36,
Bgra1010102 = 37,
R16F = 38,
}Variants§
Rgba8888 = 0
Abgr8888 = 1
Rgb888 = 2
Bgr888 = 3
Rgb565 = 4
I8 = 5
Ia88 = 6
P8 = 7
A8 = 8
Rgb888Bluescreen = 9
Bgr888Bluescreen = 10
Argb8888 = 11
Bgra8888 = 12
Dxt1 = 13
Dxt3 = 14
Dxt5 = 15
Bgrx8888 = 16
Bgr565 = 17
Bgrx5551 = 18
Bgra4444 = 19
Dxt1OneBitAlpha = 20
Bgra5551 = 21
Uv88 = 22
Uvwq8888 = 23
Rgba16161616F = 24
Rgba16161616 = 25
Uvlx8888 = 26
R32F = 27
Rgb323232F = 28
Rgba32323232F = 29
Rg1616F = 30
Rg3232F = 31
Rgbx8888 = 32
Empty = 33
Ati2n = 34
Ati1n = 35
Rgba1010102 = 36
Bgra1010102 = 37
R16F = 38
Implementations§
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 (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 ImageFormat
Source§impl Debug for ImageFormat
impl Debug for ImageFormat
impl Eq for ImageFormat
Source§impl From<ImageFormat> for i32
impl From<ImageFormat> for i32
Source§fn from(enum_value: ImageFormat) -> Self
fn from(enum_value: ImageFormat) -> Self
Converts to this type from the input type.
Source§impl Hash for ImageFormat
impl Hash for ImageFormat
Source§impl PartialEq for ImageFormat
impl PartialEq for ImageFormat
impl StructuralPartialEq for ImageFormat
Source§impl TryFrom<i32> for ImageFormat
impl TryFrom<i32> for ImageFormat
Source§type Error = TryFromPrimitiveError<ImageFormat>
type Error = TryFromPrimitiveError<ImageFormat>
The type returned in the event of a conversion error.
Source§impl TryFromPrimitive for ImageFormat
impl TryFromPrimitive for ImageFormat
const NAME: &'static str = "ImageFormat"
type Primitive = i32
type Error = TryFromPrimitiveError<ImageFormat>
fn try_from_primitive( number: Self::Primitive, ) -> Result<Self, TryFromPrimitiveError<Self>>
Auto Trait Implementations§
impl Freeze for ImageFormat
impl RefUnwindSafe for ImageFormat
impl Send for ImageFormat
impl Sync for ImageFormat
impl Unpin for ImageFormat
impl UnsafeUnpin 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