summaryrefslogtreecommitdiff
path: root/src/geom/mod.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/mod.rs
parent8680fcd4903b451909a5932e8b948a68c9aacb16 (diff)
BoxAlign and Flow aliases ✏
Diffstat (limited to 'src/geom/mod.rs')
-rw-r--r--src/geom/mod.rs5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/geom/mod.rs b/src/geom/mod.rs
index 9fdb2693..0589346e 100644
--- a/src/geom/mod.rs
+++ b/src/geom/mod.rs
@@ -48,6 +48,7 @@ pub trait Switch {
/// The type of the other version.
type Other;
- /// The other version of this type based on the current directions.
- fn switch(self, dirs: Gen<Dir>) -> Self::Other;
+ /// The other version of this type based on the current layouting
+ /// directions.
+ fn switch(self, flow: Flow) -> Self::Other;
}