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: DefaultStyle,
Available on crate feature
program
only.Expand description
Runs a Program
with an executor, compositor, and the provided
settings.