Enum input_pipeline::CursorMessage
source · pub enum CursorMessage {
SetPosition(Position),
SetVisibility(bool),
}
Expand description
Cursor messages.
Variants§
SetPosition(Position)
Set the position of the cursor.
SetVisibility(bool)
Set the visibility of the cursor.
Trait Implementations§
source§impl Debug for CursorMessage
impl Debug for CursorMessage
source§impl PartialEq for CursorMessage
impl PartialEq for CursorMessage
source§fn eq(&self, other: &CursorMessage) -> bool
fn eq(&self, other: &CursorMessage) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CursorMessage
Auto Trait Implementations§
impl Freeze for CursorMessage
impl RefUnwindSafe for CursorMessage
impl Send for CursorMessage
impl Sync for CursorMessage
impl Unpin for CursorMessage
impl UnwindSafe for CursorMessage
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