Struct syntax::ast::EnumDefUnstable [-] [+] [src]

pub struct EnumDef {
    pub variants: Vec<P<Variant>>,
}

Fields

variants

Trait Implementations

Derived Implementations

impl Debug for EnumDef

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

impl Hash for EnumDef

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

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

impl Decodable for EnumDef

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

impl Encodable for EnumDef

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

impl Eq for EnumDef

fn assert_receiver_is_total_eq(&self)

impl PartialEq for EnumDef

fn eq(&self, __arg_0: &EnumDef) -> bool

fn ne(&self, __arg_0: &EnumDef) -> bool

impl Clone for EnumDef

fn clone(&self) -> EnumDef

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