pub struct ConfigPaths {
pub root_dir: PathBuf,
pub config_file: PathBuf,
pub playgrounds_dir: PathBuf,
}Fields§
§root_dir: PathBuf§config_file: PathBuf§playgrounds_dir: PathBufImplementations§
Source§impl ConfigPaths
impl ConfigPaths
pub fn from_user_config_dir() -> Result<Self>
pub fn from_root_dir(root_dir: PathBuf) -> Self
Trait Implementations§
Source§impl Clone for ConfigPaths
impl Clone for ConfigPaths
Source§fn clone(&self) -> ConfigPaths
fn clone(&self) -> ConfigPaths
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 ConfigPaths
impl Debug for ConfigPaths
Source§impl PartialEq for ConfigPaths
impl PartialEq for ConfigPaths
impl Eq for ConfigPaths
impl StructuralPartialEq for ConfigPaths
Auto Trait Implementations§
impl Freeze for ConfigPaths
impl RefUnwindSafe for ConfigPaths
impl Send for ConfigPaths
impl Sync for ConfigPaths
impl Unpin for ConfigPaths
impl UnsafeUnpin for ConfigPaths
impl UnwindSafe for ConfigPaths
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