Function clippy_lints::utils::get_trait_def_id [] [src]

pub fn get_trait_def_id(cx: &LateContext, path: &[&str]) -> Option<DefId>

Convenience function to get the DefId of a trait by path.