Enum tauri_runtime::window::CursorIcon
source · #[non_exhaustive]pub enum CursorIcon {
Show 35 variants
Default,
Crosshair,
Hand,
Arrow,
Move,
Text,
Wait,
Help,
Progress,
NotAllowed,
ContextMenu,
Cell,
VerticalText,
Alias,
Copy,
NoDrop,
Grab,
Grabbing,
AllScroll,
ZoomIn,
ZoomOut,
EResize,
NResize,
NeResize,
NwResize,
SResize,
SeResize,
SwResize,
WResize,
EwResize,
NsResize,
NeswResize,
NwseResize,
ColResize,
RowResize,
}
Expand description
Describes the appearance of the mouse cursor.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Default
The platform-dependent default cursor.
Crosshair
A simple crosshair.
Hand
A hand (often used to indicate links in web browsers).
Arrow
Self explanatory.
Move
Indicates something is to be moved.
Text
Indicates text that may be selected or edited.
Wait
Program busy indicator.
Help
Help indicator (often rendered as a “?”)
Progress
Progress indicator. Shows that processing is being done. But in contrast with “Wait” the user may still interact with the program. Often rendered as a spinning beach ball, or an arrow with a watch or hourglass.
NotAllowed
Cursor showing that something cannot be done.
ContextMenu
Cell
VerticalText
Alias
Copy
NoDrop
Grab
Indicates something can be grabbed.
Grabbing
Indicates something is grabbed.
AllScroll
ZoomIn
ZoomOut
EResize
Indicate that some edge is to be moved. For example, the ‘SeResize’ cursor is used when the movement starts from the south-east corner of the box.
NResize
NeResize
NwResize
SResize
SeResize
SwResize
WResize
EwResize
NsResize
NeswResize
NwseResize
ColResize
RowResize
Trait Implementations§
source§impl Clone for CursorIcon
impl Clone for CursorIcon
source§fn clone(&self) -> CursorIcon
fn clone(&self) -> CursorIcon
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CursorIcon
impl Debug for CursorIcon
source§impl Default for CursorIcon
impl Default for CursorIcon
source§impl<'de> Deserialize<'de> for CursorIcon
impl<'de> Deserialize<'de> for CursorIcon
source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
source§impl Hash for CursorIcon
impl Hash for CursorIcon
source§impl PartialEq for CursorIcon
impl PartialEq for CursorIcon
impl Copy for CursorIcon
impl Eq for CursorIcon
impl StructuralPartialEq for CursorIcon
Auto Trait Implementations§
impl Freeze for CursorIcon
impl RefUnwindSafe for CursorIcon
impl Send for CursorIcon
impl Sync for CursorIcon
impl Unpin for CursorIcon
impl UnwindSafe for CursorIcon
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key
and return true
if they are equal.