Struct arceos_api::display::AxDisplayInfo
pub struct AxDisplayInfo {
pub width: u32,
pub height: u32,
pub fb_base_vaddr: usize,
pub fb_size: usize,
}
Available on crate feature
display
only.Expand description
The information of the graphics device.
Fields§
§width: u32
The visible width.
height: u32
The visible height.
fb_base_vaddr: usize
The base virtual address of the framebuffer.
fb_size: usize
The size of the framebuffer in bytes.
Trait Implementations§
§impl Clone for DisplayInfo
impl Clone for DisplayInfo
§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 more§impl Debug for DisplayInfo
impl Debug for DisplayInfo
impl Copy for DisplayInfo
Auto Trait Implementations§
impl Freeze for DisplayInfo
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