(input: TokenStream)
| 944 | #[cfg(feature = "strum")] |
| 945 | #[proc_macro_derive(EnumIter, attributes(strum))] |
| 946 | pub fn enum_iter(input: TokenStream) -> TokenStream { |
| 947 | let ast = parse_macro_input!(input as DeriveInput); |
| 948 | |
| 949 | strum::enum_iter::enum_iter_inner(&ast) |
| 950 | .unwrap_or_else(Error::into_compile_error) |
| 951 | .into() |
| 952 | } |
| 953 | |
| 954 | /// Implements traits for types that wrap a database value type. |
| 955 | /// |
nothing calls this directly
no test coverage detected