fn on_global_mouse_up<H: Fn(&mut StatesContext, Mouse) + 'static>(self, handler: H) -> Self {
        self.insert_handler(GlobalMouseUpEventHandler {
            handler: Rc::new(handler),
        })
    }
/// Insert a mouse handler for global up event.
Insert a mouse handler for global up event.
Insert a mouse handler for global up event .
fn on_global_mouse_up<H: Fn(&mut StatesContext, Mouse) + 'static>(self, handler: H) -> Self {
        self.insert_handler(GlobalMouseUpEventHandler {
            handler: Rc::new(handler),
        })
    }
fn on_global_mouse_up < H : Fn ( & mut StatesContext , Mouse ) + ' static > ( self , handler : H ) -> Self { self . insert_handler ( GlobalMouseUpEventHandler { handler : Rc :: new ( handler ) , } ) }
Insert a mouse handler for global up event.
Insert a mouse handler for global up event .
self
handler
H