Enum conrod_core::cursor::MouseCursor[][src]

pub enum MouseCursor {
    Arrow,
    Text,
    VerticalText,
    Hand,
    Grab,
    Grabbing,
    ResizeVertical,
    ResizeHorizontal,
    ResizeTopLeftBottomRight,
    ResizeTopRightBottomLeft,
    Custom(u8),
}
Expand description

This enum specifies cursor types used by internal widgets. For custom widgets using custom cursor types, you can still use this enum by specifying a numbered custom variant.

Variants

Arrow

Default mouse cursor.

Text

Text input curosr.

VerticalText

Text input for vertical text.

Hand

Open hand with index finger pointing up.

Grab

Open hand.

Grabbing

Closed hand.

ResizeVertical

Vertical resize cursor.

ResizeHorizontal

Horizontal resize cursor.

ResizeTopLeftBottomRight

Diagonal resize cursor pointing to top left and bottom right corners.

ResizeTopRightBottomLeft

Diagonal resize cursor pointing to top right to bottom left corners.

Custom(u8)

Custom cursor variant. Encode your favourite cursor with a u8.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.