pub struct Interpreter {
pub context: Context,
pub cfg: InterpreterConf,
pub data_provider: Box<dyn DataProvider>,
pub params: InterpreterParams,
/* private fields */
}Fields§
§context: Context§cfg: InterpreterConf§data_provider: Box<dyn DataProvider>§params: InterpreterParamsImplementations§
Source§impl Interpreter
impl Interpreter
pub fn new( context: Context, cfg: InterpreterConf, data_provider: Box<dyn DataProvider>, params: InterpreterParams, ) -> Self
pub fn run(&mut self) -> Result<InterpreterResult, Error>
Auto Trait Implementations§
impl Freeze for Interpreter
impl !RefUnwindSafe for Interpreter
impl !Send for Interpreter
impl !Sync for Interpreter
impl Unpin for Interpreter
impl !UnwindSafe for Interpreter
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