Trait WritableImageU16Ext

Source
pub trait WritableImageU16Ext: WritableImage<u16> {
    // Provided method
    fn blit_rgba16<RI>(&mut self, src: &RI, offset: (isize, isize))
       where RI: ReadableImage<u16> { ... }
}
Expand description

This allows u16 specific extensions to the WritableImage concepts.

Provided Methods§

Source

fn blit_rgba16<RI>(&mut self, src: &RI, offset: (isize, isize))
where RI: ReadableImage<u16>,

This copies the data from the source into the destination any time the source’s alpha bit is set.

Currently this is the same as a call to blit_generic, but in future versions this will attempt to take advantage of SIMD for a speed boost.

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§