#[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

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.