Skip to main content

identifier_matches

Function identifier_matches 

Source
pub(super) fn identifier_matches(pattern: &str, identifier: &Identifier) -> bool
Expand description

Matches pattern against a whole identifier or, when it carries no namespace, against its namespace and its path separately.