[][src]Trait amethyst_rendy::rendy::texture::pixel::PixelRepr

pub trait PixelRepr<S, T> {
    type Repr: 'static + Send + Sized + Copy + Sync + Default + Debug;
}

Pixel representation as a Rust type

Associated Types

type Repr: 'static + Send + Sized + Copy + Sync + Default + Debug

Newtype to reduce verbosity of representing a Pixel in Rust

Loading content...

Implementors

impl<S, T> PixelRepr<S, T> for Abgr where
    S: ChannelSize,
    T: ChannelRepr<S>, 
[src]

type Repr = [<T as ChannelRepr<S>>::Repr; 4]

impl<S, T> PixelRepr<S, T> for Bgr where
    S: ChannelSize,
    T: ChannelRepr<S>, 
[src]

type Repr = [<T as ChannelRepr<S>>::Repr; 3]

impl<S, T> PixelRepr<S, T> for Bgra where
    S: ChannelSize,
    T: ChannelRepr<S>, 
[src]

type Repr = [<T as ChannelRepr<S>>::Repr; 4]

impl<S, T> PixelRepr<S, T> for R where
    S: ChannelSize,
    T: ChannelRepr<S>, 
[src]

type Repr = [<T as ChannelRepr<S>>::Repr; 1]

impl<S, T> PixelRepr<S, T> for Rg where
    S: ChannelSize,
    T: ChannelRepr<S>, 
[src]

type Repr = [<T as ChannelRepr<S>>::Repr; 2]

impl<S, T> PixelRepr<S, T> for Rgb where
    S: ChannelSize,
    T: ChannelRepr<S>, 
[src]

type Repr = [<T as ChannelRepr<S>>::Repr; 3]

impl<S, T> PixelRepr<S, T> for Rgba where
    S: ChannelSize,
    T: ChannelRepr<S>, 
[src]

type Repr = [<T as ChannelRepr<S>>::Repr; 4]

Loading content...