#[repr(u32)]pub enum QuantumType {
Show 28 variants
Undefined = 0,
Alpha = 1,
BGRA = 2,
BGRO = 3,
BGR = 4,
Black = 5,
Blue = 6,
CbYCrA = 7,
CbYCr = 8,
CbYCrY = 9,
CMYKA = 10,
CMYKO = 11,
CMYK = 12,
Cyan = 13,
GrayAlpha = 14,
Gray = 15,
Green = 16,
IndexAlpha = 17,
Index = 18,
Magenta = 19,
Opacity = 20,
Red = 21,
RGBA = 22,
RGBO = 23,
RGBPad = 24,
RGB = 25,
Yellow = 26,
Multispectral = 27,
}
Variants§
Undefined = 0
Alpha = 1
BGRA = 2
BGRO = 3
BGR = 4
Black = 5
Blue = 6
CbYCrA = 7
CbYCr = 8
CbYCrY = 9
CMYKA = 10
CMYKO = 11
CMYK = 12
Cyan = 13
GrayAlpha = 14
Gray = 15
Green = 16
IndexAlpha = 17
Index = 18
Magenta = 19
Opacity = 20
Red = 21
RGBA = 22
RGBO = 23
RGBPad = 24
RGB = 25
Yellow = 26
Multispectral = 27
Trait Implementations§
Source§impl Clone for QuantumType
impl Clone for QuantumType
Source§fn clone(&self) -> QuantumType
fn clone(&self) -> QuantumType
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 QuantumType
impl Debug for QuantumType
Source§impl Hash for QuantumType
impl Hash for QuantumType
Source§impl PartialEq for QuantumType
impl PartialEq for QuantumType
impl Copy for QuantumType
impl Eq for QuantumType
impl StructuralPartialEq for QuantumType
Auto Trait Implementations§
impl Freeze for QuantumType
impl RefUnwindSafe for QuantumType
impl Send for QuantumType
impl Sync for QuantumType
impl Unpin for QuantumType
impl UnwindSafe for QuantumType
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