[][src]Trait nanachi::pixel::Pixel

pub trait Pixel: Clone + 'static {
    pub fn lerp(&self, rhs: &Self, rate: f64) -> Self;
}

A trait for represents a pixel.

Required methods

pub fn lerp(&self, rhs: &Self, rate: f64) -> Self

Loading content...

Implementations on Foreign Types

impl Pixel for Rgb<u8>[src]

impl Pixel for Rgba<u8>[src]

impl Pixel for f64[src]

Loading content...

Implementors

impl Pixel for PremultipliedRgba[src]

impl Pixel for nanachi::pixel::Rgba[src]

Loading content...