Enum imgui::MouseCursor
source · #[repr(i32)]
pub enum MouseCursor {
Arrow,
TextInput,
ResizeAll,
ResizeNS,
ResizeEW,
ResizeNESW,
ResizeNWSE,
Hand,
NotAllowed,
}
Expand description
Mouse cursor type identifier
Variants§
Arrow
TextInput
Automatically used when hovering over text inputs, etc.
ResizeAll
Not used automatically
ResizeNS
Automatically used when hovering over a horizontal border
ResizeEW
Automatically used when hovering over a vertical border or a column
ResizeNESW
Automatically used when hovering over the bottom-left corner of a window
ResizeNWSE
Automatically used when hovering over the bottom-right corner of a window
Hand
Not used automatically, use for e.g. hyperlinks
NotAllowed
When hovering something with disallowed interactions.
Usually a crossed circle.
Implementations§
source§impl MouseCursor
impl MouseCursor
Trait Implementations§
source§impl Clone for MouseCursor
impl Clone for MouseCursor
source§fn clone(&self) -> MouseCursor
fn clone(&self) -> MouseCursor
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for MouseCursor
impl Debug for MouseCursor
source§impl Hash for MouseCursor
impl Hash for MouseCursor
source§impl PartialEq<MouseCursor> for MouseCursor
impl PartialEq<MouseCursor> for MouseCursor
source§fn eq(&self, other: &MouseCursor) -> bool
fn eq(&self, other: &MouseCursor) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.