pub enum ColorMode {
Bitmap = 0,
Grayscale = 1,
Indexed = 2,
Rgb = 3,
Cmyk = 4,
Multichannel = 7,
Duotone = 8,
Lab = 9,
}
Expand description
Adobe Docs
The color mode of the file. Supported values are: Bitmap = 0; Grayscale = 1; Indexed = 2; RGB = 3; CMYK = 4; Multichannel = 7; Duotone = 8; Lab = 9.
via: https://www.adobe.com/devnet-apps/photoshop/fileformatashtml/
Variants§
Implementations§
Trait Implementations§
source§impl PartialEq for ColorMode
impl PartialEq for ColorMode
impl Copy for ColorMode
impl Eq for ColorMode
impl StructuralEq for ColorMode
impl StructuralPartialEq for ColorMode
Auto Trait Implementations§
impl RefUnwindSafe for ColorMode
impl Send for ColorMode
impl Sync for ColorMode
impl Unpin for ColorMode
impl UnwindSafe for ColorMode
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