Trait libmaj::app_dirs::AppMeta
[−]
[src]
pub trait AppMeta { fn get_name(&self) -> &str; fn get_author(&self) -> &str; }
Implement this trait for object that will be passed to
app_dir, get_app_dir, app_root, get_app_root functions
The author
property is currently only used by Windows, as macOS and *nix
specifications don't require it. Make sure your name
string is unique!
Required Methods
fn get_name(&self) -> &str
Returns name of your app (e.g. "Hearthstone").
Returns author of your app (e.g. "Blizzard").
Implementors
impl AppMeta for AppInfo
impl AppMeta for OwnedAppInfo