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: u32The version of this data structure. A value of zero represents the EFI_GRAPHICS_OUTPUT_MODE_INFORMATION structure as defined in this specification.
HorizontalResolution: u32The size of video screen in pixels in the X dimension.
VerticalResolution: u32The size of video screen in pixels in the Y dimension.
PixelFormat: GraphicsPixelFormatEnumeration 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: GraphicsPixelBitmaskThis 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: u32Defines the number of pixel elements per video memory line.
Trait Implementations§
source§impl Clone for GraphicsOutputModeInfo
impl Clone for GraphicsOutputModeInfo
source§fn clone(&self) -> GraphicsOutputModeInfo
fn clone(&self) -> GraphicsOutputModeInfo
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 GraphicsOutputModeInfo
impl Debug for GraphicsOutputModeInfo
impl Copy for GraphicsOutputModeInfo
Auto Trait Implementations§
impl Freeze for GraphicsOutputModeInfo
impl RefUnwindSafe for GraphicsOutputModeInfo
impl Send for GraphicsOutputModeInfo
impl Sync for GraphicsOutputModeInfo
impl Unpin for GraphicsOutputModeInfo
impl UnwindSafe for GraphicsOutputModeInfo
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