pub struct InputMethodEditorSynchronousProxy { /* private fields */ }
Implementations§
source§impl InputMethodEditorSynchronousProxy
impl InputMethodEditorSynchronousProxy
pub fn new(channel: Channel) -> Self
pub fn into_channel(self) -> Channel
sourcepub fn wait_for_event(
&self,
deadline: Time
) -> Result<InputMethodEditorEvent, Error>
pub fn wait_for_event( &self, deadline: Time ) -> Result<InputMethodEditorEvent, Error>
Waits until an event arrives and returns it. It is safe for other threads to make concurrent requests while waiting for an event.
pub fn set_keyboard_type( &self, keyboard_type: KeyboardType ) -> Result<(), Error>
pub fn set_state(&self, state: &TextInputState) -> Result<(), Error>
pub fn inject_input(&self, event: &InputEvent) -> Result<(), Error>
pub fn dispatch_key3( &self, event: &KeyEvent, ___deadline: Time ) -> Result<bool, Error>
pub fn show(&self) -> Result<(), Error>
pub fn hide(&self) -> Result<(), Error>
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for InputMethodEditorSynchronousProxy
impl Send for InputMethodEditorSynchronousProxy
impl Sync for InputMethodEditorSynchronousProxy
impl Unpin for InputMethodEditorSynchronousProxy
impl UnwindSafe for InputMethodEditorSynchronousProxy
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more