#[repr(u32)]pub enum BootPixelFormat {
    Rgb = 0,
    Bgr = 1,
    Bitmask = 2,
    BltOnly = 3,
}Expand description
Pixel format tag compatible with UEFI GOP. We avoid Rust enums with payloads across the ABI boundary.
Variants§
Rgb = 0
UEFI PixelFormat::Rgb — 8:8:8 (or bitmask-equivalent), stored as R,G,B in low-to-high bytes.
Bgr = 1
UEFI PixelFormat::Bgr — 8:8:8 (or bitmask-equivalent), stored as B,G,R in low-to-high bytes.
Bitmask = 2
UEFI PixelFormat::Bitmask(mask) — see the masks in BootPixelMasks.
BltOnly = 3
UEFI PixelFormat::BltOnly — no linear framebuffer available (you can’t draw).
Trait Implementations§
Source§impl Clone for BootPixelFormat
 
impl Clone for BootPixelFormat
Source§fn clone(&self) -> BootPixelFormat
 
fn clone(&self) -> BootPixelFormat
Returns a duplicate 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 moreimpl Copy for BootPixelFormat
Auto Trait Implementations§
impl Freeze for BootPixelFormat
impl RefUnwindSafe for BootPixelFormat
impl Send for BootPixelFormat
impl Sync for BootPixelFormat
impl Unpin for BootPixelFormat
impl UnwindSafe for BootPixelFormat
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