Trait cosmic::iced_runtime::multi_window::program::Program
source · pub trait Program: Sized {
type Renderer: Renderer + Renderer;
type Message: Debug + Send;
type Theme;
// Required methods
fn update(&mut self, message: Self::Message) -> Task<Self::Message>;
fn view(
&self,
window: Id,
) -> Element<'_, Self::Message, Self::Theme, Self::Renderer>;
}
Expand description
The core of a user interface for a multi-window application following The Elm Architecture.
Required Associated Types§
Required Methods§
Object Safety§
This trait is not object safe.