pub enum PhotometricInterpretation {
WhiteIsZero,
BlackIsZero,
RGB,
Palette,
TransparencyMask,
CMYK,
YCbCr,
CIELab,
}Variants§
Implementations§
Source§impl PhotometricInterpretation
impl PhotometricInterpretation
pub fn from_u16(n: u16) -> Result<PhotometricInterpretation, DecodeError>
Trait Implementations§
Source§impl Clone for PhotometricInterpretation
impl Clone for PhotometricInterpretation
Source§fn clone(&self) -> PhotometricInterpretation
fn clone(&self) -> PhotometricInterpretation
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 PhotometricInterpretation
impl Debug for PhotometricInterpretation
impl Copy for PhotometricInterpretation
impl StructuralPartialEq for PhotometricInterpretation
Auto Trait Implementations§
impl Freeze for PhotometricInterpretation
impl RefUnwindSafe for PhotometricInterpretation
impl Send for PhotometricInterpretation
impl Sync for PhotometricInterpretation
impl Unpin for PhotometricInterpretation
impl UnwindSafe for PhotometricInterpretation
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