Struct framebuffer::VarScreeninfo[][src]

#[repr(C)]
pub struct VarScreeninfo {
Show 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: 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],
}
Expand description

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

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

Performs the conversion.

Performs the conversion.

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)

recently added

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.