pub struct PathExpr {
pub start: PathStart,
pub steps: Vec<Step>,
}Expand description
A path expression: an optional leading / and the steps between slashes.
Fields§
§start: PathStartWhether the path starts at the root of the context node’s tree.
steps: Vec<Step>The steps; empty only for the lone /. // appears as a
descendant-or-self::node() step.
Trait Implementations§
impl Eq for PathExpr
impl StructuralPartialEq for PathExpr
Auto Trait Implementations§
impl Forget for PathExpr
impl Freeze for PathExpr
impl RefUnwindSafe for PathExpr
impl Send for PathExpr
impl Sync for PathExpr
impl Unpin for PathExpr
impl UnsafeUnpin for PathExpr
impl UnwindSafe for PathExpr
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