Struct uefi::graphics::GraphicsOutputModeInfo
source · [−]#[repr(C)]pub struct GraphicsOutputModeInfo {
pub Version: u32,
pub HorizontalResolution: u32,
pub VerticalResolution: u32,
pub PixelFormat: GraphicsPixelFormat,
pub PixelInformation: GraphicsPixelBitmask,
pub PixelsPerScanLine: u32,
}
Fields
Version: u32
The version of this data structure. A value of zero represents the EFI_GRAPHICS_OUTPUT_MODE_INFORMATION structure as defined in this specification.
HorizontalResolution: u32
The size of video screen in pixels in the X dimension.
VerticalResolution: u32
The size of video screen in pixels in the Y dimension.
PixelFormat: GraphicsPixelFormat
Enumeration that defines the physical format of the pixel. A value of PixelBltOnly implies that a linear frame buffer is not available for this mode.
PixelInformation: GraphicsPixelBitmask
This bit-mask is only valid if PixelFormat is set to PixelPixelBitMask. A bit being set defines what bits are used for what purpose such as Red, Green, Blue, or Reserved.
PixelsPerScanLine: u32
Defines the number of pixel elements per video memory line.
Trait Implementations
sourceimpl Clone for GraphicsOutputModeInfo
impl Clone for GraphicsOutputModeInfo
sourcefn clone(&self) -> GraphicsOutputModeInfo
fn clone(&self) -> GraphicsOutputModeInfo
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for GraphicsOutputModeInfo
impl Debug for GraphicsOutputModeInfo
impl Copy for GraphicsOutputModeInfo
Auto Trait Implementations
impl RefUnwindSafe for GraphicsOutputModeInfo
impl Send for GraphicsOutputModeInfo
impl Sync for GraphicsOutputModeInfo
impl Unpin for GraphicsOutputModeInfo
impl UnwindSafe for GraphicsOutputModeInfo
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more