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
impl Eq for Artifact
impl StructuralEq 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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to key
and return true
if they are equal.