Struct rsonpath_lib::stack_based::StackBasedRunner
source · pub struct StackBasedRunner<'q> { /* private fields */ }
Expand description
Recursive implementation of the JSONPath query engine.
Implementations
sourceimpl<'q> StackBasedRunner<'q>
impl<'q> StackBasedRunner<'q>
sourcepub fn compile_query(query: &'q JsonPathQuery) -> Self
pub fn compile_query(query: &'q JsonPathQuery) -> Self
Compile a query into a StackBasedRunner
.
Trait Implementations
sourceimpl Runner for StackBasedRunner<'_>
impl Runner for StackBasedRunner<'_>
sourcefn run<R: QueryResult>(&self, input: &Input) -> R
fn run<R: QueryResult>(&self, input: &Input) -> R
Compute the
QueryResult
on given Input
.Auto Trait Implementations
impl<'q> RefUnwindSafe for StackBasedRunner<'q>
impl<'q> !Send for StackBasedRunner<'q>
impl<'q> !Sync for StackBasedRunner<'q>
impl<'q> Unpin for StackBasedRunner<'q>
impl<'q> UnwindSafe for StackBasedRunner<'q>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more