pub fn desc_kind(&self) -> String {
        match *self {
            Def2::Node(x) => x.poll().unwrap().desc_kind(),
            Def2::Lib(x) => x.desc_kind(),
            Def2::Pkg(x) => x.poll().unwrap().desc_kind(),
            Def2::Type(x) => x.poll().unwrap().desc_kind(),
            Def2::Enum(x) => x.0.poll().unwrap().desc_kind(),
            Def2::Unit(x) => x.0.poll().unwrap().desc_kind(),
        }
    }
/// Describe the kind of node the definition points to.
// TODO: Implement the entire `Node` trait here.
Describe the kind of node the definition points to.
TODO: Implement the entire `Node` trait here.
Describe the kind of node the definition points to . TODO : Implement the entire ` Node ` trait here .
pub fn desc_kind(&self) -> String {
        match *self {
            Def2::Node(x) => x.poll().unwrap().desc_kind(),
            Def2::Lib(x) => x.desc_kind(),
            Def2::Pkg(x) => x.poll().unwrap().desc_kind(),
            Def2::Type(x) => x.poll().unwrap().desc_kind(),
            Def2::Enum(x) => x.0.poll().unwrap().desc_kind(),
            Def2::Unit(x) => x.0.poll().unwrap().desc_kind(),
        }
    }
pub fn desc_kind ( & self ) -> String { match * self { Def2 :: Node ( x ) => x . poll ( ) . unwrap ( ) . desc_kind ( ) , Def2 :: Lib ( x ) => x . desc_kind ( ) , Def2 :: Pkg ( x ) => x . poll ( ) . unwrap ( ) . desc_kind ( ) , Def2 :: Type ( x ) => x . poll ( ) . unwrap ( ) . desc_kind ( ) , Def2 :: Enum ( x ) => x . 0 . poll ( ) . unwrap ( ) . desc_kind ( ) , Def2 :: Unit ( x ) => x . 0 . poll ( ) . unwrap ( ) . desc_kind ( ) , } }
Describe the kind of node the definition points to.
Describe the kind of node the definition points to .
&self
&self