[][src]Struct multiboot2::VBEModeInfo

#[repr(C, packed)]
pub struct VBEModeInfo {
    pub mode_attributes: VBEModeAttributes,
    pub window_a_attributes: VBEWindowAttributes,
    pub window_b_attributes: VBEWindowAttributes,
    pub window_granularity: u16,
    pub window_size: u16,
    pub window_a_segment: u16,
    pub window_b_segment: u16,
    pub window_function_ptr: u32,
    pub pitch: u16,
    pub resolution: (u16, u16),
    pub character_size: (u8, u8),
    pub number_of_planes: u8,
    pub bpp: u8,
    pub number_of_banks: u8,
    pub memory_model: VBEMemoryModel,
    pub bank_size: u8,
    pub number_of_image_pages: u8,
    pub red_field: VBEField,
    pub green_field: VBEField,
    pub blue_field: VBEField,
    pub reserved_field: VBEField,
    pub direct_color_attributes: VBEDirectColorAttributes,
    pub framebuffer_base_ptr: u32,
    pub offscreen_memory_offset: u32,
    pub offscreen_memory_size: u16,
    // some fields omitted
}

Fields

mode_attributes: VBEModeAttributeswindow_a_attributes: VBEWindowAttributeswindow_b_attributes: VBEWindowAttributeswindow_granularity: u16window_size: u16window_a_segment: u16window_b_segment: u16window_function_ptr: u32pitch: u16resolution: (u16, u16)character_size: (u8, u8)number_of_planes: u8bpp: u8number_of_banks: u8memory_model: VBEMemoryModelbank_size: u8number_of_image_pages: u8red_field: VBEFieldgreen_field: VBEFieldblue_field: VBEFieldreserved_field: VBEFielddirect_color_attributes: VBEDirectColorAttributesframebuffer_base_ptr: u32offscreen_memory_offset: u32offscreen_memory_size: u16

Trait Implementations

impl Debug for VBEModeInfo[src]

impl Copy for VBEModeInfo[src]

impl Clone for VBEModeInfo[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

Auto Trait Implementations

Blanket Implementations

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]