[][src]Struct uefi_graphics::UefiDisplay

pub struct UefiDisplay<'a> { /* fields omitted */ }

UEFI Display driver.

UEFI supports multiple different pixel formats, but embedded-graphics only supports one. To solve this, this display is generic over Into<Bgr888>.

At the moment this display only supports the BGR888 and RGB888 UEFI pixel formats. BltOnly and Bitmask are unsupported.

Implementations

impl<'a> UefiDisplay<'a>[src]

pub fn new(info: ModeInfo, fb: FrameBuffer<'a>) -> Self[src]

Create a new UefiDisplay.

pub fn size(&self) -> Size[src]

Return the size of the display

Trait Implementations

impl<'a, T: Into<Bgr888> + PixelColor> DrawTarget<T> for UefiDisplay<'a>[src]

type Error = Unsupported

Error type to return when a drawing operation fails. Read more

Auto Trait Implementations

impl<'a> !Send for UefiDisplay<'a>

impl<'a> !Sync for UefiDisplay<'a>

impl<'a> Unpin for UefiDisplay<'a>

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.