Struct devise::syn::PatIdent [−][src]
pub struct PatIdent {
pub by_ref: Option<Ref>,
pub mutability: Option<Mut>,
pub ident: Ident,
pub subpat: Option<(At, Box<Pat, Global>)>,
}Expand description
A pattern that binds a new variable: ref mut binding @ SUBPATTERN.
This type is available if Syn is built with the "full" feature.
Fields
by_ref: Option<Ref>mutability: Option<Mut>ident: Identsubpat: Option<(At, Box<Pat, Global>)>Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for PatIdent
impl UnwindSafe for PatIdent
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