pub enum InputMethodEvent {
Enabled,
Disabled,
Preedit {
text: String,
cursor: Option<usize>,
},
Commit(String),
}Variants§
Implementations§
Trait Implementations§
Source§impl Clone for InputMethodEvent
impl Clone for InputMethodEvent
Source§fn clone(&self) -> InputMethodEvent
fn clone(&self) -> InputMethodEvent
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for InputMethodEvent
impl Debug for InputMethodEvent
Source§impl<'de> Deserialize<'de> for InputMethodEvent
impl<'de> Deserialize<'de> for InputMethodEvent
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for InputMethodEvent
impl PartialEq for InputMethodEvent
Source§fn eq(&self, other: &InputMethodEvent) -> bool
fn eq(&self, other: &InputMethodEvent) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for InputMethodEvent
impl Serialize for InputMethodEvent
impl StructuralPartialEq for InputMethodEvent
Auto Trait Implementations§
impl Freeze for InputMethodEvent
impl RefUnwindSafe for InputMethodEvent
impl Send for InputMethodEvent
impl Sync for InputMethodEvent
impl Unpin for InputMethodEvent
impl UnsafeUnpin for InputMethodEvent
impl UnwindSafe for InputMethodEvent
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