Skip to main content

oxitext_layout/engine/
mod.rs

1//! Rich line-aware layout engine.
2//!
3//! Split into submodules:
4//! - [`types`] — data types: [`BreakingStrategy`], [`LayoutResult`], [`Line`],
5//!   [`LineMetrics`], [`ParagraphMetrics`], [`LayoutEngine`], and
6//!   `VerticalLineModel`.
7//! - [`functions`] — private helper functions used by [`LayoutEngine`] methods.
8
9pub mod functions;
10pub mod types;
11
12// Re-export public API from types (all the public structs and enums).
13pub use types::{
14    BreakingStrategy, LayoutEngine, LayoutResult, Line, LineMetrics, ParagraphMetrics,
15};