#[repr(C)]
pub struct FramebufferTable { pub addr: u64, pub pitch: u32, pub width: u32, pub height: u32, pub bpp: u8, /* private fields */ }
Expand description

Contains the information about the framebuffer

Fields

addr: u64pitch: u32width: u32height: u32bpp: u8

Implementations

Create this table from a color info.

If the type is ColorInfoType::Text, bpp has to be 16.

Get the color info from this table.

Trait Implementations

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

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.