Struct pax_runtime::rendering::InstantiationArgs
source · pub struct InstantiationArgs {
pub prototypical_common_properties_factory: Box<dyn Fn(Rc<RuntimePropertiesStackFrame>) -> Rc<RefCell<CommonProperties>>>,
pub prototypical_properties_factory: Box<dyn Fn(Rc<RuntimePropertiesStackFrame>) -> Rc<RefCell<PaxAny>>>,
pub handler_registry: Option<Rc<RefCell<HandlerRegistry>>>,
pub children: Option<InstanceNodePtrList>,
pub component_template: Option<InstanceNodePtrList>,
pub template_node_identifier: Option<UniqueTemplateNodeIdentifier>,
pub properties_scope_factory: Option<Box<dyn Fn(Rc<RefCell<PaxAny>>) -> HashMap<String, Variable>>>,
}Fields§
§prototypical_common_properties_factory: Box<dyn Fn(Rc<RuntimePropertiesStackFrame>) -> Rc<RefCell<CommonProperties>>>§prototypical_properties_factory: Box<dyn Fn(Rc<RuntimePropertiesStackFrame>) -> Rc<RefCell<PaxAny>>>§handler_registry: Option<Rc<RefCell<HandlerRegistry>>>§children: Option<InstanceNodePtrList>§component_template: Option<InstanceNodePtrList>§template_node_identifier: Option<UniqueTemplateNodeIdentifier>§properties_scope_factory: Option<Box<dyn Fn(Rc<RefCell<PaxAny>>) -> HashMap<String, Variable>>>Auto Trait Implementations§
impl !Freeze for InstantiationArgs
impl !RefUnwindSafe for InstantiationArgs
impl !Send for InstantiationArgs
impl !Sync for InstantiationArgs
impl Unpin for InstantiationArgs
impl !UnwindSafe for InstantiationArgs
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.