Function clipmdplus_macro::get_enum_from_input
source · pub(crate) fn get_enum_from_input(target: &DeriveInput) -> DataEnum
Expand description
Checks that the passed input’s .data is an Enum and clones the ref
pub(crate) fn get_enum_from_input(target: &DeriveInput) -> DataEnum
Checks that the passed input’s .data is an Enum and clones the ref