Skip to main content

Module cursor

Module cursor 

Source
Expand description

Mirrors winit::window::CursorIcon and winit::window::CursorGrabMode exactly, so Window’s cursor methods never need a raw winit type. Convert into winit via .into().

Enums§

CursorGrabMode
How the cursor is confined while the window has focus — mirrors winit::window::CursorGrabMode exactly.
CursorIcon
The shape of the mouse cursor — mirrors winit::window::CursorIcon exactly (same variants, same names).