pub struct RuntimeContext {
pub lookup: HashMap<u32, Rc<ExpandedNode>>,
/* private fields */
}
Expand description
Shared context for properties pass recursion
Fields§
§lookup: HashMap<u32, Rc<ExpandedNode>>
Implementations§
Source§impl RuntimeContext
impl RuntimeContext
pub fn new(expression_table: ExpressionTable, globals: Globals) -> Self
pub fn gen_uid(&mut self) -> Uid
pub fn enqueue_native_message(&mut self, message: NativeMessage)
pub fn take_native_messages(&mut self) -> Vec<NativeMessage>
pub fn globals(&self) -> &Globals
pub fn globals_mut(&mut self) -> &mut Globals
pub fn expression_table(&self) -> &ExpressionTable
Auto Trait Implementations§
impl Freeze for RuntimeContext
impl !RefUnwindSafe for RuntimeContext
impl !Send for RuntimeContext
impl !Sync for RuntimeContext
impl Unpin for RuntimeContext
impl !UnwindSafe for RuntimeContext
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.