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

pub struct VariantArg {
    pub ty: P<Ty>,
    pub id: NodeId,
}

Fields

ty
id

Trait Implementations

Derived Implementations

impl Debug for VariantArg

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

impl Hash for VariantArg

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

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

impl Decodable for VariantArg

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

impl Encodable for VariantArg

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

impl Eq for VariantArg

fn assert_receiver_is_total_eq(&self)

impl PartialEq for VariantArg

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

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

impl Clone for VariantArg

fn clone(&self) -> VariantArg

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