[][src]Struct pix::matte::Matte

pub struct Matte {}

Matte color model.

The component is alpha only.

Trait Implementations

impl Clone for Matte[src]

impl ColorModel for Matte[src]

fn into_rgba<P>(p: P) -> PixRgba<P> where
    P: Pixel<Model = Self>, 
[src]

Convert into red, green, blue and alpha components

fn from_rgba<P>(rgba: PixRgba<P>) -> P where
    P: Pixel<Model = Self>, 
[src]

Convert from red, green, blue and alpha components

impl Copy for Matte[src]

impl Debug for Matte[src]

impl Default for Matte[src]

impl PartialEq<Matte> for Matte[src]

impl StructuralPartialEq for Matte[src]

Auto Trait Implementations

impl RefUnwindSafe for Matte

impl Send for Matte

impl Sync for Matte

impl Unpin for Matte

impl UnwindSafe for Matte

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> 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.