pub enum ImeEvent {
Start,
Update {
text: String,
cursor: Option<(usize, usize)>,
},
Commit(String),
Cancel,
}Variants§
Start
IME composition started
Update
Composition text updated
Commit(String)
Composition committed (finalized)
Cancel
Composition cancelled
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ImeEvent
impl RefUnwindSafe for ImeEvent
impl Send for ImeEvent
impl Sync for ImeEvent
impl Unpin 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