Struct drm_ffi::drm_mode_cursor
source · [−]#[repr(C)]pub struct drm_mode_cursor {
pub flags: u32,
pub crtc_id: u32,
pub x: i32,
pub y: i32,
pub width: u32,
pub height: u32,
pub handle: u32,
}Fields
flags: u32crtc_id: u32x: i32y: i32width: u32height: u32handle: u32Trait Implementations
sourceimpl Clone for drm_mode_cursor
impl Clone for drm_mode_cursor
sourcefn clone(&self) -> drm_mode_cursor
fn clone(&self) -> drm_mode_cursor
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for drm_mode_cursor
impl Debug for drm_mode_cursor
sourceimpl Default for drm_mode_cursor
impl Default for drm_mode_cursor
sourcefn default() -> drm_mode_cursor
fn default() -> drm_mode_cursor
Returns the “default value” for a type. Read more
sourceimpl Hash for drm_mode_cursor
impl Hash for drm_mode_cursor
sourceimpl PartialEq<drm_mode_cursor> for drm_mode_cursor
impl PartialEq<drm_mode_cursor> for drm_mode_cursor
sourcefn 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 ==. Read more
impl Copy for drm_mode_cursor
impl Eq for drm_mode_cursor
impl StructuralEq for drm_mode_cursor
impl StructuralPartialEq for drm_mode_cursor
Auto Trait Implementations
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more