xml-builder 0.2.2

XML builder/writer
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use crate::XMLElement;

/// An enum value representing the types of XML contents
pub enum XMLElementContent {
    /// No XML content.
    Empty,

    /// The content is a list of XML elements.
    Elements(Vec<XMLElement>),

    /// The content is a textual string.
    Text(String),
}