iced_winit::program

Function run

Source
pub fn run<P, C>(
    settings: Settings,
    graphics_settings: Settings,
    window_settings: Option<Settings>,
    flags: P::Flags,
) -> Result<(), Error>
where P: Program + 'static, C: Compositor<Renderer = P::Renderer> + 'static, P::Theme: Base,
Available on crate feature program only.
Expand description

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