Enum conrod::cursor::MouseCursor
[−]
[src]
pub enum MouseCursor { Arrow, Text, VerticalText, Hand, Grab, Grabbing, ResizeVertical, ResizeHorizontal, ResizeTopLeftBottomRight, ResizeTopRightBottomLeft, Custom(u8), }
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
impl Copy for MouseCursor
[src]
impl Clone for MouseCursor
[src]
fn clone(&self) -> MouseCursor
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for MouseCursor
[src]
impl PartialEq for MouseCursor
[src]
fn eq(&self, __arg_0: &MouseCursor) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &MouseCursor) -> bool
[src]
This method tests for !=
.