pub enum Layout {
Show 15 variants
Rgb = 0,
Rgba = 1,
Gray = 2,
GrayAlpha = 3,
Inks5 = 4,
Inks6 = 5,
Inks7 = 6,
Inks8 = 7,
Inks9 = 8,
Inks10 = 9,
Inks11 = 10,
Inks12 = 11,
Inks13 = 12,
Inks14 = 13,
Inks15 = 14,
}
Expand description
Layout declares a data layout. For RGB it shows also the channel order. To handle different data bit-depth appropriate executor must be used. Cmyk8 uses the same layout as Rgba8.
Variants§
Rgb = 0
Rgba = 1
Gray = 2
GrayAlpha = 3
Inks5 = 4
Inks6 = 5
Inks7 = 6
Inks8 = 7
Inks9 = 8
Inks10 = 9
Inks11 = 10
Inks12 = 11
Inks13 = 12
Inks14 = 13
Inks15 = 14
Implementations§
Trait Implementations§
Source§impl Ord for Layout
impl Ord for Layout
Source§impl PartialOrd for Layout
impl PartialOrd for Layout
impl Copy for Layout
impl Eq for Layout
impl StructuralPartialEq for Layout
Auto Trait Implementations§
impl Freeze for Layout
impl RefUnwindSafe for Layout
impl Send for Layout
impl Sync for Layout
impl Unpin for Layout
impl UnwindSafe for Layout
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