pub trait AzaleaAppExt: Sized + 'static {
type ConfigWrapper: Serialize + DeserializeOwned + Debug + Clone + 'static;
type WindowWrapper;
const CONFIG_PATH: &'static str = "azalea/config.ron";
const STYLE_PATH: &'static str = "azalea/style.scss";
const SOCKET_NAME: &'static str = "azalea.sock";
const APP_ID: &'static str = "br.usp.ime.Azalea";
// Required methods
fn create_window(config: &Self::ConfigWrapper) -> Self::WindowWrapper;
fn unwrap_window(window: &Self::WindowWrapper) -> &Window;
}Provided Associated Constants§
const CONFIG_PATH: &'static str = "azalea/config.ron"
const STYLE_PATH: &'static str = "azalea/style.scss"
const SOCKET_NAME: &'static str = "azalea.sock"
const APP_ID: &'static str = "br.usp.ime.Azalea"
Required Associated Types§
type ConfigWrapper: Serialize + DeserializeOwned + Debug + Clone + 'static
type WindowWrapper
Required Methods§
fn create_window(config: &Self::ConfigWrapper) -> Self::WindowWrapper
fn unwrap_window(window: &Self::WindowWrapper) -> &Window
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.