Trait nannou_core::color::blend::BlendFunction[][src]

pub trait BlendFunction<C> where
    C: Blend<Color = C> + ComponentWise,
    <C as ComponentWise>::Scalar: Float
{ fn apply_to(
        self,
        source: PreAlpha<C, <C as ComponentWise>::Scalar>,
        destination: PreAlpha<C, <C as ComponentWise>::Scalar>
    ) -> PreAlpha<C, <C as ComponentWise>::Scalar>; }
Expand description

A trait for custom blend functions.

Required methods

Apply this blend function to a pair of colors.

Implementors