From 584a43277dbfbdba834a2681afe63d10598db3f9 Mon Sep 17 00:00:00 2001 From: Laurenz Date: Fri, 12 Mar 2021 14:12:30 +0100 Subject: =?UTF-8?q?Rename=20ChildAlign=20to=20LayoutAligns=20=E2=9C=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/geom/align.rs | 4 ++-- src/geom/dir.rs | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src/geom') 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; +/// The alignments of a layout in its parent. +pub type LayoutAligns = Gen; /// 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; /// The four directions into which content can be laid out. -- cgit v1.2.3