#[repr(C)]pub struct FramebufferInfo {
    pub framebuffer_ptr: u64,
    pub framebuffer_size: u64,
    pub framebuffer_width: u64,
    pub framebuffer_height: u64,
    pub framebuffer_stride: u64,
    pub framebuffer_format: BootPixelFormat,
    pub framebuffer_masks: BootPixelMasks,
}Fields§
§framebuffer_ptr: u64Linear framebuffer base address (CPU physical address). Valid to write after ExitBootServices.
framebuffer_size: u64Total framebuffer size in bytes. Helpful for bounds checks.
framebuffer_width: u64Visible width in pixels.
framebuffer_height: u64Visible height in pixels.
framebuffer_stride: u64Pixels per scanline (a.k.a. stride). May be >= width due to padding.
framebuffer_format: BootPixelFormatPixel format tag (Rgb/Bgr/Bitmask/BltOnly). If BltOnly, you cannot draw directly.
framebuffer_masks: BootPixelMasksPixel bit masks (only meaningful when framebuffer_format == Bitmask).
Trait Implementations§
Source§impl Clone for FramebufferInfo
 
impl Clone for FramebufferInfo
Source§fn clone(&self) -> FramebufferInfo
 
fn clone(&self) -> FramebufferInfo
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
 
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from 
source. Read moreAuto Trait Implementations§
impl Freeze for FramebufferInfo
impl RefUnwindSafe for FramebufferInfo
impl Send for FramebufferInfo
impl Sync for FramebufferInfo
impl Unpin for FramebufferInfo
impl UnwindSafe for FramebufferInfo
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