pub struct Step {
pub axis: Axis,
pub node_test: NodeTest,
pub predicates: Vec<Expr>,
pub filter: Option<Box<Expr>>,
}Fields§
§axis: Axis§node_test: NodeTest§predicates: Vec<Expr>§filter: Option<Box<Expr>>XPath 2.0 StepExpr ::= AxisStep | FilterExpr. When
Some, the step is a FilterExpr (a primary expression
like a function call or parenthesised expression) that
produces its own sequence per input node — axis and
node_test are unused for the eval but kept at their
default (Self_ / AnyNode) so existing code that
destructures Step directly still type-checks.
path/key('x', 'y') and path/(expr) parse into this
shape.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Step
impl RefUnwindSafe for Step
impl Send for Step
impl Sync for Step
impl Unpin for Step
impl UnsafeUnpin for Step
impl UnwindSafe for Step
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