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
source§impl Display for CompositionState
impl Display for CompositionState
source§impl Hash for CompositionState
impl Hash for CompositionState
source§impl PartialEq for CompositionState
impl PartialEq for CompositionState
source§fn eq(&self, other: &CompositionState) -> bool
fn eq(&self, other: &CompositionState) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for CompositionState
impl Serialize for CompositionState
impl Copy for CompositionState
impl Eq for CompositionState
impl StructuralPartialEq for CompositionState
Auto Trait Implementations§
impl Freeze for CompositionState
impl RefUnwindSafe for CompositionState
impl Send for CompositionState
impl Sync for CompositionState
impl Unpin for CompositionState
impl UnwindSafe for CompositionState
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