pub trait InputMethodEditorProxyInterface: Send + Sync {
    type DispatchKey3ResponseFut: Future<Output = Result<bool, Error>> + Send;

    // Required methods
    fn set_keyboard_type(
        &self,
        keyboard_type: KeyboardType
    ) -> Result<(), Error>;
    fn set_state(&self, state: &TextInputState) -> Result<(), Error>;
    fn inject_input(&self, event: &InputEvent) -> Result<(), Error>;
    fn dispatch_key3(&self, event: &KeyEvent) -> Self::DispatchKey3ResponseFut;
    fn show(&self) -> Result<(), Error>;
    fn hide(&self) -> Result<(), Error>;
}

Required Associated Types§

Required Methods§

source

fn set_keyboard_type(&self, keyboard_type: KeyboardType) -> Result<(), Error>

source

fn set_state(&self, state: &TextInputState) -> Result<(), Error>

source

fn inject_input(&self, event: &InputEvent) -> Result<(), Error>

source

fn dispatch_key3(&self, event: &KeyEvent) -> Self::DispatchKey3ResponseFut

source

fn show(&self) -> Result<(), Error>

source

fn hide(&self) -> Result<(), Error>

Implementors§