pub fn as_name_value(&self) -> Option<&NameValue> {
        match self {
            MetaItem::NameValue(x) => Some(x),
            _ => None,
        }
    }
/// Returns a reference to this meta item as a `NameValue` or `None` if is not a name-value pair.
Returns a reference to this meta item as a `NameValue` or `None` if is not a name-value pair.
Returns a reference to this meta item as a ` NameValue ` or ` None ` if is not a name - value pair .
pub fn as_name_value(&self) -> Option<&NameValue> {
        match self {
            MetaItem::NameValue(x) => Some(x),
            _ => None,
        }
    }
pub fn as_name_value ( & self ) -> Option < & NameValue > { match self { MetaItem :: NameValue ( x ) => Some ( x ) , _ => None , } }
Returns a reference to this meta item as a `NameValue` or `None` if is not a name-value pair.
Returns a reference to this meta item as a ` NameValue ` or ` None ` if is not a name - value pair .
&self
&self