pub fn get_mouse_button(event: &Event) -> Option<(MouseButton, ElementState)>Expand description
If this event was for manipulating a mouse button, this will return the MouseButton
and the new state.
pub fn get_mouse_button(event: &Event) -> Option<(MouseButton, ElementState)>If this event was for manipulating a mouse button, this will return the MouseButton
and the new state.