Enum cargo_metadata::DependencyKind
source · pub enum DependencyKind {
Normal,
Development,
Build,
// some variants omitted
}
Expand description
Dependencies can come in three kinds
Variants§
Normal
The ‘normal’ kind
Development
Those used in tests only
Build
Those used in build scripts only
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 Default for DependencyKind
impl Default for DependencyKind
source§fn default() -> DependencyKind
fn default() -> DependencyKind
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for DependencyKind
impl<'de> Deserialize<'de> for DependencyKind
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
source§impl Display for DependencyKind
impl Display for DependencyKind
source§impl Hash for DependencyKind
impl Hash for DependencyKind
source§impl PartialEq<DependencyKind> for DependencyKind
impl PartialEq<DependencyKind> for DependencyKind
source§fn eq(&self, other: &DependencyKind) -> bool
fn eq(&self, other: &DependencyKind) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.