pub enum NodeDebug<'node, 'doc> {
Element(ElementDebug<'node, 'doc>),
Text(&'node str),
Comment(&'node str),
CData(&'node str),
PI(&'node str),
DocType(&'node str),
}
Variants§
Element(ElementDebug<'node, 'doc>)
Uses ElementDebug to debug the element
Text(&'node str)
Text node
Comment(&'node str)
Comment node
CData(&'node str)
CDATA node
PI(&'node str)
Processing Instruction node
DocType(&'node str)
Document Type Declaration node
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'node, 'doc> Freeze for NodeDebug<'node, 'doc>
impl<'node, 'doc> RefUnwindSafe for NodeDebug<'node, 'doc>
impl<'node, 'doc> Send for NodeDebug<'node, 'doc>
impl<'node, 'doc> Sync for NodeDebug<'node, 'doc>
impl<'node, 'doc> Unpin for NodeDebug<'node, 'doc>
impl<'node, 'doc> UnwindSafe for NodeDebug<'node, 'doc>
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