pub trait InputMethodEditorClientProxyInterface: Send + Sync {
// Required methods
fn did_update_state(
&self,
state: &TextInputState,
event: Option<&InputEvent>,
) -> Result<(), Error>;
fn on_action(&self, action: InputMethodAction) -> Result<(), Error>;
}Required Methods§
fn did_update_state( &self, state: &TextInputState, event: Option<&InputEvent>, ) -> Result<(), Error>
fn on_action(&self, action: InputMethodAction) -> Result<(), Error>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".