diff options
| author | Laurenz <laurmaedje@gmail.com> | 2019-12-05 20:29:55 +0100 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2019-12-05 20:29:55 +0100 |
| commit | f5b104d0da1c414fb59878d7378add316ee14798 (patch) | |
| tree | 56968591bd997aa78cb8690da318ee97a822f2a9 /src/layout/flex.rs | |
| parent | 72a9631b038d1a60e4e4a78e92cd69e6f8ce4316 (diff) | |
Rename crate `typst` -> `typstc` ✏
Diffstat (limited to 'src/layout/flex.rs')
| -rw-r--r-- | src/layout/flex.rs | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/layout/flex.rs b/src/layout/flex.rs index 13901968..d984860a 100644 --- a/src/layout/flex.rs +++ b/src/layout/flex.rs @@ -1,5 +1,7 @@ use super::*; +/// The flex layouter first arranges boxes along a primary and if necessary also +/// along a secondary axis. #[derive(Debug, Clone)] pub struct FlexLayouter { axes: LayoutAxes, @@ -22,7 +24,7 @@ enum FlexUnit { #[derive(Debug, Clone)] struct FlexLine { usable: Size, - actions: LayoutActionList, + actions: LayoutActions, combined_dimensions: Size2D, } @@ -30,7 +32,7 @@ impl FlexLine { fn new(usable: Size) -> FlexLine { FlexLine { usable, - actions: LayoutActionList::new(), + actions: LayoutActions::new(), combined_dimensions: Size2D::zero(), } } |
