/// Converts this meta item into a `Lit` or `None` if is not a literal.
Converts this meta item into a `Lit` or `None` if is not a literal.
Converts this meta item into a ` Lit ` or ` None ` if is not a literal .
pub fn into_literal(self) -> Option<Lit> {
        match self {
            MetaItem::Literal(x) => Some(x),
            _ => None,
        }
    }
pub fn into_literal ( self ) -> Option < Lit > { match self { MetaItem :: Literal ( x ) => Some ( x ) , _ => None , } }
Converts this meta item into a `Lit` or `None` if is not a literal.
Converts this meta item into a ` Lit ` or ` None ` if is not a literal .
self