[][src]Enum imgui::MouseCursor

#[repr(i32)]pub enum MouseCursor {
    Arrow,
    TextInput,
    ResizeAll,
    ResizeNS,
    ResizeEW,
    ResizeNESW,
    ResizeNWSE,
    Hand,
    NotAllowed,
}

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

impl MouseCursor[src]

pub const VARIANTS: [MouseCursor; 9][src]

All possible MouseCursor varirants

pub const COUNT: usize[src]

Total count of MouseCursor variants

Trait Implementations

impl Clone for MouseCursor[src]

impl Copy for MouseCursor[src]

impl Debug for MouseCursor[src]

impl Eq for MouseCursor[src]

impl Hash for MouseCursor[src]

impl PartialEq<MouseCursor> for MouseCursor[src]

impl StructuralEq for MouseCursor[src]

impl StructuralPartialEq for MouseCursor[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.