#[non_exhaustive]#[repr(i32)]pub enum ImagePacking {
Unknown = -1,
Single = 0,
Dual = 1,
Rgb = 2,
Bgr = 3,
Rgba = 4,
Abgr = 5,
Max = 6,
}Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Implementations§
Source§impl ImagePacking
impl ImagePacking
pub const Default3: ImagePacking = ImagePacking::Rgb
Source§impl ImagePacking
impl ImagePacking
pub const Default4: ImagePacking = ImagePacking::Rgba
Trait Implementations§
Source§impl Clone for ImagePacking
impl Clone for ImagePacking
impl Copy for ImagePacking
Source§impl Debug for ImagePacking
impl Debug for ImagePacking
impl Eq for ImagePacking
Source§impl Hash for ImagePacking
impl Hash for ImagePacking
Source§impl PartialEq for ImagePacking
impl PartialEq for ImagePacking
impl StructuralPartialEq for ImagePacking
Auto Trait Implementations§
impl Forget for ImagePacking
impl Freeze for ImagePacking
impl Move for ImagePacking
impl RefUnwindSafe for ImagePacking
impl Send for ImagePacking
impl Sync for ImagePacking
impl Unpin for ImagePacking
impl UnsafeUnpin for ImagePacking
impl UnwindSafe for ImagePacking
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