pub struct ResolvedDep {
pub module: String,
}Expand description
A resolved external module artifact (a library) — reserved (#1093).
Empty in v1: external libraries are not on the roadmap. The slot exists so
that when they arrive, dependency resolution (ambient + pinned, on the
producer side, à la Cargo.lock) freezes its resolved set into the
Environment, keeping compilation pure. the-tree-is-the-universe
generalizes to the-environment-is-the-universe:
{ local module tree } + { resolved external module set }.
Fields§
§module: StringThe stable (module, name)-style identity of the resolved artifact.
A placeholder field so the reserved struct is nameable and
round-trippable; its shape is defined when #1093 is built.
Trait Implementations§
Source§impl Clone for ResolvedDep
impl Clone for ResolvedDep
Source§fn clone(&self) -> ResolvedDep
fn clone(&self) -> ResolvedDep
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 ResolvedDep
impl Debug for ResolvedDep
Source§impl<'de> Deserialize<'de> for ResolvedDep
impl<'de> Deserialize<'de> for ResolvedDep
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for ResolvedDep
Source§impl PartialEq for ResolvedDep
impl PartialEq for ResolvedDep
Source§impl Serialize for ResolvedDep
impl Serialize for ResolvedDep
impl StructuralPartialEq for ResolvedDep
Auto Trait Implementations§
impl Freeze for ResolvedDep
impl RefUnwindSafe for ResolvedDep
impl Send for ResolvedDep
impl Sync for ResolvedDep
impl Unpin for ResolvedDep
impl UnsafeUnpin for ResolvedDep
impl UnwindSafe for ResolvedDep
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.