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