[][src]Struct uefi::proto::console::gop::GraphicsOutput

#[repr(C)]pub struct GraphicsOutput<'boot> { /* fields omitted */ }

Provides access to the video hardware's frame buffer.

The GOP can be used to set the properties of the frame buffer, and also allows the app to access the in-memory buffer.

Implementations

impl<'boot> GraphicsOutput<'boot>[src]

pub fn modes<'gop>(&'gop self) -> impl Iterator<Item = Completion<Mode>> + 'gop[src]

Returns information about all available graphics modes.

pub fn set_mode(&mut self, mode: &Mode) -> Result[src]

Sets the video device into the specified mode, clearing visible portions of the output display to black.

This function will invalidate the current framebuffer.

pub fn blt(&mut self, op: BltOp) -> Result[src]

Performs a blt (block transfer) operation on the frame buffer.

Every operation requires different parameters.

pub fn current_mode_info(&self) -> ModeInfo[src]

Returns the frame buffer information for the current mode.

pub fn frame_buffer(&mut self) -> FrameBuffer[src]

Access the frame buffer directly

Trait Implementations

impl<'boot> Identify for GraphicsOutput<'boot>[src]

impl<'boot> Protocol for GraphicsOutput<'boot>[src]

impl<'boot> !Send for GraphicsOutput<'boot>[src]

impl<'boot> !Sync for GraphicsOutput<'boot>[src]

Auto Trait Implementations

impl<'boot> Unpin for GraphicsOutput<'boot>

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.