pub enum Photometric {
WhiteIsZero,
BlackIsZero,
Rgb,
Palette,
}Expand description
How samples are interpreted.
Variants§
WhiteIsZero
Zero is white — an inverted greyscale, common in scanned documents.
BlackIsZero
Zero is black.
Rgb
Red, green, blue.
Palette
Palette indices, resolved through the colour map.
Implementations§
Source§impl Photometric
impl Photometric
Trait Implementations§
Source§impl Clone for Photometric
impl Clone for Photometric
impl Copy for Photometric
Source§impl Debug for Photometric
impl Debug for Photometric
impl Eq for Photometric
Source§impl Hash for Photometric
impl Hash for Photometric
Source§impl PartialEq for Photometric
impl PartialEq for Photometric
impl StructuralPartialEq for Photometric
Auto Trait Implementations§
impl Freeze for Photometric
impl RefUnwindSafe for Photometric
impl Send for Photometric
impl Sync for Photometric
impl Unpin for Photometric
impl UnsafeUnpin for Photometric
impl UnwindSafe for Photometric
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