aboutsummaryrefslogtreecommitdiffstats
path: root/src/document_tree/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/document_tree/mod.rs')
-rw-r--r--src/document_tree/mod.rs10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/document_tree/mod.rs b/src/document_tree/mod.rs
index 868b9f8..35f2540 100644
--- a/src/document_tree/mod.rs
+++ b/src/document_tree/mod.rs
@@ -6,16 +6,6 @@ pub mod element_categories;
pub mod extra_attributes;
pub mod attribute_types;
-use self::element_categories::StructuralSubElement;
-
pub use self::elements::*; //Element,CommonAttributes,
pub use self::extra_attributes::ExtraAttributes;
pub use self::element_categories::HasChildren;
-
-#[derive(Default,Debug)]
-pub struct Document { children: Vec<Box<StructuralSubElement>> }
-impl HasChildren<StructuralSubElement> for Document {
- fn add_child<R: Into<StructuralSubElement>>(&mut self, child: R) {
- self.children.push(Box::new(child.into()));
- }
-}