pub fn cursor<'a>(
app: &'a AppHandle,
name: &'a str,
) -> impl FnMut(&CursorQuery, Cursor) -> Cursor + 'aExpand description
A viewport’s cursor hook (Viewport::on_cursor)
running each new situation as the cursor.resolve step, the viewport
named name: plugins give another cursor for a tool, a key held, a
handle. An answer that is not a cursor keeps the default.