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

#[repr(C)]
pub struct ModeInfo { /* fields omitted */ }
Expand description

Information about a graphics output mode.

Implementations

Returns the (horizontal, vertical) resolution.

On desktop monitors, this usually means (width, height).

Returns the format of the frame buffer.

Returns the bitmask of the custom pixel format, if available.

Returns the number of pixels per scanline.

Due to performance reasons, the stride might not be equal to the width, instead the stride might be bigger for better alignment.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. 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

Performs the conversion.

Performs the conversion.

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.