Enum nannou::ui::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 Clone for MouseCursor
[src]
impl Clone for MouseCursor
fn clone(&self) -> MouseCursor
[src]
fn clone(&self) -> MouseCursor
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl Debug for MouseCursor
[src]
impl Debug for MouseCursor
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
[src]
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter. Read more
impl Copy for MouseCursor
[src]
impl Copy for MouseCursor
impl Eq for MouseCursor
[src]
impl Eq for MouseCursor
impl PartialEq<MouseCursor> for MouseCursor
[src]
impl PartialEq<MouseCursor> for MouseCursor
fn eq(&self, other: &MouseCursor) -> bool
[src]
fn eq(&self, other: &MouseCursor) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &MouseCursor) -> bool
[src]
fn ne(&self, other: &MouseCursor) -> bool
This method tests for !=
.
Auto Trait Implementations
impl Send for MouseCursor
impl Send for MouseCursor
impl Sync for MouseCursor
impl Sync for MouseCursor