[−][src]Struct polyhorn_ui::color::encoding::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]
pub fn eq(&self, other: &DisplayP3) -> bool
[src]
#[must_use]pub fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl Primaries for DisplayP3
[src]
pub fn red<Wp: WhitePoint, T: Component + Float>() -> Yxy<Wp, T>
[src]
pub fn green<Wp: WhitePoint, T: Component + Float>() -> Yxy<Wp, T>
[src]
pub fn blue<Wp: WhitePoint, T: Component + Float>() -> Yxy<Wp, T>
[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
impl RefUnwindSafe for DisplayP3
impl Send for DisplayP3
impl Sync for DisplayP3
impl Unpin for DisplayP3
impl UnwindSafe for DisplayP3
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]
D: AdaptFrom<S, Swp, Dwp, T>,
Dwp: WhitePoint,
Swp: WhitePoint,
T: Component + Float,
pub fn adapt_into_using<M>(self, method: M) -> D where
M: TransformMatrix<Swp, Dwp, T>,
[src]
M: TransformMatrix<Swp, Dwp, T>,
pub fn adapt_into(self) -> D
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> ConvertInto<U> for T where
U: ConvertFrom<T>,
[src]
U: ConvertFrom<T>,
pub fn convert_into(self) -> U
[src]
pub fn convert_unclamped_into(self) -> U
[src]
pub fn try_convert_into(self) -> Result<U, OutOfBounds<U>>
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,