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 · source§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§fn cmp(&self, other: &VBEInfoTag) -> Ordering
fn cmp(&self, other: &VBEInfoTag) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
source§impl PartialEq for VBEInfoTag
impl PartialEq for VBEInfoTag
source§fn eq(&self, other: &VBEInfoTag) -> bool
fn eq(&self, other: &VBEInfoTag) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for VBEInfoTag
impl PartialOrd for VBEInfoTag
source§fn partial_cmp(&self, other: &VBEInfoTag) -> Option<Ordering>
fn partial_cmp(&self, other: &VBEInfoTag) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
self
and other
) and is used by the <=
operator. Read moresource§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<'a>(tag: &Tag) -> &'a Self
unsafe fn from_base_tag<'a>(tag: &Tag) -> &'a Self
Self::dst_size
implementation. Read more