Struct pax_runtime::properties::RuntimeContext
source · 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 !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.