Struct framebuffer::VarScreeninfo [] [src]

pub struct VarScreeninfo {
    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: Bitfield,
    pub green: Bitfield,
    pub blue: Bitfield,
    pub transp: 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 rotate: u32,
    pub colorspace: u32,
    pub reserved: [u32; 4],
}

Struct as defined in /usr/include/linux/fb.h

Fields

xres
yres
xres_virtual
yres_virtual
xoffset
yoffset
bits_per_pixel
grayscale
red
green
blue
transp
nonstd
activate
height
width
accel_flags
pixclock
left_margin
right_margin
upper_margin
lower_margin
hsync_len
vsync_len
sync
vmode
rotate
colorspace
reserved

Trait Implementations

impl Default for VarScreeninfo

fn default() -> Self

Derived Implementations

impl Debug for VarScreeninfo

fn fmt(&self, __arg_0: &mut Formatter) -> Result

impl Clone for VarScreeninfo

fn clone(&self) -> VarScreeninfo

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