[−][src]Enum rustc_middle::middle::cstore::CrateDepKind

pub enum CrateDepKind {
    MacrosOnly,
    Implicit,
    Explicit,
}

Variants

MacrosOnly

A dependency that is only used for its macros.

Implicit

A dependency that is always injected into the dependency list and so doesn't need to be linked to an rlib, e.g., the injected allocator.

Explicit

A dependency that is required by an rlib version of this crate. Ordinary extern crates result in Explicit dependencies.

Implementations

impl CrateDepKind[src]

pub fn macros_only(self) -> bool[src]

Trait Implementations

impl Clone for CrateDepKind[src]

impl Copy for CrateDepKind[src]

impl Debug for CrateDepKind[src]

impl<__D: Decoder> Decodable<__D> for CrateDepKind[src]

impl<__E: Encoder> Encodable<__E> for CrateDepKind[src]

impl Eq for CrateDepKind[src]

impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for CrateDepKind[src]

impl Ord for CrateDepKind[src]

impl PartialEq<CrateDepKind> for CrateDepKind[src]

impl PartialOrd<CrateDepKind> for CrateDepKind[src]

impl StructuralEq for CrateDepKind[src]

impl StructuralPartialEq for CrateDepKind[src]

Auto Trait Implementations

impl RefUnwindSafe for CrateDepKind

impl Send for CrateDepKind

impl Sync for CrateDepKind

impl Unpin for CrateDepKind

impl UnwindSafe for CrateDepKind

Blanket Implementations

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

impl<'tcx, T> ArenaAllocatable<'tcx, ()> for T where
    T: Copy, 
[src]

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

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

impl<'a, T> Captures<'a> 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> MaybeResult<T> for T[src]

type Error = !

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