pub struct PathConfig {}
Implementations§
Source§impl PathConfig
impl PathConfig
Trait Implementations§
Source§impl Default for PathConfig
impl Default for PathConfig
Source§impl PathConfiguration for PathConfig
impl PathConfiguration for PathConfig
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<()>
Auto Trait Implementations§
impl Freeze for PathConfig
impl RefUnwindSafe for PathConfig
impl Send for PathConfig
impl Sync for PathConfig
impl Unpin for PathConfig
impl UnwindSafe for PathConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more