[][src]Trait pix::PixModes

pub trait PixModes {
    fn alpha_mode(&self) -> Option<AlphaMode> { ... }
fn gamma_mode(&self) -> Option<GammaMode> { ... } }

Pixel modes are settings for AlphaMode and GammaMode.

Provided methods

fn alpha_mode(&self) -> Option<AlphaMode>

Get the pixel format alpha mode

fn gamma_mode(&self) -> Option<GammaMode>

Get the pixel format gamma mode

Loading content...

Implementors

impl<'a, F: Format> PixModes for RasterIter<'a, F>[src]

fn alpha_mode(&self) -> Option<AlphaMode>[src]

Get the pixel format alpha mode

fn gamma_mode(&self) -> Option<GammaMode>[src]

Get the pixel format gamma mode

impl<C: Channel, A: Alpha> PixModes for Gray<C, A>[src]

impl<C: Channel, A: Alpha> PixModes for Mask<C, A>[src]

impl<C: Channel, A: Alpha> PixModes for Rgb<C, A>[src]

Loading content...