Struct syn::PatStruct [−][src]
A struct or struct variant pattern: Variant { x, y, .. }
.
This type is available if Syn is built with the "full"
feature.
Fields
path: Path
brace_token: Brace
fields: Punctuated<FieldPat, Comma>
dot2_token: Option<Dot2>
Trait Implementations
impl Synom for PatStruct
[src]
[+]
impl Synom for PatStruct
impl ToTokens for PatStruct
[src]
[+]
impl ToTokens for PatStruct
impl Clone for PatStruct
[src]
[+]
impl Clone for PatStruct
impl From<PatStruct> for Pat
[src]
[+]
impl From<PatStruct> for Pat