pub enum ImeEvent {
Enabled,
Preedit(String, Option<(usize, usize)>),
Commit(String),
Disabled,
}Expand description
Input Method Editor (IME) composition event for CJK and mobile virtual keyboards.
Variants§
Enabled
IME enabled on the active text input.
Preedit(String, Option<(usize, usize)>)
In-progress pre-edit text with optional selection range.
Commit(String)
Final committed text string.
Disabled
IME dismissed.
Trait Implementations§
impl Eq for ImeEvent
impl StructuralPartialEq for ImeEvent
Auto Trait Implementations§
impl Forget for ImeEvent
impl Freeze for ImeEvent
impl Move for ImeEvent
impl RefUnwindSafe for ImeEvent
impl Send for ImeEvent
impl Sync for ImeEvent
impl Unpin for ImeEvent
impl UnsafeUnpin for ImeEvent
impl UnwindSafe for ImeEvent
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