Struct syntex_syntax::ast::EnumDef [] [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, __D::Error>

impl Encodable for EnumDef

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

impl Eq for EnumDef

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)