[][src]Struct polyhorn_ui::color::encoding::DisplayP3

pub struct DisplayP3;

This is the Display-P3 color space.

Trait Implementations

impl Clone for DisplayP3[src]

impl Copy for DisplayP3[src]

impl Debug for DisplayP3[src]

impl PartialEq<DisplayP3> for DisplayP3[src]

impl Primaries for DisplayP3[src]

impl RgbSpace for DisplayP3[src]

type Primaries = DisplayP3

The primaries of the RGB color space.

type WhitePoint = D65

The white point of the RGB color space.

impl RgbStandard for DisplayP3[src]

type Space = DisplayP3

The RGB color space.

type TransferFn = Srgb

DisplayP3 uses the same transfer function as sRGB.

impl StructuralPartialEq for DisplayP3[src]

Auto Trait Implementations

Blanket Implementations

impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S where
    D: AdaptFrom<S, Swp, Dwp, T>,
    Dwp: WhitePoint,
    Swp: WhitePoint,
    T: Component + Float
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T, U> ConvertInto<U> for T where
    U: ConvertFrom<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.