Struct multiboot::header::MultibootVideoMode
source · #[repr(C)]pub struct MultibootVideoMode {
pub width: u32,
pub height: u32,
/* private fields */
}
Expand description
Preferred video mode specified in the Multiboot header
Fields§
§width: u32
§height: u32
Implementations§
source§impl MultibootVideoMode
impl MultibootVideoMode
sourcepub fn mode_type(&self) -> Option<VideoModeType>
pub fn mode_type(&self) -> Option<VideoModeType>
Get the preferred video mode type
Trait Implementations§
source§impl Clone for MultibootVideoMode
impl Clone for MultibootVideoMode
source§fn clone(&self) -> MultibootVideoMode
fn clone(&self) -> MultibootVideoMode
Returns a copy of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more