Struct nbuild_core::models::cargo::Dependency
source · pub struct Dependency { /* private fields */ }Expand description
A dependency of a package. This model is used to keep track of renames, optional dependencies,
enabled features, and whether default-features is active or not.
Trait Implementations§
source§impl Clone for Dependency
impl Clone for Dependency
source§fn clone(&self) -> Dependency
fn clone(&self) -> Dependency
Returns a copy of the value. Read more
1.0.0 · 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 Dependency
impl Debug for Dependency
source§impl PartialEq<Dependency> for Dependency
impl PartialEq<Dependency> for Dependency
source§fn eq(&self, other: &Dependency) -> bool
fn eq(&self, other: &Dependency) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for Dependency
Auto Trait Implementations§
impl !RefUnwindSafe for Dependency
impl !Send for Dependency
impl !Sync for Dependency
impl Unpin for Dependency
impl !UnwindSafe for Dependency
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