pub struct Evaluator<'a, E: Executor> { /* private fields */ }Expand description
Expression evaluator.
Evaluates AST expressions to values, using the provided scope for variable lookup and the executor for command substitution.
Implementations§
Auto Trait Implementations§
impl<'a, E> Freeze for Evaluator<'a, E>
impl<'a, E> RefUnwindSafe for Evaluator<'a, E>where
E: RefUnwindSafe,
impl<'a, E> Send for Evaluator<'a, E>where
E: Send,
impl<'a, E> Sync for Evaluator<'a, E>where
E: Sync,
impl<'a, E> Unpin for Evaluator<'a, E>
impl<'a, E> !UnwindSafe for Evaluator<'a, E>
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