pub fn new(name: &Ident) -> Self {
    Self {
      variant: SVariant::Unit,
      name: name.clone(),
      fields: Vec::new(),
    }
  }
/// create a new enum variant type.
create a new enum variant type.
create a new enum variant type .
pub fn new(name: &Ident) -> Self {
    Self {
      variant: SVariant::Unit,
      name: name.clone(),
      fields: Vec::new(),
    }
  }
pub fn new ( name : & Ident ) -> Self { Self { variant : SVariant :: Unit , name : name . clone ( ) , fields : Vec :: new ( ) , } }
create a new enum variant type.
create a new enum variant type .
name
&Ident
name
&Ident