Struct uefi::proto::console::gop::ModeInfo [−][src]
#[repr(C)]pub struct ModeInfo { /* fields omitted */ }
Expand description
Information about a graphics output mode.
Implementations
impl ModeInfo
[src]
impl ModeInfo
[src]pub fn resolution(&self) -> (usize, usize)
[src]
pub fn resolution(&self) -> (usize, usize)
[src]Returns the (horizontal, vertical) resolution.
On desktop monitors, this usually means (width, height).
pub fn pixel_format(&self) -> PixelFormat
[src]
pub fn pixel_format(&self) -> PixelFormat
[src]Returns the format of the frame buffer.
pub fn pixel_bitmask(&self) -> Option<PixelBitmask>
[src]
pub fn pixel_bitmask(&self) -> Option<PixelBitmask>
[src]Returns the bitmask of the custom pixel format, if available.