pub trait Windows {
// Required methods
fn windows_system_with_env(&self, env: WindowsEnv) -> ProjectDirs;
fn windows_user_with_env(&self, env: WindowsEnv) -> ProjectDirs;
fn windows_user_local_with_env(&self, env: WindowsEnv) -> ProjectDirs;
fn windows_user_shared_with_env(&self, env: WindowsEnv) -> ProjectDirs;
}
Expand description
Retrive ProjectDirs
and [FullProjectDirs
] for Windows based systems.
Required Methods§
Sourcefn windows_system_with_env(&self, env: WindowsEnv) -> ProjectDirs
fn windows_system_with_env(&self, env: WindowsEnv) -> ProjectDirs
Returns the project directories for the given environment (using %ProgramFiles%, and %ProgramData%) variables.
Sourcefn windows_user_with_env(&self, env: WindowsEnv) -> ProjectDirs
fn windows_user_with_env(&self, env: WindowsEnv) -> ProjectDirs
Returns the project directories for the given environment (using %RoamingAppData%, and %LocalAppData%) variables.
Sourcefn windows_user_local_with_env(&self, env: WindowsEnv) -> ProjectDirs
fn windows_user_local_with_env(&self, env: WindowsEnv) -> ProjectDirs
Returns the project directories for the given environment (using %LocalAppData%) variables.
Returns the project directories for the given environment (using %RoamingAppData%) variables.