Enum egui::output::CursorIcon [−][src]
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]
pub const ALL: [CursorIcon; 25]
[src]
Trait Implementations
impl Clone for CursorIcon
[src]
fn clone(&self) -> CursorIcon
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for CursorIcon
[src]
impl Debug for CursorIcon
[src]
impl Default for CursorIcon
[src]
impl PartialEq<CursorIcon> for CursorIcon
[src]
fn eq(&self, other: &CursorIcon) -> bool
[src]
#[must_use]pub fn ne(&self, other: &Rhs) -> bool
1.0.0[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> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,