pub struct ConfigRoots {
pub home: Option<PathBuf>,
pub work: PathBuf,
}Expand description
Central and working config roots.
Fields§
§home: Option<PathBuf>Central user config root, if one can be derived from the environment.
work: PathBufWorking config root.
Implementations§
Trait Implementations§
Source§impl Clone for ConfigRoots
impl Clone for ConfigRoots
Source§fn clone(&self) -> ConfigRoots
fn clone(&self) -> ConfigRoots
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ConfigRoots
impl Debug for ConfigRoots
impl Eq for ConfigRoots
Source§impl PartialEq for ConfigRoots
impl PartialEq for ConfigRoots
impl StructuralPartialEq for ConfigRoots
Auto Trait Implementations§
impl Freeze for ConfigRoots
impl RefUnwindSafe for ConfigRoots
impl Send for ConfigRoots
impl Sync for ConfigRoots
impl Unpin for ConfigRoots
impl UnsafeUnpin for ConfigRoots
impl UnwindSafe for ConfigRoots
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