/// Create a new builtin type with predefined ID.
Create a new builtin type with predefined ID.
Create a new builtin type with predefined ID .
pub fn with_id<T: Into<Ty>>(id: TypeDeclRef, name: &str, ty: T) -> BuiltinType {
        BuiltinType {
            id: id,
            name: get_name_table().intern(name, false),
            ty: ty.into(),
            aux: Vec::new(),
        }
    }
pub fn with_id < T : Into < Ty > > ( id : TypeDeclRef , name : & str , ty : T ) -> BuiltinType { BuiltinType { id : id , name : get_name_table ( ) . intern ( name , false ) , ty : ty . into ( ) , aux : Vec :: new ( ) , } }
Create a new builtin type with predefined ID.
Create a new builtin type with predefined ID .
id
TypeDeclRef
name
&str
ty
T