pub fn path_matching_ident(path: &Path, str: impl Str) -> bool
Checks if a given Path consists of a single identifier same as given string.
Path