fn new(name: &str) -> Self {
        TypeDef {
            ty: Type::new(name),
            vis: None,
            docs: None,
            derive: vec![],
            allow: None,
            repr: None,
            bounds: vec![],
        }
    }
/// Return a structure definition with the provided name
Return a structure definition with the provided name
Return a structure definition with the provided name
fn new(name: &str) -> Self {
        TypeDef {
            ty: Type::new(name),
            vis: None,
            docs: None,
            derive: vec![],
            allow: None,
            repr: None,
            bounds: vec![],
        }
    }
fn new ( name : & str ) -> Self { TypeDef { ty : Type :: new ( name ) , vis : None , docs : None , derive : vec ! [ ] , allow : None , repr : None , bounds : vec ! [ ] , } }
Return a structure definition with the provided name
Return a structure definition with the provided name
name
&str
name
&str