summaryrefslogtreecommitdiff
path: root/src/model/label.rs
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2023-07-02 19:59:52 +0200
committerLaurenz <laurmaedje@gmail.com>2023-07-02 20:07:43 +0200
commitebfdb1dafa430786db10dad2ef7d5467c1bdbed1 (patch)
tree2bbc24ddb4124c4bb14dec0e536129d4de37b056 /src/model/label.rs
parent3ab19185093d7709f824b95b979060ce125389d8 (diff)
Move everything into `crates/` directory
Diffstat (limited to 'src/model/label.rs')
-rw-r--r--src/model/label.rs16
1 files changed, 0 insertions, 16 deletions
diff --git a/src/model/label.rs b/src/model/label.rs
deleted file mode 100644
index ef8f3edd..00000000
--- a/src/model/label.rs
+++ /dev/null
@@ -1,16 +0,0 @@
-use std::fmt::{self, Debug, Formatter};
-
-use ecow::EcoString;
-
-/// A label for an element.
-#[derive(Clone, Eq, PartialEq, Ord, PartialOrd, Hash)]
-pub struct Label(pub EcoString);
-
-impl Debug for Label {
- fn fmt(&self, f: &mut Formatter) -> fmt::Result {
- write!(f, "<{}>", self.0)
- }
-}
-
-/// Indicates that an element cannot be labelled.
-pub trait Unlabellable {}