pub struct PatStruct {
pub attrs: Vec<Attribute>,
pub qself: Option<QSelf>,
pub path: Path,
pub brace_token: Brace,
pub fields: Punctuated<FieldPat, Comma>,
pub rest: Option<PatRest>,
}
Expand description
A struct or struct variant pattern: Variant { x, y, .. }
.
Fields§
§attrs: Vec<Attribute>
§qself: Option<QSelf>
§path: Path
§brace_token: Brace
§fields: Punctuated<FieldPat, Comma>
§rest: Option<PatRest>