pub enum NodeTest {
AnyName,
NamespaceWildcard(String),
QName(QName),
Node,
Text,
Comment,
ProcessingInstruction(Option<String>),
}Expand description
[7] NodeTest — includes the NameTest alternatives (*, prefix:*,
QName) and the NodeType/processing-instruction(Literal) forms.
Variants§
AnyName
*
NamespaceWildcard(String)
prefix:*
QName(QName)
QName (possibly namespace-prefixed local name test)
Node
node()
Text
text()
Comment
comment()
ProcessingInstruction(Option<String>)
processing-instruction() or processing-instruction('target')
Trait Implementations§
impl StructuralPartialEq for NodeTest
Auto Trait Implementations§
impl Freeze for NodeTest
impl RefUnwindSafe for NodeTest
impl Send for NodeTest
impl Sync for NodeTest
impl Unpin for NodeTest
impl UnsafeUnpin for NodeTest
impl UnwindSafe for NodeTest
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