aboutsummaryrefslogtreecommitdiff
path: root/src/symmetry.rs
diff options
context:
space:
mode:
authorAkshay <[email protected]>2021-03-17 12:22:11 +0000
committerAkshay <[email protected]>2021-03-17 12:22:11 +0000
commit83732aed1a41a713cd8790fcebae90aabe78b789 (patch)
treedfa7bd4928e31704c81336263c46b8bc5f153987 /src/symmetry.rs
parent8017f92785f936721cfc4bfa675859dc9aaf649e (diff)
read and write to .obi files
Diffstat (limited to 'src/symmetry.rs')
-rw-r--r--src/symmetry.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/symmetry.rs b/src/symmetry.rs
index 7517317..60ff791 100644
--- a/src/symmetry.rs
+++ b/src/symmetry.rs
@@ -33,10 +33,10 @@ impl fmt::Display for Symmetry {
33 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { 33 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
34 let Symmetry { x, y } = self; 34 let Symmetry { x, y } = self;
35 match (x, y) { 35 match (x, y) {
36 (None, None) => write!(f, " "), 36 (None, None) => write!(f, "OFF"),
37 (Some(_), None) => write!(f, "-"), 37 (Some(_), None) => write!(f, "HOR"),
38 (None, Some(_)) => write!(f, "|"), 38 (None, Some(_)) => write!(f, "VER"),
39 (Some(_), Some(_)) => write!(f, "+"), 39 (Some(_), Some(_)) => write!(f, "RAD"),
40 } 40 }
41 } 41 }
42} 42}