pub enum IdXPathToken<'a> {
NCName(&'a str),
Star,
Colon,
Slash,
DoubleSlash,
DoubleColon,
Pipe,
Dot,
At,
}Expand description
Token produced by the identity-constraint XPath lexer.
Variants§
NCName(&'a str)
An XML NCName (unqualified name).
Star
*
Colon
:
Slash
/
DoubleSlash
//
DoubleColon
::
Pipe
|
Dot
.
At
@
Trait Implementations§
Source§impl<'a> Clone for IdXPathToken<'a>
impl<'a> Clone for IdXPathToken<'a>
Source§fn clone(&self) -> IdXPathToken<'a>
fn clone(&self) -> IdXPathToken<'a>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl<'a> Copy for IdXPathToken<'a>
Source§impl<'a> Debug for IdXPathToken<'a>
impl<'a> Debug for IdXPathToken<'a>
impl<'a> Eq for IdXPathToken<'a>
Source§impl<'a> PartialEq for IdXPathToken<'a>
impl<'a> PartialEq for IdXPathToken<'a>
Source§fn eq(&self, other: &IdXPathToken<'a>) -> bool
fn eq(&self, other: &IdXPathToken<'a>) -> bool
Tests for
self and other values to be equal, and is used by ==.impl<'a> StructuralPartialEq for IdXPathToken<'a>
Auto Trait Implementations§
impl<'a> Freeze for IdXPathToken<'a>
impl<'a> RefUnwindSafe for IdXPathToken<'a>
impl<'a> Send for IdXPathToken<'a>
impl<'a> Sync for IdXPathToken<'a>
impl<'a> Unpin for IdXPathToken<'a>
impl<'a> UnsafeUnpin for IdXPathToken<'a>
impl<'a> UnwindSafe for IdXPathToken<'a>
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