diff options
Diffstat (limited to 'src/model/label.rs')
| -rw-r--r-- | src/model/label.rs | 16 |
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 {} |
