pub enum Cursor {
Show 19 variants
Auto,
Default,
Pointer,
Text,
Wait,
Progress,
Help,
Crosshair,
Move,
Grab,
Grabbing,
NotAllowed,
ZoomIn,
ZoomOut,
ColResize,
RowResize,
None,
NwseResize,
NeswResize,
}Expand description
The pointer’s look over a view (cursor; iPad, Mac Catalyst and
Android with a mouse).
Variants§
Auto
Default
Pointer
Text
Wait
Progress
Help
Crosshair
Move
Grab
Grabbing
NotAllowed
ZoomIn
ZoomOut
ColResize
RowResize
None
NwseResize
Resize along the northwest–southeast diagonal (nwse-resize).
NeswResize
Resize along the northeast–southwest diagonal (nesw-resize).
Implementations§
Trait Implementations§
impl Copy for Cursor
impl Eq for Cursor
impl StructuralPartialEq for Cursor
Auto Trait Implementations§
impl Forget for Cursor
impl Freeze for Cursor
impl Move 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