Enum guppy::DependencyKind[][src]

pub enum DependencyKind {
    Normal,
    Development,
    Build,
}

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

impl DependencyKind[src]

pub fn to_str(self) -> &'static str[src]

Returns a string representing the kind of dependency this is.

Trait Implementations

impl Clone for DependencyKind[src]

impl Copy for DependencyKind[src]

impl Debug for DependencyKind[src]

impl Display for DependencyKind[src]

impl Eq for DependencyKind[src]

impl Hash for DependencyKind[src]

impl PartialEq<DependencyKind> for DependencyKind[src]

impl StructuralEq for DependencyKind[src]

impl StructuralPartialEq for DependencyKind[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<'a, T> DefaultFeatures<'a> for T where
    T: 'a + Clone + Send + Sync
[src]

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<'a, T> NonSyncFeatures<'a> for T where
    T: 'a + Clone
[src]

impl<T> Pointable for T

type Init = T

The type for initializers.

impl<T> SafeBorrow<T> for T where
    T: ?Sized
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,