logo
pub trait Factory<Data, View> where
    Data: FactoryPrototype<View = View>,
    View: FactoryView<Data::Root>, 
{ type Key: ?Sized; fn generate(&self, view: &View, sender: Sender<Data::Msg>); }
Expand description

A container that is a able to efficiently update, generate and remove widgets that represent the data stored in the container.

Associated Types

Key that provides additional information for the FactoryPrototype functions.

Required methods

Efficiently update the view according to data changes.

Implementors