pub enum Cursor {
Arrow,
IBeam,
Pointer,
Crosshair,
NotAllowed,
ResizeLeftRight,
ResizeUpDown,
Custom(CustomCursor),
// some variants omitted
}
Expand description
Mouse cursors.
Variants§
Arrow
The default arrow cursor.
IBeam
A vertical I-beam, for indicating insertion points in text.
Pointer
Crosshair
NotAllowed
ResizeLeftRight
ResizeUpDown
Custom(CustomCursor)
Trait Implementations§
source§impl PartialEq<Cursor> for Cursor
impl PartialEq<Cursor> for Cursor
impl Eq for Cursor
impl StructuralEq for Cursor
impl StructuralPartialEq for Cursor
Auto Trait Implementations§
impl RefUnwindSafe for Cursor
impl !Send for Cursor
impl !Sync for Cursor
impl Unpin for Cursor
impl UnwindSafe for Cursor
Blanket Implementations§
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<T> RoundFrom<T> for T
impl<T> RoundFrom<T> for T
§fn round_from(x: T) -> T
fn round_from(x: T) -> T
Performs the conversion.
§impl<T, U> RoundInto<U> for Twhere
U: RoundFrom<T>,
impl<T, U> RoundInto<U> for Twhere U: RoundFrom<T>,
§fn round_into(self) -> U
fn round_into(self) -> U
Performs the conversion.