How do you manually call a update operation from veiw?
fn view(&self) -> Container<Message> {
let main_container = container(self.main_container());
let background_rect: Element<'_, Message, Theme, Renderer> =
RoundedRectangle::new(700.0, 340.0)
.bg_color(Color::from_rgb8(81, 80, 80))
.border_radius(20.0)
.into();
self.update(Message::Start);
In this instance I would have to borrow self as mutable to run update, but i cant do that as that goes against the trait and goes against ELM