pub struct ShadowDest<'a> {
pub pixels: &'a mut [u8],
pub stride: u32,
pub width: u32,
pub height: u32,
}Expand description
Where a shadow is being blitted to.
Fields§
§pixels: &'a mut [u8]The destination pixels, ARGB8888.
stride: u32Bytes between rows.
width: u32Region width in pixels.
height: u32Region height in pixels.
Trait Implementations§
Auto Trait Implementations§
impl<'a> !UnwindSafe for ShadowDest<'a>
impl<'a> Freeze for ShadowDest<'a>
impl<'a> RefUnwindSafe for ShadowDest<'a>
impl<'a> Send for ShadowDest<'a>
impl<'a> Sync for ShadowDest<'a>
impl<'a> Unpin for ShadowDest<'a>
impl<'a> UnsafeUnpin for ShadowDest<'a>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more