Function syntax::ast_util::view_path_id[src]
pub fn view_path_id(p: &ViewPath) -> NodeId
pub fn view_path_id(p: &ViewPath) -> NodeId
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).