[src]

Struct syntax::ast::Arg

pub struct Arg {
    ty: P<Ty>,
    pat: @Pat,
    id: NodeId,
}

Fields

ty
pat
id

Methods

impl Arg

fn new_self(span: Span, mutability: Mutability) -> Arg

Trait Implementations

Derived Implementations

impl<__S: Writer> Hash<__S> for Arg

fn hash(&self, __arg_0: &mut __S)

impl<__D: Decoder<__E>, __E> Decodable<__D, __E> for Arg

fn decode(__arg_0: &mut __D) -> Result<Arg, __E>

impl<__S: Encoder<__E>, __E> Encodable<__S, __E> for Arg

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

impl TotalEq for Arg

fn assert_receiver_is_total_eq(&self)

impl Eq for Arg

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

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

impl Clone for Arg

fn clone(&self) -> Arg