pub fn is_impl(&self, id: DefId) -> bool {
        if id.is_local() {
            if let Some(ast_map::NodeItem(
                &hir::Item { node: hir::ItemImpl(..), .. })) = self.map.find(id.node) {
                true
            } else {
                false
            }
        } else {
            csearch::is_impl(&self.sess.cstore, id)
        }
    }
/// Returns whether this DefId refers to an impl
Returns whether this DefId refers to an impl
Returns whether this DefId refers to an impl
pub fn is_impl(&self, id: DefId) -> bool {
        if id.is_local() {
            if let Some(ast_map::NodeItem(
                &hir::Item { node: hir::ItemImpl(..), .. })) = self.map.find(id.node) {
                true
            } else {
                false
            }
        } else {
            csearch::is_impl(&self.sess.cstore, id)
        }
    }
pub fn is_impl ( & self , id : DefId ) -> bool { if id . is_local ( ) { if let Some ( ast_map :: NodeItem ( & hir :: Item { node : hir :: ItemImpl ( .. ) , .. } ) ) = self . map . find ( id . node ) { true } else { false } } else { csearch :: is_impl ( & self . sess . cstore , id ) } }
Returns whether this DefId refers to an impl
Returns whether this DefId refers to an impl
&self
id
DefId
&self
id
DefId