Struct evdi::events::CursorChange [−][src]
pub struct CursorChange { pub enabled: bool, pub hotspot_x: i32, pub hotspot_y: i32, pub width: u32, pub height: u32, pub stride: u32, pub pixel_format: Result<DrmFormat, UnrecognizedFourcc>, // some fields omitted }
This notification is sent for an update of cursor buffer or shape. It is also raised when cursor is enabled or disabled (when cursor is moved on and off the screen).
Fields
enabled: bool
hotspot_x: i32
hotspot_y: i32
width: u32
height: u32
stride: u32
pixel_format: Result<DrmFormat, UnrecognizedFourcc>
Implementations
Trait Implementations
impl Clone for CursorChange
[src]
impl Clone for CursorChange
[src]fn clone(&self) -> CursorChange
[src]
fn clone(&self) -> CursorChange
[src]Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]Performs copy-assignment from source
. Read more
impl Debug for CursorChange
[src]
impl Debug for CursorChange
[src]impl From<evdi_cursor_set> for CursorChange
[src]
impl From<evdi_cursor_set> for CursorChange
[src]fn from(sys: evdi_cursor_set) -> Self
[src]
fn from(sys: evdi_cursor_set) -> Self
[src]Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for CursorChange
impl Send for CursorChange
impl Sync for CursorChange
impl Unpin for CursorChange
impl UnwindSafe for CursorChange
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]fn instrument(self, span: Span) -> Instrumented<Self>
[src]
fn instrument(self, span: Span) -> Instrumented<Self>
[src]Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
fn in_current_span(self) -> Instrumented<Self>
[src]
fn in_current_span(self) -> Instrumented<Self>
[src]impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,