matches_path

Function matches_path 

Source
pub fn matches_path(path: &Path, expect: &[&str]) -> bool
Expand description

Determine if the trailing segments of a syn::Path match the expected identifiers.