pub trait ImeServiceProxyInterface: Send + Sync {
// Required methods
fn get_input_method_editor(
&self,
keyboard_type: KeyboardType,
action: InputMethodAction,
initial_state: &TextInputState,
client: ClientEnd<InputMethodEditorClientMarker>,
editor: ServerEnd<InputMethodEditorMarker>,
) -> Result<(), Error>;
fn show_keyboard(&self) -> Result<(), Error>;
fn hide_keyboard(&self) -> Result<(), Error>;
}Required Methods§
fn get_input_method_editor( &self, keyboard_type: KeyboardType, action: InputMethodAction, initial_state: &TextInputState, client: ClientEnd<InputMethodEditorClientMarker>, editor: ServerEnd<InputMethodEditorMarker>, ) -> Result<(), Error>
fn show_keyboard(&self) -> Result<(), Error>
fn hide_keyboard(&self) -> Result<(), Error>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".