pub struct NormalizedProjectPath { /* private fields */ }Expand description
Successful normalization result with deterministic canonical path.
Implementations§
Source§impl NormalizedProjectPath
impl NormalizedProjectPath
Sourcepub fn canonical_path(&self) -> &Path
pub fn canonical_path(&self) -> &Path
Canonical path for this project root.
Sourcepub fn canonical_root(&self) -> &Path
pub fn canonical_root(&self) -> &Path
Canonical project root used for containment checks.
Sourcepub fn used_alias_prefix(&self) -> bool
pub fn used_alias_prefix(&self) -> bool
Whether the input path used the alias prefix (for example /dp).
Sourcepub fn decision_trace(&self) -> &[NormalizationDecision]
pub fn decision_trace(&self) -> &[NormalizationDecision]
Structured decision trace for diagnostics.
Trait Implementations§
Source§impl Clone for NormalizedProjectPath
impl Clone for NormalizedProjectPath
Source§fn clone(&self) -> NormalizedProjectPath
fn clone(&self) -> NormalizedProjectPath
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 NormalizedProjectPath
impl Debug for NormalizedProjectPath
Source§impl PartialEq for NormalizedProjectPath
impl PartialEq for NormalizedProjectPath
Source§fn eq(&self, other: &NormalizedProjectPath) -> bool
fn eq(&self, other: &NormalizedProjectPath) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for NormalizedProjectPath
impl StructuralPartialEq for NormalizedProjectPath
Auto Trait Implementations§
impl Freeze for NormalizedProjectPath
impl RefUnwindSafe for NormalizedProjectPath
impl Send for NormalizedProjectPath
impl Sync for NormalizedProjectPath
impl Unpin for NormalizedProjectPath
impl UnsafeUnpin for NormalizedProjectPath
impl UnwindSafe for NormalizedProjectPath
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.