pub enum XmlNameMatcher<'x> {
Any,
InNamespace(&'x str),
Specific(&'x str, &'x str),
}
Expand description
Match an XML element qualified name.
Variants§
Any
Match any XML element
InNamespace(&'x str)
Match any XML element in the given namespace.
Specific(&'x str, &'x str)
Match any XML element with the exact namespace/name combination.
Implementations§
Trait Implementations§
Source§impl<'x> Clone for XmlNameMatcher<'x>
impl<'x> Clone for XmlNameMatcher<'x>
Source§fn clone(&self) -> XmlNameMatcher<'x>
fn clone(&self) -> XmlNameMatcher<'x>
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<'x> Debug for XmlNameMatcher<'x>
impl<'x> Debug for XmlNameMatcher<'x>
Source§impl<'x> Hash for XmlNameMatcher<'x>
impl<'x> Hash for XmlNameMatcher<'x>
Source§impl<'x> Ord for XmlNameMatcher<'x>
impl<'x> Ord for XmlNameMatcher<'x>
Source§fn cmp(&self, other: &XmlNameMatcher<'x>) -> Ordering
fn cmp(&self, other: &XmlNameMatcher<'x>) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl<'x> PartialEq for XmlNameMatcher<'x>
impl<'x> PartialEq for XmlNameMatcher<'x>
Source§impl<'x> PartialOrd for XmlNameMatcher<'x>
impl<'x> PartialOrd for XmlNameMatcher<'x>
impl<'x> Copy for XmlNameMatcher<'x>
impl<'x> Eq for XmlNameMatcher<'x>
impl<'x> StructuralPartialEq for XmlNameMatcher<'x>
Auto Trait Implementations§
impl<'x> Freeze for XmlNameMatcher<'x>
impl<'x> RefUnwindSafe for XmlNameMatcher<'x>
impl<'x> Send for XmlNameMatcher<'x>
impl<'x> Sync for XmlNameMatcher<'x>
impl<'x> Unpin for XmlNameMatcher<'x>
impl<'x> UnwindSafe for XmlNameMatcher<'x>
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