pub struct ComponentParts<C: Component> {
pub model: C,
pub widgets: C::Widgets,
}
Expand description
Contains the initial model and widgets being docked into a component.
Fields§
§model: C
The model of the component.
widgets: C::Widgets
The widgets created for the view.
Trait Implementations§
Auto Trait Implementations§
impl<C> Freeze for ComponentParts<C>
impl<C> RefUnwindSafe for ComponentParts<C>
impl<C> Send for ComponentParts<C>
impl<C> Sync for ComponentParts<C>
impl<C> Unpin for ComponentParts<C>
impl<C> UnwindSafe for ComponentParts<C>
Blanket Implementations§
source§impl<C> AsyncPosition<()> for C
impl<C> AsyncPosition<()> for C
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