BidiReorderer
struct · ferroui-base · v0.5.0
struct BidiReorderer
Reorders text runs according to their bidi level.
To avoid allocations, the scratch buffers of this type are kept per thread and reused.
Members
bidi_reorder
fn bidi_reorder(text_runs: &mut [Rc<dyn TextRun>], flow_direction: FlowDirection, first_text_source_index: i32) -> Rc<[IndexedTextRun]>
Reorders text_runs into visual order using the reorderer of the
current thread and returns the logical run table.
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeClassDefaultsBorrow<T>BorrowMut<T>Into<U>From<T>TryInto<U>TryFrom<U>AnyErasedDestructorIntoEither
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.