Struct titanium::desktop::gui::libdruid::keyboard_types::CompositionEvent
pub struct CompositionEvent {
pub state: CompositionState,
pub data: String,
}
Expand description
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
impl Clone for CompositionEvent
§fn clone(&self) -> CompositionEvent
fn clone(&self) -> CompositionEvent
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 more§impl Debug for CompositionEvent
impl Debug for CompositionEvent
§impl Hash for CompositionEvent
impl Hash for CompositionEvent
§impl PartialEq<CompositionEvent> for CompositionEvent
impl PartialEq<CompositionEvent> for CompositionEvent
§fn eq(&self, other: &CompositionEvent) -> bool
fn eq(&self, other: &CompositionEvent) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for CompositionEvent
impl StructuralEq for CompositionEvent
impl StructuralPartialEq for CompositionEvent
Auto Trait Implementations§
impl RefUnwindSafe for CompositionEvent
impl Send for CompositionEvent
impl Sync for CompositionEvent
impl Unpin for CompositionEvent
impl UnwindSafe for CompositionEvent
Blanket Implementations§
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
§impl<T> Pointable for T
impl<T> Pointable for T
§impl<T> RoundFrom<T> for T
impl<T> RoundFrom<T> for T
§fn round_from(x: T) -> T
fn round_from(x: T) -> T
Performs the conversion.
§impl<T, U> RoundInto<U> for Twhere
U: RoundFrom<T>,
impl<T, U> RoundInto<U> for Twhere U: RoundFrom<T>,
§fn round_into(self) -> U
fn round_into(self) -> U
Performs the conversion.