fn on_changed<H: Fn(&mut StatesContext, Entity) + 'static>(
        self,
        key: &str,
        handler: H,
    ) -> Self {
        self.insert_changed_handler(key, Rc::new(handler))
    }
/// Register a on property changed handler.
Register a on property changed handler.
Register a on property changed handler .
fn on_changed<H: Fn(&mut StatesContext, Entity) + 'static>(
        self,
        key: &str,
        handler: H,
    ) -> Self {
        self.insert_changed_handler(key, Rc::new(handler))
    }
fn on_changed < H : Fn ( & mut StatesContext , Entity ) + ' static > ( self , key : & str , handler : H , ) -> Self { self . insert_changed_handler ( key , Rc :: new ( handler ) ) }
Register a on property changed handler.
Register a on property changed handler .
self
key
&str
handler
H