pub struct SubtreeInstance<Ret, Props>where
Ret: ComponentReturn,
Props: ComponentProps,{ /* private fields */ }Expand description
A subtree is a part of the app that is mounted and unmounted together.
When mounting the app, Consecuit creates a subtree for it.
opt_comp creates a subtree for its component.
vec_comps creates a subtree for each of its components.
Trait Implementations§
Source§impl<Ret, Props> Drop for SubtreeInstance<Ret, Props>where
Ret: ComponentReturn,
Props: ComponentProps,
impl<Ret, Props> Drop for SubtreeInstance<Ret, Props>where
Ret: ComponentReturn,
Props: ComponentProps,
Source§impl<Ret, Props> Subtree for SubtreeInstance<Ret, Props>where
Ret: ComponentReturn,
Props: ComponentProps,
impl<Ret, Props> Subtree for SubtreeInstance<Ret, Props>where
Ret: ComponentReturn,
Props: ComponentProps,
Auto Trait Implementations§
impl<Ret, Props> Freeze for SubtreeInstance<Ret, Props>
impl<Ret, Props> !RefUnwindSafe for SubtreeInstance<Ret, Props>
impl<Ret, Props> !Send for SubtreeInstance<Ret, Props>
impl<Ret, Props> !Sync for SubtreeInstance<Ret, Props>
impl<Ret, Props> Unpin for SubtreeInstance<Ret, Props>
impl<Ret, Props> UnwindSafe for SubtreeInstance<Ret, Props>where
<Ret as ComponentReturn>::StoresList: UnwindSafe,
Props: UnwindSafe,
<Ret as ComponentReturn>::HoleNode: UnwindSafe,
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