Struct syntax::ast::StructDefUnstable
[-] [+]
[src]
pub struct StructDef { pub fields: Vec<StructField>, pub ctor_id: Option<NodeId>, }
Fields
fields | Fields, not including ctor |
ctor_id | ID of the constructor. This is only used for tuple- or enum-like structs. |