Struct limine_protocol::structures::framebuffer::Framebuffer
source · #[repr(C)]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<Framebuffer> for Framebuffer
impl PartialEq<Framebuffer> for Framebuffer
source§fn eq(&self, other: &Framebuffer) -> bool
fn eq(&self, other: &Framebuffer) -> bool
This method tests for
self and other values to be equal, and is used
by ==.