pub enum KindTest {
AnyKind,
Text,
Comment,
ProcessingInstruction,
Element(Option<NameOrWildcard>),
Attribute(Option<NameOrWildcard>),
}Expand description
The supported kind tests ([54] KindTest). document-node(), schema-element(),
schema-attribute(), processing-instruction(name) and type names in element() and
attribute() are refused by the parser.
Variants§
AnyKind
node()
Text
text()
Comment
comment()
ProcessingInstruction
processing-instruction()
Element(Option<NameOrWildcard>)
element(), element(*) or element(name).
Attribute(Option<NameOrWildcard>)
attribute(), attribute(*) or attribute(name).
Trait Implementations§
impl Eq for KindTest
impl StructuralPartialEq for KindTest
Auto Trait Implementations§
impl Forget for KindTest
impl Freeze for KindTest
impl RefUnwindSafe for KindTest
impl Send for KindTest
impl Sync for KindTest
impl Unpin for KindTest
impl UnsafeUnpin for KindTest
impl UnwindSafe for KindTest
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