pub struct FbTarget<'a> {
pub pixels: &'a mut [u8],
pub stride: u32,
pub width: u32,
pub height: u32,
pub fourcc: u32,
}Expand description
The framebuffer being composited into.
Fields§
§pixels: &'a mut [u8]The mapping.
stride: u32Bytes between rows.
width: u32Width in pixels.
height: u32Height in pixels.
fourcc: u32What its pixels are, from fb_fourcc_for.
Trait Implementations§
Auto Trait Implementations§
impl<'a> !UnwindSafe for FbTarget<'a>
impl<'a> Freeze for FbTarget<'a>
impl<'a> RefUnwindSafe for FbTarget<'a>
impl<'a> Send for FbTarget<'a>
impl<'a> Sync for FbTarget<'a>
impl<'a> Unpin for FbTarget<'a>
impl<'a> UnsafeUnpin for FbTarget<'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