#[repr(C, packed)]
pub struct screen_info {
Show 36 fields pub orig_x: __u8, pub orig_y: __u8, pub ext_mem_k: __u16, pub orig_video_page: __u16, pub orig_video_mode: __u8, pub orig_video_cols: __u8, pub flags: __u8, pub unused2: __u8, pub orig_video_ega_bx: __u16, pub unused3: __u16, pub orig_video_lines: __u8, pub orig_video_isVGA: __u8, pub orig_video_points: __u16, pub lfb_width: __u16, pub lfb_height: __u16, pub lfb_depth: __u16, pub lfb_base: __u32, pub lfb_size: __u32, pub cl_magic: __u16, pub cl_offset: __u16, pub lfb_linelength: __u16, pub red_size: __u8, pub red_pos: __u8, pub green_size: __u8, pub green_pos: __u8, pub blue_size: __u8, pub blue_pos: __u8, pub rsvd_size: __u8, pub rsvd_pos: __u8, pub vesapm_seg: __u16, pub vesapm_off: __u16, pub pages: __u16, pub vesa_attributes: __u16, pub capabilities: __u32, pub ext_lfb_base: __u32, pub _reserved: [__u8; 2],
}

Fields

orig_x: __u8orig_y: __u8ext_mem_k: __u16orig_video_page: __u16orig_video_mode: __u8orig_video_cols: __u8flags: __u8unused2: __u8orig_video_ega_bx: __u16unused3: __u16orig_video_lines: __u8orig_video_isVGA: __u8orig_video_points: __u16lfb_width: __u16lfb_height: __u16lfb_depth: __u16lfb_base: __u32lfb_size: __u32cl_magic: __u16cl_offset: __u16lfb_linelength: __u16red_size: __u8red_pos: __u8green_size: __u8green_pos: __u8blue_size: __u8blue_pos: __u8rsvd_size: __u8rsvd_pos: __u8vesapm_seg: __u16vesapm_off: __u16pages: __u16vesa_attributes: __u16capabilities: __u32ext_lfb_base: __u32_reserved: [__u8; 2]

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

Returns the “default value” for a type. 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 resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

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.