pub enum ToolPathScope {
Global,
Workspace,
}Variants§
Global
Resolve relative paths from the workspace root, but allow absolute paths and
.. segments to address files outside the workspace.
Workspace
Require every resolved path to stay under the workspace root.
Implementations§
Trait Implementations§
Source§impl Clone for ToolPathScope
impl Clone for ToolPathScope
Source§fn clone(&self) -> ToolPathScope
fn clone(&self) -> ToolPathScope
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 moreimpl Copy for ToolPathScope
Source§impl Debug for ToolPathScope
impl Debug for ToolPathScope
Source§impl Default for ToolPathScope
impl Default for ToolPathScope
Source§fn default() -> ToolPathScope
fn default() -> ToolPathScope
Returns the “default value” for a type. Read more
impl Eq for ToolPathScope
Source§impl PartialEq for ToolPathScope
impl PartialEq for ToolPathScope
Source§fn eq(&self, other: &ToolPathScope) -> bool
fn eq(&self, other: &ToolPathScope) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ToolPathScope
Auto Trait Implementations§
impl Freeze for ToolPathScope
impl RefUnwindSafe for ToolPathScope
impl Send for ToolPathScope
impl Sync for ToolPathScope
impl Unpin for ToolPathScope
impl UnsafeUnpin for ToolPathScope
impl UnwindSafe for ToolPathScope
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,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.