Crate mz_lowertest_derive

Source
Expand description

Macros needed by the mz_lowertest crate.

TODO: eliminate macros in favor of using walkabout?

Constantsยง

EXTERNAL_TYPES ๐Ÿ”’
Types defined outside of Materialize used to build test objects.
SUPPORTED_ANGLE_TYPES ๐Ÿ”’

Functionsยง

extract_reflected_type ๐Ÿ”’
If t is a supported type, extracts from t types defined in a Materialize package.
get_field_name_type ๐Ÿ”’
Gets the name and the type of a field of an enum variant or struct.
get_fields_names_types ๐Ÿ”’
Gets the names and the types of the fields of an enum variant or struct.
get_type_as_string ๐Ÿ”’
Gets the type name from the syn::Type object

Derive Macrosยง

MzReflect
Macro generating an implementation for the trait MzReflect