Function lowertest_derive::get_fields_names_types [−][src]
Expand description
Gets the names and the types of the fields of an enum variant or struct.
The result has three parts:
- The names of the fields. If the fields are unnamed, this is empty.
- The types of the fields as strings.
- The types of the fields as syn::Type
Fields with the attribute #[mzreflect(ignore)] are not returned.