Struct drm_sys::drm_mode_cursor2
source · #[repr(C)]pub struct drm_mode_cursor2 {
pub flags: __u32,
pub crtc_id: __u32,
pub x: __s32,
pub y: __s32,
pub width: __u32,
pub height: __u32,
pub handle: __u32,
pub hot_x: __s32,
pub hot_y: __s32,
}
Fields§
§flags: __u32
§crtc_id: __u32
§x: __s32
§y: __s32
§width: __u32
§height: __u32
§handle: __u32
§hot_x: __s32
§hot_y: __s32
Trait Implementations§
source§impl Clone for drm_mode_cursor2
impl Clone for drm_mode_cursor2
source§fn clone(&self) -> drm_mode_cursor2
fn clone(&self) -> drm_mode_cursor2
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_cursor2
impl Debug for drm_mode_cursor2
source§impl Default for drm_mode_cursor2
impl Default for drm_mode_cursor2
source§fn default() -> drm_mode_cursor2
fn default() -> drm_mode_cursor2
Returns the “default value” for a type. Read more
source§impl Hash for drm_mode_cursor2
impl Hash for drm_mode_cursor2
source§impl PartialEq for drm_mode_cursor2
impl PartialEq for drm_mode_cursor2
impl Copy for drm_mode_cursor2
impl Eq for drm_mode_cursor2
impl StructuralPartialEq for drm_mode_cursor2
Auto Trait Implementations§
impl Freeze for drm_mode_cursor2
impl RefUnwindSafe for drm_mode_cursor2
impl Send for drm_mode_cursor2
impl Sync for drm_mode_cursor2
impl Unpin for drm_mode_cursor2
impl UnwindSafe for drm_mode_cursor2
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
)