RichEditCompositionEventArgs
struct · ferroui-controls · v0.5.0
struct RichEditCompositionEventArgs
Members
text
text: String
selection
selection: rich_text_editor::EditorSelection
committed
committed: bool
start_index
fn start_index(self: &Self) -> i32
UTF-16 start of the whole accepted composition, independently of its current caret. An unavailable or unrepresentable range has index -1.
length
fn length(self: &Self) -> i32
UTF-16 length of the whole accepted composition. Cancellation has an empty range at its former start in the restored committed document.
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>CloneToUninitInto<U>From<T>TryInto<U>TryFrom<U>ReceiverAnyToOwnedClassDefaultsErasedDestructorIntoEitherCloneDefaultDerefIRoutedEventArgsMarkupTyped
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.