pub struct InstantiationArgs {
pub prototypical_common_properties: CommonPropertiesInit,
pub prototypical_properties: PropertiesInit,
pub handler_registry: Option<Rc<RefCell<HandlerRegistry>>>,
pub children: Option<RefCell<Vec<Rc<dyn InstanceNode>>>>,
pub component_template: Option<RefCell<Vec<Rc<dyn InstanceNode>>>>,
pub component_settings: Option<Vec<SettingsBlockElement>>,
pub template_node_identifier: Option<UniqueTemplateNodeIdentifier>,
pub template_node_type_id: Option<TypeId>,
pub template_node_selector_info: Option<TemplateNodeSelectorInfo>,
pub transition_config: ComponentTransitionConfig,
pub properties_scope: PropertiesScopeInit,
}Expand description
Construction payload used when compiler-generated code instantiates an InstanceNode.
Fields§
§prototypical_common_properties: CommonPropertiesInit§prototypical_properties: PropertiesInit§handler_registry: Option<Rc<RefCell<HandlerRegistry>>>§children: Option<RefCell<Vec<Rc<dyn InstanceNode>>>>§component_template: Option<RefCell<Vec<Rc<dyn InstanceNode>>>>§component_settings: Option<Vec<SettingsBlockElement>>§template_node_identifier: Option<UniqueTemplateNodeIdentifier>§template_node_type_id: Option<TypeId>§template_node_selector_info: Option<TemplateNodeSelectorInfo>§transition_config: ComponentTransitionConfig§properties_scope: PropertiesScopeInitAuto Trait Implementations§
impl !Freeze for InstantiationArgs
impl !RefUnwindSafe for InstantiationArgs
impl !Send for InstantiationArgs
impl !Sync for InstantiationArgs
impl !UnwindSafe for InstantiationArgs
impl Unpin for InstantiationArgs
impl UnsafeUnpin 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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
impl<T> Read<Exclusive, BecauseExclusive> for Twhere
T: ?Sized,
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.