Struct relm4::component::AsyncComponentParts
source · pub struct AsyncComponentParts<C: AsyncComponent> {
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 AsyncComponentParts<C>
impl<C> RefUnwindSafe for AsyncComponentParts<C>
impl<C> Send for AsyncComponentParts<C>
impl<C> Sync for AsyncComponentParts<C>
impl<C> Unpin for AsyncComponentParts<C>
impl<C> UnwindSafe for AsyncComponentParts<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