PreparedRichInline
struct · ferroui-pretext · v0.5.0
struct PreparedRichInline
Immutable, reusable rich inline preparation. Keep this value alive while retaining any geometry-only ranges which refer to its source item indices.
Members
item_count
fn item_count(self: &Self) -> usize
source_item_count
fn source_item_count(self: &Self) -> usize
is_empty
fn is_empty(self: &Self) -> bool
prepared_item
fn prepared_item(self: &Self, source_item_index: usize) -> Option<&Rc<PreparedTextWithSegments>>
Obtain the prepared text for an original source item. Whitespace-only source items have no prepared text, but may contribute a collapsed gap.
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>Into<U>From<T>TryInto<U>TryFrom<U>AnyErasedDestructorIntoEitherDebug
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.