cranpose_text/paragraph_intrinsics.rs
1/// The widths of a paragraph that do not depend on the width it is laid
2/// out at: Compose's `ParagraphIntrinsics`. Each includes the indent of the
3/// line it is measured on.
4#[derive(Clone, Copy, Debug, PartialEq)]
5pub struct ParagraphIntrinsics {
6 /// The widest word, the narrowest width no line breaks inside a word at.
7 pub min_intrinsic_width: f32,
8 /// The widest paragraph laid out on one line, the narrowest width no
9 /// paragraph wraps at.
10 pub max_intrinsic_width: f32,
11}