crustacean-plugin
crustacean!(<header>, + [, { <option>, + }]);
Options
See here for information on how options are used and their default values.
Name | Type |
---|---|
ALLOW_UNSUPPORTED_TYPES |
bool |
DERIVE_ENUM |
[&str] |
DERIVE_STRUCT |
[&str] |
DISPLAY_DIAGNOSTICS |
bool |
FILTER |
"none" | "system" | "non-main" |
IGNORE_ENUM_VARIANTS |
[(&str, [&str])] |
NESTED_MOD |
&str |
PRIMITIVE |
[&str] |
Examples
Minimal
crustacean!;
Arguments
crustacean!;
Options
crustacean!;
Maximal
crustacean!;