fn on_leave<H: Fn(&mut StatesContext, Point) + 'static>(self, handler: H) -> Self {
        self.insert_handler(LeaveEventHandler {
            handler: Rc::new(handler),
        })
    }
/// Insert a mouse leave handler.
Insert a mouse leave handler.
Insert a mouse leave handler .
fn on_leave<H: Fn(&mut StatesContext, Point) + 'static>(self, handler: H) -> Self {
        self.insert_handler(LeaveEventHandler {
            handler: Rc::new(handler),
        })
    }
fn on_leave < H : Fn ( & mut StatesContext , Point ) + ' static > ( self , handler : H ) -> Self { self . insert_handler ( LeaveEventHandler { handler : Rc :: new ( handler ) , } ) }
Insert a mouse leave handler.
Insert a mouse leave handler .
self
handler
H