Enum magick_rust::bindings::QuantumType
source · #[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 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 QuantumType
impl Debug for QuantumType
source§impl Hash for QuantumType
impl Hash for QuantumType
source§impl PartialEq for QuantumType
impl PartialEq for QuantumType
source§fn eq(&self, other: &QuantumType) -> bool
fn eq(&self, other: &QuantumType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.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
source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)