Struct eval::ExecOptions [−][src]
pub struct ExecOptions<'a> { /* fields omitted */ }
Execute options
Methods
impl<'a> ExecOptions<'a>
[src]
impl<'a> ExecOptions<'a>
pub fn new(expr: &'a Expr) -> ExecOptions<'a>
[src]
pub fn new(expr: &'a Expr) -> ExecOptions<'a>
Create an option.
pub fn contexts(&mut self, contexts: &'a [Context]) -> &'a mut ExecOptions
[src]
pub fn contexts(&mut self, contexts: &'a [Context]) -> &'a mut ExecOptions
Set contexts.
pub fn functions(&mut self, functions: &'a Functions) -> &'a mut ExecOptions
[src]
pub fn functions(&mut self, functions: &'a Functions) -> &'a mut ExecOptions
Set functions.
pub fn exec(&self) -> Result<Value, Error>
[src]
pub fn exec(&self) -> Result<Value, Error>
Execute the compiled expression.
Auto Trait Implementations
impl<'a> !Send for ExecOptions<'a>
impl<'a> !Send for ExecOptions<'a>
impl<'a> !Sync for ExecOptions<'a>
impl<'a> !Sync for ExecOptions<'a>