ColumnFlowLayout
struct · ferroui-pretext-layout · v0.5.0
struct ColumnFlowLayout
Flow text through an ordered set of rectangular columns, avoiding obstacles.
Members
layout_into_columns
fn layout_into_columns(prepared: &PreparedTextWithSegments, columns: &[RectObstacle], rectangles: &[RectObstacle], circles: &[CircleObstacle], line_height: f64, min_slot_width: f64) -> Result<Vec<PositionedLine>, LayoutError>
Text that does not fit the supplied columns is left unmaterialized. Fully blocked rows advance vertically without consuming source text. Exactly one (the widest) available horizontal slot is used on each row.
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<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.