Struct pax_core::expressions::ExpressionContext
source · pub struct ExpressionContext<'a, R: 'static + RenderContext> {
pub engine: &'a PaxEngine<R>,
pub stack_frame: Rc<RefCell<StackFrame<R>>>,
}Expand description
Data structure used for dynamic injection of values into Expressions, maintaining a pointer e.g. to the current stack frame to enable evaluation of properties & dependencies
Fields§
§engine: &'a PaxEngine<R>§stack_frame: Rc<RefCell<StackFrame<R>>>Auto Trait Implementations§
impl<'a, R> !RefUnwindSafe for ExpressionContext<'a, R>
impl<'a, R> !Send for ExpressionContext<'a, R>
impl<'a, R> !Sync for ExpressionContext<'a, R>
impl<'a, R> Unpin for ExpressionContext<'a, R>
impl<'a, R> !UnwindSafe for ExpressionContext<'a, R>
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.