pub struct IxchelPaths { /* private fields */ }Implementations§
Source§impl IxchelPaths
impl IxchelPaths
pub const fn new(repo_root: PathBuf) -> Self
pub fn repo_root(&self) -> &Path
pub fn ixchel_dir(&self) -> PathBuf
pub fn config_path(&self) -> PathBuf
pub fn data_dir(&self) -> PathBuf
pub fn kind_dir(&self, kind: EntityKind) -> PathBuf
pub fn entity_path(&self, id: &str) -> Option<PathBuf>
pub fn ensure_layout(&self) -> Result<()>
Trait Implementations§
Source§impl Clone for IxchelPaths
impl Clone for IxchelPaths
Source§fn clone(&self) -> IxchelPaths
fn clone(&self) -> IxchelPaths
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 moreAuto Trait Implementations§
impl Freeze for IxchelPaths
impl RefUnwindSafe for IxchelPaths
impl Send for IxchelPaths
impl Sync for IxchelPaths
impl Unpin for IxchelPaths
impl UnwindSafe for IxchelPaths
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