pub struct RelativeDir;Implementations§
Source§impl RelativeDir
impl RelativeDir
pub const PROGRAM_FILES_64: &'static str = "%ProgramFiles%"
pub const PROGRAM_FILES_32: &'static str = "%ProgramFiles(x86)%"
pub const COMMON_FILES_64: &'static str = "%CommonProgramFiles%"
pub const COMMON_FILES_32: &'static str = "%CommonProgramFiles(x86)%"
pub const LOCAL_APP_DATA: &'static str = "%LocalAppData%"
pub const APP_DATA: &'static str = "%AppData%"
pub const PROGRAM_DATA: &'static str = "%ProgramData%"
pub const WINDOWS_DIR: &'static str = "%WinDir%"
pub const SYSTEM_ROOT: &'static str = "%SystemRoot%"
pub const SYSTEM_DRIVE: &'static str = "%SystemDrive%"
pub const TEMP_FOLDER: &'static str = "%Temp%"
Auto Trait Implementations§
impl Freeze for RelativeDir
impl RefUnwindSafe for RelativeDir
impl Send for RelativeDir
impl Sync for RelativeDir
impl Unpin for RelativeDir
impl UnwindSafe for RelativeDir
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> 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