#[repr(C)]pub struct fb_var_screeninfo {Show 27 fields
pub xres: u32,
pub yres: u32,
pub xres_virtual: u32,
pub yres_virtual: u32,
pub xoffset: u32,
pub yoffset: u32,
pub bits_per_pixel: u32,
pub grayscale: u32,
pub red: fb_bitfield,
pub green: fb_bitfield,
pub blue: fb_bitfield,
pub transp: fb_bitfield,
pub nonstd: u32,
pub activate: u32,
pub height: u32,
pub width: u32,
pub accel_flags: u32,
pub pixclock: u32,
pub left_margin: u32,
pub right_margin: u32,
pub upper_margin: u32,
pub lower_margin: u32,
pub hsync_len: u32,
pub vsync_len: u32,
pub sync: u32,
pub vmode: u32,
pub reserved: [u32; 6],
}Fields§
§xres: u32visible resolution
yres: u32§xres_virtual: u32virtual resolution
yres_virtual: u32§xoffset: u32offset from virtual to visible resolution
yoffset: u32§bits_per_pixel: u32guess what
grayscale: u32!= 0 Graylevels instead of colors
red: fb_bitfieldbitfield in fb mem if true color, else only length is significant
green: fb_bitfield§blue: fb_bitfield§transp: fb_bitfieldtransparency
nonstd: u32!= 0 Non standard pixel format
activate: u32see FB_ACTIVATE_*
height: u32height of picture in mm
width: u32width of picture in mm
accel_flags: u32acceleration flags (hints)
pixclock: u32pixel clock in ps (pico seconds)
left_margin: u32time from sync to picture
right_margin: u32time from picture to sync
upper_margin: u32time from sync to picture
lower_margin: u32§hsync_len: u32length of horizontal sync
vsync_len: u32length of vertical sync
sync: u32see FB_SYNC_*
vmode: u32see FB_VMODE_*
reserved: [u32; 6]Reserved for future compatibility
Trait Implementations§
Source§impl Clone for fb_var_screeninfo
impl Clone for fb_var_screeninfo
impl Copy for fb_var_screeninfo
Source§impl Debug for fb_var_screeninfo
impl Debug for fb_var_screeninfo
Source§impl Default for fb_var_screeninfo
impl Default for fb_var_screeninfo
impl Eq for fb_var_screeninfo
Source§impl PartialEq for fb_var_screeninfo
impl PartialEq for fb_var_screeninfo
impl StructuralPartialEq for fb_var_screeninfo
Auto Trait Implementations§
impl Freeze for fb_var_screeninfo
impl RefUnwindSafe for fb_var_screeninfo
impl Send for fb_var_screeninfo
impl Sync for fb_var_screeninfo
impl Unpin for fb_var_screeninfo
impl UnsafeUnpin for fb_var_screeninfo
impl UnwindSafe for fb_var_screeninfo
Blanket Implementations§
Source§impl<T> AnyValue for Twhere
T: PartialEq + 'static,
impl<T> AnyValue for Twhere
T: PartialEq + 'static,
fn any_value_as_any(&self) -> &(dyn Any + 'static)
fn any_value_eq(&self, other: &(dyn AnyValue + 'static)) -> bool
fn any_value_type_name(&self) -> &'static str
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> ClassDefaults for Twhere
T: ?Sized,
impl<T> ClassDefaults for Twhere
T: ?Sized,
Source§fn static_constructor()
fn static_constructor()
The static constructor of a type: work done once per thread, after
the properties of the type are registered and before its first
instance exists (class handlers,
affects_render, metadata
overrides). Read more