Struct pax_runtime::engine::ExpressionTable
source · pub struct ExpressionTable {
pub table: HashMap<usize, Box<dyn Fn(ExpressionContext) -> PaxAny>>,
}Fields§
§table: HashMap<usize, Box<dyn Fn(ExpressionContext) -> PaxAny>>Implementations§
source§impl ExpressionTable
impl ExpressionTable
pub fn new() -> Self
pub fn compute_vtable_value( &self, stack: &Rc<RuntimePropertiesStackFrame>, vtable_id: usize, ) -> PaxAny
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ExpressionTable
impl !RefUnwindSafe for ExpressionTable
impl !Send for ExpressionTable
impl !Sync for ExpressionTable
impl Unpin for ExpressionTable
impl !UnwindSafe for ExpressionTable
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
source§impl<T, U> RoundInto<U> for Twhere
U: RoundFrom<T>,
impl<T, U> RoundInto<U> for Twhere
U: RoundFrom<T>,
source§fn round_into(self) -> U
fn round_into(self) -> U
Performs the conversion.