pub trait Update<Msg>where
Msg: PartialEq,{
// Required method
fn update(&mut self, msg: Option<Msg>) -> Option<Msg>;
}
Expand description
The update trait defines the prototype of the function to be used to handle the events coming from the View.