Struct drm_sys::drm_mode_fb_cmd2
source · #[repr(C)]pub struct drm_mode_fb_cmd2 {
pub fb_id: __u32,
pub width: __u32,
pub height: __u32,
pub pixel_format: __u32,
pub flags: __u32,
pub handles: [__u32; 4],
pub pitches: [__u32; 4],
pub offsets: [__u32; 4],
pub modifier: [__u64; 4],
}
Fields§
§fb_id: __u32
§width: __u32
§height: __u32
§pixel_format: __u32
§flags: __u32
§handles: [__u32; 4]
§pitches: [__u32; 4]
§offsets: [__u32; 4]
§modifier: [__u64; 4]
Trait Implementations§
source§impl Clone for drm_mode_fb_cmd2
impl Clone for drm_mode_fb_cmd2
source§fn clone(&self) -> drm_mode_fb_cmd2
fn clone(&self) -> drm_mode_fb_cmd2
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_cmd2
impl Debug for drm_mode_fb_cmd2
source§impl Default for drm_mode_fb_cmd2
impl Default for drm_mode_fb_cmd2
source§fn default() -> drm_mode_fb_cmd2
fn default() -> drm_mode_fb_cmd2
Returns the “default value” for a type. Read more
source§impl Hash for drm_mode_fb_cmd2
impl Hash for drm_mode_fb_cmd2
source§impl PartialEq<drm_mode_fb_cmd2> for drm_mode_fb_cmd2
impl PartialEq<drm_mode_fb_cmd2> for drm_mode_fb_cmd2
source§fn eq(&self, other: &drm_mode_fb_cmd2) -> bool
fn eq(&self, other: &drm_mode_fb_cmd2) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.