Struct multiboot2::VBEInfoTag
source · #[repr(C)]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§
source§impl Clone for VBEInfoTag
impl Clone for VBEInfoTag
source§fn clone(&self) -> VBEInfoTag
fn clone(&self) -> VBEInfoTag
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for VBEInfoTag
impl Debug for VBEInfoTag
source§impl Hash for VBEInfoTag
impl Hash for VBEInfoTag
source§impl Ord for VBEInfoTag
impl Ord for VBEInfoTag
source§impl PartialEq for VBEInfoTag
impl PartialEq for VBEInfoTag
source§impl PartialOrd for VBEInfoTag
impl PartialOrd for VBEInfoTag
source§impl TagTrait for VBEInfoTag
impl TagTrait for VBEInfoTag
source§fn dst_size(_base_tag: &Tag)
fn dst_size(_base_tag: &Tag)
source§fn as_base_tag(&self) -> &Tag
fn as_base_tag(&self) -> &Tag
source§fn size(&self) -> usize
fn size(&self) -> usize
size
field of
the tag.source§fn as_bytes(&self) -> &[u8]
fn as_bytes(&self) -> &[u8]
size
field of the tag.source§unsafe fn from_base_tag(tag: &Tag) -> &Self
unsafe fn from_base_tag(tag: &Tag) -> &Self
Self::dst_size
implementation. Read more