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