Skip to main content

find_def

Function find_def 

Source
pub fn find_def(krate: CrateNum, name: &str) -> Option<DefSpec>
Expand description

Look up a def by name, in the given crate’s namespace first, then the builtin namespace.