summaryrefslogtreecommitdiff
path: root/src/geom/dir.rs
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2020-10-13 13:51:58 +0200
committerLaurenz <laurmaedje@gmail.com>2020-10-13 13:51:58 +0200
commit91e512069396f1de616ec2b0fe0cd31a76e7f2e9 (patch)
tree204ef6032dd4d22b38236d4d85fc95c97e7a9f37 /src/geom/dir.rs
parent8680fcd4903b451909a5932e8b948a68c9aacb16 (diff)
BoxAlign and Flow aliases ✏
Diffstat (limited to 'src/geom/dir.rs')
-rw-r--r--src/geom/dir.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/geom/dir.rs b/src/geom/dir.rs
index cfcb4c09..f7ffa3e2 100644
--- a/src/geom/dir.rs
+++ b/src/geom/dir.rs
@@ -1,5 +1,8 @@
use super::*;
+/// The directions along which content flows in a container.
+pub type Flow = Gen<Dir>;
+
/// The four directions into which content can be laid out.
#[derive(Debug, Copy, Clone, Eq, PartialEq)]
pub enum Dir {