Struct devise::syn::PatStruct [−][src]
pub struct PatStruct {
pub path: Path,
pub brace_token: Brace,
pub fields: Punctuated<FieldPat, Comma>,
pub dot2_token: Option<Dot2>,
}Expand description
A struct or struct variant pattern: Variant { x, y, .. }.
This type is available if Syn is built with the "full" feature.
Fields
path: Pathbrace_token: Bracefields: Punctuated<FieldPat, Comma>dot2_token: Option<Dot2>Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for PatStruct
impl UnwindSafe for PatStruct
Blanket Implementations
Mutably borrows from an owned value. Read more
Returns a Span covering the complete contents of this syntax tree
node, or Span::call_site() if this node is empty. Read more