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

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

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(&self) -> impl ExactSizeIterator<Item = Completion<Mode>> + '_[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]

const GUID: Guid[src]

Unique protocol identifier.

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]

pub fn type_id(&self) -> TypeId[src]

Gets the TypeId of self. Read more

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

pub fn borrow(&self) -> &T[src]

Immutably borrows from an owned value. Read more

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

pub fn borrow_mut(&mut self) -> &mut T[src]

Mutably borrows from an owned value. Read more

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

pub fn from(t: T) -> T[src]

Performs the conversion.

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

pub fn into(self) -> U[src]

Performs the conversion.

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.

pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

Performs the conversion.

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.

pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

Performs the conversion.