pub trait HasCompositionData: Any {
    // Required methods
    fn data(&self) -> String;
    fn as_any(&self) -> &(dyn Any + 'static);
}
Available on crate feature html only.
Expand description

A trait for any object that has the data for a composition event

Required Methods§

source

fn data(&self) -> String

The characters generated by the input method that raised the event

source

fn as_any(&self) -> &(dyn Any + 'static)

return self as Any

Implementors§