summaryrefslogtreecommitdiffstats
path: root/src/options.rs
diff options
context:
space:
mode:
authorBen S <ogham@bsago.me>2015-02-26 07:18:08 +0000
committerBen S <ogham@bsago.me>2015-02-26 07:18:08 +0000
commit134f9fc252aff5dcea95af5ad8fee4d9d30d696e (patch)
treed2a2cb05f81084f85168e910cab596211f6fafcf /src/options.rs
parent3e6cce5b5c9f43f713a2f50632045fb8d1d546f7 (diff)
Refactor details view
Move most of the heavy lifting into a Table struct, which doesn't govern how the resulting table is *created*, only how it's *displayed*.
Diffstat (limited to 'src/options.rs')
-rw-r--r--src/options.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/options.rs b/src/options.rs
index 1548b25..3c99e76 100644
--- a/src/options.rs
+++ b/src/options.rs
@@ -298,7 +298,7 @@ impl View {
}
}
-#[derive(PartialEq, Debug, Copy)]
+#[derive(PartialEq, Debug, Copy, Clone)]
pub enum SizeFormat {
DecimalBytes,
BinaryBytes,
@@ -319,7 +319,7 @@ impl SizeFormat {
}
}
-#[derive(PartialEq, Debug, Copy)]
+#[derive(PartialEq, Debug, Copy, Clone)]
pub enum TimeType {
FileAccessed,
FileModified,