#[repr(C, packed)]
pub struct VBEInfoTag { pub mode: u16, pub interface_segment: u16, pub interface_offset: u16, pub interface_length: u16, pub control_info: VBEControlInfo, pub mode_info: VBEModeInfo, /* private fields */ }
Expand description

This tag contains VBE metadata, VBE controller information returned by the VBE Function 00h and VBE mode information returned by the VBE Function 01h.

Fields

mode: u16

Indicates current video mode in the format specified in VBE 3.0.

interface_segment: u16

Contain the segment of the table of a protected mode interface defined in VBE 2.0+.

If the information for a protected mode interface is not available this field is set to zero.

interface_offset: u16

Contain the segment offset of the table of a protected mode interface defined in VBE 2.0+.

If the information for a protected mode interface is not available this field is set to zero.

interface_length: u16

Contain the segment length of the table of a protected mode interface defined in VBE 2.0+.

If the information for a protected mode interface is not available this field is set to zero.

control_info: VBEControlInfo

Contains VBE controller information returned by the VBE Function 00h.

mode_info: VBEModeInfo

Contains VBE mode information returned by the VBE Function 01h.

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

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.