Enum rustc_metadata::middle::cstore::DepKind
[−]
[src]
pub enum DepKind { UnexportedMacrosOnly, MacrosOnly, Implicit, Explicit, }
rustc_private
)Variants
UnexportedMacrosOnly
rustc_private
)A dependency that is only used for its macros, none of which are visible from other crates. These are included in the metadata only as placeholders and are ignored when decoding.
MacrosOnly
rustc_private
)A dependency that is only used for its macros.
Implicit
rustc_private
)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
rustc_private
)A dependency that is required by an rlib version of this crate.
Ordinary extern crate
s result in Explicit
dependencies.
Methods
impl DepKind
[src]
fn macros_only(self) -> bool
rustc_private
)Trait Implementations
impl Decodable for DepKind
[src]
fn decode<__D>(__arg_0: &mut __D) -> Result<DepKind, __D::Error> where __D: Decoder
🔬 This is a nightly-only experimental API. (rustc_private
)
deprecated in favor of rustc-serialize on crates.io
impl PartialOrd<DepKind> for DepKind
[src]
fn partial_cmp(&self, __arg_0: &DepKind) -> Option<Ordering>
rustc_private
)impl PartialEq<DepKind> for DepKind
[src]
fn eq(&self, __arg_0: &DepKind) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0
This method tests for !=
.
impl Clone for DepKind
[src]
fn clone(&self) -> DepKind
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Eq for DepKind
[src]
impl Debug for DepKind
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter.
impl Encodable for DepKind
[src]
fn encode<__S>(&self, __arg_0: &mut __S) -> Result<(), __S::Error> where __S: Encoder
🔬 This is a nightly-only experimental API. (rustc_private
)
deprecated in favor of rustc-serialize on crates.io