pub struct TextInputMethodState {
pub text: String,
pub selection: TextSelection,
}Expand description
A coherent visible state exposed by an exact-edit client. Unlike legacy surrounding-text APIs, this includes the current accepted composition.
Fields§
§text: String§selection: TextSelectionTrait Implementations§
Source§impl Clone for TextInputMethodState
impl Clone for TextInputMethodState
Source§impl Debug for TextInputMethodState
impl Debug for TextInputMethodState
impl Eq for TextInputMethodState
Source§impl PartialEq for TextInputMethodState
impl PartialEq for TextInputMethodState
impl StructuralPartialEq for TextInputMethodState
Auto Trait Implementations§
impl Freeze for TextInputMethodState
impl RefUnwindSafe for TextInputMethodState
impl Send for TextInputMethodState
impl Sync for TextInputMethodState
impl Unpin for TextInputMethodState
impl UnsafeUnpin for TextInputMethodState
impl UnwindSafe for TextInputMethodState
Blanket Implementations§
Source§impl<T> AnyValue for Twhere
T: PartialEq + 'static,
impl<T> AnyValue for Twhere
T: PartialEq + 'static,
fn any_value_as_any(&self) -> &(dyn Any + 'static)
fn any_value_eq(&self, other: &(dyn AnyValue + 'static)) -> bool
fn any_value_type_name(&self) -> &'static str
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
Source§impl<T> ClassDefaults for Twhere
T: ?Sized,
impl<T> ClassDefaults for Twhere
T: ?Sized,
Source§fn static_constructor()
fn static_constructor()
The static constructor of a type: work done once per thread, after
the properties of the type are registered and before its first
instance exists (class handlers,
affects_render, metadata
overrides). Read more