use ;
use TokenStream;
use ItemEnum;
use EnumToken;
use FromTokens;
/// Use this on an enum to implement `std::fmt::Display` on it.
///
/// Generates an `impl` for `fn to_static_str(&self) -> &'static str`
/// Having a function with a similar signature will cause a collision.
///
/// # Example
/// ```
/// # use pkenum_macro::Display;
///
/// #[derive(Display)]
/// enum IpAddrKind {
/// V4,
/// V6,
/// }
/// ```