pub enum ImageFormat {
Show 42 variants
Unknown,
Rgba32f,
Rgba16f,
R32f,
Rgba8,
Rgba8Snorm,
Rg32f,
Rg16f,
R11fG11fB10f,
R16f,
Rgba16,
Rgb10A2,
Rg16,
Rg8,
R16,
R8,
Rgba16Snorm,
Rg16Snorm,
Rg8Snorm,
R16Snorm,
R8Snorm,
Rgba32i,
Rgba16i,
Rgba8i,
R32i,
Rg32i,
Rg16i,
Rg8i,
R16i,
R8i,
Rgba32ui,
Rgba16ui,
Rgba8ui,
R32ui,
Rgb10a2ui,
Rg32ui,
Rg16ui,
Rg8ui,
R16ui,
R8ui,
R64ui,
R64i,
}
Variants
Unknown
Rgba32f
Rgba16f
R32f
Rgba8
Rgba8Snorm
Rg32f
Rg16f
R11fG11fB10f
R16f
Rgba16
Rgb10A2
Rg16
Rg8
R16
R8
Rgba16Snorm
Rg16Snorm
Rg8Snorm
R16Snorm
R8Snorm
Rgba32i
Rgba16i
Rgba8i
R32i
Rg32i
Rg16i
Rg8i
R16i
R8i
Rgba32ui
Rgba16ui
Rgba8ui
R32ui
Rgb10a2ui
Rg32ui
Rg16ui
Rg8ui
R16ui
R8ui
R64ui
R64i
Trait Implementations
sourceimpl Clone for ImageFormat
impl Clone for ImageFormat
sourcefn clone(&self) -> ImageFormat
fn clone(&self) -> ImageFormat
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for ImageFormat
impl Debug for ImageFormat
sourceimpl From<ImageFormat> for Option<Format>
impl From<ImageFormat> for Option<Format>
sourcefn from(val: ImageFormat) -> Self
fn from(val: ImageFormat) -> Self
Performs the conversion.
sourceimpl PartialEq<ImageFormat> for ImageFormat
impl PartialEq<ImageFormat> for ImageFormat
impl StructuralPartialEq for ImageFormat
Auto Trait Implementations
impl RefUnwindSafe for ImageFormat
impl Send for ImageFormat
impl Sync for ImageFormat
impl Unpin for ImageFormat
impl UnwindSafe for ImageFormat
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more