#[repr(C)]pub struct FbInfo {
pub width: u32,
pub height: u32,
pub pitch: u32,
pub bpp: u32,
pub phys_addr: u64,
pub size: u64,
pub format: u32,
pub _reserved: u32,
}Expand description
Framebuffer information structure passed to user space via syscall.
Must be repr(C) for stable ABI across kernel/user boundary.
Fields§
§width: u32§height: u32§pitch: u32§bpp: u32§phys_addr: u64§size: u64§format: u32Pixel format: 0 = BGRA, 1 = RGBA
_reserved: u32Trait Implementations§
Auto Trait Implementations§
impl Freeze for FbInfo
impl RefUnwindSafe for FbInfo
impl Send for FbInfo
impl Sync for FbInfo
impl Unpin for FbInfo
impl UnwindSafe for FbInfo
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)