[][src]Enum uefi::proto::console::gop::PixelFormat

#[repr(u32)]pub enum PixelFormat {
    RGB,
    BGR,
    Bitmask,
    BltOnly,
}

Represents the format of the pixels in a frame buffer.

Variants

RGB

Each pixel is 32-bit long, with 24-bit RGB, and the last byte is reserved.

BGR

Each pixel is 32-bit long, with 24-bit BGR, and the last byte is reserved.

Bitmask

Custom pixel format, check the associated bitmask.

BltOnly

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 Copy for PixelFormat[src]

impl Debug for PixelFormat[src]

impl Eq for PixelFormat[src]

impl PartialEq<PixelFormat> for PixelFormat[src]

impl StructuralEq for PixelFormat[src]

impl StructuralPartialEq for PixelFormat[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.