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

Describes the event kind.

Current composition data. May be empty.

Trait Implementations

impl Clone for CompositionEvent
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for CompositionEvent
[src]

Formats the value using the given formatter. Read more

impl Eq for CompositionEvent
[src]

impl PartialEq for CompositionEvent
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations