Enum arcdps_imgui::MouseCursor
source · #[repr(i32)]pub enum MouseCursor {
Arrow = 0,
TextInput = 1,
ResizeAll = 2,
ResizeNS = 3,
ResizeEW = 4,
ResizeNESW = 5,
ResizeNWSE = 6,
Hand = 7,
NotAllowed = 8,
}
Expand description
Mouse cursor type identifier
Variants§
Arrow = 0
TextInput = 1
Automatically used when hovering over text inputs, etc.
ResizeAll = 2
Not used automatically
ResizeNS = 3
Automatically used when hovering over a horizontal border
ResizeEW = 4
Automatically used when hovering over a vertical border or a column
ResizeNESW = 5
Automatically used when hovering over the bottom-left corner of a window
ResizeNWSE = 6
Automatically used when hovering over the bottom-right corner of a window
Hand = 7
Not used automatically, use for e.g. hyperlinks
NotAllowed = 8
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 for MouseCursor
impl PartialEq 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 ==
.impl Copy for MouseCursor
impl Eq for MouseCursor
impl StructuralPartialEq for MouseCursor
Auto Trait Implementations§
impl Freeze for MouseCursor
impl RefUnwindSafe for MouseCursor
impl Send for MouseCursor
impl Sync for MouseCursor
impl Unpin for MouseCursor
impl UnwindSafe for MouseCursor
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