Struct rustc::middle::stability::Index[src]
pub struct Index {
// some fields omitted
}A stability index, giving the stability level for items and methods.
Methods
impl Index
fn build(krate: &Crate) -> Index
Construct the stability index for a crate being compiled.
fn lookup(&mut self, cstore: &CStore, id: DefId) -> Option<Stability>
Lookup the stability for a node, loading external crate metadata as necessary.
fn lookup_local(&self, id: NodeId) -> Option<Stability>
Lookup the stability for a local node without loading any external crates