pub trait TaggedEnum {
    type Tag;
    fn tag(&self) -> Self::Tag;
}
Expand description

A trait that is automatically implemented for any enum type with the attribute #[derive(Tag)].

Associated Types

Required methods

Implementors