#[non_exhaustive]pub struct ProjectLocator { /* private fields */ }Expand description
Where Cargo project discovery begins.
The default starts at the process working directory. An explicit path may name a directory
inside a project or its Cargo.toml manifest.
Implementations§
Source§impl ProjectLocator
impl ProjectLocator
Trait Implementations§
Source§impl Clone for ProjectLocator
impl Clone for ProjectLocator
Source§fn clone(&self) -> ProjectLocator
fn clone(&self) -> ProjectLocator
Returns a copy 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 ProjectLocator
impl Debug for ProjectLocator
Source§impl Default for ProjectLocator
impl Default for ProjectLocator
Source§fn default() -> ProjectLocator
fn default() -> ProjectLocator
Returns the “default value” for a type. Read more
Source§impl From<&Path> for ProjectLocator
impl From<&Path> for ProjectLocator
Source§impl From<PathBuf> for ProjectLocator
impl From<PathBuf> for ProjectLocator
Source§impl Hash for ProjectLocator
impl Hash for ProjectLocator
Source§impl PartialEq for ProjectLocator
impl PartialEq for ProjectLocator
impl Eq for ProjectLocator
impl StructuralPartialEq for ProjectLocator
Auto Trait Implementations§
impl Freeze for ProjectLocator
impl RefUnwindSafe for ProjectLocator
impl Send for ProjectLocator
impl Sync for ProjectLocator
impl Unpin for ProjectLocator
impl UnwindSafe for ProjectLocator
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.