pub enum Cursor {
Default,
Pointer,
Text,
}Expand description
The shape of the system cursor a widget can request for a given sub-region (milestone 205). The shell translates it to the window’s cursor; widgets stay independent of the windowing layer.
Variants§
Default
The default arrow.
Pointer
A hand (a clickable element).
Text
A vertical bar (a text entry area).
Trait Implementations§
impl Copy for Cursor
impl Eq for Cursor
impl StructuralPartialEq for Cursor
Auto Trait Implementations§
impl Freeze for Cursor
impl RefUnwindSafe for Cursor
impl Send for Cursor
impl Sync for Cursor
impl Unpin for Cursor
impl UnsafeUnpin for Cursor
impl UnwindSafe for 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