Struct bootloader::boot_info::FrameBuffer
source · #[repr(C)]pub struct FrameBuffer { /* private fields */ }Expand description
A pixel-based framebuffer that controls the screen output.
Implementations§
source§impl FrameBuffer
impl FrameBuffer
sourcepub fn buffer_mut(&mut self) -> &mut [u8]
pub fn buffer_mut(&mut self) -> &mut [u8]
Returns the raw bytes of the framebuffer as mutable slice.
sourcepub fn info(&self) -> FrameBufferInfo
pub fn info(&self) -> FrameBufferInfo
Returns layout and pixel format information of the framebuffer.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for FrameBuffer
impl RefUnwindSafe for FrameBuffer
impl Send for FrameBuffer
impl Sync for FrameBuffer
impl Unpin for FrameBuffer
impl UnwindSafe for FrameBuffer
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