[−][src]Enum winit::MouseCursor
Describes the appearance of the mouse cursor.
Variants
DefaultThe platform-dependent default cursor.
CrosshairA simple crosshair.
HandA hand (often used to indicate links in web browsers).
ArrowSelf explanatory.
MoveIndicates something is to be moved.
TextIndicates text that may be selected or edited.
WaitProgram busy indicator.
HelpHelp indicator (often rendered as a "?")
ProgressProgress indicator. Shows that processing is being done. But in contrast with "Wait" the user may still interact with the program. Often rendered as a spinning beach ball, or an arrow with a watch or hourglass.
NotAllowedCursor showing that something cannot be done.
ContextMenuCellVerticalTextAliasCopyNoDropGrabGrabbingAllScrollZoomInZoomOutEResizeIndicate that some edge is to be moved. For example, the 'SeResize' cursor is used when the movement starts from the south-east corner of the box.
NResizeNeResizeNwResizeSResizeSeResizeSwResizeWResizeEwResizeNsResizeNeswResizeNwseResizeColResizeRowResizeTrait Implementations
impl Copy for MouseCursor[src]
impl Default for MouseCursor[src]
impl Eq for MouseCursor[src]
impl Clone for MouseCursor[src]
fn clone(&self) -> MouseCursor[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more
impl PartialEq<MouseCursor> for MouseCursor[src]
fn eq(&self, other: &MouseCursor) -> bool[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool1.0.0[src]
This method tests for !=.
impl Hash for MouseCursor[src]
fn hash<__H: Hasher>(&self, state: &mut __H)[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher, 1.3.0[src]
H: Hasher,
Feeds a slice of this type into the given [Hasher]. Read more
impl Debug for MouseCursor[src]
impl<'de> Deserialize<'de> for MouseCursor[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>, [src]
__D: Deserializer<'de>,
impl Serialize for MouseCursor[src]
Auto Trait Implementations
impl Unpin for MouseCursor
impl Sync for MouseCursor
impl Send for MouseCursor
impl UnwindSafe for MouseCursor
impl RefUnwindSafe for MouseCursor
Blanket Implementations
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T[src]
fn clone_into(&self, target: &mut T)[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> DeserializeOwned for T where
T: Deserialize<'de>, [src]
T: Deserialize<'de>,