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 CompositionEventfn clone(&self) -> CompositionEvent[src]
fn clone(&self) -> CompositionEventReturns 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 CompositionEventfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Eq for CompositionEvent[src]
impl Eq for CompositionEventimpl PartialEq for CompositionEvent[src]
impl PartialEq for CompositionEventfn eq(&self, other: &CompositionEvent) -> bool[src]
fn eq(&self, other: &CompositionEvent) -> boolThis 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) -> boolThis method tests for !=.
Auto Trait Implementations
impl Send for CompositionEvent
impl Send for CompositionEventimpl Sync for CompositionEvent
impl Sync for CompositionEvent