Skip to main content

Module cursor

Module cursor 

Source
Expand description

Pointer shapes for the .cursor() decorator (docs/cursor.md).

Cursor itself is in the prelude; this module carries the shapes only one toolkit names, each behind that toolkit’s feature, so day::cursor::appkit::DRAG_COPY is a compile error in a GTK build rather than a silent arrow. Wrap a use in the same #[cfg(feature = "…")] the constant carries. Every constant is a Cursor::Native value: the named backend resolves it by its own table and any other backend ignores it.

Enums§

Cursor
The pointer’s shape over a piece (the .cursor() decorator, docs/cursor.md).