Struct treexml::Element
[−]
[src]
pub struct Element {
pub prefix: Option<String>,
pub name: String,
pub attributes: HashMap<String, String>,
pub children: Vec<Element>,
pub contents: Option<String>,
}An XML element
Fields
prefix: Option<String>
name: String
attributes: HashMap<String, String>
children: Vec<Element>
contents: Option<String>
Methods
impl Element[src]
Trait Implementations
impl Eq for Element[src]
impl PartialEq for Element[src]
fn eq(&self, __arg_0: &Element) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &Element) -> bool
This method tests for !=.
impl Clone for Element[src]
fn clone(&self) -> Element
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more