einfach-xml-builder 0.1.0

A lightweight and intuitive library for generating XML documents in Rust
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
pub struct Builder<'a> {
    declaration: Declaration,
    root_element: Element<'a>,
}

impl Builder<'_> {
    pub fn new(declaration : Declaration)
}

impl<'a> std::fmt::Display for Declaration<'a> {
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        write!(f,"{}",self.declaration.to_string());
        write!(f,"{}",self.root_element.to_string());
        Ok(())
    }
}