#[repr(i32)]pub enum MouseCursor {
None = -1,
Arrow = 0,
TextInput = 1,
ResizeAll = 2,
ResizeNS = 3,
ResizeEW = 4,
ResizeNESW = 5,
ResizeNWSE = 6,
Hand = 7,
NotAllowed = 10,
}Expand description
Dear ImGui (ImGuiMouseCursor): Mouse cursor shape
Variants§
None = -1
Dear ImGui (ImGuiMouseCursor_None): No cursor
Arrow = 0
Dear ImGui (ImGuiMouseCursor_Arrow): Arrow
TextInput = 1
Dear ImGui (ImGuiMouseCursor_TextInput): When hovering over InputText, etc.
ResizeAll = 2
Dear ImGui (ImGuiMouseCursor_ResizeAll): (Unused by Dear ImGui functions)
ResizeNS = 3
Dear ImGui (ImGuiMouseCursor_ResizeNS): When hovering over a horizontal border
ResizeEW = 4
Dear ImGui (ImGuiMouseCursor_ResizeEW): When hovering over a vertical border or a column
ResizeNESW = 5
Dear ImGui (ImGuiMouseCursor_ResizeNESW): When hovering over the bottom-left corner of a window
ResizeNWSE = 6
Dear ImGui (ImGuiMouseCursor_ResizeNWSE): When hovering over the bottom-right corner of a window
Hand = 7
Dear ImGui (ImGuiMouseCursor_Hand): (Unused by Dear ImGui functions. Use for e.g. hyperlinks)
NotAllowed = 10
Dear ImGui (ImGuiMouseCursor_NotAllowed): When hovering something with disallowed interaction
Implementations§
Trait Implementations§
Source§impl Clone for MouseCursor
impl Clone for MouseCursor
Source§fn clone(&self) -> MouseCursor
fn clone(&self) -> MouseCursor
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreimpl Copy for MouseCursor
Source§impl Debug for MouseCursor
impl Debug for MouseCursor
impl Eq for MouseCursor
Source§impl Ord for MouseCursor
impl Ord for MouseCursor
Source§fn cmp(&self, other: &MouseCursor) -> Ordering
fn cmp(&self, other: &MouseCursor) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Source§impl PartialEq for MouseCursor
impl PartialEq for MouseCursor
Source§impl PartialOrd for MouseCursor
impl PartialOrd 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 UnsafeUnpin 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more