fn on_mouse_down<H: Fn(&mut StatesContext, Mouse) -> bool + 'static>(self, handler: H) -> Self {
        self.insert_handler(MouseDownEventHandler {
            handler: Rc::new(handler),
        })
    }
/// Insert a mouse down handler.
Insert a mouse down handler.
Insert a mouse down handler .
fn on_mouse_down<H: Fn(&mut StatesContext, Mouse) -> bool + 'static>(self, handler: H) -> Self {
        self.insert_handler(MouseDownEventHandler {
            handler: Rc::new(handler),
        })
    }
fn on_mouse_down < H : Fn ( & mut StatesContext , Mouse ) -> bool + ' static > ( self , handler : H ) -> Self { self . insert_handler ( MouseDownEventHandler { handler : Rc :: new ( handler ) , } ) }
Insert a mouse down handler.
Insert a mouse down handler .
self
handler
H