Enum syntax::ast::MetaItem_Unstable [-] [+] [src]

pub enum MetaItem_ {
    MetaWord(InternedString),
    MetaList(InternedString, Vec<P<MetaItem>>),
    MetaNameValue(InternedString, Lit),
}

Variants

MetaWord
MetaList
MetaNameValue

Trait Implementations

impl PartialEq for MetaItem_

fn eq(&self, other: &MetaItem_) -> bool

fn ne(&self, other: &Rhs) -> bool

Derived Implementations

impl Debug for MetaItem_

fn fmt(&self, __arg_0: &mut Formatter) -> Result

impl Hash for MetaItem_

fn hash<__H: Hasher>(&self, __arg_0: &mut __H)

fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasher

impl Decodable for MetaItem_

fn decode<__D: Decoder>(__arg_0: &mut __D) -> Result<MetaItem_, Error>

impl Encodable for MetaItem_

fn encode<__S: Encoder>(&self, __arg_0: &mut __S) -> Result<(), Error>

impl Eq for MetaItem_

fn assert_receiver_is_total_eq(&self)

impl Clone for MetaItem_

fn clone(&self) -> MetaItem_

fn clone_from(&mut self, source: &Self)