diff options
| author | Laurenz <laurmaedje@gmail.com> | 2022-06-13 23:16:40 +0200 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2022-06-14 13:53:02 +0200 |
| commit | c81e2a5f56eb262663f292578c683fba7f18251f (patch) | |
| tree | 6c045a8dcbec5e75e01a15f970ef8cee6ff042d0 /src/model/layout.rs | |
| parent | 891af17260a6750a74a102388a05e59cf1ffc3c1 (diff) | |
Many fixes
Diffstat (limited to 'src/model/layout.rs')
| -rw-r--r-- | src/model/layout.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/model/layout.rs b/src/model/layout.rs index 4fa3fe20..ffe41725 100644 --- a/src/model/layout.rs +++ b/src/model/layout.rs @@ -19,7 +19,7 @@ use crate::Context; /// A node that can be layouted into a sequence of regions. /// -/// Layouting return one frame per used region. +/// Layouting returns one frame per used region. pub trait Layout: 'static { /// Layout this node into the given regions, producing frames. fn layout( @@ -377,7 +377,7 @@ impl Layout for SizedNode { struct FillNode { /// How to fill the frames resulting from the `child`. fill: Paint, - /// The node to fill. + /// The node whose frames should be filled. child: LayoutNode, } @@ -402,7 +402,7 @@ impl Layout for FillNode { struct StrokeNode { /// How to stroke the frames resulting from the `child`. stroke: Stroke, - /// The node to stroke. + /// The node whose frames should be stroked. child: LayoutNode, } |
