pub enum XmlNode {
Element(ElementBuilder),
Text(String),
Comment(String),
CData(String),
ProcessingInstruction {
target: String,
data: Option<String>,
},
}Expand description
Fragment node accepted by the builder layer.
Variants§
Trait Implementations§
impl Eq for XmlNode
Source§impl IntoXmlFragment for XmlNode
impl IntoXmlFragment for XmlNode
fn into_xml_fragment(self) -> XmlResult<FragmentBuilder>
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