pub struct BlitItem<'a> {
pub pixels: &'a [u8],
pub stride: u32,
pub width: u32,
pub height: u32,
pub fourcc: u32,
pub x: i32,
pub y: i32,
}Expand description
One decoration to blend in.
Fields§
§pixels: &'a [u8]Its pixels.
stride: u32Bytes between its rows.
width: u32Width in pixels.
height: u32Height in pixels.
fourcc: u32What its pixels are.
x: i32Destination x.
y: i32Destination y.
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for BlitItem<'a>
impl<'a> RefUnwindSafe for BlitItem<'a>
impl<'a> Send for BlitItem<'a>
impl<'a> Sync for BlitItem<'a>
impl<'a> Unpin for BlitItem<'a>
impl<'a> UnsafeUnpin for BlitItem<'a>
impl<'a> UnwindSafe for BlitItem<'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