Trait HasCompositionData

Source
pub trait HasCompositionData: Any {
    // Required methods
    fn data(&self) -> String;
    fn as_any(&self) -> &dyn Any;
}
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

return self as Any

Implementors§