implement_trait_for_enum

Function implement_trait_for_enum 

Source
pub fn implement_trait_for_enum(arguments: TokenStream) -> TokenStream
Expand description

The implement_trait_for_enum macro implementation.

A function-like macro implementation. Given arguments of the form (trait path, trait declaration, enum path, enum declaration), implements the specified trait for the specified enum