Enum egui::output::CursorIcon [−][src]
pub enum CursorIcon {
Show variants
Default,
None,
ContextMenu,
Help,
PointingHand,
Progress,
Wait,
Cell,
Crosshair,
Text,
VerticalText,
Alias,
Copy,
Move,
NoDrop,
NotAllowed,
Grab,
Grabbing,
AllScroll,
ResizeHorizontal,
ResizeNeSw,
ResizeNwSe,
ResizeVertical,
ZoomIn,
ZoomOut,
}A mouse cursor icon.
egui emits a CursorIcon in Output each frame as a request to the integration.
Loosely based on https://developer.mozilla.org/en-US/docs/Web/CSS/cursor.
Variants
Normal cursor icon, whatever that is.
Show no cursor
A context menu is available
Question mark
Pointing hand, used for e.g. web links
Shows that processing is being done, but that the program is still interactive.
Not yet ready, try later.
Hover a cell in a table
For precision work
Text caret, e.g. “Click here to edit text”
Vertical text caret, e.g. “Click here to edit vertical text”
Indicated an alias, e.g. a shortcut
Indicate that a copy will be made
Omnidirectional move icon (e.g. arrows in all cardinal directions)
Can’t drop here
Forbidden
The thing you are hovering can be grabbed
You are grabbing the thing you are hovering
Something can be scrolled in any direction (panned).
Horizontal resize - to make something wider or more narrow (left to/from right)
Diagonal resize / (right-up to/from left-down)
Diagonal resize \ (left-up to/from right-down)
Vertical resize | (up-down or down-up)
Enhance!
Let’s get a better overview
Implementations
impl CursorIcon[src]
impl CursorIcon[src]pub const ALL: [CursorIcon; 25][src]
Trait Implementations
impl Clone for CursorIcon[src]
impl Clone for CursorIcon[src]fn clone(&self) -> CursorIcon[src]
fn clone(&self) -> CursorIcon[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 CursorIcon[src]
impl Debug for CursorIcon[src]impl Default for CursorIcon[src]
impl Default for CursorIcon[src]impl PartialEq<CursorIcon> for CursorIcon[src]
impl PartialEq<CursorIcon> for CursorIcon[src]impl Copy for CursorIcon[src]
impl StructuralPartialEq for CursorIcon[src]
Auto Trait Implementations
impl RefUnwindSafe for CursorIcon
impl Send for CursorIcon
impl Sync for CursorIcon
impl Unpin for CursorIcon
impl UnwindSafe for CursorIcon
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> ToOwned for T where
T: Clone, [src]
impl<T> ToOwned for T where
T: Clone, [src]type Owned = T
type Owned = TThe 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