Function rustc::metadata::csearch::each_top_level_item_of_crate[src]
pub fn each_top_level_item_of_crate(cstore: &CStore, cnum: CrateNum, callback: |DefLike, Ident, Visibility|)
Iterates over each top-level crate item.
pub fn each_top_level_item_of_crate(cstore: &CStore, cnum: CrateNum, callback: |DefLike, Ident, Visibility|)
Iterates over each top-level crate item.
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).