LayoutCursor
struct · ferroui-pretext · v0.5.0
struct LayoutCursor
A position in prepared text, independent of UTF-8 and UTF-16 encoding.
Members
segment_index
segment_index: usize
grapheme_index
grapheme_index: usize
new
const fn new(segment_index: usize, grapheme_index: usize) -> Self
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>CloneToUninitInto<U>From<T>TryInto<U>TryFrom<U>AnyToOwnedErasedDestructorIntoEitherCloneCopyDebugDefaultStructuralPartialEqPartialEqEqPartialOrdOrdHash
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.