pub fn as_path(&self) -> Option<&str> {
        match self {
            MetaItem::Path(x) => Some(x.as_str()),
            _ => None,
        }
    }
/// Returns a reference to this meta item as a `&str` or `None` if is not a path.
Returns a reference to this meta item as a `&str` or `None` if is not a path.
Returns a reference to this meta item as a ` &str ` or ` None ` if is not a path .
pub fn as_path(&self) -> Option<&str> {
        match self {
            MetaItem::Path(x) => Some(x.as_str()),
            _ => None,
        }
    }
pub fn as_path ( & self ) -> Option < & str > { match self { MetaItem :: Path ( x ) => Some ( x . as_str ( ) ) , _ => None , } }
Returns a reference to this meta item as a `&str` or `None` if is not a path.
Returns a reference to this meta item as a ` &str ` or ` None ` if is not a path .
&self
&self