Trait BlendingOverlayAt

Source
pub trait BlendingOverlayAt<W> {
    // Required method
    unsafe fn overlay_blended_at(
        &mut self,
        with: &W,
        x: u32,
        y: u32,
    ) -> &mut Self;
}
Expand description

Blending overlay at.

Required Methods§

Source

unsafe fn overlay_blended_at(&mut self, with: &W, x: u32, y: u32) -> &mut Self

See BlendingOverlay::overlay_blended.

§Safety

UB if x, y is out of bounds

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<const A: usize, const B: usize, T: AsMut<[u8]> + AsRef<[u8]>, U: AsRef<[u8]>> BlendingOverlayAt<Image<U, B>> for Image<T, A>
where [u8; A]: Blend<B>,