Skip to main content

ViewMutOfPixel

Type Alias ViewMutOfPixel 

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

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

Aliased Type§

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

Fields§

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