Struct devise::syn::PatReference [−][src]
pub struct PatReference {
pub attrs: Vec<Attribute, Global>,
pub and_token: And,
pub mutability: Option<Mut>,
pub pat: Box<Pat, Global>,
}Expand description
A reference pattern: &mut var.
This type is available only if Syn is built with the "full" feature.
Fields
attrs: Vec<Attribute, Global>and_token: Andmutability: Option<Mut>pat: Box<Pat, Global>Trait Implementations
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for PatReferenceimpl !Send for PatReferenceimpl !Sync for PatReferenceimpl Unpin for PatReferenceimpl UnwindSafe for PatReferenceBlanket 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