Windows

Trait Windows 

Source
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§

Source

fn windows_system_with_env(&self, env: WindowsEnv) -> ProjectDirs

Returns the project directories for the given environment (using %ProgramFiles%, and %ProgramData%) variables.

Source

fn windows_user_with_env(&self, env: WindowsEnv) -> ProjectDirs

Returns the project directories for the given environment (using %RoamingAppData%, and %LocalAppData%) variables.

Source

fn windows_user_local_with_env(&self, env: WindowsEnv) -> ProjectDirs

Returns the project directories for the given environment (using %LocalAppData%) variables.

Source

fn windows_user_shared_with_env(&self, env: WindowsEnv) -> ProjectDirs

Returns the project directories for the given environment (using %RoamingAppData%) variables.

Implementors§