#[non_exhaustive]#[repr(u32)]pub enum Intent {
Perceptual = 0,
RelativeColorimetric = 1,
Saturation = 2,
AbsoluteColorimetric = 3,
PreserveKOnlyPerceptual = 10,
PreserveKOnlyRelativeColorimetric = 11,
PreserveKOnlySaturation = 12,
PreserveKPlanePerceptual = 13,
PreserveKPlaneRelativeColorimetric = 14,
PreserveKPlaneSaturation = 15,
}
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 = 0
ICC Intents
RelativeColorimetric = 1
Saturation = 2
AbsoluteColorimetric = 3
PreserveKOnlyPerceptual = 10
non-icc intents
PreserveKOnlyRelativeColorimetric = 11
PreserveKOnlySaturation = 12
PreserveKPlanePerceptual = 13
PreserveKPlaneRelativeColorimetric = 14
PreserveKPlaneSaturation = 15
Trait Implementations§
source§impl PartialEq for Intent
impl PartialEq for Intent
impl Copy for Intent
impl Eq 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