raqote::draw_target

Trait Blender

Source
trait Blender {
    type Output;

    // Required method
    fn build<T: Blend>() -> Self::Output;
}

Required Associated Types§

Required Methods§

Source

fn build<T: Blend>() -> Self::Output

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl Blender for BlendRow

Source§

type Output = fn(_: &[u32], _: &mut [u32])

Source§

impl Blender for BlendRowMask

Source§

type Output = fn(_: &[u32], _: &[u8], _: &mut [u32])

Source§

impl Blender for BlendRowMaskClip

Source§

type Output = fn(_: &[u32], _: &[u8], _: &[u8], _: &mut [u32])