Struct colstodian::spaces::Oklch [−][src]
pub struct Oklch;
Expand description
A type representing the Oklch color space.
Trait Implementations
impl<SrcSpace, SrcAlpha> ColorAlphaConversionQuery<SrcSpace, SrcAlpha> for Oklch where
SrcSpace: ColorSpace,
Self: ConvertFromRaw<SrcSpace>,
SrcAlpha: AlphaState,
impl<SrcSpace, SrcAlpha> ColorAlphaConversionQuery<SrcSpace, SrcAlpha> for Oklch where
SrcSpace: ColorSpace,
Self: ConvertFromRaw<SrcSpace>,
SrcAlpha: AlphaState,
impl<SrcSpace, St> ColorConversionQuery<SrcSpace, St> for Oklch where
SrcSpace: ColorSpace,
Self: ConvertFromRaw<SrcSpace>,
St: State,
impl<SrcSpace, St> ColorConversionQuery<SrcSpace, St> for Oklch where
SrcSpace: ColorSpace,
Self: ConvertFromRaw<SrcSpace>,
St: State,
type DstSpace = Self
The DynamicColorSpace
that this type represents.
type LinearSpace = CieXYZ
type LinearSpace = CieXYZ
The closest linear color space to this space.
type ComponentStruct = LCh
type ComponentStruct = LCh
The ‘bag of components’ that this color space uses.
Auto Trait Implementations
impl RefUnwindSafe for Oklch
impl UnwindSafe for Oklch
Blanket Implementations
Mutably borrows from an owned value. Read more
impl<SrcAlpha, DstAlpha> ConvertToAlphaRaw<DstAlpha> for SrcAlpha where
DstAlpha: ConvertFromAlphaRaw<SrcAlpha>,
impl<SrcAlpha, DstAlpha> ConvertToAlphaRaw<DstAlpha> for SrcAlpha where
DstAlpha: ConvertFromAlphaRaw<SrcAlpha>,
impl<SrcSpace, DstSpace> ConvertToRaw<DstSpace> for SrcSpace where
SrcSpace: ColorSpace,
DstSpace: ConvertFromRaw<SrcSpace>,
impl<SrcSpace, DstSpace> ConvertToRaw<DstSpace> for SrcSpace where
SrcSpace: ColorSpace,
DstSpace: ConvertFromRaw<SrcSpace>,