Function clippy::utils::match_type
[−]
[src]
pub fn match_type(cx: &LateContext, ty: Ty, path: &[&str]) -> bool
check if type is struct or enum type with given def path