[][src]Struct nanachi::pixel::PremultipliedRgba

pub struct PremultipliedRgba(pub [f32; 4]);

Premultiplied RGBA color

PremultipliedRgba keeps RGB value that premultiplied alpha. It may be faster than Rgba but inaccurate on transparent pixels.

Trait Implementations

impl Add<PremultipliedRgba> for PremultipliedRgba[src]

type Output = Self

The resulting type after applying the + operator.

impl Clone for PremultipliedRgba[src]

impl Compositor<PremultipliedRgba> for Clear[src]

impl Compositor<PremultipliedRgba> for Src[src]

impl Compositor<PremultipliedRgba> for DstAtop[src]

impl Compositor<PremultipliedRgba> for Xor[src]

impl Compositor<PremultipliedRgba> for Add[src]

impl Compositor<PremultipliedRgba> for Darken[src]

impl Compositor<PremultipliedRgba> for Lighten[src]

impl Compositor<PremultipliedRgba> for Multiply[src]

impl Compositor<PremultipliedRgba> for Screen[src]

impl Compositor<PremultipliedRgba> for Overlay[src]

impl Compositor<PremultipliedRgba> for HardLight[src]

impl Compositor<PremultipliedRgba> for Dodge[src]

impl Compositor<PremultipliedRgba> for Dst[src]

impl Compositor<PremultipliedRgba> for Burn[src]

impl Compositor<PremultipliedRgba> for SoftLight[src]

impl Compositor<PremultipliedRgba> for Difference[src]

impl Compositor<PremultipliedRgba> for Exclusion[src]

impl Compositor<PremultipliedRgba> for Basic[src]

impl Compositor<PremultipliedRgba> for SrcOver[src]

impl Compositor<PremultipliedRgba> for SrcIn[src]

impl Compositor<PremultipliedRgba> for SrcOut[src]

impl Compositor<PremultipliedRgba> for SrcAtop[src]

impl Compositor<PremultipliedRgba> for DstOver[src]

impl Compositor<PremultipliedRgba> for DstIn[src]

impl Compositor<PremultipliedRgba> for DstOut[src]

impl Copy for PremultipliedRgba[src]

impl Into<PremultipliedRgba> for Rgba[src]

impl Into<Rgba> for PremultipliedRgba[src]

impl Mul<PremultipliedRgba> for PremultipliedRgba[src]

type Output = Self

The resulting type after applying the * operator.

impl Mul<f32> for PremultipliedRgba[src]

type Output = Self

The resulting type after applying the * operator.

impl Pixel for PremultipliedRgba[src]

impl Sub<PremultipliedRgba> for PremultipliedRgba[src]

type Output = Self

The resulting type after applying the - operator.

Auto Trait Implementations

Blanket Implementations

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> From<T> for T[src]

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

impl<T> SetParameter for T

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.