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_pathis the path to this enum variant/structgetargshould retrieve theusize-th field with name@str.