Split Node off into its own module: node.rs

This commit is contained in:
lumi 2018-12-23 15:59:13 +01:00
commit f0dd03d633
4 changed files with 207 additions and 194 deletions

View file

@ -1,7 +1,5 @@
//! A module which exports a few traits for converting types to elements and attributes.
use element::{Element, ElementBuilder};
/// A trait for types which can be converted to an attribute value.
pub trait IntoAttributeValue {
/// Turns this into an attribute string, or None if it shouldn't be added.