fn decode_static_fields<F>(
cx: &ExtCtxt<'_>,
trait_span: Span,
outer_pat_path: Path,
fields: &StaticFields,
getarg: F,
) -> P<Expr>
Expand description
Creates a decoder for a single enum variant/struct:
outer_pat_path
is the path to this enum variant/structgetarg
should retrieve theusize
-th field with name@str
.