Enum keyboard_types::CompositionState
source · pub enum CompositionState {
Start,
Update,
End,
}
Expand description
Describes the state of a composition session.
Variants§
Start
In JS: “compositionstart” event.
Update
In JS: “compositionupdate” event.
End
In JS: “compositionend” event.
In a text editor in this state the data should be added to the input.
Trait Implementations§
source§impl Clone for CompositionState
impl Clone for CompositionState
source§fn clone(&self) -> CompositionState
fn clone(&self) -> CompositionState
Returns a copy of the value. Read more
1.0.0 · 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 CompositionState
impl Debug for CompositionState
source§impl<'de> Deserialize<'de> for CompositionState
impl<'de> Deserialize<'de> for CompositionState
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