pub enum Cursor {
Auto,
Default,
Pointer,
Text,
None,
}Expand description
The cursor keyword. The Lynx set tracks the common subset of
CSS cursors that map to mobile pointer affordances.
Variants§
Auto
auto — let the platform decide. Default.
Default
default — the platform’s default pointer.
Pointer
pointer — typically a hand, for interactive elements.
Text
text — typically an I-beam, for selectable text.
None
none — hide the cursor.
Trait Implementations§
impl Copy for Cursor
impl Eq for Cursor
impl StructuralPartialEq for Cursor
Auto Trait Implementations§
impl Freeze for Cursor
impl RefUnwindSafe for Cursor
impl Send for Cursor
impl Sync for Cursor
impl Unpin for Cursor
impl UnsafeUnpin for Cursor
impl UnwindSafe for Cursor
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