Skip to main content

Module types

Module types 

Source

Functionsยง

extract_rust_type
Converts a syn::Type into our RustType representation.
extract_struct_fields
Extracts named fields from a struct/variant into FieldDef values, including serde attributes (rename, skip, default).
extract_tuple_fields
Extracts unnamed (tuple) fields from a struct into RustType values.