pub struct DrmScanout {
pub fb_id: u32,
pub width: u32,
pub height: u32,
pub pitch: u32,
pub bits_per_pixel: u32,
pub depth: u32,
pub data: Vec<u8>,
}Expand description
The pixels a CRTC shows: rows of pitch bytes, bits_per_pixel per
pixel (32 for the XRGB8888 of the DRM output: blue, green, red and an
unused byte in memory order).
Fields§
§fb_id: u32§width: u32§height: u32§pitch: u32§bits_per_pixel: u32§depth: u32§data: Vec<u8>Implementations§
Trait Implementations§
Source§impl Clone for DrmScanout
impl Clone for DrmScanout
Auto Trait Implementations§
impl Freeze for DrmScanout
impl RefUnwindSafe for DrmScanout
impl Send for DrmScanout
impl Sync for DrmScanout
impl Unpin for DrmScanout
impl UnsafeUnpin for DrmScanout
impl UnwindSafe for DrmScanout
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
Source§impl<T> ClassDefaults for Twhere
T: ?Sized,
impl<T> ClassDefaults for Twhere
T: ?Sized,
Source§fn static_constructor()
fn static_constructor()
The static constructor of a type: work done once per thread, after
the properties of the type are registered and before its first
instance exists (class handlers,
affects_render, metadata
overrides). Read more