Struct cargo::core::dependency::Artifact
source · pub struct Artifact { /* private fields */ }
Expand description
The presence of an artifact turns an ordinary dependency into an Artifact dependency. As such, it will build one or more different artifacts of possibly various kinds for making them available at build time for rustc invocations or runtime for build scripts.
This information represents a requirement in the package this dependency refers to.
Trait Implementations§
source§impl PartialEq for Artifact
impl PartialEq for Artifact
impl Eq for Artifact
impl StructuralPartialEq for Artifact
Auto Trait Implementations§
impl RefUnwindSafe for Artifact
impl !Send for Artifact
impl !Sync for Artifact
impl Unpin for Artifact
impl UnwindSafe for Artifact
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.