Enum rustc::dep_graph::DepNode
[−]
[src]
pub enum DepNode<D: Clone + Debug> { Krate, Hir(D), HirBody(D), MetaData(D), WorkProduct(Arc<WorkProductId>), CollectLanguageItems, CheckStaticRecursion, ResolveLifetimes, RegionResolveCrate, CheckLoops, PluginRegistrar, StabilityIndex, CollectItem(D), CollectItemSig(D), Coherence, EffectCheck, Liveness, Resolve, EntryPoint, CheckEntryFn, CoherenceCheckTrait(D), CoherenceCheckImpl(D), CoherenceOverlapCheck(D), CoherenceOverlapCheckSpecial(D), CoherenceOverlapInherentCheck(D), CoherenceOrphanCheck(D), Variance, WfCheck(D), TypeckItemType(D), UnusedTraitCheck, CheckConst(D), Privacy, IntrinsicCheck(D), MatchCheck(D), MirKrate, Mir(D), BorrowCheckKrate, BorrowCheck(D), RvalueCheck(D), Reachability, DeadCheck, StabilityCheck(D), LateLintCheck, TransCrate, TransCrateItem(D), TransInlinedItem(D), TransWriteMetadata, LinkBinary, AssociatedItems(D), ItemSignature(D), TypeParamPredicates((D, D)), SizedConstraint(D), AdtDestructor(D), AssociatedItemDefIds(D), InherentImpls(D), TypeckBodiesKrate, TypeckTables(D), UsedTraitImports(D), MonomorphicConstEval(D), TraitImpls(D), TraitItems(D), ReprHints(D), TraitSelect { trait_def_id: D, input_def_id: D, }, ProjectionCache { def_ids: Vec<D>, }, }
rustc_private
)Variants
Krate
rustc_private
)Hir(D)
rustc_private
)HirBody(D)
rustc_private
)MetaData(D)
rustc_private
)WorkProduct(Arc<WorkProductId>)
rustc_private
)CollectLanguageItems
rustc_private
)CheckStaticRecursion
rustc_private
)ResolveLifetimes
rustc_private
)RegionResolveCrate
rustc_private
)CheckLoops
rustc_private
)PluginRegistrar
rustc_private
)StabilityIndex
rustc_private
)CollectItem(D)
rustc_private
)CollectItemSig(D)
rustc_private
)Coherence
rustc_private
)EffectCheck
rustc_private
)Liveness
rustc_private
)Resolve
rustc_private
)EntryPoint
rustc_private
)CheckEntryFn
rustc_private
)CoherenceCheckTrait(D)
rustc_private
)CoherenceCheckImpl(D)
rustc_private
)CoherenceOverlapCheck(D)
rustc_private
)CoherenceOverlapCheckSpecial(D)
rustc_private
)CoherenceOverlapInherentCheck(D)
rustc_private
)CoherenceOrphanCheck(D)
rustc_private
)Variance
rustc_private
)WfCheck(D)
rustc_private
)TypeckItemType(D)
rustc_private
)UnusedTraitCheck
rustc_private
)CheckConst(D)
rustc_private
)Privacy
rustc_private
)IntrinsicCheck(D)
rustc_private
)MatchCheck(D)
rustc_private
)MirKrate
rustc_private
)Mir(D)
rustc_private
)BorrowCheckKrate
rustc_private
)BorrowCheck(D)
rustc_private
)RvalueCheck(D)
rustc_private
)Reachability
rustc_private
)DeadCheck
rustc_private
)StabilityCheck(D)
rustc_private
)LateLintCheck
rustc_private
)TransCrate
rustc_private
)TransCrateItem(D)
rustc_private
)TransInlinedItem(D)
rustc_private
)TransWriteMetadata
rustc_private
)LinkBinary
rustc_private
)AssociatedItems(D)
rustc_private
)ItemSignature(D)
rustc_private
)TypeParamPredicates((D, D))
rustc_private
)SizedConstraint(D)
rustc_private
)AdtDestructor(D)
rustc_private
)AssociatedItemDefIds(D)
rustc_private
)InherentImpls(D)
rustc_private
)TypeckBodiesKrate
rustc_private
)TypeckTables(D)
rustc_private
)UsedTraitImports(D)
rustc_private
)MonomorphicConstEval(D)
rustc_private
)TraitImpls(D)
rustc_private
)TraitItems(D)
rustc_private
)ReprHints(D)
rustc_private
)TraitSelect
rustc_private
)Fields of TraitSelect
trait_def_id: D | 🔬 This is a nightly-only experimental API. ( rustc_private ) |
input_def_id: D | 🔬 This is a nightly-only experimental API. ( rustc_private ) |
ProjectionCache
rustc_private
)Fields of ProjectionCache
def_ids: Vec<D> | 🔬 This is a nightly-only experimental API. ( rustc_private ) |
Methods
impl<D: Clone + Debug> DepNode<D>
[src]
fn from_label_string(label: &str, data: D) -> Result<DepNode<D>, ()>
rustc_private
)Used in testing
fn map_def<E, OP>(&self, op: OP) -> Option<DepNode<E>> where OP: FnMut(&D) -> Option<E>, E: Clone + Debug
rustc_private
)Trait Implementations
impl<D: Clone + Clone + Debug> Clone for DepNode<D>
[src]
fn clone(&self) -> DepNode<D>
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<D: Debug + Clone + Debug> Debug for DepNode<D>
[src]
impl<D: PartialEq + Clone + Debug> PartialEq for DepNode<D>
[src]
fn eq(&self, __arg_0: &DepNode<D>) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &DepNode<D>) -> bool
This method tests for !=
.
impl<D: Eq + Clone + Debug> Eq for DepNode<D>
[src]
impl<D: PartialOrd + Clone + Debug> PartialOrd for DepNode<D>
[src]
fn partial_cmp(&self, __arg_0: &DepNode<D>) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
fn lt(&self, __arg_0: &DepNode<D>) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
fn le(&self, __arg_0: &DepNode<D>) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
fn gt(&self, __arg_0: &DepNode<D>) -> bool
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
fn ge(&self, __arg_0: &DepNode<D>) -> bool
This method tests greater than or equal to (for self
and other
) and is used by the >=
operator. Read more
impl<D: Ord + Clone + Debug> Ord for DepNode<D>
[src]
fn cmp(&self, __arg_0: &DepNode<D>) -> Ordering
This method returns an Ordering
between self
and other
. Read more
impl<D: Hash + Clone + Debug> Hash for DepNode<D>
[src]
fn hash<__HD: Hasher>(&self, __arg_0: &mut __HD)
Feeds this value into the state given, updating the hasher as necessary.
fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasher
1.3.0
Feeds a slice of this type into the state provided.
impl<D: Encodable + Clone + Debug> Encodable for DepNode<D>
[src]
fn encode<__SD: Encoder>(&self, __arg_0: &mut __SD) -> Result<(), __SD::Error>
🔬 This is a nightly-only experimental API. (rustc_private
)
deprecated in favor of rustc-serialize on crates.io