Enum uefi::proto::console::gop::PixelFormat [−][src]
#[repr(u32)] pub enum PixelFormat { Rgb, Bgr, Bitmask, BltOnly, }
Expand description
Represents the format of the pixels in a frame buffer.
Variants
Each pixel is 32-bit long, with 24-bit RGB, and the last byte is reserved.
Each pixel is 32-bit long, with 24-bit BGR, and the last byte is reserved.
Custom pixel format, check the associated bitmask.
The graphics mode does not support drawing directly to the frame buffer.
This means you will have to use the blt
function which will
convert the graphics data to the device’s internal pixel format.
Trait Implementations
impl Clone for PixelFormat
[src]
impl Clone for PixelFormat
[src]fn clone(&self) -> PixelFormat
[src]
fn clone(&self) -> PixelFormat
[src]Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]Performs copy-assignment from source
. Read more
impl Debug for PixelFormat
[src]
impl Debug for PixelFormat
[src]impl PartialEq<PixelFormat> for PixelFormat
[src]
impl PartialEq<PixelFormat> for PixelFormat
[src]