pub enum PathStep {
Axis(PatternStep),
Parenthesized {
inner: Box<Pattern>,
predicates: Vec<Expr>,
},
}Expand description
A step of a path pattern.
Variants§
Axis(PatternStep)
An axis step (XSLT 2.0 production [4] PatternStep).
Parenthesized
(pattern)[predicate]..., an XSLT 3.0 PostfixExprP used as a step, in the forms
the parser keeps (see parse_pattern): the first step of
a path, with or without predicates (with at least one when it is the whole
path), or a step between two others, without predicates, whose alternatives are
single steps.
Trait Implementations§
impl Eq for PathStep
impl StructuralPartialEq for PathStep
Auto Trait Implementations§
impl Forget for PathStep
impl Freeze for PathStep
impl RefUnwindSafe for PathStep
impl Send for PathStep
impl Sync for PathStep
impl Unpin for PathStep
impl UnsafeUnpin for PathStep
impl UnwindSafe for PathStep
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