Trait retro_pixel::u16_ext::WritableImageU16Ext [−][src]
pub trait WritableImageU16Ext: WritableImage<u16> { fn blit_rgba16<RI>(&mut self, src: &RI, offset: (isize, isize))
where
RI: ReadableImage<u16>, { ... } }
This allows u16
specific extensions to the WritableImage
concepts.
Provided Methods
fn blit_rgba16<RI>(&mut self, src: &RI, offset: (isize, isize)) where
RI: ReadableImage<u16>,
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.
Implementors
impl<'a> WritableImageU16Ext for ImageMutSlice<'a, u16>
impl WritableImageU16Ext for VecImage<u16>