pub struct FramebufferTag<'a> {
    pub address: u64,
    pub pitch: u32,
    pub width: u32,
    pub height: u32,
    pub bpp: u8,
    pub buffer_type: FramebufferType<'a>,
}
Expand description

The VBE Framebuffer information Tag.

Fields

address: u64

Contains framebuffer physical address.

This field is 64-bit wide but bootloader should set it under 4GiB if possible for compatibility with payloads which aren’t aware of PAE or amd64.

pitch: u32

Contains the pitch in bytes.

width: u32

Contains framebuffer width in pixels.

height: u32

Contains framebuffer height in pixels.

bpp: u8

Contains number of bits per pixel.

buffer_type: FramebufferType<'a>

The type of framebuffer, one of: Indexed, RGB or Text.

Trait Implementations

Formats the value using the given formatter. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.