pub struct ProjectRoot {
pub root: PathBuf,
pub source: ProjectRootSource,
}Expand description
The resolved project root and how it was found.
Fields§
§root: PathBufThe directory that directly contains (or should contain) .tracevault/.
source: ProjectRootSourceHow the root was discovered.
Trait Implementations§
Source§impl Clone for ProjectRoot
impl Clone for ProjectRoot
Source§fn clone(&self) -> ProjectRoot
fn clone(&self) -> ProjectRoot
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 ProjectRoot
impl Debug for ProjectRoot
Source§impl PartialEq for ProjectRoot
impl PartialEq for ProjectRoot
Source§fn eq(&self, other: &ProjectRoot) -> bool
fn eq(&self, other: &ProjectRoot) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ProjectRoot
Auto Trait Implementations§
impl Freeze for ProjectRoot
impl RefUnwindSafe for ProjectRoot
impl Send for ProjectRoot
impl Sync for ProjectRoot
impl Unpin for ProjectRoot
impl UnsafeUnpin for ProjectRoot
impl UnwindSafe for ProjectRoot
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