TextPosition
struct · ferroui-controls · v0.5.0
struct TextPosition
A value position. Use TextPointer when the position must track subsequent edits.
Members
offset
offset: usize
gravity
gravity: TextGravity
new
const fn new(offset: usize, gravity: TextGravity) -> Self
map
fn map(self: &Self, change: &DocumentChangedEventArgs) -> Self
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>CloneToUninitInto<U>From<T>TryInto<U>TryFrom<U>AnyToOwnedResourceKeyObjectPropertyValueAnyValueClassDefaultsErasedDestructorIntoEitherCloneCopyDebugDefaultStructuralPartialEqPartialEqEqHash
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.