Struct cargo::core::compiler::unit_dependencies::UnitDep[][src]

pub struct UnitDep<'a> {
    pub unit: Unit<'a>,
    pub unit_for: UnitFor,
    pub extern_crate_name: InternedString,
    pub public: bool,
}

A unit dependency.

Fields

unit: Unit<'a>

The dependency unit.

unit_for: UnitFor

The purpose of this dependency (a dependency for a test, or a build script, etc.).

extern_crate_name: InternedString

The name the parent uses to refer to this dependency.

public: bool

Whether or not this is a public dependency.

Trait Implementations

impl<'a> Clone for UnitDep<'a>[src]

impl<'a> Debug for UnitDep<'a>[src]

impl<'a> Eq for UnitDep<'a>[src]

impl<'a> Hash for UnitDep<'a>[src]

impl<'a> Ord for UnitDep<'a>[src]

impl<'a> PartialEq<UnitDep<'a>> for UnitDep<'a>[src]

impl<'a> PartialOrd<UnitDep<'a>> for UnitDep<'a>[src]

impl<'a> StructuralEq for UnitDep<'a>[src]

impl<'a> StructuralPartialEq for UnitDep<'a>[src]

Auto Trait Implementations

impl<'a> !RefUnwindSafe for UnitDep<'a>

impl<'a> !Send for UnitDep<'a>

impl<'a> !Sync for UnitDep<'a>

impl<'a> Unpin for UnitDep<'a>

impl<'a> !UnwindSafe for UnitDep<'a>

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<T> From<T> for T[src]

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

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

type Output = T

Should always be Self

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

type Owned = T

The resulting type after obtaining ownership.

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>, 
[src]