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