Function gate::run[][src]

pub fn run<AS: 'static + AppAssetId, AP: 'static + App<AS>>(
    info: AppInfo,
    app: AP
)

Invoke this in a main method to run the App.

Will panic if this method is called more than once. The AppInfo is used to specify intiailization parameters for the application.