pub enum NodeAxis {
Child,
Attribute,
SelfAxis,
Descendant,
DescendantOrSelf,
FollowingSibling,
Parent,
Ancestor,
AncestorOrSelf,
PrecedingSibling,
Preceding,
}Expand description
The axes, in the sense of XPath 2.0 section 3.2.1.1, that the evaluator walks.
descendant is not in the supported XPath subset but is used internally for //name.
Variants§
Child
child
Attribute
attribute
SelfAxis
self
Descendant
descendant
DescendantOrSelf
descendant-or-self
FollowingSibling
following-sibling
Parent
parent
Ancestor
ancestor
AncestorOrSelf
ancestor-or-self
PrecedingSibling
preceding-sibling
Preceding
preceding
Implementations§
Trait Implementations§
impl Copy for NodeAxis
impl Eq for NodeAxis
impl StructuralPartialEq for NodeAxis
Auto Trait Implementations§
impl Forget for NodeAxis
impl Freeze for NodeAxis
impl RefUnwindSafe for NodeAxis
impl Send for NodeAxis
impl Sync for NodeAxis
impl Unpin for NodeAxis
impl UnsafeUnpin for NodeAxis
impl UnwindSafe for NodeAxis
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