Skip to main content

derive_deftly_module_NetdocFieldsDeriveCommon

Macro derive_deftly_module_NetdocFieldsDeriveCommon 

Source
macro_rules! derive_deftly_module_NetdocFieldsDeriveCommon {
    (
        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 flattenable network document fields structs

Used by NetdocParseableFields and NetdocEncodableFields.

Importer must also import NetdocSomeItemsDeriveCommon and NetdocDeriveAnyCommon.

This is a derive_deftly reuseable template code module. Do not invoke it directly.