darling_core::codegen

Module variant

source

Structs§

  • Code generator for an enum variant in a data-carrying match position. This is placed in generated from_list calls for the parent enum. Unit variants wrapped in this type will emit code to produce an “unsupported format” error.
  • Code generator for an enum variant in a unit match position. This is placed in generated from_string calls for the parent enum. Value-carrying variants wrapped in this type will emit code to produce an “unsupported format” error.
  • A variant of the enum which is deriving FromMeta.