pub struct Traversal {
pub expr: Expression,
pub operators: Vec<Decorated<TraversalOperator>>,
/* private fields */
}
Expand description
Traverse an expression to access attributes, object keys or element indices.
Fields§
§expr: Expression
The expression that the access operator is applied to.
operators: Vec<Decorated<TraversalOperator>>
The traversal operators to apply to expr
one of the other.
Implementations§
Trait Implementations§
Source§impl From<Traversal> for Expression
impl From<Traversal> for Expression
impl Eq for Traversal
Auto Trait Implementations§
impl Freeze for Traversal
impl RefUnwindSafe for Traversal
impl Send for Traversal
impl Sync for Traversal
impl Unpin for Traversal
impl UnwindSafe for Traversal
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