Trait image::color::Blend

source ·
pub(crate) trait Blend {
    // Required method
    fn blend(&mut self, other: &Self);
}
Expand description

Blends a color inter another one

Required Methods§

source

fn blend(&mut self, other: &Self)

Blends a color in-place.

Implementors§

source§

impl<T: Primitive> Blend for Luma<T>

source§

impl<T: Primitive> Blend for LumaA<T>

source§

impl<T: Primitive> Blend for Rgb<T>

source§

impl<T: Primitive> Blend for Rgba<T>