pub fn new<N: Into<TypeName>>(name: N, ty: &'t Type) -> TypeDecl<'t> {
        TypeDecl {
            name: name.into(),
            ty: ty,
        }
    }
/// Create a new type declaration from a name and a type.
Create a new type declaration from a name and a type.
Create a new type declaration from a name and a type .
pub fn new<N: Into<TypeName>>(name: N, ty: &'t Type) -> TypeDecl<'t> {
        TypeDecl {
            name: name.into(),
            ty: ty,
        }
    }
pub fn new < N : Into < TypeName > > ( name : N , ty : & ' t Type ) -> TypeDecl < ' t > { TypeDecl { name : name . into ( ) , ty : ty , } }
Create a new type declaration from a name and a type.
Create a new type declaration from a name and a type .
name
N
ty
&'t Type
name
N
ty
&'t Type