pub struct GamutCheck {
pub threshold: f32,
/* private fields */
}Expand description
Precomputed out-of-gamut test for colours of src against proof.
A colour is out of gamut when sending it to the proof device (relative colorimetric, clipping) and back to Lab moves it by more than the threshold (ΔE76). The ΔE is tabulated over the source device space (33³ grid for 3 channels, 17⁴ for 4, exact otherwise).
Fields§
§threshold: f32Implementations§
Source§impl GamutCheck
impl GamutCheck
Trait Implementations§
Auto Trait Implementations§
impl Forget for GamutCheck
impl Freeze for GamutCheck
impl Move for GamutCheck
impl RefUnwindSafe for GamutCheck
impl Send for GamutCheck
impl Sync for GamutCheck
impl Unpin for GamutCheck
impl UnsafeUnpin for GamutCheck
impl UnwindSafe for GamutCheck
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more