Function rustdoc::clean::resolve[][src]

fn resolve(
    cx: &DocContext,
    path_str: &str,
    is_val: bool
) -> Result<(Def, Option<String>), ()>

Resolve a given string as a path, along with whether or not it is in the value namespace. Also returns an optional URL fragment in the case of variants and methods