Struct palette::encoding::srgb::Srgb [−][src]
pub struct Srgb;
The sRGB color space.
Trait Implementations
impl LumaStandard for Srgb
[src]
impl LumaStandard for Srgb
[src]type WhitePoint = D65
The white point of the color space.
type TransferFn = Srgb
The transfer function for the luminance component.
impl Primaries for Srgb
[src]
impl Primaries for Srgb
[src]fn red<Wp: WhitePoint, T: FloatComponent>() -> Yxy<Wp, T>
[src]
fn green<Wp: WhitePoint, T: FloatComponent>() -> Yxy<Wp, T>
[src]
fn blue<Wp: WhitePoint, T: FloatComponent>() -> Yxy<Wp, T>
[src]
impl RgbSpace for Srgb
[src]
impl RgbSpace for Srgb
[src]type Primaries = Srgb
The primaries of the RGB color space.
type WhitePoint = D65
The white point of the RGB color space.
impl RgbStandard for Srgb
[src]
impl RgbStandard for Srgb
[src]type Space = Srgb
The RGB color space.
type TransferFn = Srgb
The transfer function for the color components.
impl TransferFn for Srgb
[src]
impl TransferFn for Srgb
[src]fn into_linear<T: Float + FromF64>(x: T) -> T
[src]
fn from_linear<T: Float + FromF64>(x: T) -> T
[src]
impl Copy for Srgb
[src]
impl Eq for Srgb
[src]
impl StructuralEq for Srgb
[src]
impl StructuralPartialEq for Srgb
[src]
Auto Trait Implementations
impl RefUnwindSafe for Srgb
impl Send for Srgb
impl Sync for Srgb
impl Unpin for Srgb
impl UnwindSafe for Srgb
Blanket Implementations
impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S where
T: FloatComponent,
Swp: WhitePoint,
Dwp: WhitePoint,
D: AdaptFrom<S, Swp, Dwp, T>,
[src]
impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S where
T: FloatComponent,
Swp: WhitePoint,
Dwp: WhitePoint,
D: AdaptFrom<S, Swp, Dwp, T>,
[src]pub fn adapt_into_using<M>(Self, M) -> D where
M: TransformMatrix<Swp, Dwp, T>,
[src]
M: TransformMatrix<Swp, Dwp, T>,
fn adapt_into(self) -> D
[src]
impl<T, U> IntoColor<U> for T where
U: FromColor<T>,
[src]
impl<T, U> IntoColor<U> for T where
U: FromColor<T>,
[src]pub fn into_color(Self) -> U
[src]
impl<T, U> IntoColorUnclamped<U> for T where
U: FromColorUnclamped<T>,
[src]
impl<T, U> IntoColorUnclamped<U> for T where
U: FromColorUnclamped<T>,
[src]pub fn into_color_unclamped(Self) -> U
[src]
impl<T, U> TryIntoColor<U> for T where
U: TryFromColor<T>,
[src]
impl<T, U> TryIntoColor<U> for T where
U: TryFromColor<T>,
[src]