pub struct Frame<'a> {
pub px: &'a [u8],
pub w: i32,
pub h: i32,
pub stride: i32,
}Expand description
the pixels to present: rows of 32-bit B, G, R, x
Fields§
§px: &'a [u8]§w: i32§h: i32§stride: i32Auto Trait Implementations§
impl<'a> Forget for Frame<'a>
impl<'a> Freeze for Frame<'a>
impl<'a> RefUnwindSafe for Frame<'a>
impl<'a> Send for Frame<'a>
impl<'a> Sync for Frame<'a>
impl<'a> Unpin for Frame<'a>
impl<'a> UnsafeUnpin for Frame<'a>
impl<'a> UnwindSafe for Frame<'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