Function mouse_button

Source
pub fn mouse_button(mouse_button: MouseButton) -> Option<Button>
Expand description

Converts a MouseButton from [winit] to an [iced] mouse button.