Struct uefi_raw::protocol::console::GraphicsOutputModeInformation
source · #[repr(C)]pub struct GraphicsOutputModeInformation {
pub version: u32,
pub horizontal_resolution: u32,
pub vertical_resolution: u32,
pub pixel_format: GraphicsPixelFormat,
pub pixel_information: PixelBitmask,
pub pixels_per_scan_line: u32,
}
Fields§
§version: u32
§horizontal_resolution: u32
§vertical_resolution: u32
§pixel_format: GraphicsPixelFormat
§pixel_information: PixelBitmask
§pixels_per_scan_line: u32
Trait Implementations§
source§impl Clone for GraphicsOutputModeInformation
impl Clone for GraphicsOutputModeInformation
source§fn clone(&self) -> GraphicsOutputModeInformation
fn clone(&self) -> GraphicsOutputModeInformation
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 Default for GraphicsOutputModeInformation
impl Default for GraphicsOutputModeInformation
source§fn default() -> GraphicsOutputModeInformation
fn default() -> GraphicsOutputModeInformation
Returns the “default value” for a type. Read more
source§impl Hash for GraphicsOutputModeInformation
impl Hash for GraphicsOutputModeInformation
source§impl Ord for GraphicsOutputModeInformation
impl Ord for GraphicsOutputModeInformation
source§fn cmp(&self, other: &GraphicsOutputModeInformation) -> Ordering
fn cmp(&self, other: &GraphicsOutputModeInformation) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for GraphicsOutputModeInformation
impl PartialEq for GraphicsOutputModeInformation
source§fn eq(&self, other: &GraphicsOutputModeInformation) -> bool
fn eq(&self, other: &GraphicsOutputModeInformation) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.source§impl PartialOrd for GraphicsOutputModeInformation
impl PartialOrd for GraphicsOutputModeInformation
impl Copy for GraphicsOutputModeInformation
impl Eq for GraphicsOutputModeInformation
impl StructuralPartialEq 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 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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)