Function rustc::metadata::csearch::each_lang_item[src]
pub fn each_lang_item(cstore: &CStore, cnum: CrateNum, f: |NodeId, uint| -> bool) -> bool
Iterates over all the language items in the given crate.
pub fn each_lang_item(cstore: &CStore, cnum: CrateNum, f: |NodeId, uint| -> bool) -> bool
Iterates over all the language items in the given crate.
Prefix searches with a type followed by a colon (e.g.
fn:) to restrict the search to a given type.
Accepted types are: fn, mod,
struct (or str), enum,
trait, typedef (or
tdef).