pub enum NodeRef<'document, S> {
Element(ElementRef<'document, S>),
Text(&'document str),
CData(&'document str),
Comment(&'document str),
ProcessingInstruction(ProcessingInstructionRef<'document>),
}Expand description
A borrowed XML node view.
Variants§
Element(ElementRef<'document, S>)
Text(&'document str)
CData(&'document str)
Comment(&'document str)
ProcessingInstruction(ProcessingInstructionRef<'document>)
Trait Implementations§
Auto Trait Implementations§
impl<'document, S> Freeze for NodeRef<'document, S>
impl<'document, S> RefUnwindSafe for NodeRef<'document, S>where
S: RefUnwindSafe,
impl<'document, S> Send for NodeRef<'document, S>where
S: Sync,
impl<'document, S> Sync for NodeRef<'document, S>where
S: Sync,
impl<'document, S> Unpin for NodeRef<'document, S>
impl<'document, S> UnsafeUnpin for NodeRef<'document, S>
impl<'document, S> UnwindSafe for NodeRef<'document, S>where
S: RefUnwindSafe,
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