Macro carbide_winit::convert_mouse_cursor[][src]

macro_rules! convert_mouse_cursor {
    ($cursor:expr) => { ... };
}

Convert a given carbide mouse cursor to the corresponding winit cursor type.

Expects a carbide_core::cursor::MouseCursor, returns a winit::MouseCursor.

Requires that both the carbide_core and winit crates are in the crate root.