Struct syntex_syntax::ext::deriving::generic::Substructure [] [src]

pub struct Substructure<'a> {
    pub type_ident: Ident,
    pub method_ident: Ident,
    pub self_args: &'a [P<Expr>],
    pub nonself_args: &'a [P<Expr>],
    pub fields: &'a SubstructureFields<'a>,
}

All the data about the data structure/method being derived upon.

Fields

type_ident

ident of self

method_ident

ident of the method

self_args

dereferenced access to any Self_ or Ptr(Self_, _) arguments

nonself_args

verbatim access to any other arguments

fields