[][src]Struct framebuffer::VarScreeninfo

#[repr(C)]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: u32yres: u32xres_virtual: u32yres_virtual: u32xoffset: u32yoffset: u32bits_per_pixel: u32grayscale: u32red: Bitfieldgreen: Bitfieldblue: Bitfieldtransp: Bitfieldnonstd: u32activate: u32height: u32width: u32accel_flags: u32pixclock: u32left_margin: u32right_margin: u32upper_margin: u32lower_margin: u32hsync_len: u32vsync_len: u32sync: u32vmode: u32rotate: u32colorspace: u32reserved: [u32; 4]

Trait Implementations

impl Clone for VarScreeninfo[src]

impl Debug for VarScreeninfo[src]

impl Default for VarScreeninfo[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

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

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

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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> 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.