Trait PathConfiguration

Source
pub trait PathConfiguration {
Show 16 methods // Provided methods fn xdg_data_dir(&self, xdg_data_home: Option<String>) -> PathBuf { ... } fn xdg_config_dir(&self, xdg_config_home: Option<String>) -> PathBuf { ... } fn steam(&self, steam_root_path_override: Option<String>) -> PathBuf { ... } fn lutris_local(&self, xdg_data_home: Option<String>) -> PathBuf { ... } fn lutris_config(&self, xdg_config_home: Option<String>) -> PathBuf { ... } fn steam_config(&self, steam_root_path_override: Option<String>) -> PathBuf { ... } fn steam_compatibility_tools_dir( &self, steam_root_path_override: Option<String>, ) -> PathBuf { ... } fn lutris_runners_config_dir( &self, xdg_config_home: Option<String>, ) -> PathBuf { ... } fn lutris_wine_runner_config( &self, xdg_config_home: Option<String>, ) -> PathBuf { ... } fn lutris_runners_dir(&self, xdg_data_home: Option<String>) -> PathBuf { ... } fn ge_man_data_dir(&self, xdg_data_home: Option<String>) -> PathBuf { ... } fn ge_man_config_dir(&self, xdg_config_home: Option<String>) -> PathBuf { ... } fn managed_versions_config(&self, xdg_data_home: Option<String>) -> PathBuf { ... } fn app_config_backup_file( &self, xdg_config_home: Option<String>, kind: &TagKind, ) -> PathBuf { ... } fn create_ge_man_dirs( &self, xdg_config_home: Option<String>, xdg_data_home: Option<String>, ) -> Result<()> { ... } fn create_app_dirs( &self, xdg_config_home: Option<String>, xdg_data_home: Option<String>, steam_path: Option<String>, ) -> Result<()> { ... }
}

Provided Methods§

Source

fn xdg_data_dir(&self, xdg_data_home: Option<String>) -> PathBuf

Source

fn xdg_config_dir(&self, xdg_config_home: Option<String>) -> PathBuf

Source

fn steam(&self, steam_root_path_override: Option<String>) -> PathBuf

Source

fn lutris_local(&self, xdg_data_home: Option<String>) -> PathBuf

Source

fn lutris_config(&self, xdg_config_home: Option<String>) -> PathBuf

Source

fn steam_config(&self, steam_root_path_override: Option<String>) -> PathBuf

Source

fn steam_compatibility_tools_dir( &self, steam_root_path_override: Option<String>, ) -> PathBuf

Source

fn lutris_runners_config_dir(&self, xdg_config_home: Option<String>) -> PathBuf

Source

fn lutris_wine_runner_config(&self, xdg_config_home: Option<String>) -> PathBuf

Source

fn lutris_runners_dir(&self, xdg_data_home: Option<String>) -> PathBuf

Source

fn ge_man_data_dir(&self, xdg_data_home: Option<String>) -> PathBuf

Source

fn ge_man_config_dir(&self, xdg_config_home: Option<String>) -> PathBuf

Source

fn managed_versions_config(&self, xdg_data_home: Option<String>) -> PathBuf

Source

fn app_config_backup_file( &self, xdg_config_home: Option<String>, kind: &TagKind, ) -> PathBuf

Source

fn create_ge_man_dirs( &self, xdg_config_home: Option<String>, xdg_data_home: Option<String>, ) -> Result<()>

Source

fn create_app_dirs( &self, xdg_config_home: Option<String>, xdg_data_home: Option<String>, steam_path: Option<String>, ) -> Result<()>

Implementors§