pub struct ExecOptions<'a> { /* private fields */ }
Expand description
Execute options
Implementations§
Source§impl<'a> ExecOptions<'a>
impl<'a> ExecOptions<'a>
Sourcepub fn new(expr: &'a Expr) -> ExecOptions<'a>
pub fn new(expr: &'a Expr) -> ExecOptions<'a>
Create an option.
Sourcepub fn contexts(&mut self, contexts: &'a [Context]) -> &'a mut ExecOptions<'_>
pub fn contexts(&mut self, contexts: &'a [Context]) -> &'a mut ExecOptions<'_>
Set contexts.
Sourcepub fn functions(&mut self, functions: &'a Functions) -> &'a mut ExecOptions<'_>
pub fn functions(&mut self, functions: &'a Functions) -> &'a mut ExecOptions<'_>
Set functions.
Auto Trait Implementations§
impl<'a> Freeze for ExecOptions<'a>
impl<'a> !RefUnwindSafe for ExecOptions<'a>
impl<'a> !Send for ExecOptions<'a>
impl<'a> !Sync for ExecOptions<'a>
impl<'a> Unpin for ExecOptions<'a>
impl<'a> !UnwindSafe for ExecOptions<'a>
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