Function clippy::utils::match_trait_method [] [src]

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

check if method call given in "expr" belongs to given trait