pub enum XmlNode {
Element(XmlElement),
Text(String),
}Expand description
A node in the XML tree: an element subtree or a run of text.
Variants§
Element(XmlElement)
An element (<name ...>...</name>).
Text(String)
A run of character data (escaped on output).
Trait Implementations§
impl Eq for XmlNode
impl StructuralPartialEq for XmlNode
Auto Trait Implementations§
impl Freeze for XmlNode
impl RefUnwindSafe for XmlNode
impl Send for XmlNode
impl Sync for XmlNode
impl Unpin for XmlNode
impl UnsafeUnpin for XmlNode
impl UnwindSafe for XmlNode
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more