pub fn new(name: &str) -> Self {
        Struct {
            type_def: TypeDef::new(name),
            fields: Fields::Empty,
            attributes: 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
pub fn new(name: &str) -> Self {
        Struct {
            type_def: TypeDef::new(name),
            fields: Fields::Empty,
            attributes: vec![],
        }
    }
pub fn new ( name : & str ) -> Self { Struct { type_def : TypeDef :: new ( name ) , fields : Fields :: Empty , attributes : vec ! [ ] , } }
Return a structure definition with the provided name
Return a structure definition with the provided name
name
&str
name
&str