Function clippy_lints::utils::match_trait_method [] [src]

pub fn match_trait_method(cx: &LateContext, expr: &Expr, path: &[&str]) -> bool

Check if the method call given in expr belongs to given trait.