#[repr(C)]pub struct GraphicsOutputModeInformation {
pub version: u32,
pub horizontal_resolution: u32,
pub vertical_resolution: u32,
pub pixel_format: GopPixelFormat,
pub pixel_bitmask: PixelBitmask,
pub pixels_per_scan_line: u32,
}Expand description
EFI_GRAPHICS_OUTPUT_MODE_INFORMATION. Describes a graphics output mode. (UEFI specification §12.9)
Fields§
§version: u32The version of this structure.
horizontal_resolution: u32The horizontal resolution in pixels.
vertical_resolution: u32The vertical resolution in pixels.
pixel_format: GopPixelFormatThe pixel format of the display.
pixel_bitmask: PixelBitmaskColor component bit masks used when pixel_format is GopPixelFormat::MASK.
pixels_per_scan_line: u32The number of pixels per scan line (pitch of the frame buffer).
Trait Implementations§
impl Copy for GraphicsOutputModeInformation
Auto Trait Implementations§
impl Freeze for GraphicsOutputModeInformation
impl RefUnwindSafe for GraphicsOutputModeInformation
impl Send for GraphicsOutputModeInformation
impl Sync for GraphicsOutputModeInformation
impl Unpin for GraphicsOutputModeInformation
impl UnsafeUnpin for GraphicsOutputModeInformation
impl UnwindSafe for GraphicsOutputModeInformation
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