pub fn new<N>(name: &'static str, base_type: N, static_type: &'static StaticType) -> Self
    where
        N: IntoIterator,
        N::Item: IntoComponent,
    {
        ModuleInternalEnum {
            name,
            base_type: Item::with_item(base_type),
            static_type,
            variants: Vec::new(),
        }
    }
/// Construct a new handler for an internal enum.
Construct a new handler for an internal enum.
Construct a new handler for an internal enum .
pub fn new<N>(name: &'static str, base_type: N, static_type: &'static StaticType) -> Self
    where
        N: IntoIterator,
        N::Item: IntoComponent,
    {
        ModuleInternalEnum {
            name,
            base_type: Item::with_item(base_type),
            static_type,
            variants: Vec::new(),
        }
    }
pub fn new < N > ( name : & ' static str , base_type : N , static_type : & ' static StaticType ) -> Self where N : IntoIterator , N :: Item : IntoComponent , { ModuleInternalEnum { name , base_type : Item :: with_item ( base_type ) , static_type , variants : Vec :: new ( ) , } }
Construct a new handler for an internal enum.
Construct a new handler for an internal enum .
name
&'static str
base_type
N
static_type
&'static StaticType
name
&'static str
base_type
N
static_type
&'static StaticType