pub fn bind_mouse_to_button(mut self, mouse_button: MouseButton, button: Buttons) -> Self {
        self.bindings.insert(
            InputType::MouseButton(mouse_button),
            InputEffect::Button(button, AxisDirection::Positive),
        );
        self
    }
/// Adds a mouse button binding connecting the given mouse button to the given logical button.
Adds a mouse button binding connecting the given mouse button to the given logical button.
Adds a mouse button binding connecting the given mouse button to the given logical button .
pub fn bind_mouse_to_button(mut self, mouse_button: MouseButton, button: Buttons) -> Self {
        self.bindings.insert(
            InputType::MouseButton(mouse_button),
            InputEffect::Button(button, AxisDirection::Positive),
        );
        self
    }
pub fn bind_mouse_to_button ( mut self , mouse_button : MouseButton , button : Buttons ) -> Self { self . bindings . insert ( InputType :: MouseButton ( mouse_button ) , InputEffect :: Button ( button , AxisDirection :: Positive ) , ) ; self }
Adds a mouse button binding connecting the given mouse button to the given logical button.
Adds a mouse button binding connecting the given mouse button to the given logical button .
mut self
mouse_button
MouseButton
button
Buttons
mut self
mouse_button
MouseButton
button
Buttons