pub struct PackageJsonLocation {
pub path: PathBuf,
pub is_root: bool,
pub is_workspace: bool,
pub workspace_pattern: Option<String>,
}Expand description
Location of a discovered package.json file.
Fields§
§path: PathBuf§is_root: bool§is_workspace: bool§workspace_pattern: Option<String>Trait Implementations§
Source§impl Clone for PackageJsonLocation
impl Clone for PackageJsonLocation
Source§fn clone(&self) -> PackageJsonLocation
fn clone(&self) -> PackageJsonLocation
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 PackageJsonLocation
impl RefUnwindSafe for PackageJsonLocation
impl Send for PackageJsonLocation
impl Sync for PackageJsonLocation
impl Unpin for PackageJsonLocation
impl UnsafeUnpin for PackageJsonLocation
impl UnwindSafe for PackageJsonLocation
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