pub enum CursorIcon {
Default,
Pointer,
Text,
Crosshair,
Move,
NotAllowed,
Grab,
Grabbing,
ColResize,
RowResize,
NeswResize,
NwseResize,
}Expand description
Cursor icon for the mouse pointer.
Variants§
Default
Pointer
Text
Crosshair
Move
NotAllowed
Grab
Grabbing
ColResize
RowResize
NeswResize
NE/SW diagonal resize — used on the top-right and bottom-left
corners of a resize frame. Maps to winit’s NeswResize.
NwseResize
NW/SE diagonal resize — used on the top-left and bottom-right
corners of a resize frame. Maps to winit’s NwseResize.
Trait Implementations§
Source§impl Clone for CursorIcon
impl Clone for CursorIcon
Source§fn clone(&self) -> CursorIcon
fn clone(&self) -> CursorIcon
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for CursorIcon
Source§impl Debug for CursorIcon
impl Debug for CursorIcon
impl Eq for CursorIcon
Source§impl PartialEq for CursorIcon
impl PartialEq for CursorIcon
impl StructuralPartialEq for CursorIcon
Auto Trait Implementations§
impl Freeze for CursorIcon
impl RefUnwindSafe for CursorIcon
impl Send for CursorIcon
impl Sync for CursorIcon
impl Unpin for CursorIcon
impl UnsafeUnpin for CursorIcon
impl UnwindSafe for CursorIcon
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
Mutably borrows from an owned value. Read more