pub struct EvaluatorContext {
pub grove: Option<Rc<dyn Grove>>,
pub current_node: Option<Rc<Box<dyn Node>>>,
pub backend: Option<Rc<RefCell<dyn FotBuilder>>>,
}Expand description
Context available to primitives during evaluation
Fields§
§grove: Option<Rc<dyn Grove>>§current_node: Option<Rc<Box<dyn Node>>>§backend: Option<Rc<RefCell<dyn FotBuilder>>>Trait Implementations§
Source§impl Clone for EvaluatorContext
impl Clone for EvaluatorContext
Source§fn clone(&self) -> EvaluatorContext
fn clone(&self) -> EvaluatorContext
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for EvaluatorContext
impl !RefUnwindSafe for EvaluatorContext
impl !Send for EvaluatorContext
impl !Sync for EvaluatorContext
impl Unpin for EvaluatorContext
impl !UnwindSafe for EvaluatorContext
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