Skip to main content

path_ends_with

Function path_ends_with 

Source
pub fn path_ends_with(expression: &Expr, suffix: &str) -> bool
Expand description

Whether a Rust path expression ends with the given suffix. Rust 路径表达式是否以给定后缀结尾。