#[non_exhaustive]pub enum CursorIcon {
Default,
Crosshair,
Grab,
Grabbing,
EwResize,
NsResize,
Pointer,
Move,
}Expand description
Mouse cursor the host should show.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Default
Arrow.
Crosshair
Crosshair (over the plot).
Grab
Open hand.
Grabbing
Closed hand (panning).
EwResize
Horizontal resize (time axis).
NsResize
Vertical resize (price axis).
Pointer
Pointing hand (over a drawing).
Move
Move (over a drawing’s handle, or dragging a drawing).
Trait Implementations§
Source§impl Clone for CursorIcon
impl Clone for CursorIcon
impl Copy for CursorIcon
Source§impl Debug for CursorIcon
impl Debug for CursorIcon
Source§impl Default for CursorIcon
impl Default for CursorIcon
impl Eq for CursorIcon
Source§impl Hash for CursorIcon
impl Hash for CursorIcon
Source§impl PartialEq for CursorIcon
impl PartialEq for CursorIcon
impl StructuralPartialEq for CursorIcon
Auto Trait Implementations§
impl Forget for CursorIcon
impl Freeze for CursorIcon
impl Move 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