pub struct PathResolution { /* private fields */ }Expand description
A recoverable, non-destructive host-path resolution result.
Implementations§
Source§impl PathResolution
impl PathResolution
Sourcepub fn paths(&self) -> &[ResolvedHostPath]
pub fn paths(&self) -> &[ResolvedHostPath]
Returns paths in deterministic project traversal order.
Sourcepub fn diagnostics(&self) -> &[Diagnostic]
pub fn diagnostics(&self) -> &[Diagnostic]
Returns path diagnostics.
Trait Implementations§
Source§impl Clone for PathResolution
impl Clone for PathResolution
Source§fn clone(&self) -> PathResolution
fn clone(&self) -> PathResolution
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 PathResolution
impl Debug for PathResolution
impl Eq for PathResolution
Source§impl PartialEq for PathResolution
impl PartialEq for PathResolution
impl StructuralPartialEq for PathResolution
Auto Trait Implementations§
impl Freeze for PathResolution
impl RefUnwindSafe for PathResolution
impl Send for PathResolution
impl Sync for PathResolution
impl Unpin for PathResolution
impl UnsafeUnpin for PathResolution
impl UnwindSafe for PathResolution
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