1pub use autovariants_derive::Variants; 2pub trait Variants<const N: usize> 3where 4 Self: Sized, 5{ 6 const VARIANTS: [Self; N]; 7 /// Returns a static reference to all variants of this enum 8 fn variants() -> &'static [Self]; 9}