/// Finds the `doc` attribute as a NameValue and returns the corresponding
/// value found.
Finds the `doc` attribute as a NameValue and returns the corresponding
value found.
Finds the ` doc ` attribute as a NameValue and returns the corresponding value found .
pub fn doc_value<'a>(&'a self) -> Option<&'a str> {
        for attr in &self.attrs {
            match *attr {
                NameValue(ref x, ref v) if "doc" == *x => {
                    return Some(v);
                }
                _ => {}
            }
        }
        return None;
    }
pub fn doc_value < ' a > ( & ' a self ) -> Option < & ' a str > { for attr in & self . attrs { match * attr { NameValue ( ref x , ref v ) if " " == * x => { return Some ( v ) ; } _ => { } } } return None ; }
Finds the `doc` attribute as a NameValue and returns the corresponding
value found.
Finds the ` doc ` attribute as a NameValue and returns the corresponding value found .
&'a self