#[repr(packed(1))]pub struct Framebuffer {Show 14 fields
pub record: Record,
pub physical_address: u64,
pub x_resolution: u32,
pub y_resolution: u32,
pub bytes_per_line: u32,
pub bits_per_pixel: u8,
pub red_mask_pos: u8,
pub red_mask_size: u8,
pub green_mask_pos: u8,
pub green_mask_size: u8,
pub blue_mask_pos: u8,
pub blue_mask_size: u8,
pub reserved_mask_pos: u8,
pub reserved_mask_size: u8,
}
Fields§
§record: Record
§physical_address: u64
§x_resolution: u32
§y_resolution: u32
§bytes_per_line: u32
§bits_per_pixel: u8
§red_mask_pos: u8
§red_mask_size: u8
§green_mask_pos: u8
§green_mask_size: u8
§blue_mask_pos: u8
§blue_mask_size: u8
§reserved_mask_pos: u8
§reserved_mask_size: u8
Trait Implementations§
Source§impl Clone for Framebuffer
impl Clone for Framebuffer
Source§fn clone(&self) -> Framebuffer
fn clone(&self) -> Framebuffer
Returns a copy 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 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