Enum qttypes::ImageFormat
source · #[repr(C)]pub enum ImageFormat {
Show 30 variants
Invalid = 0,
Mono = 1,
MonoLSB = 2,
Indexed8 = 3,
RGB32 = 4,
ARGB32 = 5,
ARGB32_Premultiplied = 6,
RGB16 = 7,
ARGB8565_Premultiplied = 8,
RGB666 = 9,
ARGB6666_Premultiplied = 10,
RGB555 = 11,
ARGB8555_Premultiplied = 12,
RGB888 = 13,
RGB444 = 14,
ARGB4444_Premultiplied = 15,
RGBX8888 = 16,
RGBA8888 = 17,
RGBA8888_Premultiplied = 18,
BGR30 = 19,
A2BGR30_Premultiplied = 20,
RGB30 = 21,
A2RGB30_Premultiplied = 22,
Alpha8 = 23,
Grayscale8 = 24,
Grayscale16 = 28,
RGBX64 = 25,
RGBA64 = 26,
RGBA64_Premultiplied = 27,
BGR888 = 29,
}
Expand description
Bindings for QImage::Format
enum class.
Variants§
Invalid = 0
Mono = 1
MonoLSB = 2
Indexed8 = 3
RGB32 = 4
ARGB32 = 5
ARGB32_Premultiplied = 6
RGB16 = 7
ARGB8565_Premultiplied = 8
RGB666 = 9
ARGB6666_Premultiplied = 10
RGB555 = 11
ARGB8555_Premultiplied = 12
RGB888 = 13
RGB444 = 14
ARGB4444_Premultiplied = 15
RGBX8888 = 16
RGBA8888 = 17
RGBA8888_Premultiplied = 18
BGR30 = 19
A2BGR30_Premultiplied = 20
RGB30 = 21
A2RGB30_Premultiplied = 22
Alpha8 = 23
Grayscale8 = 24
Grayscale16 = 28
RGBX64 = 25
RGBA64 = 26
RGBA64_Premultiplied = 27
BGR888 = 29
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
source§fn eq(&self, other: &ImageFormat) -> bool
fn eq(&self, other: &ImageFormat) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy 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§
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