summaryrefslogtreecommitdiff
path: root/src/geom/align.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/align.rs
parent8680fcd4903b451909a5932e8b948a68c9aacb16 (diff)
BoxAlign and Flow aliases ✏
Diffstat (limited to 'src/geom/align.rs')
-rw-r--r--src/geom/align.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/geom/align.rs b/src/geom/align.rs
index 422624d8..7c4d965f 100644
--- a/src/geom/align.rs
+++ b/src/geom/align.rs
@@ -1,5 +1,8 @@
use super::*;
+/// The alignment of a box in a container.
+pub type BoxAlign = Gen<Align>;
+
/// Where to align something along a directed axis.
#[derive(Debug, Copy, Clone, Eq, PartialEq, Ord, PartialOrd)]
pub enum Align {