pub enum NameTest {
Wildcard,
NamespaceWildcard(NameId),
LocalWildcard(NameId),
QName(QualifiedName),
}Expand description
Name test for element/attribute tests (resolved form with interned names)
Variants§
Wildcard
Wildcard (*) - matches any name
NamespaceWildcard(NameId)
Namespace wildcard (*:local) - matches any namespace with specific local name The NameId is the interned local name
LocalWildcard(NameId)
Local name wildcard (prefix:*) - matches any local name in namespace The NameId is the resolved namespace URI
QName(QualifiedName)
Specific QName (fully resolved)
Implementations§
Trait Implementations§
impl Eq for NameTest
impl StructuralPartialEq for NameTest
Auto Trait Implementations§
impl Freeze for NameTest
impl RefUnwindSafe for NameTest
impl Send for NameTest
impl Sync for NameTest
impl Unpin for NameTest
impl UnsafeUnpin for NameTest
impl UnwindSafe for NameTest
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