macro_rules! derive_deftly_module_NetdocSomeItemsDeriveCommon {
(
via_modules[{ $($our_opts:tt)* } $next_macro:path { $($next_opts:tt)*
} $($rest:tt)*] { $($predefs:tt)* } { $($main:tt)* } ($($extra:tt)*)
$($ignored:tt)*
) => { ... };
($($wrong:tt)*) => { ... };
}Expand description
Common definitions for derives of structs containing items
Used by NetdocParseable, NetdocParseableFields,
NetdocEncodable and NetdocEncodableFields.
Importing template must define these:
-
F_INTRO,F_SUBDOC,F_SIGNATUREconditions for the fundamental field kinds which aren’t supported everywhere.The
F_FLATTEN,F_SKIP,F_NORMALfield type conditions are defined here.
Importer must also import NetdocDeriveAnyCommon.
This is a derive_deftly reuseable template code module.
Do not invoke it directly.