Struct drm_sys::drm_mode_fb_cmd
source · #[repr(C)]pub struct drm_mode_fb_cmd {
pub fb_id: __u32,
pub width: __u32,
pub height: __u32,
pub pitch: __u32,
pub bpp: __u32,
pub depth: __u32,
pub handle: __u32,
}
Fields§
§fb_id: __u32
§width: __u32
§height: __u32
§pitch: __u32
§bpp: __u32
§depth: __u32
§handle: __u32
Trait Implementations§
source§impl Clone for drm_mode_fb_cmd
impl Clone for drm_mode_fb_cmd
source§fn clone(&self) -> drm_mode_fb_cmd
fn clone(&self) -> drm_mode_fb_cmd
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for drm_mode_fb_cmd
impl Debug for drm_mode_fb_cmd
source§impl Default for drm_mode_fb_cmd
impl Default for drm_mode_fb_cmd
source§fn default() -> drm_mode_fb_cmd
fn default() -> drm_mode_fb_cmd
Returns the “default value” for a type. Read more
source§impl Hash for drm_mode_fb_cmd
impl Hash for drm_mode_fb_cmd
source§impl PartialEq<drm_mode_fb_cmd> for drm_mode_fb_cmd
impl PartialEq<drm_mode_fb_cmd> for drm_mode_fb_cmd
source§fn eq(&self, other: &drm_mode_fb_cmd) -> bool
fn eq(&self, other: &drm_mode_fb_cmd) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.