TextBoxTextChange
struct · ferroui-controls · v0.5.0
struct TextBoxTextChange
The exact replacement made by a native text-editing operation.
Positions count UTF-16 code units in previous_text. A rich document can
rebase its ranges at this location even when repeated characters would make
a comparison of the old and new strings identify a different location.
Members
previous_text
fn previous_text(self: &Self) -> &str
replaced_range
fn replaced_range(self: &Self) -> Range<i32>
inserted_length
fn inserted_length(self: &Self) -> i32
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>CloneToUninitInto<U>From<T>TryInto<U>TryFrom<U>AnyToOwnedPropertyValueAnyValueClassDefaultsErasedDestructorIntoEitherCloneDebugStructuralPartialEqPartialEqEq
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.