pub struct PathDepCrate {
pub crate_name: String,
pub src_dir: PathBuf,
}Expand description
One path-dep crate as the dev loop sees it.
Fields§
§crate_name: StringRustc-style crate name (hyphens → underscores). This matches
the key the whisker-rustc-shim writes into its capture cache.
src_dir: PathBufAbsolute path to the crate’s src/ directory. Used as a
watch root and as a prefix for “which crate did this path
come from?” lookups.
Trait Implementations§
Source§impl Clone for PathDepCrate
impl Clone for PathDepCrate
Source§fn clone(&self) -> PathDepCrate
fn clone(&self) -> PathDepCrate
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 PathDepCrate
impl Debug for PathDepCrate
impl Eq for PathDepCrate
Source§impl PartialEq for PathDepCrate
impl PartialEq for PathDepCrate
Source§fn eq(&self, other: &PathDepCrate) -> bool
fn eq(&self, other: &PathDepCrate) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PathDepCrate
Auto Trait Implementations§
impl Freeze for PathDepCrate
impl RefUnwindSafe for PathDepCrate
impl Send for PathDepCrate
impl Sync for PathDepCrate
impl Unpin for PathDepCrate
impl UnsafeUnpin for PathDepCrate
impl UnwindSafe for PathDepCrate
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.