pub fn new(name: &str) -> Self {
        Trait {
            type_def: TypeDef::new(name),
            parents: vec![],
            associated_tys: vec![],
            fns: vec![],
        }
    }
/// Return a trait definition with the provided name
Return a trait definition with the provided name
Return a trait definition with the provided name
pub fn new(name: &str) -> Self {
        Trait {
            type_def: TypeDef::new(name),
            parents: vec![],
            associated_tys: vec![],
            fns: vec![],
        }
    }
pub fn new ( name : & str ) -> Self { Trait { type_def : TypeDef :: new ( name ) , parents : vec ! [ ] , associated_tys : vec ! [ ] , fns : vec ! [ ] , } }
Return a trait definition with the provided name
Return a trait definition with the provided name
name
&str
name
&str