summaryrefslogtreecommitdiff
path: root/src/geom
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2021-03-12 14:12:30 +0100
committerLaurenz <laurmaedje@gmail.com>2021-03-12 14:12:30 +0100
commit584a43277dbfbdba834a2681afe63d10598db3f9 (patch)
tree2a7b8d1f6b41fa39996c907d8d582b4c52448fcd /src/geom
parentffcb8cd97a7107bfd66805b1073c5ef3e0dd59a7 (diff)
Rename ChildAlign to LayoutAligns ✏
Diffstat (limited to 'src/geom')
-rw-r--r--src/geom/align.rs4
-rw-r--r--src/geom/dir.rs2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/geom/align.rs b/src/geom/align.rs
index 8f02a4ea..e13da378 100644
--- a/src/geom/align.rs
+++ b/src/geom/align.rs
@@ -1,7 +1,7 @@
use super::*;
-/// The alignment of a child in a container.
-pub type ChildAlign = Gen<Align>;
+/// The alignments of a layout in its parent.
+pub type LayoutAligns = Gen<Align>;
/// Where to align something along a directed axis.
#[derive(Debug, Copy, Clone, Eq, PartialEq, Ord, PartialOrd)]
diff --git a/src/geom/dir.rs b/src/geom/dir.rs
index c5eaa3a6..3eddd7d3 100644
--- a/src/geom/dir.rs
+++ b/src/geom/dir.rs
@@ -1,6 +1,6 @@
use super::*;
-/// The directions along which nodes are layouted.
+/// The directions along which layouts are placed in their parent.
pub type LayoutDirs = Gen<Dir>;
/// The four directions into which content can be laid out.