summaryrefslogtreecommitdiffstats
path: root/src/wrapping.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/wrapping.rs')
-rw-r--r--src/wrapping.rs11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/wrapping.rs b/src/wrapping.rs
new file mode 100644
index 00000000..6138606e
--- /dev/null
+++ b/src/wrapping.rs
@@ -0,0 +1,11 @@
+#[derive(Debug, Clone, Copy, PartialEq, Eq)]
+pub enum WrappingMode {
+ Character,
+ NoWrapping,
+}
+
+impl Default for WrappingMode {
+ fn default() -> Self {
+ WrappingMode::NoWrapping
+ }
+}