path_ends_with

Function path_ends_with 

Source
fn path_ends_with(path: Option<Path>, name_ref: &NameRef) -> bool
Expand description

Checks if a path ends with the given name reference. Helper function for checking constructor usage patterns.