pub trait HasCompositionData: Any { // Required methods fn data(&self) -> String; fn as_any(&self) -> &(dyn Any + 'static); }
A trait for any object that has the data for a composition event
The characters generated by the input method that raised the event
return self as Any