Struct driver_display::DisplayInfo
source · pub struct DisplayInfo {
pub width: u32,
pub height: u32,
pub fb_base_vaddr: usize,
pub fb_size: usize,
}Expand description
The information of the graphics device.
Fields§
§width: u32The visible width.
height: u32The visible height.
fb_base_vaddr: usizeThe base virtual address of the framebuffer.
fb_size: usizeThe size of the framebuffer in bytes.
Trait Implementations§
source§impl Clone for DisplayInfo
impl Clone for DisplayInfo
source§fn clone(&self) -> DisplayInfo
fn clone(&self) -> DisplayInfo
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 moresource§impl Debug for DisplayInfo
impl Debug for DisplayInfo
impl Copy for DisplayInfo
Auto Trait Implementations§
impl RefUnwindSafe for DisplayInfo
impl Send for DisplayInfo
impl Sync for DisplayInfo
impl Unpin for DisplayInfo
impl UnwindSafe for DisplayInfo
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