#[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 copy 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 PartialEq for ImageFormat
impl PartialEq for ImageFormat
impl Copy 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