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