Trait gooey::Run

source ·
pub trait Run: Sized {
    // Required method
    fn run(self) -> Result;
}
Expand description

A type that can be run as an application.

Required Methods§

source

fn run(self) -> Result

Runs the provided type, returning Ok(()) upon successful execution and program exit. Note that this function may not ever return on some platforms.

Implementors§

source§

impl Run for PendingApp

source§

impl<Behavior> Run for Window<Behavior>where Behavior: WindowBehavior,

source§

impl<T> Run for Twhere T: MakeWidget,