pub struct ResolvedMutationPath { /* private fields */ }Expand description
Verified existing or prospective workspace mutation target.
Implementations§
Source§impl ResolvedMutationPath
impl ResolvedMutationPath
Sourcepub fn display_path(&self) -> &str
pub fn display_path(&self) -> &str
Returns the normalized workspace-relative path safe for model/UI output.
Sourcepub fn host_path(&self) -> &Path
pub fn host_path(&self) -> &Path
Returns the verified contained host path.
For prospective targets this path is formed by appending unresolved components to the canonical nearest existing parent.
Sourcepub const fn target_existed_at_resolution(&self) -> bool
pub const fn target_existed_at_resolution(&self) -> bool
Reports whether the final target existed when this value was resolved.
Trait Implementations§
Source§impl Clone for ResolvedMutationPath
impl Clone for ResolvedMutationPath
Source§impl Debug for ResolvedMutationPath
impl Debug for ResolvedMutationPath
impl Eq for ResolvedMutationPath
Source§impl PartialEq for ResolvedMutationPath
impl PartialEq for ResolvedMutationPath
impl StructuralPartialEq for ResolvedMutationPath
Auto Trait Implementations§
impl Freeze for ResolvedMutationPath
impl RefUnwindSafe for ResolvedMutationPath
impl Send for ResolvedMutationPath
impl Sync for ResolvedMutationPath
impl Unpin for ResolvedMutationPath
impl UnsafeUnpin for ResolvedMutationPath
impl UnwindSafe for ResolvedMutationPath
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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.