pub trait Kinded {
type Kind: PartialEq + Eq + Debug + Clone + Copy + Kind;
// Required method
fn kind(&self) -> Self::Kind;
}Expand description
A trait that can be implemented by a main enum type.
Typically should be derived with #[derive(kinded::Kinded)].