#[repr(C)]pub struct VideoModeInfo {
pub framebuffer_address: PAddr,
pub pixel_format: PixelFormat,
pub width: usize,
pub height: usize,
pub stride: usize,
}
Fields§
§framebuffer_address: PAddr
§pixel_format: PixelFormat
§width: usize
§height: usize
§stride: usize
The number of pixels in each scan-line. May be greater than width
.
Trait Implementations§
Source§impl Clone for VideoModeInfo
impl Clone for VideoModeInfo
Source§fn clone(&self) -> VideoModeInfo
fn clone(&self) -> VideoModeInfo
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 VideoModeInfo
impl Debug for VideoModeInfo
impl Copy for VideoModeInfo
Auto Trait Implementations§
impl Freeze for VideoModeInfo
impl RefUnwindSafe for VideoModeInfo
impl Send for VideoModeInfo
impl Sync for VideoModeInfo
impl Unpin for VideoModeInfo
impl UnwindSafe for VideoModeInfo
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)