pub struct ProjectInfo {
pub root: PathBuf,
pub bird_dir: PathBuf,
pub db_path: PathBuf,
}Expand description
Result of project detection.
Fields§
§root: PathBufRoot directory of the project (contains .bird/).
bird_dir: PathBufPath to the .bird/ directory.
db_path: PathBufPath to the project database.
Implementations§
Source§impl ProjectInfo
impl ProjectInfo
Trait Implementations§
Source§impl Clone for ProjectInfo
impl Clone for ProjectInfo
Source§fn clone(&self) -> ProjectInfo
fn clone(&self) -> ProjectInfo
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 ProjectInfo
impl RefUnwindSafe for ProjectInfo
impl Send for ProjectInfo
impl Sync for ProjectInfo
impl Unpin for ProjectInfo
impl UnsafeUnpin for ProjectInfo
impl UnwindSafe for ProjectInfo
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