pub struct ReusableInstanceNodeArgs {
pub handler_registry: Option<Rc<RefCell<HandlerRegistry>>>,
pub children: RefCell<Vec<Rc<dyn InstanceNode>>>,
pub template_node_identifier: Option<UniqueTemplateNodeIdentifier>,
pub template_node_type_id: Option<TypeId>,
pub template_node_selector_info: Option<TemplateNodeSelectorInfo>,
}Expand description
Lightweight clone of reusable base-node data for helper constructors.
Fields§
§handler_registry: Option<Rc<RefCell<HandlerRegistry>>>§children: RefCell<Vec<Rc<dyn InstanceNode>>>§template_node_identifier: Option<UniqueTemplateNodeIdentifier>§template_node_type_id: Option<TypeId>§template_node_selector_info: Option<TemplateNodeSelectorInfo>Implementations§
Source§impl ReusableInstanceNodeArgs
impl ReusableInstanceNodeArgs
Sourcepub fn new(base: &BaseInstance) -> ReusableInstanceNodeArgs
pub fn new(base: &BaseInstance) -> ReusableInstanceNodeArgs
Capture the reusable portions of a BaseInstance.
Auto Trait Implementations§
impl !Freeze for ReusableInstanceNodeArgs
impl !RefUnwindSafe for ReusableInstanceNodeArgs
impl !Send for ReusableInstanceNodeArgs
impl !Sync for ReusableInstanceNodeArgs
impl !UnwindSafe for ReusableInstanceNodeArgs
impl Unpin for ReusableInstanceNodeArgs
impl UnsafeUnpin for ReusableInstanceNodeArgs
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.