Struct drm_sys::drm_mode_cursor
source · #[repr(C)]pub struct drm_mode_cursor {
pub flags: __u32,
pub crtc_id: __u32,
pub x: __s32,
pub y: __s32,
pub width: __u32,
pub height: __u32,
pub handle: __u32,
}
Fields§
§flags: __u32
§crtc_id: __u32
§x: __s32
§y: __s32
§width: __u32
§height: __u32
§handle: __u32
Trait Implementations§
source§impl Clone for drm_mode_cursor
impl Clone for drm_mode_cursor
source§fn clone(&self) -> drm_mode_cursor
fn clone(&self) -> drm_mode_cursor
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_cursor
impl Debug for drm_mode_cursor
source§impl Default for drm_mode_cursor
impl Default for drm_mode_cursor
source§fn default() -> drm_mode_cursor
fn default() -> drm_mode_cursor
Returns the “default value” for a type. Read more
source§impl Hash for drm_mode_cursor
impl Hash for drm_mode_cursor
source§impl PartialEq for drm_mode_cursor
impl PartialEq for drm_mode_cursor
source§fn eq(&self, other: &drm_mode_cursor) -> bool
fn eq(&self, other: &drm_mode_cursor) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for drm_mode_cursor
impl Eq for drm_mode_cursor
impl StructuralPartialEq for drm_mode_cursor
Auto Trait Implementations§
impl Freeze for drm_mode_cursor
impl RefUnwindSafe for drm_mode_cursor
impl Send for drm_mode_cursor
impl Sync for drm_mode_cursor
impl Unpin for drm_mode_cursor
impl UnwindSafe for drm_mode_cursor
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