/// Create a new enum builder with a given ID.
Create a new enum builder with a given ID.
Create a new enum builder with a given ID .
fn with_id(name: &str, id: TypeDeclRef) -> EnumBuilder {
        EnumBuilder {
            id: id,
            name: get_name_table().intern(name, false),
            vars: Vec::new(),
        }
    }
fn with_id ( name : & str , id : TypeDeclRef ) -> EnumBuilder { EnumBuilder { id : id , name : get_name_table ( ) . intern ( name , false ) , vars : Vec :: new ( ) , } }
Create a new enum builder with a given ID.
Create a new enum builder with a given ID .
name
&str
id
TypeDeclRef