1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
mod builder;
mod connector;
mod controller;
mod traits;

pub use builder::AsyncComponentBuilder;
pub use connector::AsyncConnector;
pub use controller::{AsyncComponentController, AsyncController};
pub use traits::AsyncComponent;
pub use traits::SimpleAsyncComponent;

/// Contains the initial model and widgets being docked into a component.
#[derive(Debug)]
pub struct AsyncComponentParts<C: AsyncComponent> {
    /// The model of the component.
    pub model: C,
    /// The widgets created for the view.
    pub widgets: C::Widgets,
}