Struct rustc_builtin_macros::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>,
}Expand description
All the data about the data structure/method being derived upon.
Fields
type_ident: IdentExpand description
ident of self
method_ident: IdentExpand description
ident of the method
self_args: &'a [P<Expr>]Expand description
dereferenced access to any Self_ or [Ptr(Self_, _)][ptr] arguments
nonself_args: &'a [P<Expr>]Expand description
verbatim access to any other arguments
fields: &'a SubstructureFields<'a>