xml-builder 0.5.2

Easy and highly-configurable 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(crate) 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),
}