Function cosmic::iced_winit::program::run

source ยท
pub fn run<P, C>(
    settings: Settings,
    graphics_settings: Settings,
    window_settings: Option<Settings>,
    flags: <P as Program>::Flags,
) -> Result<(), Error>
where P: Program + 'static, C: Compositor<Renderer = <P as Program>::Renderer> + 'static, <P as Program>::Theme: DefaultStyle,
Expand description

Runs a Program with an executor, compositor, and the provided settings.