pub fn meta(&self) -> Option<MetaItem> {
        match self.kind {
            AttrKind::Normal(ref item) => item.meta(self.span),
            AttrKind::DocComment(comment) =>
                Some(mk_name_value_item_str(Ident::new(sym::doc, self.span), comment, self.span)),
        }
    }
/// Extracts the MetaItem from inside this Attribute.
Extracts the MetaItem from inside this Attribute.
Extracts the MetaItem from inside this Attribute .
pub fn meta(&self) -> Option<MetaItem> {
        match self.kind {
            AttrKind::Normal(ref item) => item.meta(self.span),
            AttrKind::DocComment(comment) =>
                Some(mk_name_value_item_str(Ident::new(sym::doc, self.span), comment, self.span)),
        }
    }
pub fn meta ( & self ) -> Option < MetaItem > { match self . kind { AttrKind :: Normal ( ref item ) => item . meta ( self . span ) , AttrKind :: DocComment ( comment ) => Some ( mk_name_value_item_str ( Ident :: new ( sym :: doc , self . span ) , comment , self . span ) ) , } }
Extracts the MetaItem from inside this Attribute.
Extracts the MetaItem from inside this Attribute .
&self