Struct drm_sys::drm_mode_create_dumb
source · #[repr(C)]pub struct drm_mode_create_dumb {
pub height: __u32,
pub width: __u32,
pub bpp: __u32,
pub flags: __u32,
pub handle: __u32,
pub pitch: __u32,
pub size: __u64,
}
Fields§
§height: __u32
§width: __u32
§bpp: __u32
§flags: __u32
§handle: __u32
§pitch: __u32
§size: __u64
Trait Implementations§
source§impl Clone for drm_mode_create_dumb
impl Clone for drm_mode_create_dumb
source§fn clone(&self) -> drm_mode_create_dumb
fn clone(&self) -> drm_mode_create_dumb
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_create_dumb
impl Debug for drm_mode_create_dumb
source§impl Default for drm_mode_create_dumb
impl Default for drm_mode_create_dumb
source§fn default() -> drm_mode_create_dumb
fn default() -> drm_mode_create_dumb
Returns the “default value” for a type. Read more
source§impl Hash for drm_mode_create_dumb
impl Hash for drm_mode_create_dumb
source§impl PartialEq for drm_mode_create_dumb
impl PartialEq for drm_mode_create_dumb
impl Copy for drm_mode_create_dumb
impl Eq for drm_mode_create_dumb
impl StructuralPartialEq for drm_mode_create_dumb
Auto Trait Implementations§
impl Freeze for drm_mode_create_dumb
impl RefUnwindSafe for drm_mode_create_dumb
impl Send for drm_mode_create_dumb
impl Sync for drm_mode_create_dumb
impl Unpin for drm_mode_create_dumb
impl UnwindSafe for drm_mode_create_dumb
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)