[−][src]Module rustc::traits::specialization_graph
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
Structs
Ancestors |
[ Experimental ]
|
Graph |
[ Experimental ] A per-trait graph of impls in specialization order. At the moment, this graph forms a tree rooted with the trait itself, with all other nodes representing impls, and parent-child relationships representing specializations. |
NodeItem |
[ Experimental ]
|
Enums
Node |
[ Experimental ] A node in the specialization graph is either an impl or a trait definition; either can serve as a source of item definitions. There is always exactly one trait definition node: the root. |
Functions
ancestors |
[ Experimental ] Walk up the specialization ancestors of a given impl, starting with that impl itself. |