fn process_mouse_bindings(&mut self, mods: &ModifiersState, button: MouseButton) -> bool {
        for binding in self.mouse_bindings {
            if binding.is_triggered_by(self.ctx.terminal_mode(), mods, &button) {
                // binding was triggered; run the action
                binding.execute(&mut self.ctx);
                return true;
            }
        }

        false
    }
/// Attempts to find a binding and execute its action
///
/// The provided mode, mods, and key must match what is allowed by a binding
/// for its action to be executed.
///
/// Returns true if an action is executed.
Attempts to find a binding and execute its action
The provided mode, mods, and key must match what is allowed by a binding
for its action to be executed.

Returns true if an action is executed.
Attempts to find a binding and execute its action The provided mode mods and key must match what is allowed by a binding for its action to be executed . Returns true if an action is executed .
fn process_mouse_bindings(&mut self, mods: &ModifiersState, button: MouseButton) -> bool {
        for binding in self.mouse_bindings {
            if binding.is_triggered_by(self.ctx.terminal_mode(), mods, &button) {
                // binding was triggered; run the action
                binding.execute(&mut self.ctx);
                return true;
            }
        }
        false
    }
fn process_mouse_bindings ( & mut self , mods : & ModifiersState , button : MouseButton ) -> bool { for binding in self . mouse_bindings { if binding . is_triggered_by ( self . ctx . terminal_mode ( ) , mods , & button ) { // binding was triggered; run the action binding . execute ( & mut self . ctx ) ; return true ; } } false }
Attempts to find a binding and execute its action
The provided mode, mods, and key must match what is allowed by a binding
for its action to be executed.
Attempts to find a binding and execute its action The provided mode mods and key must match what is allowed by a binding for its action to be executed .
&mut self
mods
&ModifiersState
button
MouseButton
&mut self
mods
&ModifiersState
button
MouseButton