pub struct Framebuffer {Show 14 fields
pub address: *mut u8,
pub width: u16,
pub height: u16,
pub pitch: u16,
pub bpp: u16,
pub memory_model: u8,
pub red_mask_size: u8,
pub red_mask_shift: u8,
pub green_mask_size: u8,
pub green_mask_shift: u8,
pub blue_mask_size: u8,
pub blue_mask_shift: u8,
pub edid_size: u64,
pub edid: *mut u8,
/* private fields */
}Expand description
Framebuffer structure
Fields§
§address: *mut u8The address of the framebuffer
width: u16The width of the framebuffer
height: u16The height of the framebuffer
pitch: u16The pitch of the framebuffer
bpp: u16How many bits are present per pixel
memory_model: u8The memory model of the framebuffer
red_mask_size: u8The red mask size
red_mask_shift: u8The red mask shift amount
green_mask_size: u8The green mask size
green_mask_shift: u8The green mask shift amount
blue_mask_size: u8The blue mask size
blue_mask_shift: u8The blue mask shift amount
edid_size: u64The size of the EDID
edid: *mut u8A pointer to the EDID
Trait Implementations§
Source§impl Debug for Framebuffer
impl Debug for Framebuffer
Source§impl PartialEq for Framebuffer
impl PartialEq for Framebuffer
impl Eq for Framebuffer
impl StructuralPartialEq for Framebuffer
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