pub fn new(name: &str) -> Self {
        Type {
            name: name.to_string(),
            generics: vec![],
        }
    }
/// Return a new type with the given name.
Return a new type with the given name.
Return a new type with the given name .
pub fn new(name: &str) -> Self {
        Type {
            name: name.to_string(),
            generics: vec![],
        }
    }
pub fn new ( name : & str ) -> Self { Type { name : name . to_string ( ) , generics : vec ! [ ] , } }
Return a new type with the given name.
Return a new type with the given name .
name
&str