fn on_drop_text<H: Fn(&mut StatesContext, String, Point) -> bool + 'static>(
        self,
        handler: H,
    ) -> Self {
        self.insert_handler(DropTextHandler {
            handler: Rc::new(handler),
        })
    }
/// Inserts a handler for drop text events.
Inserts a handler for drop text events.
Inserts a handler for drop text events .
fn on_drop_text<H: Fn(&mut StatesContext, String, Point) -> bool + 'static>(
        self,
        handler: H,
    ) -> Self {
        self.insert_handler(DropTextHandler {
            handler: Rc::new(handler),
        })
    }
fn on_drop_text < H : Fn ( & mut StatesContext , String , Point ) -> bool + ' static > ( self , handler : H , ) -> Self { self . insert_handler ( DropTextHandler { handler : Rc :: new ( handler ) , } ) }
Inserts a handler for drop text events.
Inserts a handler for drop text events .
self
handler
H