#[non_exhaustive]pub enum PerceptualSpace {
Oklch,
CieLab,
CieLch,
Jzazbz,
Jzczhz,
Hsl,
Hsv,
}Expand description
Full re-export of zenpixels core types (zero module name collisions!).
Perceptual / cylindrical color spaces beyond Oklab.
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.
Oklch
Polar Oklab ([L, C, h_deg]).
CieLab
CIE 1976 L*a*b* (D65).
CieLch
Polar CIE L*C*h° (D65).
Jzazbz
Perceptual HDR Jzazbz (Safdar et al., PQ-based).
Jzczhz
Polar Jzczhz.
Hsl
Cylindrical HSL ([H_deg, S, L] over sRGB).
Hsv
Cylindrical HSV ([H_deg, S, V] over sRGB).
Trait Implementations§
Source§impl Clone for PerceptualSpace
impl Clone for PerceptualSpace
Source§fn clone(&self) -> PerceptualSpace
fn clone(&self) -> PerceptualSpace
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for PerceptualSpace
Source§impl Debug for PerceptualSpace
impl Debug for PerceptualSpace
impl Eq for PerceptualSpace
Source§impl Hash for PerceptualSpace
impl Hash for PerceptualSpace
Source§impl PartialEq for PerceptualSpace
impl PartialEq for PerceptualSpace
impl StructuralPartialEq for PerceptualSpace
Auto Trait Implementations§
impl Freeze for PerceptualSpace
impl RefUnwindSafe for PerceptualSpace
impl Send for PerceptualSpace
impl Sync for PerceptualSpace
impl Unpin for PerceptualSpace
impl UnsafeUnpin for PerceptualSpace
impl UnwindSafe for PerceptualSpace
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