pub fn is_mouse_scrolled_down_with_modifier(&self, modifier: KeyModifiers) -> bool {
        for evt in self.mouse_events.iter() {
            if let MouseEvent::ScrollDown(_x, _y, key) = evt {
                if *key == modifier {
                    return true;
                }
            };
        }
        false
    }
/// checks whenever the mouse's scroll has been turned down, towards the user with a modifier (ctrl, shift, ...)
checks whenever the mouse's scroll has been turned down, towards the user with a modifier (ctrl, shift, ...)
checks whenever the mouse ' s scroll has been turned down towards the user with a modifier ( ctrl shift ... )
pub fn is_mouse_scrolled_down_with_modifier(&self, modifier: KeyModifiers) -> bool {
        for evt in self.mouse_events.iter() {
            if let MouseEvent::ScrollDown(_x, _y, key) = evt {
                if *key == modifier {
                    return true;
                }
            };
        }
        false
    }
pub fn is_mouse_scrolled_down_with_modifier ( & self , modifier : KeyModifiers ) -> bool { for evt in self . mouse_events . iter ( ) { if let MouseEvent :: ScrollDown ( _x , _y , key ) = evt { if * key == modifier { return true ; } } ; } false }
checks whenever the mouse's scroll has been turned down, towards the user with a modifier (ctrl, shift, ...)
checks whenever the mouse ' s scroll has been turned down towards the user with a modifier ( ctrl shift ... )
&self
modifier
KeyModifiers
&self
modifier
KeyModifiers