pub struct RemapEngine { /* private fields */ }
Expand description
Advanced Remap Execution Engine
Implementations§
Source§impl RemapEngine
impl RemapEngine
Sourcepub fn new(imports: Arc<ImportTable>, exports: Arc<ExportTable>) -> Self
pub fn new(imports: Arc<ImportTable>, exports: Arc<ExportTable>) -> Self
Create a new remap engine
Sourcepub async fn execute_remap(
&self,
remap: &RemapExpression,
evaluator: &ExpressionEvaluator,
) -> Result<Value, RemapError>
pub async fn execute_remap( &self, remap: &RemapExpression, evaluator: &ExpressionEvaluator, ) -> Result<Value, RemapError>
Execute a remap expression
Auto Trait Implementations§
impl Freeze for RemapEngine
impl !RefUnwindSafe for RemapEngine
impl Send for RemapEngine
impl Sync for RemapEngine
impl Unpin for RemapEngine
impl !UnwindSafe for RemapEngine
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