pub struct Interpreter<'a, C> { /* private fields */ }
Implementations§
Source§impl<'a, C> Interpreter<'a, C>
impl<'a, C> Interpreter<'a, C>
pub fn new( externals: &'a ExternalFunctions<C>, context: &'a mut C, ) -> Interpreter<'a, C>
pub fn execute_statements( &mut self, statements: &Vec<ResolvedStatement>, ) -> Result<ValueWithSignal, ExecuteError>
Auto Trait Implementations§
impl<'a, C> Freeze for Interpreter<'a, C>
impl<'a, C> !RefUnwindSafe for Interpreter<'a, C>
impl<'a, C> !Send for Interpreter<'a, C>
impl<'a, C> !Sync for Interpreter<'a, C>
impl<'a, C> Unpin for Interpreter<'a, C>
impl<'a, C> !UnwindSafe for Interpreter<'a, C>
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