pub enum InvocationLocation {
Root(AbsPathBuf),
Workspace,
}
Variants
Root(AbsPathBuf)
Workspace
Trait Implementations
sourceimpl Clone for InvocationLocation
impl Clone for InvocationLocation
sourcefn clone(&self) -> InvocationLocation
fn clone(&self) -> InvocationLocation
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for InvocationLocation
impl Debug for InvocationLocation
sourceimpl Default for InvocationLocation
impl Default for InvocationLocation
sourcefn default() -> InvocationLocation
fn default() -> InvocationLocation
Returns the “default value” for a type. Read more
sourceimpl PartialEq<InvocationLocation> for InvocationLocation
impl PartialEq<InvocationLocation> for InvocationLocation
sourcefn eq(&self, other: &InvocationLocation) -> bool
fn eq(&self, other: &InvocationLocation) -> bool
impl Eq for InvocationLocation
impl StructuralEq for InvocationLocation
impl StructuralPartialEq for InvocationLocation
Auto Trait Implementations
impl RefUnwindSafe for InvocationLocation
impl Send for InvocationLocation
impl Sync for InvocationLocation
impl Unpin for InvocationLocation
impl UnwindSafe for InvocationLocation
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.