Enum guppy::DependencyKind
source · pub enum DependencyKind {
Normal,
Development,
Build,
}
Expand description
A descriptor for the kind of dependency.
Cargo dependencies may be one of three kinds.
Variants§
Normal
Normal dependencies.
These are specified in the [dependencies]
section.
Development
Dependencies used for development only.
These are specified in the [dev-dependencies]
section, and are used for tests,
benchmarks and similar.
Build
Dependencies used for build scripts.
These are specified in the [build-dependencies]
section.
Implementations§
Trait Implementations§
source§impl Clone for DependencyKind
impl Clone for DependencyKind
source§fn clone(&self) -> DependencyKind
fn clone(&self) -> DependencyKind
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 DependencyKind
impl Debug for DependencyKind
source§impl Display for DependencyKind
impl Display for DependencyKind
source§impl Hash for DependencyKind
impl Hash for DependencyKind
source§impl PartialEq for DependencyKind
impl PartialEq for DependencyKind
impl Copy for DependencyKind
impl Eq for DependencyKind
impl StructuralPartialEq for DependencyKind
Auto Trait Implementations§
impl Freeze for DependencyKind
impl RefUnwindSafe for DependencyKind
impl Send for DependencyKind
impl Sync for DependencyKind
impl Unpin for DependencyKind
impl UnwindSafe for DependencyKind
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,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)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.