#[repr(C, packed(1))]pub struct VbeModeInfo {Show 31 fields
pub attributes: u16,
pub window_a_attributes: u8,
pub window_b_attributes: u8,
pub window_granularity: u16,
pub window_size: u16,
pub window_a_segment: u16,
pub window_b_segment: u16,
pub window_func_ptr: u32,
pub bytes_per_scanline: u16,
pub width: u16,
pub height: u16,
pub w_char: u8,
pub y_char: u8,
pub planes: u8,
pub bpp: u8,
pub banks: u8,
pub memory_model: u8,
pub bank_size: u8,
pub image_pages: u8,
pub reserved0: u8,
pub red_mask_size: u8,
pub red_field_position: u8,
pub green_mask_size: u8,
pub green_field_position: u8,
pub blue_mask_size: u8,
pub blue_field_position: u8,
pub rsvd_mask_size: u8,
pub rsvd_field_position: u8,
pub direct_color_mode_attributes: u8,
pub framebuffer_addr: u32,
pub reserved1: NoDebug<[u8; 212]>,
}
Fields§
§attributes: u16
§window_a_attributes: u8
§window_b_attributes: u8
§window_granularity: u16
§window_size: u16
§window_a_segment: u16
§window_b_segment: u16
§window_func_ptr: u32
§bytes_per_scanline: u16
§width: u16
§height: u16
§w_char: u8
§y_char: u8
§planes: u8
§bpp: u8
§banks: u8
§memory_model: u8
§bank_size: u8
§image_pages: u8
§reserved0: u8
§red_mask_size: u8
§red_field_position: u8
§green_mask_size: u8
§green_field_position: u8
§blue_mask_size: u8
§blue_field_position: u8
§rsvd_mask_size: u8
§rsvd_field_position: u8
§direct_color_mode_attributes: u8
§framebuffer_addr: u32
§reserved1: NoDebug<[u8; 212]>
Trait Implementations§
Source§impl Clone for VbeModeInfo
impl Clone for VbeModeInfo
Source§fn clone(&self) -> VbeModeInfo
fn clone(&self) -> VbeModeInfo
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for VbeModeInfo
impl RefUnwindSafe for VbeModeInfo
impl Send for VbeModeInfo
impl Sync for VbeModeInfo
impl Unpin for VbeModeInfo
impl UnwindSafe for VbeModeInfo
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CheckedAs for T
impl<T> CheckedAs for T
Source§fn checked_as<Dst>(self) -> Option<Dst>where
T: CheckedCast<Dst>,
fn checked_as<Dst>(self) -> Option<Dst>where
T: CheckedCast<Dst>,
Casts the value.
Source§impl<Src, Dst> CheckedCastFrom<Src> for Dstwhere
Src: CheckedCast<Dst>,
impl<Src, Dst> CheckedCastFrom<Src> for Dstwhere
Src: CheckedCast<Dst>,
Source§fn checked_cast_from(src: Src) -> Option<Dst>
fn checked_cast_from(src: Src) -> Option<Dst>
Casts the value.
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> OverflowingAs for T
impl<T> OverflowingAs for T
Source§fn overflowing_as<Dst>(self) -> (Dst, bool)where
T: OverflowingCast<Dst>,
fn overflowing_as<Dst>(self) -> (Dst, bool)where
T: OverflowingCast<Dst>,
Casts the value.
Source§impl<Src, Dst> OverflowingCastFrom<Src> for Dstwhere
Src: OverflowingCast<Dst>,
impl<Src, Dst> OverflowingCastFrom<Src> for Dstwhere
Src: OverflowingCast<Dst>,
Source§fn overflowing_cast_from(src: Src) -> (Dst, bool)
fn overflowing_cast_from(src: Src) -> (Dst, bool)
Casts the value.
Source§impl<T> SaturatingAs for T
impl<T> SaturatingAs for T
Source§fn saturating_as<Dst>(self) -> Dstwhere
T: SaturatingCast<Dst>,
fn saturating_as<Dst>(self) -> Dstwhere
T: SaturatingCast<Dst>,
Casts the value.
Source§impl<Src, Dst> SaturatingCastFrom<Src> for Dstwhere
Src: SaturatingCast<Dst>,
impl<Src, Dst> SaturatingCastFrom<Src> for Dstwhere
Src: SaturatingCast<Dst>,
Source§fn saturating_cast_from(src: Src) -> Dst
fn saturating_cast_from(src: Src) -> Dst
Casts the value.
Source§impl<T> UnwrappedAs for T
impl<T> UnwrappedAs for T
Source§fn unwrapped_as<Dst>(self) -> Dstwhere
T: UnwrappedCast<Dst>,
fn unwrapped_as<Dst>(self) -> Dstwhere
T: UnwrappedCast<Dst>,
Casts the value.
Source§impl<Src, Dst> UnwrappedCastFrom<Src> for Dstwhere
Src: UnwrappedCast<Dst>,
impl<Src, Dst> UnwrappedCastFrom<Src> for Dstwhere
Src: UnwrappedCast<Dst>,
Source§fn unwrapped_cast_from(src: Src) -> Dst
fn unwrapped_cast_from(src: Src) -> Dst
Casts the value.
Source§impl<T> WrappingAs for T
impl<T> WrappingAs for T
Source§fn wrapping_as<Dst>(self) -> Dstwhere
T: WrappingCast<Dst>,
fn wrapping_as<Dst>(self) -> Dstwhere
T: WrappingCast<Dst>,
Casts the value.
Source§impl<Src, Dst> WrappingCastFrom<Src> for Dstwhere
Src: WrappingCast<Dst>,
impl<Src, Dst> WrappingCastFrom<Src> for Dstwhere
Src: WrappingCast<Dst>,
Source§fn wrapping_cast_from(src: Src) -> Dst
fn wrapping_cast_from(src: Src) -> Dst
Casts the value.