#[repr(u32)]#[non_exhaustive]pub enum Intent {
Perceptual,
RelativeColorimetric,
Saturation,
AbsoluteColorimetric,
PreserveKOnlyPerceptual,
PreserveKOnlyRelativeColorimetric,
PreserveKOnlySaturation,
PreserveKPlanePerceptual,
PreserveKPlaneRelativeColorimetric,
PreserveKPlaneSaturation,
}Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Perceptual
ICC Intents
RelativeColorimetric
Saturation
AbsoluteColorimetric
PreserveKOnlyPerceptual
non-icc intents
PreserveKOnlyRelativeColorimetric
PreserveKOnlySaturation
PreserveKPlanePerceptual
PreserveKPlaneRelativeColorimetric
PreserveKPlaneSaturation
Trait Implementations§
source§impl PartialEq<Intent> for Intent
impl PartialEq<Intent> for Intent
impl Copy for Intent
impl Eq for Intent
impl StructuralEq for Intent
impl StructuralPartialEq for Intent
Auto Trait Implementations§
impl RefUnwindSafe for Intent
impl Send for Intent
impl Sync for Intent
impl Unpin for Intent
impl UnwindSafe for Intent
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