pub enum NameTest {
Name(QName),
Any,
AnyLocal {
prefix: String,
namespace: String,
},
AnyNamespace {
local: String,
},
}Expand description
A name test: a QName or a wildcard ([36] NameTest, [37] Wildcard).
Variants§
Name(QName)
A name. Unprefixed element names take the default element namespace, unprefixed attribute names are in no namespace.
Any
*
AnyLocal
prefix:*: any local name in one namespace.
AnyNamespace
*:local: one local name in any namespace (or none).
Trait Implementations§
impl Eq for NameTest
impl StructuralPartialEq for NameTest
Auto Trait Implementations§
impl Forget for NameTest
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