#[repr(u32)]pub enum ImageFormat {
Lum = 16_777_216,
LumA = 33_554_432,
RGB = 50_331_906,
BGR = 50_462_976,
RGBA = 67_109_122,
ARGB = 67_174_915,
BGRA = 67_240_192,
ABGR = 67_305_985,
}Variants§
Lum = 16_777_216
LumA = 33_554_432
RGB = 50_331_906
BGR = 50_462_976
RGBA = 67_109_122
ARGB = 67_174_915
BGRA = 67_240_192
ABGR = 67_305_985
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 moreSource§impl Debug for ImageFormat
impl Debug for ImageFormat
Source§impl Ord for ImageFormat
impl Ord for ImageFormat
Source§fn cmp(&self, other: &ImageFormat) -> Ordering
fn cmp(&self, other: &ImageFormat) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ImageFormat
impl PartialEq for ImageFormat
Source§impl PartialOrd for ImageFormat
impl PartialOrd for ImageFormat
impl Copy for ImageFormat
impl Eq for ImageFormat
impl StructuralPartialEq for ImageFormat
Auto 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