pub struct ExpressionEvaluationContext<'a> {
pub starting_value: ExpressionVariant,
pub current_value: ExpressionVariant,
pub final_value: ExpressionVariant,
pub target: Option<&'a dyn IExpressionObject>,
pub parameters: Option<&'a dyn IExpressionParameterCollection>,
pub foreign_function_interface: Option<&'a dyn IExpressionForeignFunctionInterface>,
}Expand description
The values and objects an expression is evaluated against.
Fields§
§starting_value: ExpressionVariant§current_value: ExpressionVariant§final_value: ExpressionVariant§target: Option<&'a dyn IExpressionObject>The object this.Target refers to.
parameters: Option<&'a dyn IExpressionParameterCollection>The parameters of the animation.
foreign_function_interface: Option<&'a dyn IExpressionForeignFunctionInterface>The functions callable from the expression.
Trait Implementations§
Source§impl<'a> Clone for ExpressionEvaluationContext<'a>
impl<'a> Clone for ExpressionEvaluationContext<'a>
impl<'a> Copy for ExpressionEvaluationContext<'a>
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for ExpressionEvaluationContext<'a>
impl<'a> !Send for ExpressionEvaluationContext<'a>
impl<'a> !Sync for ExpressionEvaluationContext<'a>
impl<'a> !UnwindSafe for ExpressionEvaluationContext<'a>
impl<'a> Freeze for ExpressionEvaluationContext<'a>
impl<'a> Unpin for ExpressionEvaluationContext<'a>
impl<'a> UnsafeUnpin for ExpressionEvaluationContext<'a>
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> ClassDefaults for Twhere
T: ?Sized,
impl<T> ClassDefaults for Twhere
T: ?Sized,
Source§fn static_constructor()
fn static_constructor()
The static constructor of a type: work done once per thread, after
the properties of the type are registered and before its first
instance exists (class handlers,
affects_render, metadata
overrides). Read more