Struct rubble_templates_evaluators::simple::evaluator::SimpleEvaluationEngine [−][src]
Simple evaluation engine providing basic features like variable and function evaluation.
This engine evaluates are variables, functions and literals in a code fragment and returns a resulting String. It might also return an error when encounters unexpected identifier or a variable with parameters. When it encounters a function, it tries to evaluate it and propagates any error that it returns.
This engine always uses the same Functions for evaluations, but can be supplied with different parameters during every evaluation.
Implementations
impl SimpleEvaluationEngine
[src]
Trait Implementations
impl Evaluator for SimpleEvaluationEngine
[src]
Auto Trait Implementations
impl !RefUnwindSafe for SimpleEvaluationEngine
impl !Send for SimpleEvaluationEngine
impl !Sync for SimpleEvaluationEngine
impl Unpin for SimpleEvaluationEngine
impl !UnwindSafe for SimpleEvaluationEngine
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,