Struct keyboard_types::CompositionEvent [−][src]
pub struct CompositionEvent { pub state: CompositionState, pub data: String, }
Event to expose input methods to program logic.
Provides information about entered sequences from dead key combinations and IMEs.
A composition session is always started by a "compositionstart" event followed my zero or more "compositionupdate" events and terminated by a single "compositionend" event.
Fields
state: CompositionState
Describes the event kind.
data: String
Current composition data. May be empty.
Trait Implementations
impl Clone for CompositionEvent
[src]
impl Clone for CompositionEvent
fn clone(&self) -> CompositionEvent
[src]
fn clone(&self) -> CompositionEvent
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for CompositionEvent
[src]
impl Debug for CompositionEvent
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Eq for CompositionEvent
[src]
impl Eq for CompositionEvent
impl PartialEq for CompositionEvent
[src]
impl PartialEq for CompositionEvent
fn eq(&self, other: &CompositionEvent) -> bool
[src]
fn eq(&self, other: &CompositionEvent) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &CompositionEvent) -> bool
[src]
fn ne(&self, other: &CompositionEvent) -> bool
This method tests for !=
.
Auto Trait Implementations
impl Send for CompositionEvent
impl Send for CompositionEvent
impl Sync for CompositionEvent
impl Sync for CompositionEvent