pub struct WindowsEnv {
pub program_files: Option<PathBuf>,
pub program_data: Option<PathBuf>,
pub roaming_app_data: Option<PathBuf>,
pub local_app_data: Option<PathBuf>,
}
Expand description
Environment variables for Windows
trait.
Fields§
§program_files: Option<PathBuf>
§program_data: Option<PathBuf>
§roaming_app_data: Option<PathBuf>
§local_app_data: Option<PathBuf>
Implementations§
Trait Implementations§
Source§impl Clone for WindowsEnv
impl Clone for WindowsEnv
Source§fn clone(&self) -> WindowsEnv
fn clone(&self) -> WindowsEnv
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for WindowsEnv
impl Debug for WindowsEnv
Source§impl Default for WindowsEnv
impl Default for WindowsEnv
Source§fn default() -> WindowsEnv
fn default() -> WindowsEnv
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for WindowsEnv
impl RefUnwindSafe for WindowsEnv
impl Send for WindowsEnv
impl Sync for WindowsEnv
impl Unpin for WindowsEnv
impl UnwindSafe for WindowsEnv
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