/// Call this event handler with the appropriate event type
Call this event handler with the appropriate event type
Call this event handler with the appropriate event type
pub fn call(&self, event: T) {
        if let Some(callback) = self.callback.borrow_mut().as_mut() {
            callback(event);
        }
    }
pub fn call ( & self , event : T ) { if let Some ( callback ) = self . callback . borrow_mut ( ) . as_mut ( ) { callback ( event ) ; } }
Call this event handler with the appropriate event type
Call this event handler with the appropriate event type
&self
event
T