Skip to main content

ViewOfPixel

Type Alias ViewOfPixel 

Source
pub type ViewOfPixel<'lt, P> = View<&'lt [<P as Pixel>::Subpixel], P>;
Expand description

Type alias for a view based on a pixel’s channels.

Aliased Type§

pub struct ViewOfPixel<'lt, P> {
    inner: FlatSamples<&'lt [<P as Pixel>::Subpixel]>,
    phantom: PhantomData<P>,
}

Fields§

§inner: FlatSamples<&'lt [<P as Pixel>::Subpixel]>§phantom: PhantomData<P>