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