cushy

Trait Application

source
pub trait Application: AsApplication<AppEvent<WindowCommand>> {
    // Required methods
    fn cushy(&self) -> &Cushy;
    fn as_app(&self) -> App;
}
Expand description

A type that is a Cushy application.

Required Methods§

source

fn cushy(&self) -> &Cushy

Returns the shared resources for the application.

source

fn as_app(&self) -> App

Returns this type as an App handle.

Implementors§