Struct nv_xml::XmlElement
[−]
[src]
pub struct XmlElement { /* fields omitted */ }
Methods
impl XmlElement
[src]
fn new(event: XmlEvent) -> XmlElement
fn new_with_children(event: XmlEvent, children: Vec<XmlElement>) -> XmlElement
fn custom(
event: XmlEvent,
children: Vec<XmlElement>,
data: Option<XmlEvent>
) -> XmlElement
event: XmlEvent,
children: Vec<XmlElement>,
data: Option<XmlEvent>
) -> XmlElement
fn parse(data: &str) -> Option<XmlElement>
fn name(&self) -> &str
fn mut_change_name_to(&mut self, new_name: &str)
fn change_name_to(&self, new_name: &str) -> XmlElement
fn mut_change_data(&mut self, new_data: &str)
fn data(&self) -> Option<&str>
fn has_attributes(&self) -> bool
fn attributes(&self) -> Vec<XmlAttribute>
fn attribute_with_name(&self, name: &str) -> Option<XmlAttribute>
fn attribute_value_of(&self, name: &str) -> Option<&str>
fn children_with_name(&self, name: &str) -> Vec<&XmlElement>
fn descendents_with_name(&self, name: &str) -> Vec<&XmlElement>
fn children(&self) -> &Vec<XmlElement>
fn mut_children(&mut self) -> &mut Vec<XmlElement>
fn has_children(&self) -> bool
Trait Implementations
impl Debug for XmlElement
[src]
impl Clone for XmlElement
[src]
fn clone(&self) -> XmlElement
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